Skip to contentSkip to conversation

src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y

PATCH Superseded Paul Menzel 5 participants 9 messages Feb 3, 2013 – Feb 6, 2013

lore
Share & tools
lore

Paul Menzel

author
#0 lore raw

PATCH 1/1 src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y

Date: Sun, 3 Feb 2013 23:31:22 +0100

The following command was used to fix this typo.

    $ git grep -l frequecny | xargs sed -i 's,frequecny,frequency,'
---
Please note, that I also changed the translations files. As Transifex is
used, that might be not the correct way to fix such a typo. So please
only apply this patch after a knowledgeable Transifex person commented
it.
 po/bn_IN.po     |    4 ++--
 po/ca.po        |    4 ++--
 po/cs_CZ.po     |    4 ++--
 po/de_DE.po     |    2 +-
 po/en_GB.po     |    2 +-
 po/en_US.po     |    2 +-
 po/es_ES.po     |    2 +-
 po/hi.po        |    2 +-
 po/hu_HU.po     |    2 +-
 po/id_ID.po     |    2 +-
 po/lt.po        |    2 +-
 po/nl_NL.po     |    2 +-
 po/pl_PL.po     |    2 +-
 po/powertop.pot |    2 +-
 po/zh_CN.po     |    2 +-
 po/zh_TW.po     |    4 ++--
 src/cpu/cpu.cpp |    2 +-
 17 files changed, 21 insertions(+), 21 deletions(-)
po/bn_IN.po +2 -2
index 6bd0b34..b47682a 100644
@@ -100,8 +100,8 @@ msgstr "cpu_idle ইভেন্ট  কোনও অবস্থাষ় ফ
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
-msgstr "ক্ষমতা বা cpu_frequecny ইভেন্ট কোনও অবস্থাষ় ফিরে আসেনি?\n"
+msgid "power or cpu_frequency event returned no state?\n"
+msgstr "ক্ষমতা বা cpu_frequency ইভেন্ট কোনও অবস্থাষ় ফিরে আসেনি?\n"
 
 #: src/cpu/cpu_linux.cpp:92
 msgid "C0 polling"
po/ca.po +2 -2
index b9088e1..cbd4dda 100644
@@ -88,8 +88,8 @@ msgstr "l'event cpu_idle no ha retornat cap estat?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
-msgstr "els events power o cpu_frequecny no han retornat cap estat?\n"
+msgid "power or cpu_frequency event returned no state?\n"
+msgstr "els events power o cpu_frequency no han retornat cap estat?\n"
 
 #: src/cpu/cpu_linux.cpp:92
 msgid "C0 polling"
po/cs_CZ.po +2 -2
index f27b538..7a0f28a 100644
@@ -86,9 +86,9 @@ msgstr "cpu_idle událost nevrátila stav?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
-"power nebo cpu_frequecny událost nevrátila stav?\n"
+"power nebo cpu_frequency událost nevrátila stav?\n"
 "\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/de_DE.po +1 -1
index 1b95e96..3e3951f 100644
@@ -87,7 +87,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/en_GB.po +1 -1
index 37659a2..9b76958 100644
@@ -86,7 +86,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/en_US.po +1 -1
index 812a78f..8e74ed8 100644
@@ -86,7 +86,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/es_ES.po +1 -1
index 49edcb1..f406e1d 100644
@@ -85,7 +85,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/hi.po +1 -1
index 9fa4b4a..39c7cb6 100644
@@ -100,7 +100,7 @@ msgstr "cpu_idle की घटना ने किसी भी तरीके
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "शक्ति या सीपीयू_आवृति की घटना ने किसी भी तरीके की स्थिति नहीं लोटायी है?\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/hu_HU.po +1 -1
index 031cdf6..c0800d0 100644
@@ -87,7 +87,7 @@ msgstr "a CPU üresjáratesemény nem adott vissza állapotot?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 "a teljesítmény vagy CPU frekvencia esemény nem adott vissza állapotot?\n"
 
