repo.or.cz
/
rox-filer
/
ma.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
r250: Completed marking translatable strings. Tested by reversing all the strings
[rox-filer/ma.git]
/
ROX-Filer
/
src
/
po
/
make-mo
blob
4089dc6acf5ee462df3bd1d379e9a10884d5b6c7
1
#!/bin/sh
2
3
if
[
$#
=
1
];
then
4
DIR
=
..
/
..
/
local
e
/
$1
5
if
[ !
-d
$DIR
];
then
6
mkdir
$DIR
7
fi
8
if
[ !
-d
$DIR
/
LC_MESSAGES
];
then
9
mkdir
$DIR
/
LC_MESSAGES
10
fi
11
OUT
=
$DIR
/
LC_MESSAGES
/
ROX-Filer.mo
12
msgfmt
$1
.po
-o
$OUT
&&
echo
Created
file
$OUT
OK
13
exit
0
14
fi
15
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