This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: improved thread id reporting


On Mon, Apr 6, 2009 at 2:46 PM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>
> Doug> +      printf_filtered (_("[Switching from thread #%d, %s\n"),
> Doug> +                pid_to_thread_id (previous_inferior_ptid),
> Doug> +                target_pid_to_str (previous_inferior_ptid));
> Doug> +      printf_filtered (_("             to thread #%d, %s]\n"),
>
>>> This approach to lining things up is not i18n-friendly.
>
> Eli> Sorry, I'm probably too dense today: why not?  If you are thinking
> Eli> about the number of blanks, then the translated second message can
> Eli> change their amount as appropriate, no?
>
> Only if the translator knows to do that.

I realize this is digressing but y'all are too. :-)
I was thinking that the translation might just punt on the spacing, I
was more worried about some language that preferred to/from, but since
this was just an example I wasn't worried about such issues.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]