po/id_ID.po +1 -1
index 13b1c63..cb5b9e9 100644
@@ -85,7 +85,7 @@ msgstr "kejadian cpu_idle tak mengembalikan keadaan?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "kejadian power atau cpu_frequency tak mengembalikan keadaan?\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/lt.po +1 -1
index e4f37be..86af0b8 100644
@@ -100,7 +100,7 @@ msgstr "cpu_idle įvykis negrąžino būsenos?\\n"
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "power arba cpu_frequency įvykis negrąžino būsenos?\\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/nl_NL.po +1 -1
index 59cbab8..16d48c8 100644
@@ -86,7 +86,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/pl_PL.po +1 -1
index 8667a63..0b3cd71 100644
@@ -101,7 +101,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "zdarzenie power lub cpu_frequency zwróciło no state?\\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/powertop.pot +1 -1
index d541baa..d668255 100644
@@ -99,7 +99,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/zh_CN.po +1 -1
index 1deae42..07787f6 100644
@@ -100,7 +100,7 @@ msgstr "CPU 空闲事件没有返回状态?\n"
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "电量或者 CPU 频率事件没有返回状态?\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/zh_TW.po +2 -2
index c93ff67..cd4dd9f 100644
@@ -85,8 +85,8 @@ msgstr "cpu_idle 事件沒有傳回狀態?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
-msgstr "power 或 cpu_frequecny 事件沒有傳回狀態?\n"
+msgid "power or cpu_frequency event returned no state?\n"
+msgstr "power 或 cpu_frequency 事件沒有傳回狀態?\n"
 
 #: src/cpu/cpu_linux.cpp:92
 msgid "C0 polling"
