improved thread id reporting
Doug Evans
dje@google.com
Tue Apr 7 15:18:00 GMT 2009
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.
More information about the Gdb
mailing list