gcc.pot regenerated
Joseph S. Myers
jsm@polyomino.org.uk
Fri May 14 22:22:00 GMT 2004
After the tree-ssa merge it seemed appropriate to regenerate gcc.pot on
mainline. Committed.
Notes for gfortran people:
Local diagnostic functions should have their parameters which are strings
that should be translated named msgid, and should pass those arguments to
the _ macro. For example, gfc_warning and gfc_warning_now. It would be
better to use the core code in diagnostic.c which takes care of this sort
of thing. In general, any literal English string that may appear in
diagnostics should be passed to _ exactly once; and if it is not an
argument to a function with a msgid parameter - a convention declaring
that it is the responsibility of that function to call _ - then either
this should be done where the string appears in the source or the string
in the source should be marked with N_ (for constant strings in data
structures, mainly) so it is extracted for translation and _ called on it
later to do the actual translation.
See ABOUT-GCC-NLS for more information on the GCC-specific conventions.
fortran/io.c seems to confuse xgettext (see the bogus source lines for the
emtpy string at the top of gcc.pot), but I haven't investigated this
further.
2004-05-14 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.pot: Regenerate.
--
Joseph S. Myers
jsm@polyomino.org.uk
More information about the Fortran
mailing list