sphinx-doc / sphinx-doc-translations

translated docs for sphinx official document
Other
21 stars 16 forks source link

Resources names as POT filename instead of the resource slug #20

Closed rffontenelle closed 9 months ago

rffontenelle commented 9 months ago

Newly-added docs-related resources were created using POT filename as the resource name. That's a bug in sphinx-intl. Transifex organization admin, please fix the resource name to be equal to the resource slug, just like the rest of this project's resources.

Resource name Resource slug
c.pot usage--domains--c
cpp.pot usage--domains--cpp
index.pot usage--domains--index
javascript.pot usage--domains--javascript
mathematics.pot usage--domains--mathematics
python.pot usage--domains--python
standard.pot usage--domains--standard
restructuredtext.pot usage--domains--restructuredtext
AA-Turner commented 9 months ago

Transifex organization admin, please fix the resource name to be equal to the resource slug, just like the rest of this project's resources.

I'm a Transifex organization admin on https://www.transifex.com/sphinx-doc/. What should I do to fix this?

A

rffontenelle commented 9 months ago

Click each link > click on the right-side vertical ellipsis button > click Settings on the popup menu > Change "Name" content to the same as "Slug" content

AA-Turner commented 9 months ago

And remove the suffix (.pot)?

I've made you a 'team manager', not sure if that allows you to make the changes yourself (maybe a project maintainer?)

A

rffontenelle commented 9 months ago

To solve it permanently , https://github.com/sphinx-doc/sphinx-intl/pull/90 needs to land in the source code.

rffontenelle commented 9 months ago

And remove the suffix (.pot)?

I've made you a 'team manager', not sure if that allows you to make the changes yourself (maybe a project maintainer?)

A

Let me check

rffontenelle commented 9 months ago

Correct. Now the name (under Recursos, that is Resources, in the image) is equal to the slug (in the URL bar):

Captura de tela de 2023-10-03 15-03-43

rffontenelle commented 9 months ago

I have no permission to do so. I just know because I compared with Python docs translation in Transifex, which I'm organization admin

AA-Turner commented 9 months ago

I made you a maintainer just now:

image

rffontenelle commented 9 months ago

Ok, as Maintainer I can see it. Thanks.

AA-Turner commented 9 months ago

If anyone else wants to be a maintainer (& has a reasonable history/experience of translations) I am happy to add them.

A

rffontenelle commented 9 months ago

Resources names fixed. Thanks for the quick help with that.