KDE/kdevelop/languages/cpp
Frederik Schwarzer
schwarzerf at gmail.com
Tue Apr 14 14:31:05 UTC 2009
On Tuesday 14 April 2009 14:10:24 David Nolden wrote:
> Am Dienstag 14 April 2009 14:03:51 schrieb Nick Shaforostoff:
> > I believe i18np has nothing to do with -th form. at least in Russian and
> > Ukrainian the suffix (actually called 'ending') will be the same for any
> > number.
> >
> > so instead I suggest making a switch(m_item.pathNumber%10) and using
> > several i18nc() - return i18nс("%1 % 10 = 1", "In %1st include-path",
> > m_item.pathNumber ); return i18nс("%1 % 10 = 2", "In %1nd include-path",
> > m_item.pathNumber ); return i18nс("%1 % 10 = 3", "In %1rd include-path",
> > m_item.pathNumber ); return i18nс("%1 % 10 >= 4", "In %1th include-path",
> > m_item.pathNumber );
> Especially in this specific case, it really isn't worth the hassle. If you
> want to make it correct, I suggest just changing it to "In include-path nr.
> %1", another option would be removing that output altogether and replacing it
> with something more useful(It was more like a placeholder ;-)
Please mark placeholders as such, e.g. by writing "PLACEHOLDER: String", or,
better, leave out the i18n() call and in ui files use the KDE::DoNotExtract
comment to avoid being scalped by the angry l10n mob. :)
Regards
More information about the KDevelop-devel
mailing list