Use i18ncp() instead of i18nc() for proper plural support.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=886664
This commit is contained in:
Andrius Štikonas 2008-11-19 19:58:59 +00:00
parent 567f0bf605
commit f0f9f13256
1 changed files with 1 additions and 1 deletions

View File

@ -129,6 +129,6 @@ void InfoPane::showDevice(const Device& d)
createLabels(i18nc("@label device", "Cylinders:"), KGlobal::locale()->formatNumber(d.cylinders(), 0), y++);
createLabels(i18nc("@label device", "Sectors:"), KGlobal::locale()->formatNumber(d.sectorsPerTrack(), 0), y++);
createLabels(i18nc("@label device", "Sector size:"), Capacity(d.sectorSize()).toString(Capacity::Byte, Capacity::AppendUnit), y++);
createLabels(i18nc("@label device", "Cylinder size:"), i18nc("@label", "%1 Sectors", d.cylinderSize()), y++);
createLabels(i18nc("@label device", "Cylinder size:"), i18ncp("@label", "1 Sector", "%1 Sectors", d.cylinderSize()), y++);
createLabels(i18nc("@label device", "Primaries/Max:"), QString("%1/%2").arg(d.partitionTable().numPrimaries()).arg(d.partitionTable().maxPrimaries()), y++);
}