[tbb-commits] [tor-browser-bundle/master] Bug 16937: homepage pref has been translated in the Korean bundle
mikeperry at torproject.org
mikeperry at torproject.org
Wed Sep 16 03:54:53 UTC 2015
commit 2029ea7002c4704c9965674c97ed9ea379c97765
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 a8f8d51..81fcdf1 100644
--- a/gitian/descriptors/linux/gitian-bundle.yml
+++ b/gitian/descriptors/linux/gitian-bundle.yml
@@ -205,10 +205,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 bd54f0d..cfb7888 100644
--- a/gitian/descriptors/mac/gitian-bundle.yml
+++ b/gitian/descriptors/mac/gitian-bundle.yml
@@ -231,11 +231,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 b821528..dc8ad05 100644
--- a/gitian/descriptors/windows/gitian-bundle.yml
+++ b/gitian/descriptors/windows/gitian-bundle.yml
@@ -192,10 +192,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 tbb-commits
mailing list