Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaid <daid303@gmail.com>2014-03-17 13:27:46 +0400
committerdaid <daid303@gmail.com>2014-03-17 13:27:46 +0400
commite17446726f7fbac31f97a0e51536571822987215 (patch)
tree2b75cbbb8aeb2a7fd66d9a2c87fe8f60b6d9bea1 /update_translations.sh
parentf6998ad77a16ba36cdfc0a4fbbb1dfe6213f766d (diff)
Update the language files.
Diffstat (limited to 'update_translations.sh')
-rw-r--r--update_translations.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/update_translations.sh b/update_translations.sh
index ead6459e07..b7df672c38 100644
--- a/update_translations.sh
+++ b/update_translations.sh
@@ -1,9 +1,9 @@
#/bin/sh
-xgettext --language=Python --copyright-holder='David Braam' --keyword=_ --output=Cura/resources/locale/Cura.pot --from-code=UTF-8 `find Cura -name "*.py"`
+xgettext --language=Python --copyright-holder='David Braam' --keyword=_ --output=resources/locale/Cura.pot --from-code=UTF-8 `find Cura -name "*.py"`
-for LANG in `ls Cura/resources/locale`; do
- if [ -e Cura/resources/locale/$LANG/LC_MESSAGES/Cura.po ]; then
- msgmerge -U Cura/resources/locale/$LANG/LC_MESSAGES/Cura.po Cura/resources/locale/Cura.pot
- msgfmt Cura/resources/locale/$LANG/LC_MESSAGES/Cura.po --output-file Cura/resources/locale/$LANG/LC_MESSAGES/Cura.mo
+for LANG in `ls resources/locale`; do
+ if [ -e resources/locale/$LANG/LC_MESSAGES/Cura.po ]; then
+ msgmerge -U resources/locale/$LANG/LC_MESSAGES/Cura.po resources/locale/Cura.pot
+ msgfmt resources/locale/$LANG/LC_MESSAGES/Cura.po --output-file resources/locale/$LANG/LC_MESSAGES/Cura.mo
fi
done