From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17234 invoked by alias); 6 Apr 2009 21:47:15 -0000 Received: (qmail 17149 invoked by uid 22791); 6 Apr 2009 21:47:13 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 06 Apr 2009 21:47:07 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n36Ll0BS006915; Mon, 6 Apr 2009 17:47:00 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n36Ll1WC010360; Mon, 6 Apr 2009 17:47:01 -0400 Received: from opsy.redhat.com (vpn-12-50.rdu.redhat.com [10.11.12.50]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n36LkxNB028433; Mon, 6 Apr 2009 17:46:59 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id BE0C6888034; Mon, 6 Apr 2009 15:46:57 -0600 (MDT) To: Eli Zaretskii Cc: dje@google.com, gdb@sourceware.org Subject: Re: improved thread id reporting References: <20090404184604.8524C1C759C@localhost> <200904041904.n34J4UXV013513@brahms.sibelius.xs4all.nl> <20090404192132.GA28232@caradoc.them.org> <83prfp5yfh.fsf@gnu.org> From: Tom Tromey Reply-To: Tom Tromey Date: Mon, 06 Apr 2009 22:15:00 -0000 In-Reply-To: <83prfp5yfh.fsf@gnu.org> (Eli Zaretskii's message of "Mon\, 06 Apr 2009 23\:17\:54 +0300") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00081.txt.bz2 >>>>> "Eli" == Eli Zaretskii 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. Tom