blob: 5ff87c52a725cfafa0eb3b722b01c7660528157c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
# Download latest translations from crowdin and copy them over the existing local files.
# Note that you need to trigger crowdin export via API if you need to make sure everything
# is up-to-date (automatic export may only happen every 24 hours).
cd ~/workspace/JLanguageTool
mkdir i18n-temp
cd i18n-temp
wget http://crowdin.net/download/project/languagetool.zip
unzip languagetool.zip
for lang in be ca cs da de es-ES fr gl is it lt nl pl ro ru sk sl sv-SE uk
do
SOURCE="$lang/MessagesBundle.properties"
TARGET="../src/java/de/danielnaber/languagetool/MessagesBundle_${lang}.properties"
echo "Copying $SOURCE to $TARGET"
cp $SOURCE $TARGET
done
#cd ..
#rm -r i18n-temp
|