[GRASS-SVN] r47505 - grass/branches/develbranch_6/raster3d/base
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 9 12:43:36 EDT 2011
Author: neteler
Date: 2011-08-09 09:43:36 -0700 (Tue, 09 Aug 2011)
New Revision: 47505
Modified:
grass/branches/develbranch_6/raster3d/base/r3.info.main.c
Log:
Milena Nowotarska: message standardization
Modified: grass/branches/develbranch_6/raster3d/base/r3.info.main.c
===================================================================
--- grass/branches/develbranch_6/raster3d/base/r3.info.main.c 2011-08-09 16:43:26 UTC (rev 47504)
+++ grass/branches/develbranch_6/raster3d/base/r3.info.main.c 2011-08-09 16:43:36 UTC (rev 47505)
@@ -118,14 +118,14 @@
name = G_store(opt1->answer);
if ((mapset = G_find_grid3(name, "")) == NULL)
- G_fatal_error(_("Raster map <%s> not found"), name);
+ G_fatal_error(_("3D Raster map <%s> not found"), name);
/*We need to open the map */
g3map =
G3d_openCellOld(name, mapset, G3D_DEFAULT_WINDOW,
G3D_TILE_SAME_AS_FILE, G3D_NO_CACHE);
if (NULL == g3map)
- G_fatal_error(_("Error opening grid3 file [%s]"), name);
+ G_fatal_error(_("Unable to open 3D raster map <%s>"), name);
/*Get the maptype */
data_type = G3d_fileTypeMap(g3map);
@@ -284,7 +284,7 @@
else
G_fatal_error(_("Cannot allocate memory for string"));
if (0 == G3d_range_load(g3map))
- G_fatal_error(_("Error reading range for [%s]"), name);
+ G_fatal_error(_("Unable to read range of 3D raster map <%s>"), name);
G3d_range_min_max(g3map, &dmin, &dmax);
format_double(dmin, tmp1);
@@ -346,7 +346,7 @@
else { /* Range */
if (rflag->answer) {
if (0 == G3d_range_load(g3map))
- G_fatal_error(_("Error reading range for [%s]"), name);
+ G_fatal_error(_("Unable to read range of 3D raster map <%s>"), name);
G3d_range_min_max(g3map, &dmin, &dmax);
fprintf(out, "min=%f\n", dmin);
@@ -422,7 +422,7 @@
/*Close the opened map */
if (!G3d_closeCell(g3map))
- G_fatal_error(_("Error closing 3d raster map"));
+ G_fatal_error(_("Unable to close 3D raster map <%s>"), name);
return 0;
More information about the grass-commit
mailing list