ladishd: dump params of loaded apps after xml load
[ladish.git] / updatepot
blob92d80de90bcadb1605c7cdaa5e47ba6f2bf87de7
1 #!/bin/bash
3 # Run this script from current directory to update translations
4 # and translation template, which will be written to "po/gladish.pot"
6 # Note: you don't need to use it if you are not a developer, excepting case
7 # when you have an old translation and want to update it (put it to 'po' directory first)
9 POTFILE="po/gladish.pot"
11 xgettext --keyword=_ -o "$POTFILE" gui/*.c gui/*.cpp
12 xgettext -j -L Glade -o "$POTFILE" gui/gladish.ui
14 PO_FILES=("`ls po/*.po`")
16 for PO_FILE in $PO_FILES; do
17 msgmerge -U "$PO_FILE" "$POTFILE"
18 done