root: fix transifex config

This commit is contained in:
Jens Langhammer 2022-09-26 16:46:31 +00:00
parent db37863c85
commit e9400f9a9e
1 changed files with 16 additions and 15 deletions

31
.github/transifex.yml vendored
View File

@ -1,15 +1,16 @@
filters: git:
- filter_type: file filters:
# all supported i18n types: https://docs.transifex.com/formats - filter_type: file
file_format: PO # all supported i18n types: https://docs.transifex.com/formats
source_language: en file_format: PO
source_file: web/src/locales/en.po source_language: en
# path expression to translation files, must contain <lang> placeholder source_file: web/src/locales/en.po
translation_files_expression: 'web/src/locales/<lang>.po' # path expression to translation files, must contain <lang> placeholder
- filter_type: file translation_files_expression: 'web/src/locales/<lang>.po'
# all supported i18n types: https://docs.transifex.com/formats - filter_type: file
file_format: PO # all supported i18n types: https://docs.transifex.com/formats
source_language: en file_format: PO
source_file: locale/en/LC_MESSAGES/django.po source_language: en
# path expression to translation files, must contain <lang> placeholder source_file: locale/en/LC_MESSAGES/django.po
translation_files_expression: 'locale/<lang>/LC_MESSAGES/django.po' # path expression to translation files, must contain <lang> placeholder
translation_files_expression: 'locale/<lang>/LC_MESSAGES/django.po'