Cleanup chat l10n stuff.
authorFlorian Quèze <florian@instantbird.org>
Mon, 12 Mar 2012 19:35:53 +0100
changeset 18575 f833aba382ee0ae7bea34c66c3b5bc063fa35701
parent 18574 13a68f07582f9543c505ae76eb9359afe396d451
child 18576 e4e612fcae9d0e5181a5543ed17f705a83a3de71
push id1103
push usermbanner@mozilla.com
push dateTue, 18 Mar 2014 07:44:06 +0000
treeherdercomm-beta@50c6279a0af0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Cleanup chat l10n stuff.
chat/locales/Makefile.in
im/locales/filter.py
im/locales/l10n.ini
--- a/chat/locales/Makefile.in
+++ b/chat/locales/Makefile.in
@@ -37,19 +37,11 @@
 DEPTH		= ../..
 topsrcdir	= @top_srcdir@
 srcdir		= @srcdir@
 VPATH		= @srcdir@
 relativesrcdir	= chat/locales
 
 include $(DEPTH)/config/autoconf.mk
 
-DEFINES += \
-	-DAB_CD=$(AB_CD) \
-	$(NULL)
+DEFINES += -DAB_CD=$(AB_CD)
 
 include $(topsrcdir)/config/rules.mk
-
-libs-%: AB_CD=$*
-libs-%:
-	# XXX: it would be nice if we could just do nothing if no langpack is being done
-	#  currently, we just go and (re)build en-US if called with a non-supported locale
-	$(MAKE) libs AB_CD=$*
--- a/im/locales/filter.py
+++ b/im/locales/filter.py
@@ -1,13 +1,13 @@
 def test(mod, path, entity = None):
   import re
-  # ignore anyhting but Instantbird
+  # ignore anything but Instantbird
   if mod not in ("netwerk", "dom", "toolkit", "security/manager",
-                 "instantbird", "purple", "extensions/reporter", "extensions/spellcheck",
+                 "instantbird", "chat", "purple", "extensions/reporter", "extensions/spellcheck",
                  "instantbird/branding/release", "instantbird/branding/nightly"):
     return False
   if mod == "instantbird" and path.startswith("branding/"):
     return False
   if mod != "instantbird" and mod != "extensions/spellcheck":
     # we only have exceptions for instantbird and extensions/spellcheck
     return True
   if not entity:
--- a/im/locales/l10n.ini
+++ b/im/locales/l10n.ini
@@ -1,13 +1,14 @@
 [general]
 depth = ../..
 
 [compare]
 dirs = instantbird
+    chat
     purple
     instantbird/branding/release
     instantbird/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