[plasma-desktop] /: Rename "Plasma Theme" to "Plasma Style"

Nate Graham null at kde.org
Fri Aug 2 19:20:22 BST 2019


Git commit 5b7a43d2ad8d529d76a919a6b31db5fba3cb3f09 by Nate Graham.
Committed on 02/08/2019 at 18:20.
Pushed by ngraham into branch 'master'.

Rename "Plasma Theme" to "Plasma Style"

Summary:
This implements one of the changes decided upon in T11314. The rationale is as follows:

We only use the word "Theme" for LNF settings in the appearance section. For everything else,
we use the word "style" if we have to use anything, preferring to not use any word at all. Since
the app settings use "Style", we should do the same thing for the contrasting Plasma setting.

Test Plan: {F7134998}

Reviewers: #vdg, #plasma, GB_2

Reviewed By: #vdg, GB_2

Subscribers: leinir, GB_2, plasma-devel, kde-doc-english

Tags: #plasma, #documentation

Maniphest Tasks: T11314

Differential Revision: https://phabricator.kde.org/D22880

M  +4    -4    doc/kcontrol/desktopthemedetails/index.docbook
M  +2    -2    kcms/desktoptheme/kcm.cpp
M  +1    -1    kcms/desktoptheme/kcm_desktoptheme.desktop
M  +2    -2    kcms/desktoptheme/package/contents/ui/main.qml
M  +1    -1    kcms/desktoptheme/package/metadata.desktop
M  +1    -1    kcms/desktoptheme/plasma-themes.knsrc

https://commits.kde.org/plasma-desktop/5b7a43d2ad8d529d76a919a6b31db5fba3cb3f09

diff --git a/doc/kcontrol/desktopthemedetails/index.docbook b/doc/kcontrol/desktopthemedetails/index.docbook
index 645ce0d6..a38243cf 100644
--- a/doc/kcontrol/desktopthemedetails/index.docbook
+++ b/doc/kcontrol/desktopthemedetails/index.docbook
@@ -6,7 +6,7 @@
 ]>
 <article id="desktopthemedetails" lang="&language;">
 <articleinfo>
-<title>Plasma Theme</title>
+<title>Plasma Style</title>
 <authorgroup>
 <author>
 <firstname>Andrew</firstname>
@@ -79,7 +79,7 @@
 
 <variablelist>
   <varlistentry>
-    <term><guilabel>Get New Plasma Themes...</guilabel></term>
+    <term><guilabel>Get New Plasma Styles...</guilabel></term>
     <listitem>
     <para>
       You need to be connected to the Internet to use it. Clicking on this button will
@@ -90,13 +90,13 @@
     </para>
     <para>
     <screenshot>
-    <screeninfo>Get New Plasma Themes...</screeninfo>
+    <screeninfo>Get New Plasma Styles...</screeninfo>
       <mediaobject>
         <imageobject>
           <imagedata fileref="get-new-theme.png" format="PNG"/>
         </imageobject>
         <textobject>
-          <phrase>Get New Plasma Themes...</phrase>
+          <phrase>Get New Plasma Styles...</phrase>
         </textobject>
       </mediaobject>
     </screenshot>
diff --git a/kcms/desktoptheme/kcm.cpp b/kcms/desktoptheme/kcm.cpp
index 2a7500be..10baa37c 100644
--- a/kcms/desktoptheme/kcm.cpp
+++ b/kcms/desktoptheme/kcm.cpp
@@ -58,7 +58,7 @@ KCMDesktopTheme::KCMDesktopTheme(QObject *parent, const QVariantList &args)
     qApp->setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
     qmlRegisterType<QStandardItemModel>();
 
