From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8167 invoked by alias); 24 Jun 2002 12:18:10 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 8156 invoked from network); 24 Jun 2002 12:18:08 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 24 Jun 2002 12:18:08 -0000 Received: by fw-cam.cambridge.arm.com; id NAA22163; Mon, 24 Jun 2002 13:18:06 +0100 (BST) Received: from unknown(172.16.1.2) by fw-cam.cambridge.arm.com via smap (V5.5) id xma021971; Mon, 24 Jun 02 13:17:56 +0100 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [172.16.1.91]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id NAA15304; Mon, 24 Jun 2002 13:17:55 +0100 (BST) Received: from sun18.cambridge.arm.com (sun18.cambridge.arm.com [172.16.2.18]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id NAA08300; Mon, 24 Jun 2002 13:17:55 +0100 (BST) Message-Id: <200206241217.NAA08300@cam-mail2.cambridge.arm.com> To: tromey@redhat.com cc: Gdb List , Richard.Earnshaw@arm.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. X-Url: http://www.arm.com/ Subject: Re: Questions about gdb and gettext In-reply-to: Your message of "23 Jun 2002 14:46:20 MDT." <87bsa1pvtv.fsf@fleche.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 24 Jun 2002 05:18:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-06/txt/msg00213.txt.bz2 tromey@redhat.com said: > It isn't always necessary to mark every string in the source. You can > also tell the xgettext program that certain functions implicitly > translate their argument. So, for instance, we could set things up so > that the first argument to `warning' and `error' doesn't need any > special marking. How would that save you having to mark the strings? AFAICT it would just mean that you have to mark them with N_() rather than _(). Unless the strings are marked, gettext won't be able to extract them. R.