[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbrowser/master] enable internationlization for osx tbbs



commit 652e344133b56639d3707d8d7d24ff05d180c456
Author: Erinn Clark <erinn@xxxxxxxxxxxxxx>
Date:   Tue Aug 30 18:09:14 2011 +0100

    enable internationlization for osx tbbs
---
 build-scripts/config/no-polipo-4.0.js |    1 +
 build-scripts/osx.mk                  |    3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-scripts/config/no-polipo-4.0.js b/build-scripts/config/no-polipo-4.0.js
index bea5d44..ae792bd 100644
--- a/build-scripts/config/no-polipo-4.0.js
+++ b/build-scripts/config/no-polipo-4.0.js
@@ -85,6 +85,7 @@ user_pref("extensions.update.notifyUser", false);
 user_pref("general.appname.override", "Netscape");
 user_pref("general.appversion.override", "5.0 (Windows; en-US)");
 user_pref("general.buildID.override", "0");
+user_pref("general.useragent.locale", "SHPONKA");
 user_pref("general.oscpu.override", "Windows NT 6.1");
 user_pref("general.platform.override", "Win32");
 user_pref("general.productSub.override", "20100401");
diff --git a/build-scripts/osx.mk b/build-scripts/osx.mk
index f1f62a6..e421f71 100644
--- a/build-scripts/osx.mk
+++ b/build-scripts/osx.mk
@@ -431,8 +431,7 @@ patch-firefox-language:
 
 ## Fix prefs.js since extensions.checkCompatibility, false doesn't work
 update-extension-pref:
-	ext_ver=$$(sed -n '/em:version/{s,.*="\(.*\)".*,\1,p;q;}' $(BUNDLE)/Library/Application\ Support/Firefox/Profiles/profile/extensions/langpack-$(LANGCODE)@firefox.mozilla.org/install.rdf); \
-	sed -i -e "s/SHPONKA/langpack-$(LANGCODE)@firefox.mozilla.org:$$ext_ver/g" $(BUNDLE)/Library/Application\ Support/Firefox/Profiles/profile/prefs.js
+	sed -i -e "s/SHPONKA/$(LANGCODE)/g" $(BUNDLE)/Library/Application\ Support/Firefox/Profiles/profile/prefs.js
 
 write-tbb-version:
 	printf 'user_pref("torbrowser.version", "%s");\n' "$(RELEASE_VER)-$(BUILD_NUM)-$(PLATFORM)-$(ARCH_TYPE)" >> $(BUNDLE)/Library/Application\ Support/Firefox/Profiles/profile/prefs.js



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits