From kde-bugs-dist Thu Jun 30 22:50:11 2005 From: Richard "Lärkäng" Date: Thu, 30 Jun 2005 22:50:11 +0000 To: kde-bugs-dist Subject: [Bug 105141] "%1: %2 %3 Packages" doesn't support plural form Message-Id: <20050630225011.28142.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=112017181822128 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=105141 richard goteborg utfors se changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From richard goteborg utfors se 2005-07-01 00:50 ------- SVN commit 430326 by larkang: Fix plural forms BUG: 105141 Is it possible to add a translator comment when using plural forms? M +1 -5 pkgOptions.cpp --- trunk/KDE/kdeadmin/kpackage/pkgOptions.cpp #430325:430326 @ -202,11 +202,7 @ } } - if (plist.count() == 1) { - s = i18n("%1: 1 %2 Package").arg(insType).arg(pkgInt->name); - } else { - s = i18n("%1: %2 %3 Packages").arg(insType).arg(plist.count()).arg(pkgInt->name); - } + s = i18n("%1: 1 %2 Package","%1: %n %2 Packages",plist.count()).arg(insType,pkgInt->name); title->setText(s); for (QStringList::Iterator pit = plist.begin(); pit != plist.end(); ++pit ) {