Skip to contentSkip to conversation

cpupower: Add Chinese Simplified translation

PATCH Superseded Kieran Moy 2 participants 2 messages Oct 15, 2024 CPU power monitoring

lore
Share & tools
lore

Kieran Moy

author
#0 lore raw

PATCH v2 1/1 cpupower: Add Chinese Simplified translation

Sorry for disturbing, here is patch v2, thanks!

Changes in v2:
- appplied sugested changes

---
 tools/power/cpupower/po/zh_CN.po | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
tools/power/cpupower/po/zh_CN.po +6 -6
index 456cde997..33fb3f000 100644
@@ -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"
Signature · 1 line
2.47.0
maintainer
#1 lore raw
Quoted 1 line · Kieran Moy

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 [email protected]

Quoted 49 lines

Changes in v2:
- appplied sugested changes

---
  tools/power/cpupower/po/zh_CN.po | 12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)
tools/power/cpupower/po/zh_CN.po +4 -4
index 456cde997..33fb3f000 100644
@@ -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"

tools/power/cpupower/po/zh_CN.po msgstr "北桥 P1 布尔计数器(返回 0 或 1)" · line 69

Quoted 10 lines
tools/power/cpupower/po/zh_CN.po +2 -2
-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