!46 Modify the Chinese translation of the Nice field

From: @tanyulong2021 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
This commit is contained in:
openeuler-ci-bot 2022-07-29 07:20:13 +00:00 committed by Gitee
commit 810fa11be9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,34 @@
From 4de2cbc5ac3467ed119efd83cbc1ae04a3e025c4 Mon Sep 17 00:00:00 2001
From: tanyulong2021 <tanyulong@kylinos.cn>
Date: Fri, 29 Jul 2022 11:23:55 +0800
Subject: [PATCH] Modify the Chinese translation of the Nice field
---
src/translation/ukui-system-monitor_zh_CN.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/translation/ukui-system-monitor_zh_CN.ts b/src/translation/ukui-system-monitor_zh_CN.ts
index f158a93..30d79fc 100755
--- a/src/translation/ukui-system-monitor_zh_CN.ts
+++ b/src/translation/ukui-system-monitor_zh_CN.ts
@@ -2392,7 +2392,7 @@ Are you sure to continue?</source>
<message>
<location filename="../renicedialog.cpp" line="56"/>
<source>Nice value:</source>
- <translation>Nice 值:</translation>
+ <translation>优先值:</translation>
</message>
<message>
<location filename="../renicedialog.cpp" line="78"/>
@@ -2402,7 +2402,7 @@ Are you sure to continue?</source>
<message>
<location filename="../renicedialog.cpp" line="82"/>
<source>The priority of a process is given by its nice value. A lower nice value corresponds to a higher priority.</source>
- <translation>进程的优先级由它的 nice 值指定。较低的 nice 值对应较高的优先级。</translation>
+ <translation>进程的优先级由它的优先值指定。较低的优先值对应较高的优先级。</translation>
</message>
<message>
<location filename="../renicedialog.cpp" line="94"/>
--
2.33.0

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: ukui-system-monitor
Version: 1.0.1
Release: 17
Release: 18
Summary: A simple system monitor written in QT
License: GPL-3.0-or-later
URL: http://www.ukui.org
@ -46,6 +46,7 @@ patch10: 0008-Update-changelog.patch
patch11: 0009-desktop-add-Tibetan-name-and-introduction.patch
patch12: 0010-add-Support-Tibetan-translation.patch
patch13: 0011-Adapt-QT5.15-to-add-a-fractional-scaling-property.patch
patch14: 0012-Modify-the-Chinese-translation-of-the-Nice-field.patch
%description
A simple system monitor written in QT
@ -66,6 +67,7 @@ A simple system monitor written in QT
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%build
export PATH=%{_qt5_bindir}:$PATH
@ -96,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/glib-2.0/schemas/org.ukui.system-monitor.menu.gschema.xml
%changelog
* Fri Jul 29 2022 tanyulong<tanyulong@kylinos.cn> - 1.0.1-18
- Modify the Chinese translation of the Nice field
* Fri Jul 29 2022 tanyulong<tanyulong@kylinos.cn> - 1.0.1-17
- Adapt QT5.15 to add a fractional scaling property