minor cleanup

svn:r23221
This commit is contained in:
Runa A. Sandvik 2010-09-17 21:03:33 +00:00
parent 07904520b1
commit ab8ee12ae8
1 changed files with 2 additions and 3 deletions

View File

@ -15,12 +15,12 @@
# Location of the translated files, i.e. the path to the orbot # Location of the translated files, i.e. the path to the orbot
# directory in the translation module. Do not add the trailing slash. # directory in the translation module. Do not add the trailing slash.
translated="/home/runa/tor/translation/projects/orbot" 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.
# In svn, this should be svn/projects/android/trunk/Orbot/res. Do not add the # In svn, this should be svn/projects/android/trunk/Orbot/res. Do not add the
# trailing slash. # trailing slash.
xml="/home/runa/tor/orbot/res" xml=""
### End config ### ### End config ###
@ -57,7 +57,6 @@ for file in $po ; do
mv "$xml/values-$lang/tmp-$xmlfile" "$xml/values-$lang/$xmlfile" mv "$xml/values-$lang/tmp-$xmlfile" "$xml/values-$lang/$xmlfile"
# We need to escape apostrophe's # We need to escape apostrophe's
# sed -i "s,',\\\',g" "$xml/values-$lang/$xmlfile"
sed -i "s/\([^\\]\)'/\1\\\\'/g" "$xml/values-$lang/$xmlfile" sed -i "s/\([^\\]\)'/\1\\\\'/g" "$xml/values-$lang/$xmlfile"
fi fi
} }