imip-agent

tools/i18n_format.sh

1030:6e8f43c29e71
2016-01-30 Paul Boddie Added the domain-related scheduling function to the documentation.
     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