Commit cf337dd7 authored by Mike Perry's avatar Mike Perry
Browse files

Add a script to pull in localizations from transifex.

parent ed9c8d9c
#!/bin/sh
BUNDLE_LOCALES="de es fa fr it ko nl pl pt ru vi zh-CN"
if [ -d translations ];
then
cd translations
git fetch origin
cd ..
else
git clone https://git.torproject.org/translation.git
fi
cd translation
for i in $BUNDLE_LOCALES
do
UL="`echo $i|tr - _`"
mkdir -p ../../src/chrome/locale/$i/
git checkout tor-launcher-network-settings
git merge origin/tor-launcher-network-settings
cp $UL/network-settings.dtd ../../src/chrome/locale/$i/
git checkout tor-launcher-progress
git merge origin/tor-launcher-progress
cp $UL/progress.dtd ../../src/chrome/locale/$i/
git checkout tor-launcher-properties
git merge origin/tor-launcher-properties
cp $UL/torlauncher.properties ../../src/chrome/locale/$i/
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment