gnome-shell-teatime/po/update_strings.sh

8 lines
201 B
Bash
Raw Permalink Normal View History

#!/bin/sh
SCRIPTDIR=`dirname $0`
2016-10-04 20:01:11 +00:00
xgettext --from-code=UTF-8 -k_ -kN_ -o TeaTime.pot "$SCRIPTDIR"/../src/*.js "$SCRIPTDIR"/../src/schemas/*.xml
2016-10-04 20:12:49 +00:00
for fn in *.po; do
msgmerge -U "$fn" TeaTime.pot
done