imip-agent

tools/i18n_format.sh

1058:bb1b8e13ef4d
2016-02-09 Paul Boddie Removed explicit confirmation and retraction function usage, instead employing scheduling functions to obtain confirmation, retraction, locking and unlocking functions, with each distinct invocation occurring only once.
     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