give context the the i18n string "Miscellaneous"
svn path=/trunk/KDE/kdelibs/; revision=879986
This commit is contained in:
parent
2c6bab358f
commit
25b6627ce8
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user