Skip to content

Commit

Permalink
Fix makepot.sh
Browse files Browse the repository at this point in the history
SVN-Revision: 6641
  • Loading branch information
Mathnerd314 committed Jul 3, 2010
1 parent 9725368 commit 7a60406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makepot.sh
@@ -1,5 +1,5 @@
#!/bin/sh
xgettext --keyword='_' -C -o data/locale/messages.pot `find src -name "*.cpp"`
for LEVELSET in "bonus1" "bonus2" "contribs" "misc" "test" "world1" "world2"; do
xgettext --keyword='_:1' --language=Lisp --sort-by-file -C -o data/levels/$LEVELSET/messages.pot `find data/levels/$LEVELSET -name "*.stl"` `find data/levels/$LEVELSET -name "*.stwm"` `find data/levels/$LEVELSET -name "*.txt"`
for LEVELSET in `ls data/levels`; do
find data/levels/$LEVELSET "(" -name "*.stl" -or -name "*.stwm" -or -name "*.txt" ")" -print0 | xargs -0 xgettext --keyword='_:1' --language=Lisp --sort-by-file --output data/levels/$LEVELSET/messages.pot
done

0 comments on commit 7a60406

Please sign in to comment.