ladish/syncpo

17 lines
517 B
Plaintext
Raw Normal View History

2010-12-11 18:45:06 +02:00
#!/bin/bash
2010-12-18 22:33:16 +02:00
# Run this script from current directory to update translations
# and translation template, which will be written to "po/gladish.pot"
#
# Note: you don't need to use it if you are not a developer, excepting case
# when you have an old translation and want to update it (put it to 'po' directory first)
2010-12-11 18:45:06 +02:00
POTFILE="po/gladish.pot"
xgettext --keyword=_ -o "$POTFILE" gui/*.c gui/*.cpp
xgettext -j -L Glade -o "$POTFILE" gui/gladish.ui
for PO_FILE in po/*.po; do
2010-12-28 08:43:39 +02:00
msgmerge -N -U "$PO_FILE" "$POTFILE"
done