------- 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

Reply via email to