From 1a924008447f6565d0b91d70e2991a168e1c3af7 Mon Sep 17 00:00:00 2001 From: "Runa A. Sandvik" Date: Fri, 17 Sep 2010 21:03:33 +0000 Subject: [PATCH] minor cleanup svn:r23221 --- po2xml.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/po2xml.sh b/po2xml.sh index 806b47e4..e8f23c81 100755 --- a/po2xml.sh +++ b/po2xml.sh @@ -15,12 +15,12 @@ # Location of the translated files, i.e. the path to the orbot # 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. # In svn, this should be svn/projects/android/trunk/Orbot/res. Do not add the # trailing slash. -xml="/home/runa/tor/orbot/res" +xml="" ### End config ### @@ -57,7 +57,6 @@ for file in $po ; do mv "$xml/values-$lang/tmp-$xmlfile" "$xml/values-$lang/$xmlfile" # We need to escape apostrophe's - # sed -i "s,',\\\',g" "$xml/values-$lang/$xmlfile" sed -i "s/\([^\\]\)'/\1\\\\'/g" "$xml/values-$lang/$xmlfile" fi }