[Kst] extragear/graphics/kst
Burkhard Lück
lueck at hube-lueck.de
Tue Mar 27 21:53:49 CEST 2007
SVN commit 647253 by lueck:
extract strings from xml files to make them translatable
M +1 -0 Makefile.am
--- trunk/extragear/graphics/kst/Makefile.am #647252:647253
@@ -10,6 +10,7 @@
messages: rc.cpp
$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc -o -name \*.kcfg` >> rc.cpp
+ cat `find . -name "*.xml"` |perl -e 'while(<STDIN>) { if (/\<modulename .* readableName="(.*)"/) { print "i18n(\"$$1\");\n"; }}' >> rc.cpp
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/kst.pot; \
More information about the Kst
mailing list