-
Notifications
You must be signed in to change notification settings - Fork 0
/
langpack.conf
325 lines (280 loc) · 15.1 KB
/
langpack.conf
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
# Language Pack Configuration
#
# charset of this file must be UTF-8 (need not to be escaped)
# ${locale}#, ${targetapp}#, ${targetapp}.${locale}# prefix will be trimed
# e.g. ja#property.name will be loaded as property.name property
#
# locale
# src.locale is used to select src files (including filters, replace etc. files)
# src.locale should be ja for ja-JP-mac too
src.locale = ${locale}
ja-JP-mac#src.locale = ja
# destlocale is used to generate langpack
# set this property to generate custom langpack (ex. ja-JP-kyoto, ja-JP-hiragana)
langpack.locale = ${locale}
# convert phase configurations
# convert
convert.src.dir = ${hg.mozja.dir}/${src.locale}
convert.dest.dir = ${l10n.dir}/${locale}
convert.common.excludes = extensions/inspector/, **/.DS_Store, **/*~
convert.utf8.includes = ${utf8files}, **/*.css, **/*.inc, **/*.ini
convert.utf8.excludes = ${convert.common.excludes}
convert.prop.includes = PROPERTIES_FILES_NOW_SUPPORT_UTF-8_AND_NOTHING_TO_BE_ESCAPED
convert.prop.excludes = ${convert.common.excludes}
convert.bin.includes = **
convert.bin.excludes = ${convert.common.excludes}, ${txtfiles}
convert.other.includes = ${txtfiles}
convert.other.excludes = ${convert.common.excludes}, ${convert.utf8.includes}
# filters
filters.filelist = ${hg.mozja.dir}/${src.locale}.filters
filters.stripprefix = ${targetapp}\\.${locale}|${targetapp}|${locale}
# replace
replace.src.dir = ${convert.dest.dir}
replace.file = l10n/${src.locale}.replace
replace.build.filename = build.replace.xml
replace.build.template = ${lot.res.dir}/${replace.build.filename}
replace.build.file = ${lot.temp.dir}/${replace.build.filename}
replace.common.excludes = extensions/inspector/, .hg/, .hg*, **/.DS_Store, **/*~
replace.utf8.includes = ${utf8files}, **/*.css, **/*.inc, **/*.ini
replace.utf8.excludes = ${replace.common.excludes}
replace.other.includes = ${binfiles}, ${txtfiles}
replace.other.excludes = ${replace.common.excludes}, ${replace.utf8.excludes}
# filters option in intl.porperties
en-US#filters.alwaysappendaccesskeys =
ja#filters.alwaysappendaccesskeys = true
ja-JP-mac#filters.alwaysappendaccesskeys=
# accesskey variable replacement
en-US#filters.printaccesskeys =
ja#filters.printaccesskeys = true
ja-JP-mac#filters.printaccesskeys = true
# errorcheck
errorcheck.dir = ${convert.dest.dir}
errorcheck.includes = ${l10n.includes}
errorcheck.excludes = .hg/
errorsummary.output = ${lot.log.dir}/${locale}.${tstamp.yyyyMMddHH}.errorsummary
syntaxcheck.dir = ${errorcheck.dir}
syntaxcheck.includes = ${errorcheck.includes}
syntaxcheck.excludes = ${errorcheck.excludes}
syntaxcheck.output = ${lot.log.dir}/${locale}.${tstamp.yyyyMMddHHmm}.syntaxerror
syntaxcheck.failonerror = true
placeholdercheck.dir = ${errorcheck.dir}
placeholdercheck.includes = ${errorcheck.includes}
placeholdercheck.excludes = ${errorcheck.excludes}
placeholdercheck.output = ${lot.log.dir}/${locale}.${tstamp.yyyyMMddHHmm}.placeholdererror
placeholdercheck.failonerror = true
pluralcheck.dir = ${errorcheck.dir}
pluralcheck.includes = ${errorcheck.includes}
pluralcheck.excludes = ${errorcheck.excludes}
pluralcheck.output = ${lot.log.dir}/${locale}.${tstamp.yyyyMMddHHmm}.pluralerror
pluralcheck.failonerror = false
wordcheck.dir = ${errorcheck.dir}
wordcheck.includes = ${errorcheck.includes}
wordcheck.excludes = ${errorcheck.excludes}
wordcheck.output = ${lot.log.dir}/${locale}.${tstamp.yyyyMMddHHmm}.worderror
wordcheck.suspected.output = ${lot.log.dir}/${locale}.${tstamp.yyyyMMddHHmm}.suspected.worderror
wordcheck.failonerror = true
charcheck.dir = ${errorcheck.dir}
charcheck.includes = ${errorcheck.includes}
charcheck.excludes = ${errorcheck.excludes}, toolkit/chrome/global/mozilla.dtd, \
extensions/irc/, extensions/spellcheck/, extensions/venkman/, \
calendar/chrome/calendar/calendar-extract.properties
charcheck.output = ${lot.log.dir}/${locale}.${tstamp.yyyyMMddHHmm}.charerror
charcheck.failonerror = true
# compare and merge
RE.l10ncomment.header = (?i:${locale} NOTE:|MERGE NOTE:|\\(^^;)
RE.properties.l10ncomment = (?-m:^[ \\t\\f]*[#!][ \\t\\f]*${RE.l10ncomment.header}[^\\n]*\\n)
RE.dtd.l10ncomment = (?-m:<!--[ \\t]*${RE.l10ncomment.header}[^-]*(?:-[^-]*)*-->)
RE.inc.l10ncomment = (?-m:^[#!][ \\t\\f]*${RE.l10ncomment.header}[^\\n]*\\n)
RE.ini.l10ncomment = (?-m:^[#!][ \\t\\f]*${RE.l10ncomment.header}[^\\n]*\\n)
compare.dir1 = ${l10n.dir}/en-US
compare.dir2 = ${convert.dest.dir}
compare.includes = ${l10n.includes}
compare.excludes = .hg/, _configs/, extensions/spellcheck/
#compare.excludes = .hg/, extensions/irc/, extensions/spellcheck/, extensions/venkman/
compare.output = ${lot.log.dir}/${locale}.${tstamp.yyyyMMddHHmm}.compare
compare.entity.ignore = browser.search.order.[3-9]|browser.contentHandlers.types.[3-9].(title|uri)|MOZ_LANGPACK_CONTRIBUTORS
compare.accesskey.pattern = \\.(access|command)?key$
compare.accesskey.ignore = msg.url.key|msn.doc.key
compare.failonerror = false
merge.dir1 = ${l10n.dir}/en-US
merge.dir2 = ${convert.dest.dir}
merge.includes = ${l10n.includes}
merge.excludes = .hg/, **/region.properties, ${locale}/*/defines.inc, \
extensions/irc/, extensions/spellcheck/, extensions/venkman/
merge.output = ${lot.log.dir}/${locale}.${tstamp.yyyyMMddHHmm}.merge
merge.failonerror = true
merge.withcomment = false
merge.comment = merged at ${tstamp.yyyyMMddHHmm}
resetaccesskey.dir1 = ${l10n.dir}/en-US
resetaccesskey.dir2 = ${convert.dest.dir}
resetaccesskey.includes = ${l10n.includes}
resetaccesskey.excludes = .hg/, **/region.properties, \
extensions/irc/, extensions/spellcheck/, extensions/venkman/
resetaccesskey.output = ${lot.log.dir}/${locale}.${tstamp.yyyyMMddHHmm}.resetaccesskey
# packaging phase configurations
# pack
pack.src.dir = ${convert.dest.dir}
#pack.dest.dir = ${dest.dir}/langpack/${targetapp}
pack.dest.dir = ${dest.dir}/langpack
# jar
jar.src.dir = ${pack.src.dir}
jar.moresrc.dir = ${lot.src.dir}/langpack-jar
jar.dest.dir = ${lot.temp.dir}/pack/${targetapp}/${package.revision}/${langpack.locale}
jar.includes =
jar.excludes = **
jar.filename = ${langpack.locale}.jar
# xpi
langpack.src.dir = ${lot.src.dir}/langpack/${targetapp}
xpi.src.dir = ${jar.dest.dir}
xpi.dest.dir = ${pack.dest.dir}
xpi.includes = **
#xpi.excludes = chrome/locale/, chrome/${langpack.locale}/, chrome/${package}/
xpi.excludes = chrome/${package}/
xpi.filename = ${targetapp}-${targetapp.version}.${langpack.locale}.langpack-${package.revision}.xpi
# targetapp information
firefox#targetapp.version = ${firefox.version}
thunderbird#targetapp.version = ${thunderbird.version}
fennec#targetapp.version = ${fennec.version}
sunbird#targetapp.version = ${sunbird.version}
seamonkey#targetapp.version = ${seamonkey.version}
# https://addons.mozilla.org/ja/firefox/pages/appversions
beta#firefox.minVersion = ${beta.version}a1
beta#firefox.maxVersion = ${beta.version}.*
aurora#firefox.minVersion = ${aurora.version}a1
aurora#firefox.maxVersion = ${aurora.version}.*
trunk#firefox.minVersion = ${trunk.version}a1
trunk#firefox.maxVersion = ${trunk.version}.*
beta#thunderbird.minVersion = ${beta.version}a1
beta#thunderbird.maxVersion = ${beta.version}.*
aurora#thunderbird.minVersion = ${aurora.version}a1
aurora#thunderbird.maxVersion = ${aurora.version}.*
trunk#thunderbird.minVersion = ${trunk.version}a1
trunk#thunderbird.maxVersion = ${trunk.version}.*
beta#firefox.minVersion = ${beta.version}a1
beta#firefox.maxVersion = ${beta.version}.*
aurora#firefox.minVersion = ${aurora.version}a1
aurora#firefox.maxVersion = ${aurora.version}.*
trunk#firefox.minVersion = ${trunk.version}a1
trunk#firefox.maxVersion = ${trunk.version}.*
beta#seamonkey.minVersion = 2.10a1
beta#seamonkey.maxVersion = 2.10.*
aurora#seamonkey.minVersion = 2.11a1
aurora#seamonkey.maxVersion = 2.11.*
trunk#seamonkey.minVersion = 2.12a1
trunk#seamonkey.maxVersion = 2.12.*
sunbird.minVersion = 1.0
sunbird.maxVersion = 100
1.9.1#sunbird.minVersion = 0.9
1.9.1#sunbird.maxVersion = 1.0.*
# package information
package.type = 8
firefox#package.revision = ${firefox.version}.${tstamp.yyyyMMddHH}
thunderbird#package.revision = ${thunderbird.version}.${tstamp.yyyyMMddHH}
fennec#package.revision = ${fennec.version}.${tstamp.yyyyMMddHH}
sunbird#package.revision = ${sunbird.version}.${tstamp.yyyyMMddHH}
seamonkey#package.revision = ${seamonkey.version}.${tstamp.yyyyMMddHH}
firefox.en-US#package.guid = {${firefox.en-US.langpack.guid}}
firefox.ja#package.guid = {${firefox.ja.langpack.guid}}
firefox.ja-JP-mac#package.guid = {${firefox.ja-JP-mac.langpack.guid}}
thunderbird.en-US#package.guid = {${thunderbird.en-US.langpack.guid}}
thunderbird.ja#package.guid = {${thunderbird.ja.langpack.guid}}
thunderbird.ja-JP-mac#package.guid = {${thunderbird.ja-JP-mac.langpack.guid}}
fennec.en-US#package.guid = {${fennec.en-US.langpack.guid}}
fennec.ja#package.guid = {${fennec.ja.langpack.guid}}
fennec.ja-JP-mac#package.guid = {${fennec.ja-JP-mac.langpack.guid}}
sunbird.en-US#package.guid = {${sunbird.en-US.langpack.guid}}
sunbird.ja#package.guid = {${sunbird.ja.langpack.guid}}
sunbird.ja-JP-mac#package.guid = {${sunbird.ja-JP-mac.langpack.guid}}
seamonkey.en-US#package.guid = {${seamonkey.en-US.langpack.guid}}
seamonkey.ja#package.guid = {${seamonkey.ja.langpack.guid}}
seamonkey.ja-JP-mac#package.guid = {${seamonkey.ja-JP-mac.langpack.guid}}
firefox.en-US#package.name = Firefox Development ELP
firefox.ja#package.name = Firefox Development JLP
firefox.ja-JP-mac#package.name = Firefox Development JLP for Mac
thunderbird.en-US#package.name = Thunderbird Develoment ELP
thunderbird.ja#package.name = Thunderbird Development JLP
thunderbird.ja-JP-mac#package.name = Thunderbird Development JLP for Mac
fennec.en-US#package.name = Fennec Develoment ELP
fennec.ja#package.name = Fennec Development JLP
fennec.ja-JP-mac#package.name = Fennec Development JLP for Mac
sunbird.en-US#package.name = Sunbird Development ELP
sunbird.ja#package.name = Sunbird Development JLP
sunbird.ja-JP-mac#package.name = Sunbird Development JLP for Mac
seamonkey.en-US#package.name = Seamonkey Development ELP
seamonkey.ja#package.name = Seamonkey Development JLP
seamonkey.ja-JP-mac#package.name = Seamonkey Development JLP for Mac
en-US#package.description.em = <em:description>English Language Package - Development Edition</em:description>
ja#package.description.em = <em:description>Japanese Language Package - Development Edition</em:description>
ja-JP-mac#package.description.em= <em:description>Japanese Language Package for Mac OS X - Development Edition</em:description>
package.creator = ${lot.user.name}
package.creator.em = <em:creator>${package.creator}</em:creator>
# langpack contributers (these are not used in the credits of products)
# credits of products contain only contributers for the version but langpack contains ones for any versions
firefox#package.contributor.em = ${firefox.l10n.contributor.em}
firefox.l10n.contributor.em = <em:contributor>Hiroki Abe</em:contributor>\
<em:contributor>Makoto Arai</em:contributor>\
<em:contributor>Tomoya Asai</em:contributor>\
<em:contributor>Hideyuki EMURA</em:contributor>\
<em:contributor>Shaw Hosaka</em:contributor>\
<em:contributor>Joji Ikeda</em:contributor>\
<em:contributor>Masahiko Imanaka</em:contributor>\
<em:contributor>Kosuke Kaizuka</em:contributor>\
<em:contributor>Hidehiro Kozawa</em:contributor>\
<em:contributor>Teiji Matsuba</em:contributor>\
<em:contributor>Shigeki Narisawa</em:contributor>\
<em:contributor>Takeshi Nishimura</em:contributor>\
<em:contributor>Toshiyuki Oka</em:contributor>\
<em:contributor>Atsushi Sakai</em:contributor>\
<em:contributor>Hiroshi Sekiya</em:contributor>\
<em:contributor>Youhei Tooyama</em:contributor>\
<em:contributor>Satoru Yamaguchi</em:contributor>
thunderbird#package.contributor.em = ${thunderbird.l10n.contributor.em}
thunderbird.l10n.contributor.em = <em:contributor>Makoto Arai</em:contributor>\
<em:contributor>Tomoya Asai</em:contributor>\
<em:contributor>Hideyuki EMURA</em:contributor>\
<em:contributor>Shaw Hosaka</em:contributor>\
<em:contributor>Joji Ikeda</em:contributor>\
<em:contributor>Masahiko Imanaka</em:contributor>\
<em:contributor>Kosuke Kaizuka</em:contributor>\
<em:contributor>Hidehiro Kozawa</em:contributor>\
<em:contributor>Teiji Matsuba</em:contributor>\
<em:contributor>Shigeki Narisawa</em:contributor>\
<em:contributor>Takeshi Nishimura</em:contributor>\
<em:contributor>Atsushi Sakai</em:contributor>\
<em:contributor>Hiroshi Sekiya</em:contributor>\
<em:contributor>Youhei Tooyama</em:contributor>\
<em:contributor>Satoru Yamaguchi</em:contributor>
fennec#package.contributor.em = ${fennec.l10n.contributor.em}
fennec.l10n.contributor.em = <em:contributor>Nagato Kasaki</em:contributor>\
<em:contributor>Tomoya Asai</em:contributor>\
<em:contributor>Kazuyuki Suzuki</em:contributor>
sunbird#package.contributor.em = ${sunbird.l10n.contributor.em}
sunbird.l10n.contributor.em = <em:contributor>Mozilla Japan</em:contributor>
seamonkey#package.contributor.em = ${seamonkey.l10n.contributor.em}
seamonkey.l10n.contributor.em = <em:contributor>Makoto Arai</em:contributor>\
<em:contributor>Tomoya Asai</em:contributor>\
<em:contributor>Hideyuki EMURA</em:contributor>\
<em:contributor>Shaw Hosaka</em:contributor>\
<em:contributor>Joji Ikeda</em:contributor>\
<em:contributor>Masahiko Imanaka</em:contributor>\
<em:contributor>Kosuke Kaizuka</em:contributor>\
<em:contributor>Hidehiro Kozawa</em:contributor>\
<em:contributor>Teiji Matsuba</em:contributor>\
<em:contributor>Shigeki Narisawa</em:contributor>\
<em:contributor>Takeshi Nishimura</em:contributor>\
<em:contributor>Toshiyuki Oka</em:contributor>\
<em:contributor>Atsushi Sakai</em:contributor>\
<em:contributor>Hiroshi Sekiya</em:contributor>\
<em:contributor>Youhei Tooyama</em:contributor>\
<em:contributor>Satoru Yamaguchi</em:contributor>\
<em:contributor>Norah Marinkovic</em:contributor>\
<em:contributor>casbeah</em:contributor>\
<em:contributor>nivoside</em:contributor>\
<em:contributor>masaka</em:contributor>
venkman.l10n.contributor.em = <em:contributor>dynamis</em:contributor>
chatzilla.l10n.contributor.em =
package.developer.em =
package.translator.em =
package.homepageURL = ${lot.user.homepageURL}
package.homepageURL.em = <em:homepageURL>${lot.user.homepageURL}</em:homepageURL>
package.updateURL.em =