All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ferron <chris.e.ferron at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] PowerTOP: _("Cannot load from file")
Date: Thu, 31 May 2012 08:42:40 -0700	[thread overview]
Message-ID: <4FC79170.9060804@linux.intel.com> (raw)
In-Reply-To: 4FC6F94B.4060401@freemail.hu

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

On 05/30/2012 09:53 PM, Németh Márton wrote:
> Hi Chris,
>
> I have seen in commit 0e9374d27bfa51b885ee3fe69fbb3b12bdae3600 that
> the last space of the "Cannot load from file " was removed. This results
> even in English the following output:
>
> Cannot load from file/var/cache/powertop/saved_parameters.powertop
>
> One solution would be something like this:
>
>    cout<<  _("Cannot load from file")<<  " "<<  pathname<<  "\n";
Good input thank you. I am still learning about the difficulty's in 
translation on internationalization.
I will make some adjustments from your input.
Thanks
-Chris

> However, in Hungarian this sentence is difficult to translate because of
> the word order. For example the natural translation of the following
> English sentence would be:
>
>    English: Cannot load from file foo.bar
>    Hungarian: Nem lehetett a foo.bar fájlból betölteni
>
> As you can see in this case it would be better to use the %s format string
> for printing pathname because this gives better flexibility for the translator
> to place the pathname string in natural place in a translated sentence.
>
> Regards,
>
> 	Márton Németh
>


             reply	other threads:[~2012-05-31 15:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-31 15:42 Chris Ferron [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-06-01  7:23 [Powertop] PowerTOP: _("Cannot load from file") 
2012-06-01 20:06 Chris Ferron
2012-06-06  5:38 
2012-06-06 15:25 Chris Ferron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FC79170.9060804@linux.intel.com \
    --to=powertop@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.