Skip to content
Permalink
Browse files

updatepo.sh: Find all files

  • Loading branch information...
kaeza authored and ShadowNinja committed Sep 30, 2014
1 parent db5aff8 commit 47abe25fe7d87ef3f15ec8d1e5a9ece51819a606
Showing with 5 additions and 1 deletion.
  1. +5 −1 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

0 comments on commit 47abe25

Please sign in to comment.
You can’t perform that action at this time.