From 47abe25fe7d87ef3f15ec8d1e5a9ece51819a606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Tue, 30 Sep 2014 10:57:28 -0300 Subject: updatepo.sh: Find all files --- util/updatepo.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'util/updatepo.sh') diff --git a/util/updatepo.sh b/util/updatepo.sh index fc463f8bc..29d1f2fb1 100755 --- a/util/updatepo.sh +++ b/util/updatepo.sh @@ -48,7 +48,11 @@ cd .. # directory at the top level. You a recent enough xgettext that supports # --package-name potfile=po/minetest.pot -xgettext --package-name=minetest -kN_ -kwgettext -kfgettext -F -n -o $potfile src/*.cpp src/*.h builtin/*.lua +xgettext --package-name=minetest \ + -kN_ -kwgettext -kfgettext \ + -F -n -o $potfile \ + `find src/ -name '*.cpp' -o -name '*.h'` \ + `find builtin/ -name '*.lua'` # Now iterate on all languages and create the po file if missing, or update it # if it exists already -- cgit v1.2.3