Commit 8549ce5a authored by Rafael Fernández López's avatar Rafael Fernández López
Browse files

More human category when items haven't been rated yet

svn path=/trunk/KDE/kdebase/apps/; revision=678853
parent 0f8595a4
......@@ -168,7 +168,10 @@ QString DolphinItemCategorizer::categoryForItem(const QModelIndex& index,
if (item != 0) {
const Nepomuk::Resource resource(item->url().url(), Nepomuk::NFO::File());
const quint32 rating = resource.rating();
retString = i18np("1 star", "%1 stars", rating);
if (!rating)
retString = i18n("Not yet rated");
retString = i18np("1 star", "%1 stars", rating);
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