From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15119 invoked by alias); 3 Mar 2011 04:02:36 -0000 Received: (qmail 15104 invoked by uid 22791); 3 Mar 2011 04:02:35 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Mar 2011 04:02:29 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id CF4552BAE0B for ; Wed, 2 Mar 2011 23:02:27 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rDzOP6I-8xvZ for ; Wed, 2 Mar 2011 23:02:27 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 1C3AA2BADE1 for ; Wed, 2 Mar 2011 23:02:26 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id D3B931459AD; Thu, 3 Mar 2011 08:02:09 +0400 (RET) Date: Thu, 03 Mar 2011 04:02:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: New ARI warning Thu Mar 3 01:53:39 UTC 2011 Message-ID: <20110303040209.GR30306@adacore.com> References: <20110303015339.GA30897@sourceware.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Yylu36WmvOXNoKYn" Content-Disposition: inline In-Reply-To: <20110303015339.GA30897@sourceware.org> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00153.txt.bz2 --Yylu36WmvOXNoKYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 215 > > gdb/utils.c:2004: gettext: _ markup: All messages should be marked up with _. > gdb/utils.c:2004: error ("The escape sequence `\\%c' is equivalent to plain `%c'," Fixed with the attached patch.... -- Joel --Yylu36WmvOXNoKYn Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="utils.diff" Content-length: 876 commit a302e41aea176ee6d76081823c8e86b22464aa9f Author: Joel Brobecker Date: Thu Mar 3 07:49:15 2011 +0400 add i18n markup in error message (utils.c:parse_escape) gdb/ChangeLog: * utils.c (parse_escape): Add i18n markup in error message. diff --git a/gdb/utils.c b/gdb/utils.c index 46b4612..91e6af4 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -2001,8 +2001,8 @@ parse_escape (struct gdbarch *gdbarch, char **string_ptr) } if (!host_char_to_target (gdbarch, c, &target_char)) - error ("The escape sequence `\\%c' is equivalent to plain `%c'," - " which has no equivalent\nin the `%s' character set.", + error (_("The escape sequence `\\%c' is equivalent to plain `%c'," + " which has no equivalent\nin the `%s' character set."), c, c, target_charset (gdbarch)); return target_char; } --Yylu36WmvOXNoKYn--