[GRASS-SVN] r47507 - grass/branches/releasebranch_6_4/raster3d/base
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 9 12:52:38 EDT 2011
Author: neteler
Date: 2011-08-09 09:52:38 -0700 (Tue, 09 Aug 2011)
New Revision: 47507
Modified:
grass/branches/releasebranch_6_4/raster3d/base/r3.mask.main.c
Log:
Milena Nowotarska: message standardization
Modified: grass/branches/releasebranch_6_4/raster3d/base/r3.mask.main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster3d/base/r3.mask.main.c 2011-08-09 16:44:29 UTC (rev 47506)
+++ grass/branches/releasebranch_6_4/raster3d/base/r3.mask.main.c 2011-08-09 16:52:38 UTC (rev 47507)
@@ -41,7 +41,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";
@@ -75,13 +75,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, ®ion);
@@ -92,7 +92,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);
@@ -134,9 +134,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);
}
/*--------------------------------------------------------------------------*/
More information about the grass-commit
mailing list