Bug 1408044 - stop trying to localize the toolkit about.dtd file in mobile code, r?nalexander draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Wed, 15 Nov 2017 14:28:10 +0000
changeset 700581 a7100bb6a8d402b1f7f9f7ed018b9d7f4a8c74c4
parent 700580 468b920dcc3675d9bf68f6b38c73eaff69e2b22e
child 700582 8ef3506e2f667b789800116c4f88f5bc521ff83b
push id89894
push usergijskruitbosch@gmail.com
push dateMon, 20 Nov 2017 13:11:38 +0000
reviewersnalexander
bugs1408044
milestone59.0a1
Bug 1408044 - stop trying to localize the toolkit about.dtd file in mobile code, r?nalexander MozReview-Commit-ID: 9dpsRgqz52F
mobile/android/locales/filter.py
mobile/android/locales/jar.mn
mobile/android/locales/l10n.toml
mobile/locales/filter.py
--- 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",