From 1d0586af3bbda402296fecac5eddebaf74cf3e0c Mon Sep 17 00:00:00 2001 From: liuxinhao Date: Tue, 13 Dec 2022 14:32:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BF=BB=E8=AF=91=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=BF=A1=E6=81=AF=E6=BF=80=E6=B4=BB=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...slation-Translation-activation-state.patch | 68 +++++++++++++++++++ kiran-control-panel.spec | 8 ++- 2 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 0001-fix-translation-Translation-activation-state.patch diff --git a/0001-fix-translation-Translation-activation-state.patch b/0001-fix-translation-Translation-activation-state.patch new file mode 100644 index 0000000..455d1e4 --- /dev/null +++ b/0001-fix-translation-Translation-activation-state.patch @@ -0,0 +1,68 @@ +From 341ba1fb31bc94ce0c7a3821c88831a465f15bc1 Mon Sep 17 00:00:00 2001 +From: liuxinhao +Date: Tue, 13 Dec 2022 14:18:53 +0800 +Subject: [PATCH] fix(translation): Translation activation state +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- 翻译激活状态 +--- + .../translations/kiran-cpanel-system.zh_CN.ts | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +diff --git a/plugins/system/translations/kiran-cpanel-system.zh_CN.ts b/plugins/system/translations/kiran-cpanel-system.zh_CN.ts +index c40820f..143de36 100644 +--- a/plugins/system/translations/kiran-cpanel-system.zh_CN.ts ++++ b/plugins/system/translations/kiran-cpanel-system.zh_CN.ts +@@ -587,7 +587,7 @@ p, li { white-space: pre-wrap; } + + + Activation status: +- 激活状态: ++ 激活状态: + + + +@@ -632,32 +632,32 @@ p, li { white-space: pre-wrap; } + + + UnActivated +- ++ 未激活 + + + + Activation code has expired +- ++ 激活码已过期 + + + + Permanently activated +- ++ 永久激活 + + + + Activated +- 已激活 ++ 已激活 + + + + Error +- ++ 错误 + + + + Failed to open the license activator +- ++ 启动激活许可证弹窗失败 + + + Copyright © +-- +2.33.0 + diff --git a/kiran-control-panel.spec b/kiran-control-panel.spec index 5e4fe31..819241b 100644 --- a/kiran-control-panel.spec +++ b/kiran-control-panel.spec @@ -1,11 +1,12 @@ Name: kiran-control-panel Version: 2.4.1 -Release: 1 +Release: 2 Summary: Kiran Control Panel Summary(zh_CN): Kiran桌面控制面板 License: MulanPSL-2.0 Source0: %{name}-%{version}.tar.gz +Patch01: 0001-fix-translation-Translation-activation-state.patch BuildRequires: gcc-c++ BuildRequires: cmake >= 3.2 @@ -62,13 +63,13 @@ Obsoletes: kiran-cpanel-power < 2.3 Obsoletes: kiran-cpanel-system < 2.3 Obsoletes: kiran-cpanel-timedate < 2.3 - %description Kiran Control Panel %package -n kiran-cpanel-launcher Summary: Kiran control panel plugin launcher Summary(zh_CN): kiran桌面控制面板启动器 + BuildRequires: gcc-c++ BuildRequires: cmake >= 3.2 BuildRequires: qt5-qtbase-devel @@ -141,6 +142,9 @@ make %{?_smp_mflags} rm -rf %{buildroot} %changelog +* Tue Dec 13 2022 liuxinhao - 2.4.1-2 +- KYOS-F: translation activation state + * Thu Dec 01 2022 liuxinhao - 2.4.1-1 - KYOS-F: Omit the right end of long names in network settings - KYOS-F: Fix the problem of expanding the label when the user name is too long