-
Notifications
You must be signed in to change notification settings - Fork 0
/
crowdin.yaml
165 lines (153 loc) · 3.82 KB
/
crowdin.yaml
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# vertex.yaml
#
# Crowdin configuration file for VertexOS
#
# Copyright (C) 2017 VertexOS
# Copyright (C) 2014-2016 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#api_key_env: custom_CROWDIN_API_KEY
#base_path_env: custom_CROWDIN_BASE_PATH
#base_path_contains_branch_subfolders: true
#project_identifier: vertexos
#preserve_hierarchy: true
api_key_env: CROWDIN_API_KEY
base_path_env: CROWDIN_BASE_PATH
project_identifier_env: CROWDIN_PROJECT_NAME
base_path_contains_branch_subfolders: true
preserve_hierarchy: true
files:
# Frameworks
# framework-res
-
source: '/frameworks/base/core/res/res/values/custom_strings.xml'
translation: '/%original_path%-%android_code%/%original_file_name%'
languages_mapping: &anchor
android_code:
af: af
am: am
ar: ar
as: as-rIN
ast: ast-rES
az: az-rAZ
be: be-rBY
bg: bg
bn: bn-rBD
bs: bs-rBA
ca: ca
cs: cs
cy: cy
da: da
de: de
el: el
en-AU: en-rAU
en-GB: en-rGB
en-IN: en-rIN
en-PT: en-rPT
eo: eo
es-ES: es
es-MX: es-rMX
es-US: es-rUS
et: et-rEE
eu: eu-rES
fa: fa
fi: fi
fr: fr
fr-CA: fr-rCA
fy-NL: fy-rNL
gl: gl-rES
gu-IN: gu-rIN
he: iw
hi: hi
hr: hr
hu: hu
hy-AM: hy-rAM
id: in
is: is-rIS
it: it
ja: ja
ka: ka-rGE
kk: kk-rKZ
km: km-rKH
kn: kn-rIN
ko: ko
ku: ku
ky: ky-rKG
lb: lb
lo: lo-rLA
lt: lt
lv: lv
mk: mk-rMK
ml-IN: ml-rIN
mn: mn-rMN
mr: mr-rIN
ms: ms-rMY
my: my-rMM
nb: nb
ne-NP: ne-rNP
nl: nl
or: or-rIN
pa-IN: pa-rIN
pl: pl
pt-PT: pt-rPT
pt-BR: pt-rBR
rm-CH: rm
ro: ro
ru: ru
si-LK: si-rLK
sk: sk
sl: sl
sq: sq-rAL
sr: sr
sv-SE: sv
sw: sw
ta: ta-rIN
te: te-rIN
th: th
tl: tl
tr: tr
ug: ug
uk: uk
ur-PK: ur-rPK
uz: uz-rUZ
vi: vi
zh-CN: zh-rCN
zh-HK: zh-rHK
zh-TW: zh-rTW
zu: zu
-
source: '/frameworks/base/core/res/res/values/strings.xml'
translation: '/%original_path%-%android_code%/%original_file_name%'
languages_mapping: *anchor
# SettingsLib
-
source: '/frameworks/base/packages/SettingsLib/res/values/custom_strings.xml'
translation: '/%original_path%-%android_code%/%original_file_name%'
languages_mapping: *anchor
# SystemUI
-
source: '/frameworks/base/packages/SystemUI/res/values/custom_strings.xml'
translation: '/%original_path%-%android_code%/%original_file_name%'
languages_mapping: *anchor
# Packages
# Settings
-
source: '/packages/apps/Settings/res/values/custom_strings.xml'
translation: '/%original_path%-%android_code%/%original_file_name%'
languages_mapping: *anchor
# Device
# Oppo Common
-
source: '/device/oppo/common/configpanel/res/values/strings.xml'
translation: '/%original_path%-%android_code%/%original_file_name%'
languages_mapping: *anchor