Skip to content

Commit

Permalink
Update .tx/config file format
Browse files Browse the repository at this point in the history
To be used with the new version of the Transifex client:

https://github.com/transifex/cli

Obtained running the ``tx migrate`` command (and manually adding the
existing comments)
  • Loading branch information
amercader committed Feb 14, 2023
1 parent f4d1062 commit ee22fd9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[main]
host = https://www.transifex.com

[ckan.2-9]
file_filter = ckan/i18n/<lang>/LC_MESSAGES/ckan.po
source_file = ckan/i18n/ckan.pot
source_lang = en
type = PO

[o:okfn:p:ckan:r:2-9]
file_filter = ckan/i18n/<lang>/LC_MESSAGES/ckan.po
source_file = ckan/i18n/ckan.pot
source_lang = en
type = PO
# Namings not quite the same in Transifex and babel:
# Transifex vs Babel (& CKAN)
# 'sr@Latin' vs 'sr_Latn'
trans.sr@latin = ckan/i18n/sr_Latn/LC_MESSAGES/ckan.po
trans.zh_CN = ckan/i18n/zh_Hans_CN/LC_MESSAGES/ckan.po
trans.zh_TW = ckan/i18n/zh_Hant_TW/LC_MESSAGES/ckan.po
trans.zh_CN = ckan/i18n/zh_Hans_CN/LC_MESSAGES/ckan.po
trans.zh_TW = ckan/i18n/zh_Hant_TW/LC_MESSAGES/ckan.po

0 comments on commit ee22fd9

Please sign in to comment.