summaryrefslogtreecommitdiffstats
path: root/mobile/locales
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /mobile/locales
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/locales')
-rw-r--r--mobile/locales/Makefile.in30
-rw-r--r--mobile/locales/filter.py71
-rw-r--r--mobile/locales/l10n-changesets.json779
-rw-r--r--mobile/locales/l10n-onchange-changesets.json34
-rw-r--r--mobile/locales/l10n.ini18
-rw-r--r--mobile/locales/moz.build8
6 files changed, 940 insertions, 0 deletions
diff --git a/mobile/locales/Makefile.in b/mobile/locales/Makefile.in
new file mode 100644
index 0000000000..9d5cf767d1
--- /dev/null
+++ b/mobile/locales/Makefile.in
@@ -0,0 +1,30 @@
+# -*- makefile -*-
+# 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/.
+
+include $(topsrcdir)/config/config.mk
+
+USE_AUTOTARGETS_MK=1
+include $(topsrcdir)/config/makefiles/makeutils.mk
+
+$(call errorIfEmpty,MOZ_BRANDING_DIRECTORY)
+SUBMAKEFILES += \
+ $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/Makefile \
+ $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales/Makefile \
+ $(NULL)
+
+include $(topsrcdir)/config/rules.mk
+
+l10n-%: AB_CD=$*
+l10n-%:
+ $(NSINSTALL) -D $(DIST)/install
+ @$(MAKE) -C $(DEPTH)/toolkit/locales l10n-$*
+ @$(MAKE) l10n AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref
+ @$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$*
+
+# Tailored target to just add the chrome processing for multi-locale builds
+chrome-%: AB_CD=$*
+chrome-%:
+ @$(MAKE) chrome AB_CD=$*
+ @$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales chrome AB_CD=$*
diff --git a/mobile/locales/filter.py b/mobile/locales/filter.py
new file mode 100644
index 0000000000..311d785f2c
--- /dev/null
+++ b/mobile/locales/filter.py
@@ -0,0 +1,71 @@
+# 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/.
+
+"""This routine controls which localizable files and entries are
+reported and l10n-merged.
+This needs to stay in sync with the copy in mobile/android/locales.
+"""
+
+
+def test(mod, path, entity=None):
+ import re
+
+ # ignore anything but mobile, which is our local repo checkout name
+ if mod not in ("dom", "toolkit", "mobile", "mobile/android"):
+ return "ignore"
+
+ if mod == "toolkit":
+ # keep this file list in sync with jar.mn
+ if path in (
+ "chrome/global/commonDialogs.properties",
+ "chrome/global/intl.properties",
+ "chrome/global/intl.css",
+ ):
+ return "error"
+ if re.match(r"crashreporter/[^/]*.ftl", path):
+ # error on crashreporter/*.ftl
+ return "error"
+
+ if re.match(r"toolkit/about/[^/]*About.ftl", path):
+ # error on toolkit/about/*About.ftl
+ return "error"
+ if re.match(r"toolkit/about/[^/]*Mozilla.ftl", path):
+ # error on toolkit/about/*Mozilla.ftl
+ return "error"
+ if re.match(r"toolkit/about/[^/]*Plugins.ftl", path):
+ # error on toolkit/about/*Plugins.ftl
+ return "error"
+ if re.match(r"toolkit/about/[^/]*Rights.ftl", path):
+ # error on toolkit/about/*Rights.ftl
+ return "error"
+ if re.match(r"toolkit/about/[^/]*Compat.ftl", path):
+ # error on toolkit/about/*Compat.ftl
+ return "error"
+ if re.match(r"toolkit/about/[^/]*Support.ftl", path):
+ # error on toolkit/about/*Support.ftl
+ return "error"
+ if re.match(r"toolkit/about/[^/]*Webrtc.ftl", path):
+ # error on toolkit/about/*Webrtc.ftl
+ return "error"
+ return "ignore"
+
+ if mod == "dom":
+ # keep this file list in sync with jar.mn
+ if path in (
+ "chrome/accessibility/AccessFu.properties",
+ "chrome/dom/dom.properties",
+ ):
+ return "error"
+ return "ignore"
+
+ if mod not in ("mobile", "mobile/android"):
+ # we only have exceptions for mobile*
+ return "error"
+ if mod == "mobile/android":
+ if entity is None:
+ if re.match(r"mobile-l10n.js", path):
+ return "ignore"
+ return "error"
+
+ return "error"
diff --git a/mobile/locales/l10n-changesets.json b/mobile/locales/l10n-changesets.json
new file mode 100644
index 0000000000..b03f926abe
--- /dev/null
+++ b/mobile/locales/l10n-changesets.json
@@ -0,0 +1,779 @@
+{
+ "ach": {
+ "platforms": [
+ "android",
+ "android-arm"
+ ],
+ "revision": "default"
+ },
+ "an": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ar": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ast": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "az": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "be": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "bg": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "bn": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "br": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "bs": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ca": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "cak": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "cs": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "cy": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "da": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "de": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "dsb": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "el": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "en-CA": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "en-GB": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "eo": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "es-AR": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "es-CL": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "es-ES": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "es-MX": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "et": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "eu": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "fa": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ff": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "fi": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "fr": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "fy-NL": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ga-IE": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "gd": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "gl": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "gn": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "gu-IN": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "he": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "hi-IN": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "hr": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "hsb": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "hu": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "hy-AM": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ia": {
+ "platforms": [
+ "android",
+ "android-arm"
+ ],
+ "revision": "default"
+ },
+ "id": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "is": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "it": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ja": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ka": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "kab": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "kk": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "km": {
+ "platforms": [
+ "android",
+ "android-arm"
+ ],
+ "revision": "default"
+ },
+ "kn": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ko": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "lij": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "lo": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "lt": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ltg": {
+ "platforms": [
+ "android",
+ "android-arm"
+ ],
+ "revision": "default"
+ },
+ "lv": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "meh": {
+ "platforms": [
+ "android",
+ "android-arm"
+ ],
+ "revision": "default"
+ },
+ "mix": {
+ "platforms": [
+ "android",
+ "android-arm"
+ ],
+ "revision": "default"
+ },
+ "ml": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "mr": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ms": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "my": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "nb-NO": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ne-NP": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "nl": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "nn-NO": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "oc": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "pa-IN": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "pl": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "pt-BR": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "pt-PT": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "rm": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ro": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ru": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "sk": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "sl": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "son": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "sq": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "sr": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "sv-SE": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ta": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "te": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "th": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "tl": {
+ "platforms": [
+ "android",
+ "android-arm"
+ ],
+ "revision": "default"
+ },
+ "tr": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "trs": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "uk": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ur": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "uz": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "vi": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "wo": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "xh": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "zam": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "zh-CN": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "zh-TW": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ }
+}
diff --git a/mobile/locales/l10n-onchange-changesets.json b/mobile/locales/l10n-onchange-changesets.json
new file mode 100644
index 0000000000..ad2dc0148f
--- /dev/null
+++ b/mobile/locales/l10n-onchange-changesets.json
@@ -0,0 +1,34 @@
+{
+ "en-CA": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "he": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "it": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ },
+ "ja": {
+ "platforms": [
+ "android",
+ "android-arm",
+ "android-multilocale"
+ ],
+ "revision": "default"
+ }
+}
diff --git a/mobile/locales/l10n.ini b/mobile/locales/l10n.ini
new file mode 100644
index 0000000000..7d5d5056f1
--- /dev/null
+++ b/mobile/locales/l10n.ini
@@ -0,0 +1,18 @@
+; 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/.
+
+# Control which directories and modules are part of mobile
+# on the l10n dashboard.
+# Changes here should be triggered by changes in
+# mobile/android/locales/l10n.ini.
+
+[general]
+depth = ../..
+all = mobile/android/locales/all-locales
+
+[compare]
+dirs = mobile mobile/android
+
+[includes]
+toolkit = toolkit/locales/l10n.ini
diff --git a/mobile/locales/moz.build b/mobile/locales/moz.build
new file mode 100644
index 0000000000..2d4f67a08b
--- /dev/null
+++ b/mobile/locales/moz.build
@@ -0,0 +1,8 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# 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/.
+
+with Files("**"):
+ BUG_COMPONENT = ("GeckoView", "General")