83 lines
3.1 KiB
Diff
83 lines
3.1 KiB
Diff
From 0422be13648a36784fcffc5a04ba725c7984b290 Mon Sep 17 00:00:00 2001
|
|
From: yuanxing <yuanxing@kylinsec.com.cn>
|
|
Date: Thu, 11 Jan 2024 23:23:37 +0800
|
|
Subject: [PATCH 13/17] fix(theme):change the light and dark theme name
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
- 修改深浅色主题名为冰晶白、曜岩黑
|
|
|
|
Fixes #24747
|
|
---
|
|
plugins/appearance/pages/theme/theme-page.cpp | 2 +-
|
|
plugins/appearance/pages/theme/theme-page.ui | 9 +--------
|
|
translations/kiran-control-panel.zh_CN.ts | 4 ++--
|
|
3 files changed, 4 insertions(+), 11 deletions(-)
|
|
|
|
diff --git a/plugins/appearance/pages/theme/theme-page.cpp b/plugins/appearance/pages/theme/theme-page.cpp
|
|
index 7c303b7..24a5c7a 100644
|
|
--- a/plugins/appearance/pages/theme/theme-page.cpp
|
|
+++ b/plugins/appearance/pages/theme/theme-page.cpp
|
|
@@ -27,7 +27,7 @@
|
|
#include <QPushButton>
|
|
|
|
#define DARK_THEME "Kiran-dark"
|
|
-#define LIGHT_THEME "Kiran"
|
|
+#define LIGHT_THEME "Kiran-white"
|
|
#define THEME_AUTO_NAME "Kiran-auto"
|
|
|
|
#define SETTING_THEME_NUM 2
|
|
diff --git a/plugins/appearance/pages/theme/theme-page.ui b/plugins/appearance/pages/theme/theme-page.ui
|
|
index eecc81e..7c61009 100644
|
|
--- a/plugins/appearance/pages/theme/theme-page.ui
|
|
+++ b/plugins/appearance/pages/theme/theme-page.ui
|
|
@@ -78,7 +78,7 @@
|
|
<item>
|
|
<widget class="QLabel" name="label_theme">
|
|
<property name="text">
|
|
- <string>Dark and Light Theme</string>
|
|
+ <string>Themes Settings</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
@@ -103,13 +103,6 @@
|
|
<property name="spacing">
|
|
<number>10</number>
|
|
</property>
|
|
- <item>
|
|
- <widget class="QLabel" name="label_theme_setting">
|
|
- <property name="text">
|
|
- <string>Themes Settings</string>
|
|
- </property>
|
|
- </widget>
|
|
- </item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_choose_widget">
|
|
<property name="spacing">
|
|
diff --git a/translations/kiran-control-panel.zh_CN.ts b/translations/kiran-control-panel.zh_CN.ts
|
|
index 970c5a0..8e39486 100644
|
|
--- a/translations/kiran-control-panel.zh_CN.ts
|
|
+++ b/translations/kiran-control-panel.zh_CN.ts
|
|
@@ -5303,7 +5303,7 @@ This is line 50 of the test text</source>
|
|
<message>
|
|
<location filename="../plugins/appearance/pages/theme/theme-page.cpp" line="151"/>
|
|
<source>Light Theme</source>
|
|
- <translation>浅色</translation>
|
|
+ <translation>冰晶白</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../plugins/appearance/pages/theme/theme-page.cpp" line="152"/>
|
|
@@ -5313,7 +5313,7 @@ This is line 50 of the test text</source>
|
|
<message>
|
|
<location filename="../plugins/appearance/pages/theme/theme-page.cpp" line="153"/>
|
|
<source>Dark Theme</source>
|
|
- <translation>深色</translation>
|
|
+ <translation>曜岩黑</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../plugins/appearance/pages/theme/theme-page.cpp" line="82"/>
|
|
--
|
|
2.33.0
|
|
|