Enable updatepot script to search for translation files to update them

This commit is contained in:
Nikita Zlobin 2010-12-19 01:32:54 +05:00
parent ea7945eaba
commit a9e7e36a56
1 changed files with 3 additions and 2 deletions

View File

@ -7,5 +7,6 @@ POTFILE="po/gladish.pot"
xgettext --keyword=_ -o "$POTFILE" gui/*.c gui/*.cpp
xgettext -j -L Glade -o "$POTFILE" gui/gladish.ui
msgmerge -U po/ru.po "$POTFILE"
msgmerge -U po/fr.po "$POTFILE"
for PO_FILE in "`ls -1 po/*.po`"; do
msgmerge -U "$PO_FILE" "$POTFILE"
done