-    KAboutData* about = new KAboutData(QStringLiteral("kcm_desktoptheme"), i18n("Plasma Theme"),
+    KAboutData* about = new KAboutData(QStringLiteral("kcm_desktoptheme"), i18n("Plasma Style"),
                                        QStringLiteral("0.1"), QString(), KAboutLicense::LGPL);
     about->addAuthor(i18n("David Rosca"), QString(), QStringLiteral("nowrep at gmail.com"));
     setAboutData(about);
@@ -136,7 +136,7 @@ void KCMDesktopTheme::getNewStuff(QQuickItem *ctx)
 {
     if (!m_newStuffDialog) {
         m_newStuffDialog = new KNS3::DownloadDialog(QStringLiteral("plasma-themes.knsrc"));
-        m_newStuffDialog.data()->setWindowTitle(i18n("Download New Plasma Themes"));
+        m_newStuffDialog.data()->setWindowTitle(i18n("Download New Plasma Styles"));
         m_newStuffDialog->setWindowModality(Qt::WindowModal);
         m_newStuffDialog->winId(); // so it creates the windowHandle();
         connect(m_newStuffDialog.data(), &KNS3::DownloadDialog::accepted, this, &KCMDesktopTheme::load);
diff --git a/kcms/desktoptheme/kcm_desktoptheme.desktop b/kcms/desktoptheme/kcm_desktoptheme.desktop
index c7cd00ea..804cf3f4 100644
--- a/kcms/desktoptheme/kcm_desktoptheme.desktop
+++ b/kcms/desktoptheme/kcm_desktoptheme.desktop
@@ -10,7 +10,7 @@ X-KDE-System-Settings-Parent-Category=appearance
 X-KDE-Weight=20
 X-DocPath=kcontrol/desktopthemedetails/index.html
 
-Name=Plasma Theme
+Name=Plasma Style
 Name[ca]=Tema del Plasma
 Name[ca at valencia]=Tema del Plasma
 Name[cs]=Motiv Plasma
diff --git a/kcms/desktoptheme/package/contents/ui/main.qml b/kcms/desktoptheme/package/contents/ui/main.qml
index 39694a94..60f29cdc 100644
--- a/kcms/desktoptheme/package/contents/ui/main.qml
+++ b/kcms/desktoptheme/package/contents/ui/main.qml
@@ -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 choose the Plasma theme.")
+    KCM.ConfigModule.quickHelp: i18n("This module lets you choose the Plasma style.")
 
     view.model: kcm.desktopThemeModel
     view.currentIndex: kcm.selectedPluginIndex
@@ -123,7 +123,7 @@ KCM.GridViewKCM {
             }
 
             QtControls.Button {
-                text: i18n("Get New Plasma Themes...")
+                text: i18n("Get New Plasma Styles...")
                 icon.name: "get-hot-new-stuff"
                 onClicked: kcm.getNewStuff(this)
                 visible: KAuthorized.authorize("ghns")
diff --git a/kcms/desktoptheme/package/metadata.desktop b/kcms/desktoptheme/package/metadata.desktop
index 8d032ab8..4eff4e0d 100644
--- a/kcms/desktoptheme/package/metadata.desktop
+++ b/kcms/desktoptheme/package/metadata.desktop
@@ -1,5 +1,5 @@
 [Desktop Entry]
-Name=Plasma Theme
+Name=Plasma Style
 Name[ca]=Tema del Plasma
 Name[ca at valencia]=Tema del Plasma
 Name[cs]=Motiv Plasma
diff --git a/kcms/desktoptheme/plasma-themes.knsrc b/kcms/desktoptheme/plasma-themes.knsrc
index dafdc827..f42c24ee 100644
--- a/kcms/desktoptheme/plasma-themes.knsrc
+++ b/kcms/desktoptheme/plasma-themes.knsrc
@@ -1,5 +1,5 @@
 [KNewStuff3]
-Name=Plasma Themes
+Name=Plasma Styles
 Name[ca]=Temes del Plasma
 Name[ca at valencia]=Temes del Plasma
 Name[cs]=Motivy Plasmy


More information about the kde-doc-english mailing list