[Patch] Untranslatable messages in quanta gui

Burkhard Lück <[email protected]> Thu, 1 Mar 2007 22:14:34 +0100
Newsgroups gmane.comp.kde.devel.quanta
Message-ID <[email protected]>
Hallo,

the attached patch should fix this i18n bug in quanta stable.
Please review and commit.

Burkhard Lück

P.S.
Please cc me as I am not subscribed to the list

_______________________________________________
quanta-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta-devel
quanta.diff (text/x-diff, 934 B)
Index: kdewebdev/quanta/Makefile.am
===================================================================
--- kdewebdev/quanta/Makefile.am	(Revision 636401)
+++ kdewebdev/quanta/Makefile.am	(Arbeitskopie)
@@ -17,7 +17,7 @@
 	$(EXTRACTRC) `find . -name "*.kmdr"` >> rc.cpp ;\
 	cat data/chars | perl -e 'while(<STDIN>) { chomp ; s/\"/\\\"/ ; print "i18n(\"$$_\");\n"; }' >> rc.cpp ;\
 	$(EXTRACTRC) extrafiles >> rc.cpp ;\
-	cat extrafiles | perl -e 'while(<STDIN>) { if (/\<action .* text="(.*)"/) { print "i18n(\"$$1\");\n"; }}' >> rc.cpp
+	cat extrafiles | perl -e 'while(<STDIN>) { if (/\<action .* text="(.*)"/) { print "i18n(\"$$1\");\n"; }}' | sed -e 's/\&amp;/\&/g' >> rc.cpp
 	(cd data && $(PREPARETIPS) >> ../tips.cpp)
 	find . -name "*.tag" -print | xargs cat | perl -e 'while(<STDIN>) { if (/\<tag .* comment="(.*)"/) { print "i18n(\"$$1\");\n"; }}' >> rc.cpp
 	$(XGETTEXT) rc.cpp tips.cpp `cat files` -o $(podir)/quanta.pot