Files
andors-trail/AndorsTrail/assets/translation/createMo.sh
2013-06-27 21:02:42 +02:00

9 lines
215 B
Bash
Executable File

#!/bin/sh
# Creates translation .mo files (binary) from the .po files (text).
# The game reads .mo files, so this needs to be run before building.
for i in *.po ; do
msgfmt "$i" -o $( basename $i .po ).mo
done