mirror of
https://github.com/ceph/ceph
synced 2025-05-04 16:48:27 +00:00
doc/dev: Dashboard translations release update
Add a note on how to add a new release resource to transifex. Signed-off-by: Tatjana Dehler <tdehler@suse.com>
This commit is contained in:
parent
321bf26628
commit
84da5ca55f
@ -1033,6 +1033,31 @@ To create a transifex api token visit `<https://www.transifex.com/user/settings/
|
||||
After the command ran successfully, build the UI and check if everything is
|
||||
working as expected. You also might want to run the frontend tests.
|
||||
|
||||
Add a new release resource to transifex
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
In order to organize the translations, we create a
|
||||
`transifex resource <https://www.transifex.com/ceph/ceph-dashboard/content/>`_
|
||||
for every Ceph release. This means, once a new version has been released, the
|
||||
``src/pybind/mgr/dashboard/frontend/i18n.config.json`` needs to be updated on
|
||||
the release branch.
|
||||
|
||||
Please replace::
|
||||
|
||||
"resource": "Master:master"
|
||||
|
||||
by::
|
||||
|
||||
"resource": "<Release-name>:<release-name>"
|
||||
|
||||
E.g. the resource definition for the pacific release::
|
||||
|
||||
"resource": "Pacific:pacific"
|
||||
|
||||
Note:
|
||||
The first part of the resource definition (before the colon) needs to be
|
||||
written with a capital letter.
|
||||
|
||||
Suggestions
|
||||
~~~~~~~~~~~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user