From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26556 invoked by alias); 29 Mar 2009 17:00:13 -0000 Received: (qmail 26277 invoked by alias); 29 Mar 2009 16:59:56 -0000 Date: Sun, 29 Mar 2009 17:00:00 -0000 Message-ID: <20090329165956.26276.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "joseph at codesourcery dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg02082.txt.bz2 ------- Comment #8 from joseph at codesourcery dot com 2009-03-29 16:59 ------- Subject: Re: gfc_error formats are not marked gcc-internal-format in po file On Sun, 29 Mar 2009, bruno at clisp dot org wrote: > The xgettext options that need to be passed to "xgettext --language=GCC-source" > are: > --keyword=gfc_error:1:gfc-internal-format \ > --keyword=gfc_error_now:1:gfc-internal-format \ > --keyword=gfc_fatal_error:1:gfc-internal-format \ > --keyword=gfc_internal_error:1:gfc-internal-format \ > --keyword=gfc_notify_std:2:gfc-internal-format \ > --keyword=gfc_warning:1:gfc-internal-format \ > --keyword=gfc_warning_now:1:gfc-internal-format > > If you want to generate these options automatically, you'll need to modify > the 'po/exgettext' script. For example, you might arrange for the script to do this for functions with a parameter named "fmsgid" (see the discussion in ABOUT-GCC-NLS of the conventions used). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36161