[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    I18n bugs in kugar 1.6 : untranslatable strings
From:       Burkhard =?iso-8859-1?q?L=FCck?= <lueck () hube-lueck ! de>
Date:       2006-11-01 14:16:24
Message-ID: 200611011516.24476.lueck () hube-lueck ! de
[Download RAW message or body]

Hi,

again some untranslatable strings in branch and trunk, this time in Kugar.

The attached patch gives 34 new messages to translate (please give the 
translators <kde-i18n-doc@kde.org> a warning with the commit, cc is ok).

I had to change some strings in the code to get only one message "NAME OF 
TRANSLATORS" and "EMAIL OF TRANSLATORS".

There are some messages with the QT-makro tr(), so I changed the message 
target from -ktranslate to -ktr to extract them.
Is it intended to use "tr()"? 
Or just a leftover from an old QT-only version of kugar? In this case it would 
be better to change all "tr()" in the code to i18n() and remove -ktranslate 
or -ktr from the message target.

Please review, commit and port to trunk.

Burkhard Lück

P.S.
Please don't forget to port the patch for Krita's i18n bug in branch (#597331) 
forword to trunk (krita/Messages.sh)


["kugar.diff" (text/x-diff)]

Index: kudesigner/kudesigner_aboutdata.h
===================================================================
--- kudesigner/kudesigner_aboutdata.h	(Revision 599693)
+++ kudesigner/kudesigner_aboutdata.h	(Arbeitskopie)
@@ -48,8 +48,8 @@
                           I18N_NOOP( "Fast property editing for report items" ),
                           "per.winkvist@cellnetwork.com",
                           "" );
-    aboutData->setTranslator( I18N_NOOP( "_:NAME OF TRANSLATORS\nNames" ),
-                              I18N_NOOP( "_:EMAIL OF TRANSLATORS\ne-mail" ) );
+    aboutData->setTranslator( I18N_NOOP( "_: NAME OF TRANSLATORS\nYour names" ),
+                              I18N_NOOP( "_: EMAIL OF TRANSLATORS\nYour emails" ) );
     return aboutData;
 }
 
Index: part/kugar_about.h
===================================================================
--- part/kugar_about.h	(Revision 599693)
+++ part/kugar_about.h	(Arbeitskopie)
@@ -47,7 +47,7 @@
     aboutData->addAuthor( "Keith Davis (Mutiny Bay Software)",
                           I18N_NOOP( "Original author of Metaphrast" ), \
"info@mutinybaysoftware.com",  "http://www.mutinybaysoftware.com" );
-    aboutData->setTranslator( I18N_NOOP( "_:NAME OF TRANSLATORS\nNames" ), \
I18N_NOOP( "_:EMAIL OF TRANSLATORS\ne-mail" ) ); +    aboutData->setTranslator( \
I18N_NOOP( "_: NAME OF TRANSLATORS\nYour names" ), I18N_NOOP( "_: EMAIL OF \
TRANSLATORS\nYour emails" ) );  return aboutData;
 }
 #endif
Index: Makefile.am
===================================================================
--- Makefile.am	(Revision 599693)
+++ Makefile.am	(Arbeitskopie)
@@ -5,4 +5,4 @@
 
 messages: 
 	$(EXTRACTRC) lib/*.ui part/*.ui kudesigner/*.ui */*.rc > rc.cpp
-	$(XGETTEXT) -ktranslate lib/*.cpp part/*.cpp kudesigner/*.cpp kudesigner_lib/*.cpp \
kudesigner_lib/*.h rc.cpp -o $(podir)/kugar.pot +	$(XGETTEXT) -ktr lib/*.cpp \
part/*.cpp kudesigner/*.cpp kudesigner_lib/*.cpp kudesigner_lib/*.h \
part/kugar_about.h kudesigner/kudesigner_aboutdata.h rc.cpp -o $(podir)/kugar.pot



_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic