All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Powertop] [PATCH] src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y
@ 2013-02-06 19:49 Patrick McCarty
  0 siblings, 0 replies; 8+ messages in thread
From: Patrick McCarty @ 2013-02-06 19:49 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 1288 bytes --]

On Wed, Feb 06, 2013 at 11:50:26AM +0100, Thomas Spura wrote:
> On Tue, Feb 5, 2013 at 5:06 PM, Paul Menzel
> <paulepanter(a)users.sourceforge.net> wrote:
> > Am Dienstag, den 05.02.2013, 10:18 +0100 schrieb Thomas Spura:
> >> 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.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Powertop] [PATCH] src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y
@ 2013-02-06 10:50 Thomas Spura
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Spura @ 2013-02-06 10:50 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

On Tue, Feb 5, 2013 at 5:06 PM, Paul Menzel
<paulepanter(a)users.sourceforge.net> wrote:
> Am Dienstag, den 05.02.2013, 10:18 +0100 schrieb Thomas Spura:
>> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Powertop] [PATCH] src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y
@ 2013-02-05 18:03 Kristen Carlson Accardi
  0 siblings, 0 replies; 8+ messages in thread
From: Kristen Carlson Accardi @ 2013-02-05 18:03 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

On Tue, 5 Feb 2013 12:27:19 +0300
Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com> wrote:

> On (02/05/13 10:18), Thomas Spura wrote:
> > 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)

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Powertop] [PATCH] src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y
@ 2013-02-05 16:06 Paul Menzel
  0 siblings, 0 replies; 8+ messages in thread
From: Paul Menzel @ 2013-02-05 16:06 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

Am Dienstag, den 05.02.2013, 10:18 +0100 schrieb Thomas Spura:
> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Powertop] [PATCH] src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y
@ 2013-02-05  9:27 Sergey Senozhatsky
  0 siblings, 0 replies; 8+ messages in thread
From: Sergey Senozhatsky @ 2013-02-05  9:27 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

On (02/05/13 10:18), Thomas Spura wrote:
> 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)


> >>  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(-)
> >>


	-ss

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Powertop] [PATCH] src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y
@ 2013-02-05  9:18 Thomas Spura
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Spura @ 2013-02-05  9:18 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 9943 bytes --]

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

On Mon, Feb 4, 2013 at 8:02 PM, Kristen Carlson Accardi
<kristen(a)linux.intel.com> wrote:
> On Sun, 03 Feb 2013 23:36:24 +0100
> Paul Menzel <paulepanter(a)users.sourceforge.net> wrote:
>
>> 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(-)
>>
>> diff --git a/po/bn_IN.po b/po/bn_IN.po
>> index 6bd0b34..b47682a 100644
>> --- a/po/bn_IN.po
>> +++ b/po/bn_IN.po
>> @@ -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"
>> diff --git a/po/ca.po b/po/ca.po
>> index b9088e1..cbd4dda 100644
>> --- a/po/ca.po
>> +++ b/po/ca.po
>> @@ -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"
>> diff --git a/po/cs_CZ.po b/po/cs_CZ.po
>> index f27b538..7a0f28a 100644
>> --- a/po/cs_CZ.po
>> +++ b/po/cs_CZ.po
>> @@ -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
>> diff --git a/po/de_DE.po b/po/de_DE.po
>> index 1b95e96..3e3951f 100644
>> --- a/po/de_DE.po
>> +++ b/po/de_DE.po
>> @@ -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
>> diff --git a/po/en_GB.po b/po/en_GB.po
>> index 37659a2..9b76958 100644
>> --- a/po/en_GB.po
>> +++ b/po/en_GB.po
>> @@ -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
>> diff --git a/po/en_US.po b/po/en_US.po
>> index 812a78f..8e74ed8 100644
>> --- a/po/en_US.po
>> +++ b/po/en_US.po
>> @@ -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
>> diff --git a/po/es_ES.po b/po/es_ES.po
>> index 49edcb1..f406e1d 100644
>> --- a/po/es_ES.po
>> +++ b/po/es_ES.po
>> @@ -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
>> diff --git a/po/hi.po b/po/hi.po
>> index 9fa4b4a..39c7cb6 100644
>> --- a/po/hi.po
>> +++ b/po/hi.po
>> @@ -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
>> diff --git a/po/hu_HU.po b/po/hu_HU.po
>> index 031cdf6..c0800d0 100644
>> --- a/po/hu_HU.po
>> +++ b/po/hu_HU.po
>> @@ -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"
>>
>> diff --git a/po/id_ID.po b/po/id_ID.po
>> index 13b1c63..cb5b9e9 100644
>> --- a/po/id_ID.po
>> +++ b/po/id_ID.po
>> @@ -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
>> diff --git a/po/lt.po b/po/lt.po
>> index e4f37be..86af0b8 100644
>> --- a/po/lt.po
>> +++ b/po/lt.po
>> @@ -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
>> diff --git a/po/nl_NL.po b/po/nl_NL.po
>> index 59cbab8..16d48c8 100644
>> --- a/po/nl_NL.po
>> +++ b/po/nl_NL.po
>> @@ -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
>> diff --git a/po/pl_PL.po b/po/pl_PL.po
>> index 8667a63..0b3cd71 100644
>> --- a/po/pl_PL.po
>> +++ b/po/pl_PL.po
>> @@ -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
>> diff --git a/po/powertop.pot b/po/powertop.pot
>> index d541baa..d668255 100644
>> --- a/po/powertop.pot
>> +++ b/po/powertop.pot
>> @@ -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
>> diff --git a/po/zh_CN.po b/po/zh_CN.po
>> index 1deae42..07787f6 100644
>> --- a/po/zh_CN.po
>> +++ b/po/zh_CN.po
>> @@ -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
>> diff --git a/po/zh_TW.po b/po/zh_TW.po
>> index c93ff67..cd4dd9f 100644
>> --- a/po/zh_TW.po
>> +++ b/po/zh_TW.po
>> @@ -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"
>> diff --git a/src/cpu/cpu.cpp b/src/cpu/cpu.cpp
>> index 401bade..6df6d1c 100644
>> --- a/src/cpu/cpu.cpp
>> +++ b/src/cpu/cpu.cpp
>> @@ -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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Powertop] [PATCH] src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y
@ 2013-02-04 19:02 Kristen Carlson Accardi
  0 siblings, 0 replies; 8+ messages in thread
