Skip to content

Commit

Permalink
update transifex URL
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaber committed Sep 26, 2017
1 parent 7baaae8 commit c606ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languagetool-standalone/scripts/i18n_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SOURCE=downloaded.tmp
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 sv is lt km pt_PT pt_BR ta fa
do
shortCode=$(echo "$lang" | sed -e 's/_.*//')
curl --user $USERNAME:$PASSWORD http://www.transifex.net/api/2/project/languagetool/resource/messagesbundleproperties/translation/$lang/?file >$SOURCE
curl --user $USERNAME:$PASSWORD https://www.transifex.com/api/2/project/languagetool/resource/messagesbundleproperties/translation/$lang/?file >$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 c606ae7

Please sign in to comment.