summaryrefslogtreecommitdiff
path: root/.tx
diff options
context:
space:
mode:
authorPaolo Melchiorre <paolo@melchiorre.org>2022-12-24 15:28:51 +0100
committerGitHub <noreply@github.com>2022-12-24 08:28:51 -0600
commit141c7603155a9e199d92a5df674abd96e750bcc3 (patch)
treef882b2a7a5b2997cd634ea047ca151178c60f187 /.tx
parenta677f46b3017f02ab946094e82246ea5f31fea7e (diff)
Fixed #1282 -- Migration to new Transifex CLI (#1288)
Diffstat (limited to '.tx')
-rw-r--r--.tx/config16
1 files changed, 5 insertions, 11 deletions
diff --git a/.tx/config b/.tx/config
index f0516dd5..cec6ae62 100644
--- a/.tx/config
+++ b/.tx/config
@@ -1,24 +1,18 @@
[main]
-host = https://www.transifex.com
-type = PO
-lang_map = zh_CN:zh_Hans, zh_TW:zh_Hant
+host = https://www.transifex.com
+lang_map = zh_CN: zh_Hans, zh_TW: zh_Hant
-# Get translations for the 'docs' app from the 'django-docs' project (resource: 'website-strings')
-[django-docs.website-strings]
+[o:django:p:django-docs:r:website-strings]
file_filter = docs/locale/<lang>/LC_MESSAGES/django.po
source_file = docs/locale/en/LC_MESSAGES/django.po
source_lang = en
-# Get translations for the 'dashboard' app from the 'djangoproject.com' project (resource: 'dashboard-app')
-# 'dashboard' is a reserved word in Transifex, so we use 'dashboard-app' instead.
-[djangoproject-com.dashboard-app]
+[o:django:p:djangoproject-com:r:dashboard-app]
file_filter = dashboard/locale/<lang>/LC_MESSAGES/django.po
source_file = dashboard/locale/en/LC_MESSAGES/django.po
source_lang = en
-# Send everything else to the 'main' resource in the 'djangoproject.com' project.
-# If/when needed, other apps may be split out into separate resources (a la 'dashboard' above).
-[djangoproject-com.main]
+[o:django:p:djangoproject-com:r:main]
file_filter = locale/<lang>/LC_MESSAGES/django.po
source_file = locale/en/LC_MESSAGES/django.po
source_lang = en