[GRASS-SVN] r41546 - grass/branches/develbranch_6/raster/r.terraflow

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 25 20:45:57 EDT 2010


Author: hamish
Date: 2010-03-25 20:45:56 -0400 (Thu, 25 Mar 2010)
New Revision: 41546

Modified:
   grass/branches/develbranch_6/raster/r.terraflow/grass2str.h
Log:
more message tweaks to help figure out #1006

Modified: grass/branches/develbranch_6/raster/r.terraflow/grass2str.h
===================================================================
--- grass/branches/develbranch_6/raster/r.terraflow/grass2str.h	2010-03-25 22:13:55 UTC (rev 41545)
+++ grass/branches/develbranch_6/raster/r.terraflow/grass2str.h	2010-03-26 00:45:56 UTC (rev 41546)
@@ -21,6 +21,7 @@
 #define _gras2str_H
 
 #include <grass/iostream/ami.h>
+#include <grass/glocale.h>
 #include "option.h"
 #include "types.h"
 #include "common.h"
@@ -48,12 +49,11 @@
   { 
     char * foo;
     str->name(&foo); 
-    *stats << "reading raster map " << cellname 
-		   << "to stream " << foo << endl;
-    if (opt->verbose) 
-      fprintf(stderr, "reading data from %s to stream %s: ", cellname, foo);
+    *stats << "Reading raster map <" << cellname 
+		   << "> to stream <" << foo << ">." << endl;
+    G_verbose_message(_("Reading data from <%s> to stream <%s>"), cellname, foo);
   }
-  
+
   char *mapset;
   mapset = G_find_cell (cellname, "");
   if (mapset == NULL)



More information about the grass-commit mailing list