Commit 2015bad9 authored by Björn Feber's avatar Björn Feber

Improve Desktop/Plasma Theme KCM

Summary:
Similar to D18206.
The Desktop/Plasma Theme KCM has some inconsistencies and doesn't always apply the KDE HIG, so this fixes it, makes some other improvements and renames the KCM to "Plasma Theme".

Test Plan: Open the Desktop/Plasma Theme KCM

Reviewers: #plasma, #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: ngraham, davidedmundson, #vdg, plasma-devel, #plasma

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18247
parent e7ec5388
......@@ -54,7 +54,7 @@ KCMDesktopTheme::KCMDesktopTheme(QObject *parent, const QVariantList &args)
qApp->setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
qmlRegisterType<QStandardItemModel>();
KAboutData* about = new KAboutData(QStringLiteral("kcm_desktoptheme"), i18n("Configure Desktop Theme"),
KAboutData* about = new KAboutData(QStringLiteral("kcm_desktoptheme"), i18n("Choose the Plasma theme"),
QStringLiteral("0.1"), QString(), KAboutLicense::LGPL);
about->addAuthor(i18n("David Rosca"), QString(), QStringLiteral("nowrep@gmail.com"));
setAboutData(about);
......
[Desktop Entry]
Icon=preferences-desktop
Icon=preferences-desktop-plasma
Exec=kcmshell5 kcm_desktoptheme
Type=Service
......@@ -10,7 +10,7 @@ X-KDE-System-Settings-Parent-Category=workspacetheme
X-KDE-Weight=40
X-DocPath=kcontrol/desktopthemedetails/index.html
Name=Desktop Theme
Name=Plasma Theme
Name[ar]=سمة سطح المكتب
Name[bg]=Тема за работния плот
Name[bn]=ডেস্কটপ থীম
......@@ -74,7 +74,7 @@ Name[wa]=Tinme do scribanne
Name[x-test]=xxDesktop Themexx
Name[zh_CN]=Desktop Theme,桌面主题
Name[zh_TW]=桌面主題
Comment=Desktop Theme
Comment=Choose the Plasma theme
Comment[ar]=سمة سطح المكتب
Comment[bs]=Tema radne površine
Comment[ca]=Tema d'escriptori
......
......@@ -27,7 +27,7 @@ import org.kde.kconfig 1.0 // for KAuthorized
import org.kde.kcm 1.1 as KCM
KCM.GridViewKCM {
KCM.ConfigModule.quickHelp: i18n("This module lets you configure the desktop theme.")
KCM.ConfigModule.quickHelp: i18n("This module lets you choose the Plasma theme.")
view.model: kcm.desktopThemeModel
view.currentIndex: kcm.selectedPluginIndex
......@@ -136,7 +136,7 @@ KCM.GridViewKCM {
}
QtControls.Button {
text: i18n("Get New Desktop Themes...")
text: i18n("Get New Plasma Themes...")
icon.name: "get-hot-new-stuff"
onClicked: kcm.getNewStuff(this)
visible: KAuthorized.authorize("ghns")
......
[Desktop Entry]
Name=Desktop Theme
Name=Plasma Theme
Name[ar]=سمة سطح المكتب
Name[bg]=Тема за работния плот
Name[bn]=ডেস্কটপ থীম
......@@ -63,7 +63,7 @@ Name[wa]=Tinme do scribanne
Name[x-test]=xxDesktop Themexx
Name[zh_CN]=Desktop Theme,桌面主题
Name[zh_TW]=桌面主題
Comment=Desktop Theme
Comment=Choose the Plasma theme
Comment[ar]=سمة سطح المكتب
Comment[bs]=Tema radne površine
Comment[ca]=Tema d'escriptori
......
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