Commit 056f74bb authored by Burkhard Lück's avatar Burkhard Lück

Use generic term 'Item' instead of 'File' for progress message in the status bar

The progress message in the status bar alway uses the term 'File',
which is wrong if you search for folders only or for files and folders.
Using the term 'Item' in the progress message is alway correct.

Differential Revision: https://phabricator.kde.org/D9853
parent 052553eb
......@@ -130,7 +130,7 @@ void KfindDlg::startSearch()
isResultReported = false;
// Reset count - use the same i18n as below
setProgressMsg(i18np("one file found", "%1 files found", 0));
setProgressMsg(i18np("one item found", "%1 items found", 0));
emit resultSelected(false);
emit haveResults(false);
......@@ -225,7 +225,7 @@ void KfindDlg::addFiles(const QList< QPair<KFileItem, QString> > &pairs)
isResultReported = true;
}
const QString str = i18np("one file found", "%1 files found", win->itemCount());
const QString str = i18np("one item found", "%1 items found", win->itemCount());
setProgressMsg(str);
}
......@@ -249,7 +249,7 @@ void KfindDlg::slotDeleteItem(const QString &file)
{
win->removeItem(QUrl::fromLocalFile(file));
const QString str = i18np("one file found", "%1 files found", win->itemCount());
const QString str = i18np("one item found", "%1 items found", win->itemCount());
setProgressMsg(str);
}
......
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