git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6671 e016b1c5-ed68-44aa-a2f7-31cac88cffde
12 lines
481 B
Bash
Executable File
12 lines
481 B
Bash
Executable File
#!/bin/bash
|
|
if [ $# -eq 1 ]; then
|
|
LC=$1
|
|
# "assume" LC is valid .. maybe someone "bored" wants to write some checks, but hey, this isn't a user-interface :-P
|
|
msgfmt -c -v -o $LC/LC_MESSAGES/AC.mo $LC/LC_MESSAGES/AC.po
|
|
cp -f $LC/LC_MESSAGES/AC.mo ../../packages/locale/$LC/LC_MESSAGES/AC.mo
|
|
else
|
|
echo "pass me a language-code (LC) to compile for (de, it, ...)"
|
|
#echo "you should have prepared ../../packages/locale/__LC__/LC_MESSAGES - where __LC__ is your language code!"
|
|
fi
|
|
|