aboutsummaryrefslogtreecommitdiffstats
path: root/crowdin/download
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2014-02-05 20:31:42 +0100
committerrsudev <rasch@munin-soft.de>2014-02-05 20:31:42 +0100
commit9092fbea2996e772da32430c6ecbfb9747441307 (patch)
treece613fe54b6defcb207bb8d403d648ccca529c8a /crowdin/download
parent7349583c4a615a7637c99086d470c832aa261124 (diff)
downloadcgeo-9092fbea2996e772da32430c6ecbfb9747441307.zip
cgeo-9092fbea2996e772da32430c6ecbfb9747441307.tar.gz
cgeo-9092fbea2996e772da32430c6ecbfb9747441307.tar.bz2
Adapt crowdin scripts to handle the ellipsis char
Diffstat (limited to 'crowdin/download')
-rwxr-xr-xcrowdin/download5
1 files changed, 5 insertions, 0 deletions
diff --git a/crowdin/download b/crowdin/download
index 89483c5..83111be 100755
--- a/crowdin/download
+++ b/crowdin/download
@@ -62,6 +62,11 @@ _do wget "http://api.crowdin.net/api/project/cgeo/download/all.zip?key=${CROWDIN
|| die "crowdin download failed."
_do unzip -o ${ZIPFILE} || die "unzip of ${ZIPFILE} failed."
+# fix unicode entities for ellipsis character
+for f in */*/*values-*/strings.xml; do
+ sed -i 's/&#8230;/…/g' $f
+done
+
# check for changes
if [ -z "`git diff`" ]; then
debug "no changes, finishing."