Search in .js files for strings to translate.

master
cybersphinx 2011-05-17 00:33:32 +02:00
parent d2d87a65fd
commit f68e667c3d
2 changed files with 3 additions and 1 deletions

View File

@ -14,8 +14,10 @@ data/base/messages/strings/names.txt
data/base/messages/strings/resstrings.txt
data/base/messages/strings/scrstrings.txt
data/base/multiplay/script/multilim.slo
data/base/multiplay/script/scavfact.js
data/base/multiplay/skirmish/dydo.slo
data/base/multiplay/skirmish/nexus.slo
data/base/multiplay/skirmish/rules.js
data/base/multiplay/skirmish/semperfi.slo
data/base/script/fastplay/fastdemo.slo
data/base/script/fastplay/start.slo

View File

@ -10,6 +10,6 @@ EOF
find lib src data -type f |
grep -v '\/.svn\/' |
grep -e '\.c\(pp\|xx\)\?$' -e 'data.*strings.*\.txt$' -e 'data.*sequenceaudio.*\.tx.$' -e '\.slo$' -e '\.rmsg$' |
grep -e '\.c\(pp\|xx\)\?$' -e 'data.*strings.*\.txt$' -e 'data.*sequenceaudio.*\.tx.$' -e '\.slo$' -e '\.rmsg$' -e '\.js$' |
grep -v -e '\.lex\.c\(pp\|xx\)\?$' -e '\.tab\.c\(pp\|xx\)\?$' -e 'lib/netplay/miniupnpc/*' -e 'lib/betawidget/*' |
sort >> po/POTFILES.in