Skip to content

Commit

Permalink
unescape backslashes - either we got this wrong all the time or Trans…
Browse files Browse the repository at this point in the history
…ifex has changed their output
  • Loading branch information
danielnaber committed Sep 26, 2017
1 parent c606ae7 commit 9deb154
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions languagetool-standalone/scripts/i18n_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ for lang in ast be br ca zh da nl eo fr gl de el_GR it pl ru sl es tl uk ro sk s
do
shortCode=$(echo "$lang" | sed -e 's/_.*//')
curl --user $USERNAME:$PASSWORD https://www.transifex.com/api/2/project/languagetool/resource/messagesbundleproperties/translation/$lang/?file >$SOURCE
sed -i 's/\\\\/\\/g' $SOURCE
recode latin1..utf8 $SOURCE
TARGET="../../../languagetool-language-modules/${shortCode}/src/main/resources/org/languagetool/MessagesBundle_${lang}.properties"
SOURCE2=downloaded.tmp.ascii
Expand Down

0 comments on commit 9deb154

Please sign in to comment.