Re: [PATCH v2] cpupower: Add Chinese Simplified translation

From: Shuah Khan
Date: Tue Oct 15 2024 - 14:15:53 EST


On 10/15/24 10:33, Kieran Moy wrote:
Sorry for disturbing, here is patch v2, thanks!

You still need change log. I can fix that when I apply.
But this v2 isn't a complete patch. You have make changes
to the original patch and then generate v2 with all the
changes.

You patch one had all these changes:

tools/power/cpupower/Makefile | 2 +-
tools/power/cpupower/po/zh_CN.po | 942 +++++++++++++++++++++++++++++++
2 files changed, 943 insertions(+), 1 deletion(-)
create mode 100644 tools/power/cpupower/po/zh_CN.po

This patch doesn't have any of the above changes.
Can you make the changes and send a single complete
patch?

Candice has been helping me with reviews - please cc
ccheng@xxxxxxxxxxxxxxxxxxx


Changes in v2:
- appplied sugested changes

Signed-off-by: Kieran Moy <kfatyuip@xxxxxxxxx>
---
tools/power/cpupower/po/zh_CN.po | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/power/cpupower/po/zh_CN.po b/tools/power/cpupower/po/zh_CN.po
index 456cde997..33fb3f000 100644
--- a/tools/power/cpupower/po/zh_CN.po
+++ b/tools/power/cpupower/po/zh_CN.po
@@ -19,11 +19,11 @@ msgstr ""
#: utils/idle_monitor/nhm_idle.c:36
msgid "Processor Core C3"
-msgstr "处理器核心 C3"
+msgstr "处理器 Core C3"
#: utils/idle_monitor/nhm_idle.c:43
msgid "Processor Core C6"
-msgstr "处理器核心 C6"
+msgstr "处理器 Core C6"
#: utils/idle_monitor/nhm_idle.c:51
msgid "Processor Package C3"
@@ -35,7 +35,7 @@ msgstr "处理器套件 C6"
#: utils/idle_monitor/snb_idle.c:33
msgid "Processor Core C7"
-msgstr "处理器核心 C7"
+msgstr "处理器 Core C7"
#: utils/idle_monitor/snb_idle.c:40
msgid "Processor Package C2"
@@ -47,7 +47,7 @@ msgstr "处理器套件 C7"
#: utils/idle_monitor/amd_fam14h_idle.c:56
msgid "Package in sleep state (PC1 or deeper)"
-msgstr "处于睡眠状态的包(PC1 或更深)"
+msgstr "Package in sleep state (PC1 或更深)"
#: utils/idle_monitor/amd_fam14h_idle.c:63
msgid "Processor Package C1"
@@ -59,11 +59,11 @@ msgstr "北桥 P1 布尔计数器(返回 0 或 1)"
#: utils/idle_monitor/mperf_monitor.c:35
msgid "Processor Core not idle"
-msgstr "处理器核心不空闲"
+msgstr "处理器 Core不空闲"
#: utils/idle_monitor/mperf_monitor.c:42
msgid "Processor Core in an idle state"
-msgstr "处理器核心处于空闲状态"
+msgstr "处理器 Core处于空闲状态"
#: utils/idle_monitor/mperf_monitor.c:50
msgid "Average Frequency (including boost) in MHz"

thanks,
-- Shuah