[tbb-commits] [torbutton/maint-2.0] bug 25013: Create symlink to en locale folder following mozilla standard naming

gk at torproject.org gk at torproject.org
Wed Dec 5 08:40:04 UTC 2018


commit cb295fbf921cec708d5cc1bc9c4d4f386fb6b624
Author: Igor Oliveira <igt0 at torproject.org>
Date:   Mon Nov 12 02:12:53 2018 -0200

    bug 25013: Create symlink to en locale folder following mozilla standard naming
    
    Additionally, remove it when using the makexpi to create a xpi package.
    XPI packages are using the chrome.manifest and they support multi lang
    bundle.
---
 makexpi.sh              | 4 ++--
 src/chrome/locale/en-US | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/makexpi.sh b/makexpi.sh
index 243fbd6b..aa3e665b 100755
--- a/makexpi.sh
+++ b/makexpi.sh
@@ -20,8 +20,8 @@ echo ---------- create $APP_NAME.xpi ----------
 # create the pkg directory if it doesn't exist yet
 mkdir -p pkg
 cd src
-echo zip -X -9r ../pkg/$XPI_NAME ./ -x "chrome/*" -x "*.diff" -x "*.svn/*"
-zip -X -9r ../pkg/$XPI_NAME ./ -x "*.svn/*" -x "*.diff" #-x "chrome/*"
+echo zip -X -9r ../pkg/$XPI_NAME ./ -x "chrome/*" -x "*.diff" -x "*.svn/*" -x "chrome/locale/en-US/*"
+zip -X -9r ../pkg/$XPI_NAME ./ -x "*.svn/*" -x "*.diff" -x "chrome/locale/en-US/*" #-x "chrome/*"
 #mv ../$APP_NAME.jar ./chrome
 #zip -9m ../pkg/$XPI_NAME chrome/$APP_NAME.jar
 cd ..
diff --git a/src/chrome/locale/en-US b/src/chrome/locale/en-US
new file mode 120000
index 00000000..2c4c454f
--- /dev/null
+++ b/src/chrome/locale/en-US
@@ -0,0 +1 @@
+en
\ No newline at end of file





More information about the tbb-commits mailing list