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

List:       kde-commits
Subject:    koffice/kexi/plugins/reports
From:       David Faure <faure () kde ! org>
Date:       2008-06-30 12:01:12
Message-ID: 1214827272.141327.20702.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 826311 by dfaure:

Fix wrong i18n usage, but, hmmm !?!? this code isn't compiled, and yet is given to \
                translators?
CCMAIL: js@iidea.pl, bald@smail.ee


 M  +5 -5      kexireportfactory.cpp  
 M  +1 -1      kexireportpart.cpp  


--- trunk/koffice/kexi/plugins/reports/kexireportfactory.cpp #826310:826311
@@ -45,7 +45,7 @@
 	wView->setClassName("KexiReportForm");
 	wView->setName(i18n("Report"));
 	wView->setNamePrefix(
-		i18n("Widget name. This string will be used to name widgets of this class. It must \
_not_ contain white spaces and non latin1 characters.", "report")); +		i18nc("Widget \
name. This string will be used to name widgets of this class. It must _not_ contain \
white spaces and non latin1 characters.", "report"));  wView->setDescription(i18n("A \
report"));  addClass(wView);
 
@@ -54,7 +54,7 @@
 	wLabel->setClassName("Label");
 	wLabel->setName(i18n("Label"));
 	wLabel->setNamePrefix(
-		i18n("Widget name. This string will be used to name widgets of this class. It must \
_not_ contain white spaces and non latin1 characters.", "label")); +		i18nc("Widget \
name. This string will be used to name widgets of this class. It must _not_ contain \
white spaces and non latin1 characters.", "label"));  wLabel->setDescription(i18n("A \
label to display text"));  addClass(wLabel);
 
@@ -63,7 +63,7 @@
 	wPicLabel->setClassName("PicLabel");
 	wPicLabel->setName(i18n("Picture Label"));
 	wPicLabel->setNamePrefix(
-		i18n("Widget name. This string will be used to name widgets of this class. It must \
_not_ contain white spaces and non latin1 characters.", "picture")); +		i18nc("Widget \
name. This string will be used to name widgets of this class. It must _not_ contain \
white spaces and non latin1 characters.", "picture"));  \
wPicLabel->setDescription(i18n("A label to display images or icons"));  \
addClass(wPicLabel);  
@@ -72,7 +72,7 @@
 	wLine->setClassName("ReportLine");
 	wLine->setName(i18n("Line"));
 	wLine->setNamePrefix(
-		i18n("Widget name. This string will be used to name widgets of this class. It must \
_not_ contain white spaces and non latin1 characters.", "line")); +		i18nc("Widget \
name. This string will be used to name widgets of this class. It must _not_ contain \
white spaces and non latin1 characters.", "line"));  wLine->setDescription(i18n("A \
simple line"));  addClass(wLine);
 
@@ -81,7 +81,7 @@
 	wSubReport->setClassName("KexiSubReport");
 	wSubReport->setName(i18n("Sub Report"));
 	wSubReport->setNamePrefix(
-		i18n("Widget name. This string will be used to name widgets of this class. It must \
_not_ contain white spaces and non latin1 characters.", "subReport")); \
+		i18nc("Widget name. This string will be used to name widgets of this class. It \
must _not_ contain white spaces and non latin1 characters.", "subReport"));  \
wSubReport->setDescription(i18n("A report embedded in another report"));  \
addClass(wSubReport);  }
--- trunk/koffice/kexi/plugins/reports/kexireportpart.cpp #826310:826311
@@ -50,7 +50,7 @@
 {
 	kexipluginsdbg << "KexiReportPart::KexiReportPart()" << endl;
 	setInternalPropertyValue("instanceName",
-		i18n("Translate this word using only lowercase alphanumeric characters (a..z, \
0..9). " +		i18nc("Translate this word using only lowercase alphanumeric characters \
(a..z, 0..9). "  "Use '_' character instead of spaces. First character should be a..z \
character. "  "If you cannot use latin characters in your language, use english \
word.",   "report"));


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

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