bisq/core/update_translations.sh

25 lines
1.2 KiB
Bash
Raw Normal View History

2018-09-05 10:48:22 +02:00
#!/usr/bin/env bash
cd $(dirname $0)
tx pull -l de,es,ja,pt,ru,zh_CN,zh_TW,vi,th_TH,fa,fr,pt_BR,it,cs
2018-09-05 10:48:22 +02:00
translations="translations/bisq-desktop.displaystringsproperties"
i18n="src/main/resources/i18n"
mv "$translations/de.properties" "$i18n/displayStrings_de.properties"
mv "$translations/es.properties" "$i18n/displayStrings_es.properties"
2019-07-26 00:37:12 +02:00
mv "$translations/ja.properties" "$i18n/displayStrings_ja.properties"
mv "$translations/pt.properties" "$i18n/displayStrings_pt.properties"
2018-09-05 10:48:22 +02:00
mv "$translations/ru.properties" "$i18n/displayStrings_ru.properties"
mv "$translations/zh_CN.properties" "$i18n/displayStrings_zh-hans.properties"
mv "$translations/zh_TW.properties" "$i18n/displayStrings_zh-hant.properties"
2018-09-05 10:48:22 +02:00
mv "$translations/vi.properties" "$i18n/displayStrings_vi.properties"
mv "$translations/th_TH.properties" "$i18n/displayStrings_th.properties"
mv "$translations/fa.properties" "$i18n/displayStrings_fa.properties"
2018-12-13 09:48:25 +01:00
mv "$translations/fr.properties" "$i18n/displayStrings_fr.properties"
mv "$translations/pt_BR.properties" "$i18n/displayStrings_pt-br.properties"
mv "$translations/it.properties" "$i18n/displayStrings_it.properties"
mv "$translations/cs.properties" "$i18n/displayStrings_cs.properties"
2018-09-05 10:48:22 +02:00
rm -rf $translations