[tor-commits] [tor-browser-bundle/maint-5.0] Bug 16937: homepage pref has been translated in the Korean bundle

gk at torproject.org gk at torproject.org
Wed Oct 28 21:25:47 UTC 2015


commit 984992951026f3bee2766b8c922665590a30c1d3
Author: Kathy Brade <brade at pearlcrescent.com>
Date:   Tue Sep 15 13:43:20 2015 -0400

    Bug 16937: homepage pref has been translated in the Korean bundle
    
    Remove the en-US spellchecking dictionary from non en-US packages.
---
 gitian/descriptors/linux/gitian-bundle.yml   |    4 +++-
 gitian/descriptors/mac/gitian-bundle.yml     |    5 +++--
 gitian/descriptors/windows/gitian-bundle.yml |    4 +++-
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/gitian/descriptors/linux/gitian-bundle.yml b/gitian/descriptors/linux/gitian-bundle.yml
index 455fc89..d3774cd 100644
--- a/gitian/descriptors/linux/gitian-bundle.yml
+++ b/gitian/descriptors/linux/gitian-bundle.yml
@@ -183,10 +183,12 @@ script: |
     rm -rf defaults
     popd
 
-    # Set the update.locale (it is used to replace %LOCALE% within app.update.url).
+    # Set the update.locale (it is used to replace %LOCALE% within
+    # app.update.url) and remove the en-US spellchecking dictionary.
     pushd tor-browser_$LANG/Browser/
     echo "$LANG" > update.locale
     zip -Xm omni.ja update.locale
+    rm -rf dictionaries
     popd
 
     # Recreate precomplete file (needs to be accurate for full MAR updates).
diff --git a/gitian/descriptors/mac/gitian-bundle.yml b/gitian/descriptors/mac/gitian-bundle.yml
index 255d327..be404ce 100644
--- a/gitian/descriptors/mac/gitian-bundle.yml
+++ b/gitian/descriptors/mac/gitian-bundle.yml
@@ -211,11 +211,12 @@ script: |
     popd
 
     # Set the update.locale (it is used to replace %LOCALE% within
-    # app.update.url) and recreate the precomplete file (needs to be accurate
-    # for full MAR updates).
+    # app.update.url), remove the en-US spellchecking dictionary, and recreate
+    # the precomplete file (needs to be accurate for full MAR updates).
     pushd ~/build/dmg/$DEST.app/Contents/Resources/
     echo "$LANG" > update.locale
     zip -Xm omni.ja update.locale
+    rm -rf dictionaries
     rm -f precomplete
     python $MARTOOLS/createprecomplete.py
     popd
diff --git a/gitian/descriptors/windows/gitian-bundle.yml b/gitian/descriptors/windows/gitian-bundle.yml
index 54ea258..2fe0c2f 100644
--- a/gitian/descriptors/windows/gitian-bundle.yml
+++ b/gitian/descriptors/windows/gitian-bundle.yml
@@ -172,10 +172,12 @@ script: |
     rm -rf defaults
     popd
 
-    # Set the update.locale (it is used to replace %LOCALE% within app.update.url).
+    # Set the update.locale (it is used to replace %LOCALE% within
+    # app.update.url) and remove the en-US spellchecking dictionary.
     pushd "Tor Browser"/Browser/
     echo "$LANG" > update.locale
     zip -Xm omni.ja update.locale
+    rm -rf dictionaries
     popd
 
     # Recreate precomplete file (needs to be accurate for full MAR updates).



More information about the tor-commits mailing list