2015-11-06 | Paul Boddie | file changeset files shortlog | Added various missing translations plus a rough Norwegian translations file. Refined the production of the .pot file and fixed the installation of the .mo files for new languages. Added installation of translations to the install script. Updated the profile preferences documentation script to work with the gettext-wrapped strings. |
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 |