kiran-control-panel/0001-fix-keyboard-change-describtion-of-enter-repeat-char.patch
yuanxing a4a93a87a5 fix(keybord):chang the keyborad test describtion to enter repeat char to test
- 修改键盘测试描述为输入重复字符测试

Fixes #7581
2023-08-14 10:03:02 +08:00

63 lines
2.6 KiB
Diff

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