summaryrefslogtreecommitdiffstats
path: root/comm/suite/locales/l10n.toml
blob: be8e8c6ac97511a990084aca66a9fff14c77d1e1 (plain)
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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

basepath = "../.."

locales = [
    "ca",
    "cs",
    "da",
    "de",
    "el",
    "en-GB",
    "es-AR",
    "es-ES",
    "fi",
    "fr",
    "hu",
    "it",
    "ja",
    "ja-JP-mac",
    "ka",
    "lt",
    "nb-NO",
    "nl",
    "pl",
    "pt-BR",
    "pt-PT",
    "ro",
    "ru",
    "si",
    "sk",
    "sv-SE",
    "tr",
    "zh-CN",
    "zh-TW",
]

[env]
    l = "{l10n_base}/{locale}/"
    mozilla = ".."

[[paths]]
    reference = "suite/locales/en-US/**"
    l10n = "{l}suite/**"

[[paths]]
    reference = "suite/branding/seamonkey/locales/en-US/**"
    l10n = "{l}suite/branding/seamonkey/**"

[[paths]]
    reference = "{mozilla}/services/sync/locales/en-US/**"
    l10n = "{l}services/sync/**"

[[includes]]
    path = "{mozilla}/toolkit/locales/l10n.toml"

[[includes]]
    path = "calendar/locales/l10n.toml"

[[includes]]
    path = "{mozilla}/devtools/client/locales/l10n.toml"

[[includes]]
    path = "suite/chatzilla/locales/l10n.toml"

[[paths]]
    reference = "{mozilla}/devtools/startup/locales/en-US/**"
    l10n = "{l}devtools/startup/**"

# for Gecko 60 and older and cross-channel
[[paths]]
    reference = "{mozilla}/devtools/shim/locales/en-US/**"
    l10n = "{l}devtools/shim/**"

# ignore MOZ_LANGPACK_CONTRIBUTORS
[[filters]]
    path = "{l}suite/defines.inc"
    key = "MOZ_LANGPACK_CONTRIBUTORS"
    action = "ignore"

# defines.inc and suite-l10n.js can be missing completely
[[filters]]
    path = [
        "{l}suite/defines.inc",
        "{l}suite/suite-l10n.js",
    ]
    action = "ignore"

# ignore MOZ_LANGPACK_CONTRIBUTORS
[[filters]]
    path = "{l}suite/chatzilla/defines.inc"
    key = "MOZ_LANGPACK_CONTRIBUTORS"
    action = "ignore"

# search prefs don't have the same number for all locales
[[filters]]
    path = "{l}suite/chrome/common/region.properties"
    key = "re:browser\\.search\\.order\\.[1-9].*"
    action = "ignore"

# content handler prefs don't have the same number for all locales
[[filters]]
    path = "{l}suite/chrome/browser/region.properties"
    key = "re:browser\\.contentHandlers\\.types\\.[0-5].*"
    action = "ignore"

# map service prefs don't have the same number for all locales
[[filters]]
    path = "{l}suite/chrome/mailnews/region.properties"
    key = "re:mail\\.addr_book\\.mapit_url\\.[1-5].*"
    action = "ignore"

# search plugins are different per locale, ignore file difference
[[filters]]
    path = "{l}suite/searchplugins/*.xml"
    action = "ignore"

# extra data and help images are optional
[[filters]]
    path = [
        "{l}suite/profile/bookmarks.extra",
        "{l}suite/profile/panels.extra",
        "{l}suite/chrome/common/help/images/*.*",
    ]
    action = "ignore"