[GRASS-dev] message standardization on wiki

More controversially, it would be good if the error message was

a. as descriptive as possible (Instead of just "Cannot read raster row [%d]" say "Cannot read raster row [%d]. End of file reached")

b. followed by suggestions on how to fix the problem (End of file fixed. The file has x rows and y columns but you were trying to read row x+1.)

Jerry

---- Original message ----

Date: Wed, 11 Apr 2007 15:07:21 +0200
From: "Martin Landa" <landa.martin@gmail.com>
Subject: [GRASS-dev] message standardization on wiki
To: grass-dev <grass-dev@grass.itc.it>, translations@grass.itc.it

Hi all,

updating Czech translation of GRASS I am suggesting some of standard
messages. There are lot of library functions which are very often used
(e.g. G_find_cell2() or G_find_vector2()), but messages are *very*
different, see

http://grass.gdf-hannover.de/wiki/Development_Specs#Messages_Discussion

Please feel free to extend the list of "standard messages", correct
existing (cannot -> could not?, ...), etc. then I will be happy to
change messages in GRASS code according this proposal.

http://grass.gdf-hannover.de/wiki/Development_Specs#Standard_messages_sandbox

also

http://grass.gdf-hannover.de/wiki/Development_Specs#How_should_Errors.2FWarnings.2FMessages_be_formatted

Not important, but really pain for GRASS translators...

Martin

--
Martin Landa <landa.martin@gmail.com> * http://gama.fsv.cvut.cz/~landa *

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

Gerald Nelson
Professor, Dept. of Agricultural and Consumer Economics
University of Illinois, Urbana-Champaign
office: 217-333-6465
cell: 217-390-7888
315 Mumford Hall
1301 W. Gregory
Urbana, IL 61801