Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit beca304a authored by Björn Feber's avatar Björn Feber

Improve the Look and Feel KCM

Summary:
The LnF KCM has some inconsistencies and doesn't always apply the KDE HIG, so this fixes it and makes some other improvements.
{F6546516}

Test Plan: Open the LnF KCM

Reviewers: #plasma, #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: ngraham, rooty, rizzitello, abetts, filipf, #vdg, plasma-devel, #plasma

Tags: #plasma

Maniphest Tasks: T10273

Differential Revision: https://phabricator.kde.org/D18206
parent c52d9397
......@@ -73,7 +73,7 @@ KCMLookandFeel::KCMLookandFeel(QObject* parent, const QVariantList& args)
qApp->setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
qmlRegisterType<QStandardItemModel>();
qmlRegisterType<KCMLookandFeel>();
KAboutData* about = new KAboutData(QStringLiteral("kcm_lookandfeel"), i18n("Configure Look and Feel details"),
KAboutData* about = new KAboutData(QStringLiteral("kcm_lookandfeel"), i18n("Choose the Look and Feel theme"),
QStringLiteral("0.1"), QString(), KAboutLicense::LGPL);
about->addAuthor(i18n("Marco Martin"), QString(), QStringLiteral("mart@kde.org"));
setAboutData(about);
......@@ -109,7 +109,7 @@ void KCMLookandFeel::getNewStuff(QQuickItem *ctx)
{
if (!m_newStuffDialog) {
m_newStuffDialog = new KNS3::DownloadDialog( QLatin1String("lookandfeel.knsrc") );
m_newStuffDialog.data()->setWindowTitle(i18n("Download New Look And Feel Packages"));
m_newStuffDialog.data()->setWindowTitle(i18n("Download New Look and Feel Themes"));
m_newStuffDialog->setWindowModality(Qt::WindowModal);
m_newStuffDialog->winId(); // so it creates the windowHandle();
connect(m_newStuffDialog.data(), &KNS3::DownloadDialog::accepted, this, &KCMLookandFeel::loadModel);
......
......@@ -11,7 +11,7 @@ X-KDE-ParentApp=kcontrol
X-KDE-System-Settings-Parent-Category=workspacetheme
X-KDE-Weight=1
Name=Look And Feel
Name=Look and Feel
Name[ar]=المظهر والملمس
Name[bs]=Pogledaj i Osjeti
Name[ca]=Aspecte i comportament
......@@ -56,7 +56,7 @@ Name[uk]=Вигляд і поведінка
Name[x-test]=xxLook And Feelxx
Name[zh_CN]=观感
Name[zh_TW]=外觀與感覺
Comment=Look And Feel
Comment=Choose the Look and Feel theme
Comment[ar]=المظهر والملمس
Comment[bs]=Pogledaj i Osjeti
Comment[ca]=Aspecte i comportament
......
......@@ -25,7 +25,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 look and feel theme.")
KCM.ConfigModule.quickHelp: i18n("This module lets you choose the Look and Feel theme.")
view.model: kcm.lookAndFeelModel
view.currentIndex: kcm.selectedPluginIndex
......@@ -72,7 +72,7 @@ KCM.GridViewKCM {
QtControls.CheckBox {
id: resetCheckbox
checked: kcm.resetDefaultLayout
text: i18n("Use Desktop Layout from theme")
text: i18n("Use desktop layout from theme")
onCheckedChanged: kcm.resetDefaultLayout = checked;
}
Item {
......
[Desktop Entry]
Name=Look And Feel
Name=Look and Feel
Name[ar]=المظهر والملمس
Name[bs]=Pogledaj i Osjeti
Name[ca]=Aspecte i comportament
......@@ -44,7 +44,7 @@ Name[uk]=Вигляд і поведінка
Name[x-test]=xxLook And Feelxx
Name[zh_CN]=观感
Name[zh_TW]=外觀與感覺
Comment=Configure The Look And feel of the Desktop
Comment=Choose the Look and Feel theme
Comment[ar]=اضبط مظهر وسطح المكتب وملمسه
Comment[bs]=Konfiguriši Pogledaj i Osjeti dekstopa
Comment[ca]=Configura l'aspecte i comportament de l'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