browser/locales/l10n.toml
author Riz <rizwansyed357@protonmail.com>
Fri, 01 Mar 2019 15:11:06 +0000
changeset 519850 8dc3d4283b0cb3c3e4eef548c5b6f6d4d561a427
parent 519418 dce3ee76ccd90b2a86866d8b71eff3f95da117f4
child 525385 5ed0b38df28cb41a252cfc0ae87d9cd8ccdb899d
permissions -rw-r--r--
Bug 1530283 replaced promiseWaitForEvent usage in the waitForNewTabEvent test function with the BrowserTestUtils.waitForEvent utility function r=johannh Replaced promiseWaitForEvent usage in the waitForNewTabEvent test function with the BrowserTestUtils.waitForEvent utility function r=reviewers Differential Revision: https://phabricator.services.mozilla.com/D21395

# 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 = [
    "ach",
    "af",
    "an",
    "ar",
    "as",
    "ast",
    "az",
    "be",
    "bg",
    "bn-BD",
    "bn-IN",
    "br",
    "bs",
    "ca",
    "cak",
    "crh",
    "cs",
    "cy",
    "da",
    "de",
    "dsb",
    "el",
    "en-CA",
    "en-GB",
    "en-ZA",
    "eo",
    "es-AR",
    "es-CL",
    "es-ES",
    "es-MX",
    "et",
    "eu",
    "fa",
    "ff",
    "fi",
    "fr",
    "fy-NL",
    "ga-IE",
    "gd",
    "gl",
    "gn",
    "gu-IN",
    "he",
    "hi-IN",
    "hr",
    "hsb",
    "hu",
    "hy-AM",
    "ia",
    "id",
    "is",
    "it",
    "ja",
    "ja-JP-mac",
    "ka",
    "kab",
    "kk",
    "km",
    "kn",
    "ko",
    "lij",
    "lo",
    "lt",
    "ltg",
    "lv",
    "mai",
    "mk",
    "ml",
    "mr",
    "ms",
    "my",
    "nb-NO",
    "ne-NP",
    "nl",
    "nn-NO",
    "oc",
    "or",
    "pa-IN",
    "pl",
    "pt-BR",
    "pt-PT",
    "rm",
    "ro",
    "ru",
    "si",
    "sk",
    "sl",
    "son",
    "sq",
    "sr",
    "sv-SE",
    "ta",
    "te",
    "th",
    "tl",
    "tr",
    "trs",
    "uk",
    "ur",
    "uz",
    "vi",
    "wo",
    "xh",
    "zh-CN",
    "zh-TW",
    ]

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


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

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

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

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

[[paths]]
    reference = "browser/extensions/webcompat-reporter/locales/en-US/**"
    l10n = "{l}browser/extensions/webcompat-reporter/**"

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


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

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

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

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

# Filters
# The filters below are evaluated one after the other, in the given order.
# Enter a combination of path as in the localization, key, and an action,
# to change the default behavior of compare-locales and l10n merge.
#
# For browser/locales/en-US/chrome/browser/foo.properties,
# path would be {l}browser/chrome/browser/foo.properties
# key: the key/id of the entity
# If key isn't specified, the complete file can be missing.
[[filters]]
    path = "{l}browser/defines.inc"
    key = "MOZ_LANGPACK_CONTRIBUTORS"
    action = "ignore"

[[filters]]
    path = [
        "{l}browser/defines.inc",
        "{l}browser/firefox-l10n.js",
    ]
    action = "ignore"

[[filters]]
    path = "{l}browser/chrome/browser-region/region.properties"
    key = [
        "re:^browser\\.contentHandlers\\.types\\.[0-5]\\..*$",
        "re:^gecko\\.handlerService\\.schemes\\..*$",
        "re:^gecko\\.handlerService\\.defaultHandlersVersion$"
    ]
    action = "ignore"