[GRASS-dev] G_message() cleanups...

Hamish hamish_nospam at yahoo.com
Wed Oct 11 00:26:51 EDT 2006


just some tips re. cleaning up messages as I see some variation,

when converting 
  fprintf(stderr, "some message...\n");
  G_message(_("some message..."));

Don't leave in the trailing newline, it's automatic.
The same goes for G_debug() messages.

Debug messages shouldn't be translated, so don't use the _("") i18n
parenthesese for them.


More information about the grass-dev mailing list