imip-agent

tools/i18n_format.sh

1046:84c6d38d2c9a
2016-02-08 Paul Boddie Support the more flexible text format for the groups and limits files.
     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