Source code

Revision control

Other Tools

1
# This Source Code Form is subject to the terms of the Mozilla Public
2
# License, v. 2.0. If a copy of the MPL was not distributed with this
3
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5
basepath = "../.."
6
7
locales = [
8
"ach",
9
"af",
10
"an",
11
"ar",
12
"ast",
13
"az",
14
"be",
15
"bg",
16
"bn",
17
"bo",
18
"br",
19
"brx",
20
"bs",
21
"ca",
22
"ca-valencia",
23
"cak",
24
"cs",
25
"cy",
26
"da",
27
"de",
28
"dsb",
29
"el",
30
"en-CA",
31
"en-GB",
32
"eo",
33
"es-AR",
34
"es-CL",
35
"es-ES",
36
"es-MX",
37
"et",
38
"eu",
39
"fa",
40
"ff",
41
"fi",
42
"fr",
43
"fy-NL",
44
"ga-IE",
45
"gd",
46
"gl",
47
"gn",
48
"gu-IN",
49
"he",
50
"hi-IN",
51
"hr",
52
"hsb",
53
"hu",
54
"hy-AM",
55
"ia",
56
"id",
57
"is",
58
"it",
59
"ja",
60
"ja-JP-mac",
61
"ka",
62
"kab",
63
"kk",
64
"km",
65
"kn",
66
"ko",
67
"lij",
68
"lo",
69
"lt",
70
"ltg",
71
"lv",
72
"mk",
73
"mr",
74
"ms",
75
"my",
76
"nb-NO",
77
"ne-NP",
78
"nl",
79
"nn-NO",
80
"oc",
81
"pa-IN",
82
"pl",
83
"pt-BR",
84
"pt-PT",
85
"rm",
86
"ro",
87
"ru",
88
"scn",
89
"si",
90
"sk",
91
"sl",
92
"son",
93
"sq",
94
"sr",
95
"sv-SE",
96
"ta",
97
"te",
98
"th",
99
"tl",
100
"tr",
101
"trs",
102
"uk",
103
"ur",
104
"uz",
105
"vi",
106
"wo",
107
"xh",
108
"zh-CN",
109
"zh-TW",
110
]
111
112
[env]
113
l = "{l10n_base}/{locale}/"
114
115
116
[[paths]]
117
reference = "browser/locales/en-US/**"
118
l10n = "{l}browser/**"
119
120
[[paths]]
121
reference = "browser/branding/official/locales/en-US/**"
122
l10n = "{l}browser/branding/official/**"
123
124
[[paths]]
125
reference = "browser/extensions/formautofill/locales/en-US/**"
126
l10n = "{l}browser/extensions/formautofill/**"
127
128
[[paths]]
129
reference = "browser/extensions/fxmonitor/locales/en-US/**"
130
l10n = "{l}browser/extensions/fxmonitor/**"
131
132
[[paths]]
133
reference = "browser/extensions/webcompat-reporter/locales/en-US/**"
134
l10n = "{l}browser/extensions/webcompat-reporter/**"
135
136
[[paths]]
137
reference = "browser/extensions/report-site-issue/locales/en-US/**"
138
l10n = "{l}browser/extensions/report-site-issue/**"
139
140
[[paths]]
141
reference = "services/sync/locales/en-US/**"
142
l10n = "{l}services/sync/**"
143
144
145
[[includes]]
146
path = "toolkit/locales/l10n.toml"
147
148
[[includes]]
149
path = "devtools/client/locales/l10n.toml"
150
151
[[paths]]
152
reference = "devtools/startup/locales/en-US/**"
153
l10n = "{l}devtools/startup/**"
154
155
# for Firefox 60 and older and cross-channel
156
[[paths]]
157
reference = "devtools/shim/locales/en-US/**"
158
l10n = "{l}devtools/shim/**"
159
160
# Filters
161
# The filters below are evaluated one after the other, in the given order.
162
# Enter a combination of path as in the localization, key, and an action,
163
# to change the default behavior of compare-locales and l10n merge.
164
#
165
# For browser/locales/en-US/chrome/browser/foo.properties,
166
# path would be {l}browser/chrome/browser/foo.properties
167
# key: the key/id of the entity
168
# If key isn't specified, the complete file can be missing.
169
[[filters]]
170
path = "{l}browser/defines.inc"
171
key = "MOZ_LANGPACK_CONTRIBUTORS"
172
action = "ignore"
173
174
[[filters]]
175
path = [
176
"{l}browser/defines.inc",
177
"{l}browser/firefox-l10n.js",
178
]
179
action = "ignore"
180
181
[[filters]]
182
path = "{l}browser/chrome/browser-region/region.properties"
183
key = [
184
"re:^browser\\.contentHandlers\\.types\\.[0-5]\\..*$",
185
"re:^gecko\\.handlerService\\.schemes\\..*$",
186
"re:^gecko\\.handlerService\\.defaultHandlersVersion$"
187
]
188
action = "ignore"