This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Mar 2009 16:59:56 -0000
- Subject: [Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file
- References: <bug-36161-10888@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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