Skip to content

Commit f5660fa

Browse files
committed
Update .tx/config with type of files
The Jenkins job for horizon-upstream-translation-update expects that .tx/config is setup properly. .tx/config is the transifex configuration file that is used for interaction with transifix.com for translation of the strings. If you run the commands from the slave-script, it will update .tx/config with information about the type of the files (PO-files). This change is not needed and will break the periodic import script for horizon (which does not exist). Note that the slave-script needs a fix to work as well, will fix it in the config repository. Also, the import script needs to be done. Reference for jenkins job: https://jenkins.openstack.org/view/All/job/horizon-upstream-translation-update/lastBuild/ Reference to slave-script: http://git.openstack.org/cgit/openstack-infra/config/tree/modules/jenkins/files/slave_scripts/upstream_translation_horizon.sh Change-Id: I9fb6799c8555487941967c2102e1d89c2530b60b
1 parent 537dbac commit f5660fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.tx/config

+4
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ host = https://www.transifex.com
55
file_filter = horizon/locale/<lang>/LC_MESSAGES/django.po
66
source_file = horizon/locale/en/LC_MESSAGES/django.po
77
source_lang = en
8+
type = PO
89

910
[horizon.openstack-dashboard-translations]
1011
file_filter = openstack_dashboard/locale/<lang>/LC_MESSAGES/django.po
1112
source_file = openstack_dashboard/locale/en/LC_MESSAGES/django.po
1213
source_lang = en
14+
type = PO
1315

1416
[horizon.horizon-js-translations]
1517
file_filter = horizon/locale/<lang>/LC_MESSAGES/djangojs.po
1618
source_file = horizon/locale/en/LC_MESSAGES/djangojs.po
1719
source_lang = en
20+
type = PO
21+

0 commit comments

Comments
 (0)