[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 105141] "%1: %2 %3 Packages" doesn't support plural form
From: Richard "Lärkäng" <richard () goteborg ! utfors ! se>
Date: 2005-06-30 22:50:11
Message-ID: 20050630225011.28142.qmail () ktown ! kde ! org
[Download RAW message or body]
------- 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 ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic