Files
jami-daemon/lang/update.sh
2011-09-27 16:23:59 -04:00

13 lines
372 B
Bash
Executable File

#!/bin/bash
# Parse the GNOME client only to build the langage template
xgettext --from-code=utf-8 --language=C -k_ -kN_ -kc_:1c,2 -kn_:1,2 -ktr2i18n -ktr2i18n:2c,1 -kki18nc:1c,2 -kki18n -ki18n -ki18nc:1c,2 -o sflphone.pot `find ../gnome/src -name \*.c`
# Merge template into the existing po files
for file in *.po
do
msgmerge --update $file sflphone.pot
done