Bug 1018257 - drop metro from Firefox localization. r=gavin f=flod
authorAxel Hecht <l10n@mozilla.com>
Fri, 30 May 2014 08:46:00 +0200
changeset 187272 1fcd38e5b8553af4d232767a3bf83a4fb4fa6c62
parent 187271 e110c9dfcba00b16e140878e000d36b2dfaa7bc0
child 187273 09d3ce10e11087d5088e033814f331e4f265d7ce
push id44549
push userryanvm@gmail.com
push dateFri, 06 Jun 2014 21:34:21 +0000
treeherdermozilla-inbound@9aa487e0bce4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs1018257
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1018257 - drop metro from Firefox localization. r=gavin f=flod
browser/locales/filter.py
browser/locales/l10n.ini
--- a/browser/locales/filter.py
+++ b/browser/locales/filter.py
@@ -1,24 +1,24 @@
 # 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/.
 
 def test(mod, path, entity = None):
   import re
   # ignore anything but Firefox
   if mod not in ("netwerk", "dom", "toolkit", "security/manager",
-                 "browser", "browser/metro", "webapprt",
+                 "browser", "webapprt",
                  "extensions/reporter", "extensions/spellcheck",
                  "other-licenses/branding/firefox",
                  "browser/branding/official",
                  "services/sync"):
     return "ignore"
-  if mod not in ("browser", "browser/metro", "extensions/spellcheck"):
-    # we only have exceptions for browser, metro and extensions/spellcheck
+  if mod not in ("browser", "extensions/spellcheck"):
+    # we only have exceptions for browser and extensions/spellcheck
     return "error"
   if not entity:
     # the only files to ignore are spell checkers and search
     if mod == "extensions/spellcheck":
       return "ignore"
     # browser
     return "ignore" if re.match(r"searchplugins\/.+\.xml", path) else "error"
   if mod == "extensions/spellcheck":
@@ -30,13 +30,9 @@ def test(mod, path, entity = None):
   if mod == "browser" and path == "chrome/browser-region/region.properties":
     # only region.properties exceptions remain, compare all others
     return ("ignore"
             if (re.match(r"browser\.search\.order\.[1-9]", entity) or
                 re.match(r"browser\.contentHandlers\.types\.[0-5]", entity) or
                 re.match(r"gecko\.handlerService\.schemes\.", entity) or
                 re.match(r"gecko\.handlerService\.defaultHandlersVersion", entity))
             else "error")
-  if mod == "browser/metro" and path == "chrome/region.properties":
-      return ("ignore"
-              if re.match(r"browser\.search\.order\.[1-9]", entity)
-              else "error")
   return "error"
--- a/browser/locales/l10n.ini
+++ b/browser/locales/l10n.ini
@@ -3,17 +3,16 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 [general]
 depth = ../..
 all = browser/locales/all-locales
 
 [compare]
 dirs = browser
-     browser/metro
      extensions/reporter
      other-licenses/branding/firefox
      browser/branding/official
 
 [includes]
 # non-central apps might want to use %(topsrcdir)s here, or other vars
 # RFE: that needs to be supported by compare-locales, too, though
 toolkit = toolkit/locales/l10n.ini