[GRASS-SVN] r47727 - grass/trunk/raster3d/r3.cross.rast
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 17 18:07:02 EDT 2011
Author: neteler
Date: 2011-08-17 15:07:02 -0700 (Wed, 17 Aug 2011)
New Revision: 47727
Modified:
grass/trunk/raster3d/r3.cross.rast/main.c
Log:
Milena Nowotarska: i18n cleanup; HTML cleanup
Modified: grass/trunk/raster3d/r3.cross.rast/main.c
===================================================================
--- grass/trunk/raster3d/r3.cross.rast/main.c 2011-08-17 22:03:26 UTC (rev 47726)
+++ grass/trunk/raster3d/r3.cross.rast/main.c 2011-08-17 22:07:02 UTC (rev 47727)
@@ -2,10 +2,10 @@
/****************************************************************************
*
* MODULE: r3.cross.rast
- *
+ *
* AUTHOR(S): Original author
* Soeren Gebbert soerengebbert at gmx de
- * 23 Feb 2006 Berlin
+ * 23 Feb 2006 Berlin
* PURPOSE: Creates a cross section 2D map from one RASTER3D raster map based on a 2D elevation map
*
* COPYRIGHT: (C) 2005 by the GRASS Development Team
@@ -52,7 +52,7 @@
if (map != NULL) {
if (!Rast3d_close(map))
- Rast3d_fatal_error(_("Could not close RASTER3D map"));
+ Rast3d_fatal_error(_("Unable to close 3D raster map"));
}
/*unopen the output map */
@@ -106,7 +106,7 @@
param.mask = G_define_flag();
param.mask->key = 'm';
- param.mask->description = _("Use g3d mask (if exists) with input map");
+ param.mask->description = _("Use 3D raster mask (if exists) with input map");
}
@@ -229,7 +229,7 @@
G_add_keyword(_("raster"));
G_add_keyword(_("voxel"));
module->description =
- _("Creates cross section 2D raster map from 3d raster map based on 2D elevation map");
+ _("Creates cross section 2D raster map from 3D raster map based on 2D elevation map");
/* Get parameters from user */
set_params();
@@ -241,7 +241,7 @@
G_debug(3, "Open 3D raster map %s", param.input->answer);
if (NULL == G_find_raster3d(param.input->answer, ""))
- Rast3d_fatal_error(_("3d raster map <%s> not found"),
+ Rast3d_fatal_error(_("3D raster map <%s> not found"),
param.input->answer);
/* Figure out the region from the map */
@@ -255,7 +255,7 @@
/*If not equal, set the 2D windows correct */
if (rows != region.rows || cols != region.cols) {
G_message
- (_("The 2d and 3d region settings are different. I will use the g3d settings to adjust the 2d region."));
+ (_("The 2D and 3D region settings are different. Using the 3D raster map settings to adjust the 2D region."));
G_get_set_window(&window2d);
window2d.ns_res = region.ns_res;
window2d.ew_res = region.ew_res;
@@ -275,7 +275,7 @@
RASTER3D_USE_CACHE_DEFAULT);
if (map == NULL)
- Rast3d_fatal_error(_("Error opening 3d raster map <%s>"),
+ Rast3d_fatal_error(_("Unable to open 3D raster map <%s>"),
param.input->answer);
/*Get the output type */
@@ -334,12 +334,12 @@
} else {
fatal_error(map, -1, -1,
- _("Wrong RASTER3D Datatype! Cannot create raster map."));
+ _("Wrong 3D raster datatype! Cannot create raster map"));
}
/* Close files and exit */
if (!Rast3d_close(map))
- Rast3d_fatal_error(_("Could not close RASTER3D map <%s>"),
+ Rast3d_fatal_error(_("Unable to close 3D raster map <%s>"),
param.input->answer);
return (EXIT_SUCCESS);
More information about the grass-commit
mailing list