imip-agent

Annotated tools/i18n_format.sh

1067:3beb0a1b1148
2016-03-05 Paul Boddie Merged changes from the default branch. freebusy-collections
paul@1005 1
#!/bin/sh
paul@1005 2
paul@1005 3
DOMAIN=imip-agent
paul@1005 4
paul@1005 5
for FILENAME in messages/*.po ; do
paul@1005 6
    LOCALE_ID=`basename "$FILENAME" ".$DOMAIN.po"`
paul@1008 7
    mkdir -p "locale/$LOCALE_ID/LC_MESSAGES"
paul@1005 8
    msgfmt -o "locale/$LOCALE_ID/LC_MESSAGES/$DOMAIN.mo" "$FILENAME"
paul@1005 9
done