[haiku-commits] Re: haiku: hrev44687 - src/bin/desklink

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 9 Oct 2012 14:30:00 -0400

On Tue, Oct 9, 2012 at 2:05 PM,  <humdingerb@xxxxxxxxxxxxxx> wrote:
> -               BString label = "Open ";
> -               label += fRef.name;
> +               BString label = B_TRANSLATE_COMMENT("Open %name", "Don't 
> translate
> +                       variable %name");
> +               label.ReplaceFirst("%name", fRef.name);

This change breaks the build. You can't break a string across multiple
lines like this without quoting it on each line, but I'm not sure how
locale would play along with a string broken up in such a manner.

Regards,

Rene

Other related posts: