Commit e4fd0d42 authored by Johannes Zarl-Zierl's avatar Johannes Zarl-Zierl Committed by Miika Turkia
Browse files

Fix missing plural forms in i18n calls.

BUG: 104886
parent 2d04d3d3
......@@ -283,10 +283,10 @@ bool NewImageFinder::calculateMD5sums(
// FIXME: should be converted to a threadpool for SMP stuff and whatnot :]
QProgressDialog dialog;
dialog.setLabelText(
i18n("<p><b>Calculating checksum for %1 files<b></p>"
"<p>By storing a checksum for each image "
i18np("<p><b>Calculating checksum for %1 file<b></p>","<p><b>Calculating checksums for %1 files<b></p>", list.size())
+ i18n("<p>By storing a checksum for each image "
"KPhotoAlbum is capable of finding images "
"even when you have moved them on the disk.</p>", list.size()));
"even when you have moved them on the disk.</p>"));
dialog.setMaximum(list.size());
dialog.setMinimumDuration( 1000 );
......
......@@ -632,9 +632,11 @@ void DateBar::DateBarWidget::showStatusBarTip( const QPoint& pos )
QString cnt;
if ( count._rangeMatch != 0 && includeFuzzyCounts())
cnt = i18n("%1 exact + %2 ranges = %3 total", count._exact , count._rangeMatch , count._exact + count._rangeMatch );
cnt = i18np("1 exact", "%1 exact", count._exact)
+ i18np(" + 1 range", " + %1 ranges", count._rangeMatch)
+ i18np(" = 1 total", " = %1 total", count._exact + count._rangeMatch );
else
cnt = i18n("%1 images/videos", count._exact );
cnt = i18np("%1 image/video","%1 images/videos", count._exact );
QString res = i18n("%1 | %2", range.toString(), cnt);
......
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