forked from openfoodfacts/openfoodfacts-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crowdin.yml
118 lines (118 loc) · 3.53 KB
/
crowdin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
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: /po/common/common.pot
translation: /po/common/%two_letters_code%.po
ignore: ["/po/common/nl.po"]
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
- source: /po/openbeautyfacts/openbeautyfacts.pot
translation: /po/openbeautyfacts/%two_letters_code%.po
ignore: ["/po/openbeautyfacts/nl.po"]
languages_mapping:
two_letters_code:
en-GB: en_GB
pt-BR: pt_BR
pt-PT: pt_PT
en-AU: en_AU
en-US: en_US
zh-CN: zh_CN
zh-HK: zh_HK
nl-BE: nl_BE
nl: nl_NL
zh-TW: zh_TW
sr-CS: sr_CS
sr: sr_RS
ku : kmr_TR
kmr: kmr
- source: /po/openfoodfacts/openfoodfacts.pot
translation: /po/openfoodfacts/%two_letters_code%.po
ignore: ["/po/openfoodfacts/nl.po"]
languages_mapping:
two_letters_code:
zh-HK: zh_HK
zh-CN: zh_CN
en-AU: en_AU
en-GB: en_GB
en-US: en_US
nl-BE: nl_BE
nl: nl_NL
pt-BR: pt_BR
pt-PT: pt_PT
zh-TW: zh_TW
sr-CS: sr_CS
sr: sr_RS
ku : kmr_TR
kmr: kmr
- source: /po/openproductsfacts/openproductsfacts.pot
translation: /po/openproductsfacts/%two_letters_code%.po
ignore: ["/po/openproductsfacts/nl.po"]
languages_mapping:
two_letters_code:
zh-HK: zh_HK
zh-CN: zh_CN
en-AU: en_AU
en-GB: en_GB
en-US: en_US
nl-BE: nl_BE
nl: nl_NL
pt-BR: pt_BR
pt-PT: pt_PT
zh-TW: zh_TW
sr-CS: sr_CS
sr: sr_RS
ku : kmr_TR
kmr: kmr
- source: /po/openpetfoodfacts/openpetfoodfacts.pot
translation: /po/openpetfoodfacts/%two_letters_code%.po
ignore: ["/po/openpetfoodfacts/nl.po"]
languages_mapping:
two_letters_code:
zh-HK: zh_HK
zh-CN: zh_CN
en-AU: en_AU
en-GB: en_GB
en-US: en_US
pt-BR: pt_BR
pt-PT: pt_PT
nl-BE: nl_BE
nl: nl_NL
zh-TW: zh_TW
sr-CS: sr_CS
sr: sr_RS
ku : kmr_TR
kmr: kmr
- source: /html/donate/en.html
translation: /html/donate/%two_letters_code%.html
languages_mapping:
two_letters_code:
zh-HK: zh_HK
zh-CN: zh_CN
en-AU: en_AU
en-GB: en_GB
en-US: en_US
pt-BR: pt_BR
pt-PT: pt_PT
nl-BE: nl_BE
nl: nl_NL
zh-TW: zh_TW
sr-CS: sr_CS
sr: sr_RS
ku : kmr_TR
kmr: kmr