From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1749 invoked by alias); 6 Apr 2009 20:20:10 -0000 Received: (qmail 1732 invoked by uid 22791); 6 Apr 2009 20:20:09 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout5.012.net.il (HELO mtaout5.012.net.il) (84.95.2.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 06 Apr 2009 20:20:04 +0000 Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KHP00E004GWG400@i_mtaout5.012.net.il> for gdb@sourceware.org; Mon, 06 Apr 2009 23:19:55 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.139.199]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KHP005QS4H6ZJD0@i_mtaout5.012.net.il>; Mon, 06 Apr 2009 23:19:55 +0300 (IDT) Date: Mon, 06 Apr 2009 20:20:00 -0000 From: Eli Zaretskii Subject: Re: improved thread id reporting In-reply-to: To: tromey@redhat.com Cc: dje@google.com, gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83prfp5yfh.fsf@gnu.org> References: <20090404184604.8524C1C759C@localhost> <200904041904.n34J4UXV013513@brahms.sibelius.xs4all.nl> <20090404192132.GA28232@caradoc.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00077.txt.bz2 > Cc: gdb@sourceware.org > From: Tom Tromey > Date: Mon, 06 Apr 2009 14:07:58 -0600 > > >>>>> "Doug" == Doug Evans 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. Sorry, I'm probably too dense today: why not? If you are thinking about the number of blanks, then the translated second message can change their amount as appropriate, no?