imip-agent

tools/i18n_format.sh

1040:8f2b373a311b
2016-02-08 Paul Boddie Introduced compound locking so that information can be in a consistent state for scheduling functions and confirmation functions within the same transaction, unchanged by concurrent transactions.
     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