[or-cvs] r22663: {projects} we need to escape every apostrophe, including update for nl (in projects/android/trunk/Orbot: . res/values-nl)

Runa Sandvik runa.sandvik at gmail.com
Mon Jul 19 14:55:55 UTC 2010


Author: runa
Date: 2010-07-19 14:55:54 +0000 (Mon, 19 Jul 2010)
New Revision: 22663

Modified:
   projects/android/trunk/Orbot/po2xml.sh
   projects/android/trunk/Orbot/res/values-nl/strings.xml
Log:
we need to escape every apostrophe, including update for nl

Modified: projects/android/trunk/Orbot/po2xml.sh
===================================================================
--- projects/android/trunk/Orbot/po2xml.sh	2010-07-19 14:40:43 UTC (rev 22662)
+++ projects/android/trunk/Orbot/po2xml.sh	2010-07-19 14:55:54 UTC (rev 22663)
@@ -55,6 +55,9 @@
 		then
 			mv "$xml/values-$lang/tmp-$xmlfile" "$xml/values-$lang/$xmlfile"
 		fi
+
+		# We need to escape apostrophe's
+		sed -i "s,',\\\',g" "$xml/values-$lang/$xmlfile"
 	}
 	
 	# If the current directory is zh_CN use zh, else convert everything.

Modified: projects/android/trunk/Orbot/res/values-nl/strings.xml
===================================================================
--- projects/android/trunk/Orbot/res/values-nl/strings.xml	2010-07-19 14:40:43 UTC (rev 22662)
+++ projects/android/trunk/Orbot/res/values-nl/strings.xml	2010-07-19 14:55:54 UTC (rev 22663)
@@ -19,7 +19,7 @@
 <string name="tor_process_connecting_step3">klaar.</string>
 <string name="tor_process_connecting_step4">aan het wachten.</string>
 
-<string name="not_anonymous_yet">WAARSCHUWING: Uw verkeer is nog niet anononiem!Stel uw programma's alstublieft in dat ze gebruik maken van HTTP proxy 127.0.0.1:8118 of SOCKS4A of SOCKS5 proxy 127.0.0.1:9050</string>
+<string name="not_anonymous_yet">WAARSCHUWING: Uw verkeer is nog niet anononiem!Stel uw programma\'s alstublieft in dat ze gebruik maken van HTTP proxy 127.0.0.1:8118 of SOCKS4A of SOCKS5 proxy 127.0.0.1:9050</string>
 <string name="menu_home">Thuis</string>
 <string name="menu_browse">Bladeren</string>
 <string name="menu_settings">Instellingen</string>



More information about the tor-commits mailing list