fix(keybord):chang the keyborad test describtion to enter repeat char to test

- 修改键盘测试描述为输入重复字符测试

Fixes #7581
This commit is contained in:
yuanxing 2023-08-14 10:03:02 +08:00
parent 1209e7a255
commit 640de516aa
2 changed files with 67 additions and 1 deletions

View File

@ -0,0 +1,62 @@
From a70b1c1eeaa23437c3d3fed61cd5b60751e1f43d Mon Sep 17 00:00:00 2001
From: yuanxing <yuanxing@kylinos.com.cn>
Date: Fri, 11 Aug 2023 17:10:10 +0800
Subject: [PATCH] fix(keyboard):change describtion of enter repeat chars to
test
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 修改键盘设置描述:输入重复按键测试
Fixes #7581
---
plugins/keyboard/src/pages/general/general-page.cpp | 2 +-
plugins/keyboard/src/pages/general/general-page.ui | 2 +-
plugins/keyboard/translation/kiran-cpanel-keyboard.zh_CN.ts | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugins/keyboard/src/pages/general/general-page.cpp b/plugins/keyboard/src/pages/general/general-page.cpp
index dceb93f..a9d8cd2 100644
--- a/plugins/keyboard/src/pages/general/general-page.cpp
+++ b/plugins/keyboard/src/pages/general/general-page.cpp
@@ -51,7 +51,7 @@ void GeneralPage::init()
m_timer->setSingleShot(true);
connect(m_timer, &QTimer::timeout, this, &GeneralPage::handleSaverTimerTimeOut);
- ui->lineEdit_key->setPlaceholderText(tr("Enter characters to test the settings"));
+ ui->lineEdit_key->setPlaceholderText(tr("Enter repeat characters to test"));
#ifdef MODIFIER_LOCK_TIPS
// 修饰键提示开关
diff --git a/plugins/keyboard/src/pages/general/general-page.ui b/plugins/keyboard/src/pages/general/general-page.ui
index 62337f4..00bf186 100644
--- a/plugins/keyboard/src/pages/general/general-page.ui
+++ b/plugins/keyboard/src/pages/general/general-page.ui
@@ -335,7 +335,7 @@
<item>
<widget class="QLabel" name="label_6">
<property name="text">
- <string>Enter characters to test the settings</string>
+ <string>Enter repeat characters to test</string>
</property>
</widget>
</item>
diff --git a/plugins/keyboard/translation/kiran-cpanel-keyboard.zh_CN.ts b/plugins/keyboard/translation/kiran-cpanel-keyboard.zh_CN.ts
index 8eb7cbe..da04b9c 100644
--- a/plugins/keyboard/translation/kiran-cpanel-keyboard.zh_CN.ts
+++ b/plugins/keyboard/translation/kiran-cpanel-keyboard.zh_CN.ts
@@ -84,8 +84,8 @@
<message>
<location filename="../src/pages/general/general-page.ui" line="338"/>
<location filename="../src/pages/general/general-page.cpp" line="54"/>
- <source>Enter characters to test the settings</source>
- <translation>输入字符来测试设置</translation>
+ <source>Enter repeat characters to test</source>
+ <translation>输入重复字符测试</translation>
</message>
<message>
<location filename="../src/pages/general/general-page.ui" line="357"/>
--
2.27.0

View File

@ -1,6 +1,6 @@
Name: kiran-control-panel
Version: 2.5.3
Release: 3
Release: 4
Summary: Kiran Control Panel
Summary(zh_CN): Kiran桌面控制面板
@ -12,6 +12,7 @@ Patch0002: 0002-refactor-kiran-auth-Update-the-DBus-invocation-metho.patch
Patch0003: 0003-fix-plugins-group-Fix-problem-rename-group-name-inpu.patch
Patch0004: 0001-fix-mouse-add-mouse-wheel-direction-test-if-compile-.patch
Patch0005: 0002-fix-keybord-add-modifier-lock-tip-with-option-MODIFI.patch
Patch0006: 0001-fix-keyboard-change-describtion-of-enter-repeat-char.patch
BuildRequires: gcc-c++
BuildRequires: cmake >= 3.2
@ -168,6 +169,9 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%changelog
* Mon Aug 14 2023 yuanxing <yuanxing@kylinsec.com.cn> - 2.5.3-4
- KYOS-F: chang the keyborad test describtion to enter repeat char to test (#7581)
* Thu Jul 13 2023 yuanxing <yuanxing@kylinsec.com.cn> - 2.5.3-3
- KYOS-F: add mouse wheel direction test with MOUSE_WHEEL_TEST_VISIBLE=ON (#9124)
- KYOS-F: add modifier lock tips with MODIFIER_LOCK_TIPS_VISIBLE=ON (#9379)