[GRASS5] Re: [GRASS-CVS] xxxx: grass6/lib/rst/interp_float segmen2d.c,2.2,2.3

Dear developers,

a shy wish... If you modify GRASS messages, please take
one more minute to internationalize it. It's simply done
by
- adding #include "glocale.h" on top of the file
- adding the gettext macro _()

This would help a lot!

Thanks

Markus

On Sat, Jun 04, 2005 at 08:02:17AM +0200, grass@intevation.de wrote:

Update of /grassrepository/grass6/lib/rst/interp_float
In directory doto:/tmp/cvs-serv21017

Modified Files:
  segmen2d.c
Log Message:
change warning message so it doesn't clobber G_percent()

Index: segmen2d.c

RCS file: /grassrepository/grass6/lib/rst/interp_float/segmen2d.c,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -d -r2.2 -r2.3
--- segmen2d.c 3 Jan 2005 04:03:18 -0000 2.2
+++ segmen2d.c 4 Jun 2005 06:02:15 -0000 2.3
@@ -118,7 +118,10 @@
   {
       if (i >= 70)
       {
- fprintf(stderr,"Warning: taking too long to find points for interpolation--please change the region to area where your points are. Continuing calculations...\n");
+ fprintf(stderr, "\n");
+ G_warning("taking too long to find points for interpolation--"
+ "please change the region to area where your points are. "
+ "Continuing calculations...");
     break;
       }
       i++;

Index: segmen2d.c

RCS file: /grassrepository/grass6/lib/rst/interp_float/segmen2d.c,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -d -r2.2 -r2.3
--- segmen2d.c 3 Jan 2005 04:03:18 -0000 2.2
+++ segmen2d.c 4 Jun 2005 06:02:15 -0000 2.3
@@ -118,7 +118,10 @@

...

a shy wish... If you modify GRASS messages, please take
one more minute to internationalize it. It's simply done
by
- adding #include "glocale.h" on top of the file
- adding the gettext macro _()

This would help a lot!

sorry about that. I blame my upbringing and the NY school system.

Hamish