give context the the i18n string "Miscellaneous"

svn path=/trunk/KDE/kdelibs/; revision=879986
This commit is contained in:
Allen Winter 2008-11-04 12:54:19 +00:00
parent 2c6bab358f
commit 25b6627ce8

View File

@ -588,7 +588,7 @@ bool Applet::shouldConserveResources() const
QString Applet::category() const QString Applet::category() const
{ {
if (!d->appletDescription.isValid()) { if (!d->appletDescription.isValid()) {
return i18n("Miscellaneous"); return i18nc("misc category", "Miscellaneous");
} }
return d->appletDescription.category(); return d->appletDescription.category();
@ -1406,8 +1406,8 @@ QStringList Applet::listCategories(const QString &parentApp, bool visibleOnly)
//kDebug() << " and we have " << appletCategory; //kDebug() << " and we have " << appletCategory;
if (appletCategory.isEmpty()) { if (appletCategory.isEmpty()) {
if (!categories.contains(i18n("Miscellaneous"))) { if (!categories.contains(i18nc("misc category", "Miscellaneous"))) {
categories << i18n("Miscellaneous"); categories << i18nc("misc category", "Miscellaneous");
} }
} else if (!categories.contains(appletCategory)) { } else if (!categories.contains(appletCategory)) {
categories << appletCategory; categories << appletCategory;