blob: 6ceb21f19ff796b8a9d914c36c34918f1d34ed54 (
plain) (
tree)
|
|
#!/bin/sh
_xgettext() {
xgettext --package-name=weltschmerz -cTRANSLATORS "$@" -o po/weltschmerz.pot
}
_xgettext -f po/POTFILES
# We treat this file specially in order to override the keywords used for it.
# Since we do not want Name translated, reset the keyword list with -k and then
# add the keywords we want.
_xgettext -j -k -kComment -kKeywords weltschmerz.desktop.in
while read lang; do
msgmerge -q -o "po/${lang}.po" "po/${lang}.po" po/weltschmerz.pot
done < po/LINGUAS
|