imip-agent

tools/i18n_format.sh

1024:48b37822d2a0
2016-01-29 Paul Boddie Moved common test initialisation into a separate script.
     1 #!/bin/sh     2      3 DOMAIN=imip-agent     4      5 for FILENAME in messages/*.po ; do     6     LOCALE_ID=`basename "$FILENAME" ".$DOMAIN.po"`     7     mkdir -p "locale/$LOCALE_ID/LC_MESSAGES"     8     msgfmt -o "locale/$LOCALE_ID/LC_MESSAGES/$DOMAIN.mo" "$FILENAME"     9 done