Bug 1408044 - stop trying to localize the toolkit about.dtd file in mobile code, r?nalexander
MozReview-Commit-ID: 9dpsRgqz52F
--- a/mobile/android/locales/filter.py
+++ b/mobile/android/locales/filter.py
@@ -12,17 +12,16 @@ def test(mod, path, entity = None):
# ignore anything but mobile, which is our local repo checkout name
if mod not in ("dom", "toolkit", "mobile",
"mobile/android/base", "mobile/android"):
return "ignore"
if mod == "toolkit":
# keep this file list in sync with jar.mn
if path in (
- "chrome/global/about.dtd",
"chrome/global/aboutAbout.dtd",
"chrome/global/aboutReader.properties",
"chrome/global/aboutRights.dtd",
"chrome/global/charsetMenu.properties",
"chrome/global/commonDialogs.properties",
"chrome/global/intl.properties",
"chrome/global/intl.css",
"chrome/search/search.properties",
--- a/mobile/android/locales/jar.mn
+++ b/mobile/android/locales/jar.mn
@@ -35,17 +35,16 @@
#ifndef RELEASE_OR_BETA
locale/@AB_CD@/browser/webcompatReporter.properties (%chrome/webcompatReporter.properties)
#endif
% resource search-plugins chrome://browser/locale/searchplugins/
# overrides for toolkit l10n, also for en-US
# keep this file list in sync with l10n.toml and filter.py
relativesrcdir toolkit/locales:
- locale/@AB_CD@/browser/overrides/about.dtd (%chrome/global/about.dtd)
locale/@AB_CD@/browser/overrides/aboutAbout.dtd (%chrome/global/aboutAbout.dtd)
locale/@AB_CD@/browser/overrides/aboutReader.properties (%chrome/global/aboutReader.properties)
locale/@AB_CD@/browser/overrides/aboutRights.dtd (%chrome/global/aboutRights.dtd)
locale/@AB_CD@/browser/overrides/charsetMenu.properties (%chrome/global/charsetMenu.properties)
locale/@AB_CD@/browser/overrides/commonDialogs.properties (%chrome/global/commonDialogs.properties)
locale/@AB_CD@/browser/overrides/intl.properties (%chrome/global/intl.properties)
locale/@AB_CD@/browser/overrides/intl.css (%chrome/global/intl.css)
locale/@AB_CD@/browser/overrides/search/search.properties (%chrome/search/search.properties)
--- a/mobile/android/locales/l10n.toml
+++ b/mobile/android/locales/l10n.toml
@@ -145,20 +145,16 @@ exclude-multi-locale = [
reference = "dom/locales/en-US/chrome/dom/dom.properties"
l10n = "{l}dom/chrome/dom/dom.properties"
[[paths]]
reference = "dom/locales/en-US/chrome/plugins.properties"
l10n = "{l}dom/chrome/plugins.properties"
[[paths]]
- reference = "toolkit/locales/en-US/chrome/global/about.dtd"
- l10n = "{l}toolkit/chrome/global/about.dtd"
-
-[[paths]]
reference = "toolkit/locales/en-US/chrome/global/aboutAbout.dtd"
l10n = "{l}toolkit/chrome/global/aboutAbout.dtd"
[[paths]]
reference = "toolkit/locales/en-US/chrome/global/aboutReader.properties"
l10n = "{l}toolkit/chrome/global/aboutReader.properties"
[[paths]]
--- a/mobile/locales/filter.py
+++ b/mobile/locales/filter.py
@@ -12,17 +12,16 @@ def test(mod, path, entity = None):
# ignore anything but mobile, which is our local repo checkout name
if mod not in ("dom", "toolkit", "mobile",
"mobile/android/base", "mobile/android"):
return "ignore"
if mod == "toolkit":
# keep this file list in sync with jar.mn
if path in (
- "chrome/global/about.dtd",
"chrome/global/aboutAbout.dtd",
"chrome/global/aboutReader.properties",
"chrome/global/aboutRights.dtd",
"chrome/global/charsetMenu.properties",
"chrome/global/commonDialogs.properties",
"chrome/global/intl.properties",
"chrome/global/intl.css",
"chrome/search/search.properties",