From 31214c20a5981c58248473f0a7f4b6b58926a265 Mon Sep 17 00:00:00 2001 From: "Runa A. Sandvik" Date: Mon, 19 Jul 2010 14:55:54 +0000 Subject: [PATCH] we need to escape every apostrophe, including update for nl svn:r22663 --- po2xml.sh | 3 +++ res/values-nl/strings.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/po2xml.sh b/po2xml.sh index 7e535e20..0561ab4f 100755 --- a/po2xml.sh +++ b/po2xml.sh @@ -55,6 +55,9 @@ for file in $po ; do 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. diff --git a/res/values-nl/strings.xml b/res/values-nl/strings.xml index 40fc714b..019ca860 100644 --- a/res/values-nl/strings.xml +++ b/res/values-nl/strings.xml @@ -19,7 +19,7 @@ klaar. aan het wachten. -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 +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 Thuis Bladeren Instellingen