minor fixes

svn:r22862
This commit is contained in:
Runa A. Sandvik 2010-08-11 18:53:20 +00:00
parent bc5c4eb66c
commit a5098519e5
1 changed files with 5 additions and 4 deletions

View File

@ -18,7 +18,8 @@
translated="" translated=""
# Location of the orbot directory, i.e. the original English xml file. # Location of the orbot directory, i.e. the original English xml file.
# Do not add the trailing slash. # In svn, this should be svn/projects/android/trunk/Orbot/res. Do not add the
# trailing slash.
xml="" xml=""
### End config ### ### End config ###
@ -54,10 +55,10 @@ for file in $po ; do
if [ -e "$xml/values-$lang/tmp-$xmlfile" ] if [ -e "$xml/values-$lang/tmp-$xmlfile" ]
then then
mv "$xml/values-$lang/tmp-$xmlfile" "$xml/values-$lang/$xmlfile" mv "$xml/values-$lang/tmp-$xmlfile" "$xml/values-$lang/$xmlfile"
fi
# We need to escape apostrophe's # We need to escape apostrophe's
sed -i "s,',\\\',g" "$xml/values-$lang/$xmlfile" sed -i "s,',\\\',g" "$xml/values-$lang/$xmlfile"
fi
} }
# If the current directory is zh_CN use zh, else convert everything. # If the current directory is zh_CN use zh, else convert everything.