mail/locales/l10n.toml
author Magnus Melin <mkmelin+mozilla@iki.fi>
Mon, 16 Mar 2020 08:57:24 +0200
changeset 38495 c84838d1d59664681b4abd35f5ee9f7c0dad6769
parent 38492 24aae04385e0ae4b1a7c71ff5eaef5248174b51c
child 38888 0665e9d6b9ecba9d68c5868324b4aa4f2e9f3670
permissions -rw-r--r--
Backed out changeset 24aae04385e0 (bug 1621633) for breaking cross-channel generation

# 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 = [
    "af",
    "ar",
    "ast",
    "be",
    "bg",
    "br",
    "ca",
    "cak",
    "cs",
    "cy",
    "da",
    "de",
    "dsb",
    "el",
    "en-GB",
    "es-AR",
    "es-ES",
    "et",
    "eu",
    "fa",
    "fi",
    "fr",
    "fy-NL",
    "ga-IE",
    "gd",
    "gl",
    "he",
    "hr",
    "hsb",
    "hu",
    "hy-AM",
    "id",
    "is",
    "it",
    "ja",
    "ja-JP-mac",
    "ka",
    "kab",
    "kk",
    "ko",
    "lt",
    "ms",
    "nb-NO",
    "nl",
    "nn-NO",
    "pl",
    "pt-BR",
    "pt-PT",
    "rm",
    "ro",
    "ru",
    "si",
    "sk",
    "sl",
    "sq",
    "sr",
    "sv-SE",
    "tr",
    "uk",
    "uz",
    "vi",
    "zh-CN",
    "zh-TW",
]

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


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

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

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

[[paths]]
    reference = "other-licenses/branding/thunderbird/locales/en-US/**"
    l10n = "{l}other-licenses/branding/thunderbird/**"

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

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

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

[[includes]]
    path = "calendar/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}mail/defines.inc"
    key = "MOZ_LANGPACK_CONTRIBUTORS"
    action = "ignore"

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

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