src/cpu/cpu.cpp +1 -1
index 401bade..6df6d1c 100644
@@ -808,7 +808,7 @@ void perf_power_bundle::handle_trace_point(void *trace, int cpunr, uint64_t time
 
 		ret = pevent_get_field_val(NULL, event, "state", &rec, &val, 0);
 		if (ret < 0) {
-			fprintf(stderr, _("power or cpu_frequecny event returned no state?\n"));
+			fprintf(stderr, _("power or cpu_frequency event returned no state?\n"));
 			exit(-1);
 		}
 
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 252 lines · On Sun, 03 Feb 2013 23:36:24 +0100 Paul Menzel…

Date: Sun, 3 Feb 2013 23:31:22 +0100

The following command was used to fix this typo.

    $ git grep -l frequecny | xargs sed -i 's,frequecny,frequency,'
---
Please note, that I also changed the translations files. As Transifex is
used, that might be not the correct way to fix such a typo. So please
only apply this patch after a knowledgeable Transifex person commented
it.
 po/bn_IN.po     |    4 ++--
 po/ca.po        |    4 ++--
 po/cs_CZ.po     |    4 ++--
 po/de_DE.po     |    2 +-
 po/en_GB.po     |    2 +-
 po/en_US.po     |    2 +-
 po/es_ES.po     |    2 +-
 po/hi.po        |    2 +-
 po/hu_HU.po     |    2 +-
 po/id_ID.po     |    2 +-
 po/lt.po        |    2 +-
 po/nl_NL.po     |    2 +-
 po/pl_PL.po     |    2 +-
 po/powertop.pot |    2 +-
 po/zh_CN.po     |    2 +-
 po/zh_TW.po     |    4 ++--
 src/cpu/cpu.cpp |    2 +-
 17 files changed, 21 insertions(+), 21 deletions(-)
po/bn_IN.po +2 -2
index 6bd0b34..b47682a 100644
@@ -100,8 +100,8 @@ msgstr "cpu_idle ইভেন্ট  কোনও অবস্থাষ় ফ
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
-msgstr "ক্ষমতা বা cpu_frequecny ইভেন্ট কোনও অবস্থাষ় ফিরে আসেনি?\n"
+msgid "power or cpu_frequency event returned no state?\n"
+msgstr "ক্ষমতা বা cpu_frequency ইভেন্ট কোনও অবস্থাষ় ফিরে আসেনি?\n"
 
 #: src/cpu/cpu_linux.cpp:92
 msgid "C0 polling"
po/ca.po +2 -2
index b9088e1..cbd4dda 100644
@@ -88,8 +88,8 @@ msgstr "l'event cpu_idle no ha retornat cap estat?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
-msgstr "els events power o cpu_frequecny no han retornat cap estat?\n"
+msgid "power or cpu_frequency event returned no state?\n"
+msgstr "els events power o cpu_frequency no han retornat cap estat?\n"
 
 #: src/cpu/cpu_linux.cpp:92
 msgid "C0 polling"
po/cs_CZ.po +2 -2
index f27b538..7a0f28a 100644
@@ -86,9 +86,9 @@ msgstr "cpu_idle událost nevrátila stav?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
-"power nebo cpu_frequecny událost nevrátila stav?\n"
+"power nebo cpu_frequency událost nevrátila stav?\n"
 "\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/de_DE.po +1 -1
index 1b95e96..3e3951f 100644
@@ -87,7 +87,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/en_GB.po +1 -1
index 37659a2..9b76958 100644
@@ -86,7 +86,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/en_US.po +1 -1
index 812a78f..8e74ed8 100644
@@ -86,7 +86,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/es_ES.po +1 -1
index 49edcb1..f406e1d 100644
@@ -85,7 +85,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/hi.po +1 -1
index 9fa4b4a..39c7cb6 100644
@@ -100,7 +100,7 @@ msgstr "cpu_idle की घटना ने किसी भी तरीके
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "शक्ति या सीपीयू_आवृति की घटना ने किसी भी तरीके की स्थिति नहीं लोटायी है?\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/hu_HU.po +1 -1
index 031cdf6..c0800d0 100644
@@ -87,7 +87,7 @@ msgstr "a CPU üresjáratesemény nem adott vissza állapotot?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 "a teljesítmény vagy CPU frekvencia esemény nem adott vissza állapotot?\n"
 
po/id_ID.po +1 -1
index 13b1c63..cb5b9e9 100644
@@ -85,7 +85,7 @@ msgstr "kejadian cpu_idle tak mengembalikan keadaan?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "kejadian power atau cpu_frequency tak mengembalikan keadaan?\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/lt.po +1 -1
index e4f37be..86af0b8 100644
@@ -100,7 +100,7 @@ msgstr "cpu_idle įvykis negrąžino būsenos?\\n"
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "power arba cpu_frequency įvykis negrąžino būsenos?\\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/nl_NL.po +1 -1
index 59cbab8..16d48c8 100644
@@ -86,7 +86,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/pl_PL.po +1 -1
index 8667a63..0b3cd71 100644
@@ -101,7 +101,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "zdarzenie power lub cpu_frequency zwróciło no state?\\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/powertop.pot +1 -1
index d541baa..d668255 100644
@@ -99,7 +99,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/zh_CN.po +1 -1
index 1deae42..07787f6 100644
@@ -100,7 +100,7 @@ msgstr "CPU 空闲事件没有返回状态?\n"
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "电量或者 CPU 频率事件没有返回状态?\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/zh_TW.po +2 -2
index c93ff67..cd4dd9f 100644
@@ -85,8 +85,8 @@ msgstr "cpu_idle 事件沒有傳回狀態?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
-msgstr "power 或 cpu_frequecny 事件沒有傳回狀態?\n"
+msgid "power or cpu_frequency event returned no state?\n"
+msgstr "power 或 cpu_frequency 事件沒有傳回狀態?\n"
 
 #: src/cpu/cpu_linux.cpp:92
 msgid "C0 polling"
src/cpu/cpu.cpp +0 -0
index 401bade..6df6d1c 100644

src/cpu/cpu.cpp void perf_power_bundle::handle_trace_point(void *trace, int cpunr, uint64_t time · line 814

Quoted 8 lines
src/cpu/cpu.cpp +1 -1
@@ -808,7 +808,7 @@ void perf_power_bundle::handle_trace_point(void *trace, int cpunr, uint64_t time
 
 		ret = pevent_get_field_val(NULL, event, "state", &rec, &val, 0);
 		if (ret < 0) {
-			fprintf(stderr, _("power or cpu_frequecny event returned no state?\n"));
+			fprintf(stderr, _("power or cpu_frequency event returned no state?\n"));
 			exit(-1);
 		}
 

Paul - the only thing you need to change is the .cpp file.

Kristen

author
#2 lore raw

PATCH v2 1/1 src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y

Date: Sun, 3 Feb 2013 23:31:22 +0100

The translations files under po/ are not changed as that is managed by Transifex.

The typo was introduced in the following commit.

commit 1dfdb80d6333960ed310fff7b60439f79d154a84
Author: Chris E Ferron <chris.e.ferron(a)linux.intel.com>
Date: Fri Apr 20 13:59:50 2012 -0700

Added some error handling, code clean-up, comment removal, event name adjustments.
---
As per Kristen’s reply, just change the CPP file.

 src/cpu/cpu.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/cpu/cpu.cpp +1 -1
index f875e45..1eb340c 100644
@@ -808,7 +808,7 @@ void perf_power_bundle::handle_trace_point(void *trace, int cpunr, uint64_t time
 
 		ret = pevent_get_field_val(NULL, event, "state", &rec, &val, 0);
 		if (ret < 0) {
-			fprintf(stderr, _("power or cpu_frequecny event returned no state?\n"));
+			fprintf(stderr, _("power or cpu_frequency event returned no state?\n"));
 			exit(-1);
 		}
 
Signature · 1 line
1.7.10.4
#3 lore raw
In reply to Kristen Carlson Accardi

Byt then all translations will be marked as fuzzy and won't work anymore. When also updating the typo in the translations, this won't be needed.

Greetings,
Tom

Quoted 271 lines · Kristen Carlson Accardi
Quoted 252 lines · On Sun, 03 Feb 2013 23:36:24 +0100 Paul Menzel…

Date: Sun, 3 Feb 2013 23:31:22 +0100

The following command was used to fix this typo.

    $ git grep -l frequecny | xargs sed -i 's,frequecny,frequency,'
---
Please note, that I also changed the translations files. As Transifex is
used, that might be not the correct way to fix such a typo. So please
only apply this patch after a knowledgeable Transifex person commented
it.
 po/bn_IN.po     |    4 ++--
 po/ca.po        |    4 ++--
 po/cs_CZ.po     |    4 ++--
 po/de_DE.po     |    2 +-
 po/en_GB.po     |    2 +-
 po/en_US.po     |    2 +-
 po/es_ES.po     |    2 +-
 po/hi.po        |    2 +-
 po/hu_HU.po     |    2 +-
 po/id_ID.po     |    2 +-
 po/lt.po        |    2 +-
 po/nl_NL.po     |    2 +-
 po/pl_PL.po     |    2 +-
 po/powertop.pot |    2 +-
 po/zh_CN.po     |    2 +-
 po/zh_TW.po     |    4 ++--
 src/cpu/cpu.cpp |    2 +-
 17 files changed, 21 insertions(+), 21 deletions(-)
po/bn_IN.po +2 -2
index 6bd0b34..b47682a 100644
@@ -100,8 +100,8 @@ msgstr "cpu_idle ইভেন্ট  কোনও অবস্থাষ় ফ
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
-msgstr "ক্ষমতা বা cpu_frequecny ইভেন্ট কোনও অবস্থাষ় ফিরে আসেনি?\n"
+msgid "power or cpu_frequency event returned no state?\n"
+msgstr "ক্ষমতা বা cpu_frequency ইভেন্ট কোনও অবস্থাষ় ফিরে আসেনি?\n"
 
 #: src/cpu/cpu_linux.cpp:92
 msgid "C0 polling"
po/ca.po +2 -2
index b9088e1..cbd4dda 100644
@@ -88,8 +88,8 @@ msgstr "l'event cpu_idle no ha retornat cap estat?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
-msgstr "els events power o cpu_frequecny no han retornat cap estat?\n"
+msgid "power or cpu_frequency event returned no state?\n"
+msgstr "els events power o cpu_frequency no han retornat cap estat?\n"
 
 #: src/cpu/cpu_linux.cpp:92
 msgid "C0 polling"
po/cs_CZ.po +2 -2
index f27b538..7a0f28a 100644
@@ -86,9 +86,9 @@ msgstr "cpu_idle událost nevrátila stav?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
-"power nebo cpu_frequecny událost nevrátila stav?\n"
+"power nebo cpu_frequency událost nevrátila stav?\n"
 "\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/de_DE.po +1 -1
index 1b95e96..3e3951f 100644
@@ -87,7 +87,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/en_GB.po +1 -1
index 37659a2..9b76958 100644
@@ -86,7 +86,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/en_US.po +1 -1
index 812a78f..8e74ed8 100644
@@ -86,7 +86,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/es_ES.po +1 -1
index 49edcb1..f406e1d 100644
@@ -85,7 +85,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/hi.po +1 -1
index 9fa4b4a..39c7cb6 100644
@@ -100,7 +100,7 @@ msgstr "cpu_idle की घटना ने किसी भी तरीके
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "शक्ति या सीपीयू_आवृति की घटना ने किसी भी तरीके की स्थिति नहीं लोटायी है?\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/hu_HU.po +1 -1
index 031cdf6..c0800d0 100644
@@ -87,7 +87,7 @@ msgstr "a CPU üresjáratesemény nem adott vissza állapotot?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 "a teljesítmény vagy CPU frekvencia esemény nem adott vissza állapotot?\n"
 
po/id_ID.po +1 -1
index 13b1c63..cb5b9e9 100644
@@ -85,7 +85,7 @@ msgstr "kejadian cpu_idle tak mengembalikan keadaan?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "kejadian power atau cpu_frequency tak mengembalikan keadaan?\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/lt.po +1 -1
index e4f37be..86af0b8 100644
@@ -100,7 +100,7 @@ msgstr "cpu_idle įvykis negrąžino būsenos?\\n"
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "power arba cpu_frequency įvykis negrąžino būsenos?\\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/nl_NL.po +1 -1
index 59cbab8..16d48c8 100644
@@ -86,7 +86,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/pl_PL.po +1 -1
index 8667a63..0b3cd71 100644
@@ -101,7 +101,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "zdarzenie power lub cpu_frequency zwróciło no state?\\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/powertop.pot +1 -1
index d541baa..d668255 100644
@@ -99,7 +99,7 @@ msgstr ""
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
 
 #: src/cpu/cpu_linux.cpp:92
po/zh_CN.po +1 -1
index 1deae42..07787f6 100644
@@ -100,7 +100,7 @@ msgstr "CPU 空闲事件没有返回状态?\n"
 
 #: src/cpu/cpu.cpp:787
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
+msgid "power or cpu_frequency event returned no state?\n"
 msgstr "电量或者 CPU 频率事件没有返回状态?\n"
 
 #: src/cpu/cpu_linux.cpp:92
po/zh_TW.po +2 -2
index c93ff67..cd4dd9f 100644
@@ -85,8 +85,8 @@ msgstr "cpu_idle 事件沒有傳回狀態?\n"
 
 #: src/cpu/cpu.cpp:940
 #, c-format
-msgid "power or cpu_frequecny event returned no state?\n"
-msgstr "power 或 cpu_frequecny 事件沒有傳回狀態?\n"
+msgid "power or cpu_frequency event returned no state?\n"
+msgstr "power 或 cpu_frequency 事件沒有傳回狀態?\n"
 
 #: src/cpu/cpu_linux.cpp:92
 msgid "C0 polling"
src/cpu/cpu.cpp +0 -0
index 401bade..6df6d1c 100644

src/cpu/cpu.cpp void perf_power_bundle::handle_trace_point(void *trace, int cpunr, uint64_t time · line 814

Quoted 8 lines
src/cpu/cpu.cpp +1 -1
@@ -808,7 +808,7 @@ void perf_power_bundle::handle_trace_point(void *trace, int cpunr, uint64_t time
 
              ret = pevent_get_field_val(NULL, event, "state", &rec, &val, 0);
              if (ret < 0) {
-                     fprintf(stderr, _("power or cpu_frequecny event returned no state?\n"));
+                     fprintf(stderr, _("power or cpu_frequency event returned no state?\n"));
                      exit(-1);
              }
 

Paul - the only thing you need to change is the .cpp file.

Kristen
_______________________________________________
PowerTop mailing list
PowerTop(a)lists.01.org
https://lists.01.org/mailman/listinfo/powertop

#4 lore raw
Quoted 8 lines · Thomas Spura

Byt then all translations will be marked as fuzzy and won't work anymore. When also updating the typo in the translations, this won't be needed.

Greetings,
Tom

Just for note, are we on a schedule or will it be adjusted/shifted? According to https://01.org/powertop/community :

	Schedule 2013

	Feb 1st (string freeze)
	Feb 15th (release v2.3)
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
 po/bn_IN.po     |    4 ++--
 po/ca.po        |    4 ++--
 po/cs_CZ.po     |    4 ++--
 po/de_DE.po     |    2 +-
 po/en_GB.po     |    2 +-
 po/en_US.po     |    2 +-
 po/es_ES.po     |    2 +-
 po/hi.po        |    2 +-
 po/hu_HU.po     |    2 +-
 po/id_ID.po     |    2 +-
 po/lt.po        |    2 +-
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
 po/nl_NL.po     |    2 +-
 po/pl_PL.po     |    2 +-
 po/powertop.pot |    2 +-
 po/zh_CN.po     |    2 +-
 po/zh_TW.po     |    4 ++--
 src/cpu/cpu.cpp |    2 +-
 17 files changed, 21 insertions(+), 21 deletions(-)
	-ss
#5 lore raw
Quoted 10 lines · On Tue, 5 Feb 2013 12:27:19 +0300 Sergey Senozhatsky…
Quoted 8 lines · Thomas Spura

Byt then all translations will be marked as fuzzy and won't work anymore. When also updating the typo in the translations, this won't be needed.

Greetings,
Tom

Quoted 7 lines

Just for note, are we on a schedule or will it be adjusted/shifted? According to https://01.org/powertop/community :

	Schedule 2013

	Feb 1st (string freeze)
	Feb 15th (release v2.3)

I'm delaying string freeze for a short period of time - we'll probably do it next week. I'll send an updated schedule when I solidify the date.

author
#6 lore raw
In reply to Thomas Spura

Am Dienstag, den 05.02.2013, 10:18 +0100 schrieb Thomas Spura:

Quoted 3 lines

By then all translations will be marked as fuzzy and won't work anymore. When also updating the typo in the translations, this won't be needed.

The question is if Transifex is able to deal with that, that means, it notices the changes of translation files in the repository. Do you know if it does?

Thanks,

Paul

#7 lore raw
Quoted 8 lines · Paul Menzel

Am Dienstag, den 05.02.2013, 10:18 +0100 schrieb Thomas Spura:

Quoted 3 lines

By then all translations will be marked as fuzzy and won't work anymore. When also updating the typo in the translations, this won't be needed.

The question is if Transifex is able to deal with that, that means, it notices the changes of translation files in the repository. Do you know if it does?

IIUC, you need to send the "what to translate" files manually to Transifex so it should be a manually step by the powertop translations manager.
But I'm just guessing here as I only used Transifex, when it did most of the task on its own. I have no experience of Transifex after switching to the manual push&pull system...

Greetings,
Tom

#8 lore raw
Quoted 7 lines · Thomas Spura
Quoted 5 lines · Paul Menzel

Am Dienstag, den 05.02.2013, 10:18 +0100 schrieb Thomas Spura:

Quoted 3 lines

By then all translations will be marked as fuzzy and won't work anymore. When also updating the typo in the translations, this won't be needed.

Quoted 7 lines
Quoted 3 lines

The question is if Transifex is able to deal with that, that means, it notices the changes of translation files in the repository. Do you know if it does?

IIUC, you need to send the "what to translate" files manually to Transifex so it should be a manually step by the powertop translations manager.

At one point, we were pushing powertop.pot to Transifex manually, but now we have the Transifex project configured to automatically pull the raw POT file from the github repo. IIRC, it pulls the latest POT daily.

So, as long as powertop.pot is up-to-date in the github repo, the maintainer does not need to update it anywhere else.

Integrating the *PO* files from Transifex into PowerTOP is the manual step, because Transifex no longer supports version-control integration, i.e. pushing automated commits that update translations.

Regards,
Patrick