minetest/updatelocales.sh
Giuseppe Bilotta e61b2f99c1 Static naming of po file
The po file should not be named c55 if we're in ∆. But since it is not
exposed at installation time, we don't actually need its name to be
based on the project name at all, so just call it minetest.po
2011-07-22 09:58:02 +02:00

6 lines
169 B
Bash
Executable File

#! /bin/bash
xgettext -n -o minetest.pot ./src/*.cpp ./src/*.h
msgmerge -U ./po/de/minetest.po minetest.pot
msgmerge -U ./po/fr/minetest.po minetest.pot
rm minetest.pot