* branch with the last version of WhiteStork - before changing name to final mDictionary
[mdictionary] / generate_locale
1 #!/bin/bash
2
3 echo -e -n "Generating locale...\n"
4 for nazwa in `find $1 -name *.po -type f -printf "%f\n"`
5         do
6         tekst=${nazwa%.po}
7         install -d $2/$tekst/LC_MESSAGES/
8         msgfmt $1/$nazwa -o $2/$tekst/LC_MESSAGES/whitestork.mo
9         done