[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-bundle/maint-5.0] Bug 16937: homepage pref has been translated in the Korean bundle
commit 984992951026f3bee2766b8c922665590a30c1d3
Author: Kathy Brade <brade@xxxxxxxxxxxxxxxxx>
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).
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits