Wrong messages in kcm_tp_chat_behavior.po

Matěj Laitl matej at laitl.cz
Fri Jan 4 11:58:11 UTC 2013


On 4. 1. 2013 Martin Klapetek wrote:
> On Fri, Jan 4, 2013 at 12:45 PM, Matěj Laitl <matej at laitl.cz> wrote:
> > On 4. 1. 2013 Chusslove Illich wrote:
> > > Also comment="KDE::DoNotExtract" should be set to strings in the .ui
> > 
> > file,
> > 
> > > so that these never-used messages are not extracted for translation.
> > 
> > A notr="true" parameter in the <string> tag in a .ui file is AFAICS
> > sufficient
> > and is easy to add by unchecking "translatable" property of the text in Qt
> > Designer.
> 
> That was done in that commit -
> http://quickgit.kde.org/?p=ktp-text-ui.git&a=commitdiff&h=5ad5fbde2d9fb8b323
> 60d0ecc8f2cab1595d3944

Hmm,
+    ui->scrollbackLength->setSuffix(ki18ncp("Part of config 'show last [spin 
box] messages' This is the suffix to the spin box. Be sure to include leading 
space"," message", " messages"));

doesn't seem like right to me:
a) is doesn't contain the number, the minimal signature of *i18ncp is (char 
*context, char *singular, char *plural, int number) AFAIK. (didn't you get 
compilation warnings about it?)
b) any reason that internal ki18ncp() is used instead of normal i18ncp()?

	Matěj


More information about the KDE-Telepathy mailing list