openstack-zuul-jobs/roles/prepare-zanata-client
Akihiro Motoki b515ef9819 translation: Handle renaming of Chinese locales in Django
Horizon is switching Chinese locales from zh-cn/zh-tw to zh-hans/zh-hant
in horizon and horizon plugins.
This change follows Django change which happend more than five years ago
and the new language code form is commonly used.

Language codes in Zanata are not changed, so we need to covert the
relevant language codes in propose_translation_update.sh.
It allows us to avoid doing it manually and also allows us to
switch these language codes almost once across horizon and plugins.

The detail is explained in the mailing list post.
http://lists.openstack.org/pipermail/openstack-discuss/2021-February/020169.html

Change-Id: I1420508f0513c52866aa637784a51f7c22f6d204
2021-02-03 08:32:53 +09:00
..
defaults Move prepare-zanata-client to o-z-j 2018-10-03 14:42:17 +02:00
files translation: Handle renaming of Chinese locales in Django 2021-02-03 08:32:53 +09:00
tasks Fix translation jobs following horizon change 2020-03-18 22:41:45 +01:00
templates Move prepare-zanata-client to o-z-j 2018-10-03 14:42:17 +02:00
vars Require JDK 8 for translations 2020-01-14 21:28:05 +01:00
README.rst Move prepare-zanata-client to o-z-j 2018-10-03 14:42:17 +02:00

Prepare zanata client use

Note

This role is only available for Debian based platforms currently.

Role Variables

Complex argument which contains the ssh key information. It is expected that this argument comes from a Secret

This is the ID of the zanata server to use

The url to the zanata server

The username to use with the zanata server

The key to login with