Bug 1139528 - Fix l10n paths for the im folder, r=Fallen.
authorFlorian Quèze <florian@queze.net>
Wed, 04 Mar 2015 19:35:01 +0100
changeset 17602 63e433a08b4ebdad9c4faa7a2d89e5ab8fc4ccd2
parent 17601 23e852deb53d296b3fe712c19d613c171ed62657
child 17603 635555c60eb22bbce8a4af1a4f574c17b8d5ca8a
push id10835
push userflorian@queze.net
push dateWed, 04 Mar 2015 18:38:06 +0000
treeherdercomm-central@635555c60eb2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFallen
bugs1139528
Bug 1139528 - Fix l10n paths for the im folder, r=Fallen.
im/locales/filter.py
im/locales/l10n.ini
--- a/im/locales/filter.py
+++ b/im/locales/filter.py
@@ -1,22 +1,22 @@
 # 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 Instantbird
   if mod not in ("netwerk", "dom", "toolkit", "security/manager",
-                 "instantbird", "chat", "purple", "extensions/reporter", "extensions/spellcheck",
-                 "instantbird/branding/release", "instantbird/branding/nightly"):
+                 "im", "chat", "purple", "extensions/reporter", "extensions/spellcheck",
+                 "im/branding/release", "im/branding/nightly"):
     return False
-  if mod == "instantbird" and path.startswith("branding/"):
+  if mod == "im" and path.startswith("branding/"):
     return False
-  if mod != "instantbird" and mod != "extensions/spellcheck":
+  if mod != "im" and mod != "extensions/spellcheck":
     # we only have exceptions for instantbird and extensions/spellcheck
     return True
   if not entity:
     if mod == "extensions/spellcheck":
       return False
     # instantbird
     return not (re.match(r"searchplugins\/.+\.xml", path))
   if mod == "extensions/spellcheck":
--- a/im/locales/l10n.ini
+++ b/im/locales/l10n.ini
@@ -1,20 +1,20 @@
 ; 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/.
 
 [general]
 depth = ../..
 
 [compare]
-dirs = instantbird
+dirs = im
     chat
-    instantbird/branding/release
-    instantbird/branding/nightly
+    im/branding/release
+    im/branding/nightly
 
 [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 = mozilla/toolkit/locales/l10n.ini
 
 [extras]
 dirs = mozilla/extensions/spellcheck