[GRASS-SVN] r47509 - grass/trunk/raster3d/base

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 9 12:55:14 EDT 2011


Author: neteler
Date: 2011-08-09 09:55:14 -0700 (Tue, 09 Aug 2011)
New Revision: 47509

Modified:
   grass/trunk/raster3d/base/r3.mask.main.c
Log:
Milena Nowotarska: message standardization

Modified: grass/trunk/raster3d/base/r3.mask.main.c
===================================================================
--- grass/trunk/raster3d/base/r3.mask.main.c	2011-08-09 16:52:49 UTC (rev 47508)
+++ grass/trunk/raster3d/base/r3.mask.main.c	2011-08-09 16:55:14 UTC (rev 47509)
@@ -55,13 +55,13 @@
     cacheSize = G3d_cacheSizeEncode(G3D_USE_CACHE_XY, 1);
 
     if (NULL == G_find_grid3(name, ""))
-	G3d_fatalError(_("Requested 3d raster map not found"));
+	G3d_fatalError(_("3D raster map <%s> not found"), name);
 
     map = G3d_openCellOld(name, G_mapset(), G3D_DEFAULT_WINDOW,
 			  DCELL_TYPE, cacheSize);
 
     if (map == NULL)
-	G3d_fatalError(_("makeMask: error opening map."));
+	G3d_fatalError(_("Unable to open 3D raster map <%s>"), name);
 
     G3d_getRegionStructMap(map, &region);
 
@@ -72,7 +72,7 @@
 			    tileX, tileY, tileZ);
 
     if (mask == NULL)
-	G3d_fatalError(_("makeMask: error opening g3d mask file"));
+	G3d_fatalError(_("Unable to open 3D raster mask file"));
 
     G3d_minUnlocked(map, G3D_USE_CACHE_X);
     G3d_autolockOn(map);
@@ -114,9 +114,9 @@
     G3d_unlockAll(mask);
 
     if (!G3d_closeCell(mask))
-	G3d_fatalError(_("makeMask: error closing g3d mask file"));
+	G3d_fatalError(_("Unable to close 3D raster mask file"));
     if (!G3d_closeCell(map))
-	G3d_fatalError(_("makeMask: error closing map"));
+	G3d_fatalError(_("Unable to close raster map <%s>"), name);
 }
 
 /*--------------------------------------------------------------------------*/
@@ -141,7 +141,7 @@
     params.map->required = YES;
     params.map->multiple = NO;
     params.map->gisprompt = "old,grid3,3d-raster";
-    params.map->description = _("3d raster map with reference values");
+    params.map->description = _("3D raster map with reference values");
 
     params.maskVals = G_define_option();
     params.maskVals->key = "maskvalues";



More information about the grass-commit mailing list