From e57d92025d8f9fbf507980a180fcfb3a19f55d93 Mon Sep 17 00:00:00 2001 From: Open Food Facts Bot <119524357+openfoodfacts-bot@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:47:03 +0200 Subject: [PATCH 1/2] ci: Create crowdin.yml --- crowdin.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 crowdin.yml diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 00000000..257738eb --- /dev/null +++ b/crowdin.yml @@ -0,0 +1 @@ +Add path to file here From 879c7fd8586366b828e6b57aaf6a1dcfda40cd3e Mon Sep 17 00:00:00 2001 From: Open Food Facts Bot <119524357+openfoodfacts-bot@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:50:09 +0200 Subject: [PATCH 2/2] Update crowdin.yml --- crowdin.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/crowdin.yml b/crowdin.yml index 257738eb..b7a63ea3 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1 +1,23 @@ -Add path to file here +project_id_env: CROWDIN_PROJECT_ID +api_token_env: CROWDIN_PERSONAL_TOKEN +pull_request_title: "l10n: New Crowdin translations to review and merge" +pull_request_body: '### What\n- Automated pull request pulling in new or updated translations from Crowdin (https://translate.openfoodfacts.org).\n## Checklist\n- [ ] Check that they are no bad translations. If there are, correct them directly in Crowdin so that they are not resynced again. Then you can correct them here as well, or wait 24 hours for the sync to happen automatically.\n- [ ] Put extra attention on Acholi, which is used mistakenly as a sandbox by people discovering the self-service translation button on Open Food Facts\n- [ ] Once you are happy, that automated checks pass, you can approve the PR and merge it.\n### Part of\n- Translations' +files: + - source: /frontend/xliff/en.xlf + translation: /po/common/%two_letters_code%.xlf + languages_mapping: + two_letters_code: + pt-BR: pt_BR + pt-PT: pt_PT + zh-CN: zh_CN + zh-HK: zh_HK + en-GB: en_GB + en-AU: en_AU + en-US: en_US + nl-BE: nl_BE + nl: nl_NL + zh-TW: zh_TW + sr-CS: sr_CS + sr: sr_RS + ku : kmr_TR + kmr: kmr