This is the mail archive of the
mailing list for the GDB project.
Re: improved thread id reporting
On Mon, Apr 6, 2009 at 2:46 PM, Tom Tromey <email@example.com> wrote:
>>>>>> "Eli" == Eli Zaretskii <firstname.lastname@example.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.