gnome-shell-teatime/po/update_strings.sh
2016-10-04 22:12:49 +02:00

8 lines
201 B
Bash
Executable File

#!/bin/sh
SCRIPTDIR=`dirname $0`
xgettext --from-code=UTF-8 -k_ -kN_ -o TeaTime.pot "$SCRIPTDIR"/../src/*.js "$SCRIPTDIR"/../src/schemas/*.xml
for fn in *.po; do
msgmerge -U "$fn" TeaTime.pot
done