From: Kristen Carlson Accardi @ 2013-02-04 19:02 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 9237 bytes --]

On Sun, 03 Feb 2013 23:36:24 +0100
Paul Menzel <paulepanter(a)users.sourceforge.net> wrote:

> 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(-)
> 
> diff --git a/po/bn_IN.po b/po/bn_IN.po
> index 6bd0b34..b47682a 100644
> --- a/po/bn_IN.po
> +++ b/po/bn_IN.po
> @@ -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"
> diff --git a/po/ca.po b/po/ca.po
> index b9088e1..cbd4dda 100644
> --- a/po/ca.po
> +++ b/po/ca.po
> @@ -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"
> diff --git a/po/cs_CZ.po b/po/cs_CZ.po
> index f27b538..7a0f28a 100644
> --- a/po/cs_CZ.po
> +++ b/po/cs_CZ.po
> @@ -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
> diff --git a/po/de_DE.po b/po/de_DE.po
> index 1b95e96..3e3951f 100644
> --- a/po/de_DE.po
> +++ b/po/de_DE.po
> @@ -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
> diff --git a/po/en_GB.po b/po/en_GB.po
> index 37659a2..9b76958 100644
> --- a/po/en_GB.po
> +++ b/po/en_GB.po
> @@ -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
> diff --git a/po/en_US.po b/po/en_US.po
> index 812a78f..8e74ed8 100644
> --- a/po/en_US.po
> +++ b/po/en_US.po
> @@ -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
> diff --git a/po/es_ES.po b/po/es_ES.po
> index 49edcb1..f406e1d 100644
> --- a/po/es_ES.po
> +++ b/po/es_ES.po
> @@ -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
> diff --git a/po/hi.po b/po/hi.po
> index 9fa4b4a..39c7cb6 100644
> --- a/po/hi.po
> +++ b/po/hi.po
> @@ -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
> diff --git a/po/hu_HU.po b/po/hu_HU.po
> index 031cdf6..c0800d0 100644
> --- a/po/hu_HU.po
> +++ b/po/hu_HU.po
> @@ -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"
>  
> diff --git a/po/id_ID.po b/po/id_ID.po
> index 13b1c63..cb5b9e9 100644
> --- a/po/id_ID.po
> +++ b/po/id_ID.po
> @@ -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
> diff --git a/po/lt.po b/po/lt.po
> index e4f37be..86af0b8 100644
> --- a/po/lt.po
> +++ b/po/lt.po
> @@ -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
> diff --git a/po/nl_NL.po b/po/nl_NL.po
> index 59cbab8..16d48c8 100644
> --- a/po/nl_NL.po
> +++ b/po/nl_NL.po
> @@ -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
> diff --git a/po/pl_PL.po b/po/pl_PL.po
> index 8667a63..0b3cd71 100644
> --- a/po/pl_PL.po
> +++ b/po/pl_PL.po
> @@ -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
> diff --git a/po/powertop.pot b/po/powertop.pot
> index d541baa..d668255 100644
> --- a/po/powertop.pot
> +++ b/po/powertop.pot
> @@ -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
> diff --git a/po/zh_CN.po b/po/zh_CN.po
> index 1deae42..07787f6 100644
> --- a/po/zh_CN.po
> +++ b/po/zh_CN.po
> @@ -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
> diff --git a/po/zh_TW.po b/po/zh_TW.po
> index c93ff67..cd4dd9f 100644
> --- a/po/zh_TW.po
> +++ b/po/zh_TW.po
> @@ -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"
> diff --git a/src/cpu/cpu.cpp b/src/cpu/cpu.cpp
> index 401bade..6df6d1c 100644
> --- a/src/cpu/cpu.cpp
> +++ b/src/cpu/cpu.cpp
> @@ -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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Powertop] [PATCH] src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y
@ 2013-02-03 22:36 Paul Menzel
  0 siblings, 0 replies; 8+ messages in thread
