view scripts/update-po.sh @ 795:42cfafa20437 pyntnclick

Add the rest of the commit
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 27 Jan 2013 13:01:09 +0200
parents abfa4f7e89a0
children
line wrap: on
line source

#!/bin/sh

# Updates translation catalogs

set -eu

xgettext -f data/po/POTFILES -o data/po/suspended-sentence.pot

for f in data/po/*.po; do
  msgmerge -U $f data/po/suspended-sentence.pot;
done

xgettext -f pyntnclick/data/po/POTFILES -o pyntnclick/data/po/pyntnclick-tools.pot

for f in pyntnclick/data/po/*.po; do
  msgmerge -U $f pyntnclick/data/po/pyntnclick-tools.pot;
done