[GRASS-SVN] r47652 - in grass/branches/develbranch_6: lib/gpde raster/r.univar2

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 15 12:33:59 EDT 2011


Author: neteler
Date: 2011-08-15 09:33:59 -0700 (Mon, 15 Aug 2011)
New Revision: 47652

Modified:
   grass/branches/develbranch_6/lib/gpde/N_arrays_io.c
   grass/branches/develbranch_6/raster/r.univar2/r3.univar_main.c
Log:
msg standardization

Modified: grass/branches/develbranch_6/lib/gpde/N_arrays_io.c
===================================================================
--- grass/branches/develbranch_6/lib/gpde/N_arrays_io.c	2011-08-15 16:26:45 UTC (rev 47651)
+++ grass/branches/develbranch_6/lib/gpde/N_arrays_io.c	2011-08-15 16:33:59 UTC (rev 47652)
@@ -16,9 +16,10 @@
 *
 *****************************************************************************/
 
+#include <math.h>
+
 #include "grass/N_pde.h"
 #include "grass/glocale.h"
-#include <math.h>
 
 /* ******************** 2D ARRAY FUNCTIONS *********************** */
 
@@ -292,7 +293,7 @@
 
 
     if (NULL == G_find_grid3(name, ""))
-	G3d_fatalError(_("Requested g3d map <%s> not found"), name);
+	G3d_fatalError(_("3D raster map <%s> not found"), name);
 
     /*Open all maps with default region */
     map =
@@ -300,7 +301,7 @@
 			G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
 
     if (map == NULL)
-	G3d_fatalError(_("Error opening g3d map <%s>"), name);
+	G3d_fatalError(_("Unable to open 3D raster map <%s>"), name);
 
     type = G3d_tileTypeMap(map);
 

Modified: grass/branches/develbranch_6/raster/r.univar2/r3.univar_main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.univar2/r3.univar_main.c	2011-08-15 16:26:45 UTC (rev 47651)
+++ grass/branches/develbranch_6/raster/r.univar2/r3.univar_main.c	2011-08-15 16:33:59 UTC (rev 47652)
@@ -144,23 +144,23 @@
     /* open 3D zoning raster with default region */
     if ((zonemap = param.zonefile->answer) != NULL) {
 	if (NULL == (mapset = G_find_grid3(zonemap, "")))
-	    G3d_fatalError(_("Requested g3d map <%s> not found"), zonemap);
+	    G3d_fatalError(_("3D raster map <%s> not found"), zonemap);
 
 	zmap =
 	    G3d_openCellOld(zonemap, G_find_grid3(zonemap, ""), &region,
 			    G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
 
 	if (zmap == NULL)
-	    G3d_fatalError(_("Error opening g3d map <%s>"), zonemap);
+	    G3d_fatalError(_("Unable to open 3D raster map <%s>"), zonemap);
 
 	zmap_type = G3d_tileTypeMap(zmap);
 	
 	if (G3d_readCats(zonemap, mapset, &(zone_info.cats)))
-	    G_warning("no category support for zoning raster");
+	    G_warning("No category support for zoning raster");
 	    
 	G3d_range_init(zmap);
 	if (!G3d_range_load(zmap))
-	    G_fatal_error(_("Unable it load G3d range"));
+	    G_fatal_error(_("Unable to load 3D raster range"));
 	G3d_range_min_max(zmap, &dmin, &dmax);
 
 	/* properly round dmin and dmax */
@@ -183,14 +183,14 @@
     infile = param.inputfile->answer;
 
     if (NULL == G_find_grid3(infile, ""))
-	G3d_fatalError(_("Requested g3d map <%s> not found"), infile);
+	G3d_fatalError(_("3D raster map <%s> not found"), infile);
 
     map =
 	G3d_openCellOld(infile, G_find_grid3(infile, ""), &region,
 			G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
 
     if (map == NULL)
-	G3d_fatalError(_("Error opening g3d map <%s>"), infile);
+	G3d_fatalError(_("Unable to open 3D raster map <%s>"), infile);
 
     map_type = G3d_tileTypeMap(map);
 



More information about the grass-commit mailing list