From: Paul Menzel @ 2013-02-03 22:36 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 8563 bytes --]

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(-)

diff --git a/po/bn_IN.po b/po/bn_IN.po
index 6bd0b34..b47682a 100644
--- a/po/bn_IN.po
+++ b/po/bn_IN.po
@@ -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"
diff --git a/po/ca.po b/po/ca.po
index b9088e1..cbd4dda 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -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"
diff --git a/po/cs_CZ.po b/po/cs_CZ.po
index f27b538..7a0f28a 100644
--- a/po/cs_CZ.po
+++ b/po/cs_CZ.po
@@ -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
diff --git a/po/de_DE.po b/po/de_DE.po
index 1b95e96..3e3951f 100644
--- a/po/de_DE.po
+++ b/po/de_DE.po
@@ -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
diff --git a/po/en_GB.po b/po/en_GB.po
index 37659a2..9b76958 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po
@@ -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
diff --git a/po/en_US.po b/po/en_US.po
index 812a78f..8e74ed8 100644
--- a/po/en_US.po
+++ b/po/en_US.po
@@ -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
diff --git a/po/es_ES.po b/po/es_ES.po
index 49edcb1..f406e1d 100644
--- a/po/es_ES.po
+++ b/po/es_ES.po
@@ -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
diff --git a/po/hi.po b/po/hi.po
index 9fa4b4a..39c7cb6 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -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
diff --git a/po/hu_HU.po b/po/hu_HU.po
index 031cdf6..c0800d0 100644
--- a/po/hu_HU.po
+++ b/po/hu_HU.po
@@ -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"
 
diff --git a/po/id_ID.po b/po/id_ID.po
index 13b1c63..cb5b9e9 100644
--- a/po/id_ID.po
+++ b/po/id_ID.po
@@ -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
diff --git a/po/lt.po b/po/lt.po
index e4f37be..86af0b8 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -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
diff --git a/po/nl_NL.po b/po/nl_NL.po
index 59cbab8..16d48c8 100644
--- a/po/nl_NL.po
+++ b/po/nl_NL.po
@@ -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
diff --git a/po/pl_PL.po b/po/pl_PL.po
index 8667a63..0b3cd71 100644
--- a/po/pl_PL.po
+++ b/po/pl_PL.po
@@ -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
diff --git a/po/powertop.pot b/po/powertop.pot
index d541baa..d668255 100644
--- a/po/powertop.pot
+++ b/po/powertop.pot
@@ -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
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 1deae42..07787f6 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -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
diff --git a/po/zh_TW.po b/po/zh_TW.po
index c93ff67..cd4dd9f 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -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"
diff --git a/src/cpu/cpu.cpp b/src/cpu/cpu.cpp
index 401bade..6df6d1c 100644
--- a/src/cpu/cpu.cpp
+++ b/src/cpu/cpu.cpp
@@ -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);
 		}
 
-- 
1.7.10.4

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-06 19:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06 19:49 [Powertop] [PATCH] src/cpu/cpu.cpp: Fix typo in error message: freque*nc*y Patrick McCarty
  -- strict thread matches above, loose matches on Subject: below --
2013-02-06 10:50 Thomas Spura
2013-02-05 18:03 Kristen Carlson Accardi
2013-02-05 16:06 Paul Menzel
2013-02-05  9:27 Sergey Senozhatsky
2013-02-05  9:18 Thomas Spura
2013-02-04 19:02 Kristen Carlson Accardi
2013-02-03 22:36 Paul Menzel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.