Commit 54a94dec authored by Chusslove Illich's avatar Chusslove Illich

n i18n plural calls, special %n placeholder is no longer used; all...

n i18n plural calls, special %n placeholder is no longer used; all placeholders are ordinary numbered ones, and the first integer-valued substitution decides plural form.

svn path=/trunk/KDE/kdemultimedia/juk/; revision=632863
parent b43f775b
......@@ -52,7 +52,7 @@ void DeleteWidget::setFiles(const QStringList &files)
{
ddFileList->clear();
ddFileList->insertStringList(files);
ddNumFiles->setText(i18np("<b>1</b> file selected.", "<b>%n</b> files selected.", files.count()));
ddNumFiles->setText(i18np("<b>1</b> file selected.", "<b>%1</b> files selected.", files.count()));
}
void DeleteWidget::slotShouldDelete(bool shouldDelete)
......
......@@ -136,7 +136,7 @@ void StatusLabel::updateData()
QString timeString;
if(days > 0) {
timeString = i18np("1 day", "%n days", days);
timeString = i18np("1 day", "%1 days", days);
timeString.append(" ");
}
......@@ -146,7 +146,7 @@ void StatusLabel::updateData()
timeString.append(QString().sprintf("%1d:%02d", minutes, seconds));
m_playlistLabel->setText(playlist()->name());
m_trackLabel->setText(i18np("1 item", "%n items", playlist()->count()) + " - " + timeString);
m_trackLabel->setText(i18np("1 item", "%1 items", playlist()->count()) + " - " + timeString);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment