From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17081 invoked by alias); 8 Jan 2006 11:12:20 -0000 Received: (qmail 17066 invoked by uid 22791); 8 Jan 2006 11:12:20 -0000 X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 08 Jan 2006 11:12:18 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 2E23C1C005; Sun, 8 Jan 2006 12:12:15 +0100 (CET) From: Andreas Schwab To: Paul Hilfinger Cc: gdb-patches@sourceware.org Subject: Re: [commit] Internationalize Ada files References: <20060108072209.33B0048CDEE@nile.gnat.com> X-Yow: I want a WESSON OIL lease!! Date: Sun, 08 Jan 2006 11:12:00 -0000 In-Reply-To: <20060108072209.33B0048CDEE@nile.gnat.com> (Paul Hilfinger's message of "Sun, 8 Jan 2006 02:22:09 -0500 (EST)") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00084.txt.bz2 Paul Hilfinger writes: > @@ -768,7 +768,7 @@ ada_parse (void) > void > yyerror (char *msg) > { > - error ("A %s in expression, near `%s'.", (msg ? msg : "error"), lexptr); > + error (_("A %s in expression, near `%s'."), (msg ? msg : _("error")), lexptr); This will be hard if not impossible to properly translate to many languages. Even in English it is grammatically wrong when msg is NULL. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."