r250: Completed marking translatable strings. Tested by reversing all the strings
[rox-filer/ma.git] / ROX-Filer / src / po / make-mo
blob4089dc6acf5ee462df3bd1d379e9a10884d5b6c7
1 #!/bin/sh
3 if [ $# = 1 ]; then
4 DIR=../../locale/$1
5 if [ ! -d $DIR ]; then
6 mkdir $DIR
7 fi
8 if [ ! -d $DIR/LC_MESSAGES ]; then
9 mkdir $DIR/LC_MESSAGES
11 OUT=$DIR/LC_MESSAGES/ROX-Filer.mo
12 msgfmt $1.po -o $OUT && echo Created file $OUT OK
13 exit 0
16 cat << HERE
17 Usage: 'make-mo <LANG>'
18 Eg: 'make-mo fr'
19 to compile the French translation, fr.po, ready for use.
20 HERE