------- Comment #7 from bruno at clisp dot org  2009-03-29 16:55 -------
(In reply to comment #4)
> The Fortran front-end diagnostic strings have a specific format, that is an
> extension of the C printf format. It is not the same as the
> gcc-internal-format. Thus, if you want it to be supported, it first needs to 
> be
> recognized by the tools (xgettext),

Support for this type of format has now been added to xgettext. The support
will be contained in gettext 0.18.

> then we'll modify the front-end headers to mark it appropriately.

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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36161

Reply via email to