]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/dev: Dashboard translations release update 42611/head
authorTatjana Dehler <tdehler@suse.com>
Tue, 3 Aug 2021 13:45:45 +0000 (15:45 +0200)
committerTatjana Dehler <tdehler@suse.com>
Tue, 3 Aug 2021 13:47:22 +0000 (15:47 +0200)
Add a note on how to add a new release resource to transifex.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
doc/dev/developer_guide/dash-devel.rst

index 5c616ade37c9450a2feaee34c4a98992a363bd41..b69943f5fd217d367cb284dbf07601a04d6bfc6d 100644 (file)
@@ -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
 ~~~~~~~~~~~