]> git.sesse.net Git - kdenlive/commitdiff
Add plural forms
authorYuri Chornoivan <yurchor@ukr.net>
Mon, 25 Oct 2010 17:17:44 +0000 (17:17 +0000)
committerYuri Chornoivan <yurchor@ukr.net>
Mon, 25 Oct 2010 17:17:44 +0000 (17:17 +0000)
svn path=/trunk/kdenlive/; revision=5047

src/projectsettings.cpp

index 51e8a461632c76a2046ae09f93b99d08dc7710c1..abefb7616006d85eef010231b728e4fd05e7a108 100644 (file)
@@ -368,7 +368,7 @@ QStringList ProjectSettings::extractSlideshowUrls(KUrl url)
         filters << "*." + ext;
         dir.setNameFilters(filters);
         QStringList result = dir.entryList(QDir::Files);
-        urls.append(path + filters.at(0) + " (" + i18n("%1 images found", result.count()) + ")");
+        urls.append(path + filters.at(0) + " (" + i18np("1 image found", "%1 images found", result.count()) + ")");
     } else {
         // this is a pattern slideshow, like sequence%4d.jpg
         QString filter = url.fileName();
@@ -381,7 +381,7 @@ QStringList ProjectSettings::extractSlideshowUrls(KUrl url)
         foreach(const QString & path, result) {
             if (rx.exactMatch(path)) count++;
         }
-        urls.append(url.path() + " (" + i18n("%1 images found", count) + ")");
+        urls.append(url.path() + " (" + i18np("1 image found", "%1 images found", count) + ")");
     }
     return urls;
 }