2010-12-11 18:45:06 +02:00
|
|
|
#!/bin/bash
|
|
|
|
# Run this script from current directory to update translation template, which will be written to "po/gladish.pot"
|
|
|
|
# Note: you don't need to use it if you are not a developer
|
|
|
|
|
|
|
|
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"
|
2010-12-18 20:58:38 +02:00
|
|
|
msgmerge -U po/fr.po "$POTFILE"
|