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 for PO_FILE
in "`ls -1 po/*.po`"; do
15 msgmerge
-U "$PO_FILE" "$POTFILE"