[GRASS-SVN] r47588 - grass/trunk/raster3d/r3.to.rast

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 11 18:22:00 EDT 2011


Author: neteler
Date: 2011-08-11 15:22:00 -0700 (Thu, 11 Aug 2011)
New Revision: 47588

Modified:
   grass/trunk/raster3d/r3.to.rast/main.c
   grass/trunk/raster3d/r3.to.rast/r3.to.rast.html
Log:
Milena Nowotarska: i18n cleanup; HTML cleanup

Modified: grass/trunk/raster3d/r3.to.rast/main.c
===================================================================
--- grass/trunk/raster3d/r3.to.rast/main.c	2011-08-11 22:16:24 UTC (rev 47587)
+++ grass/trunk/raster3d/r3.to.rast/main.c	2011-08-11 22:22:00 UTC (rev 47588)
@@ -52,7 +52,7 @@
     /* Close files and exit */
     if (map != NULL) {
         if (!Rast3d_closeCell(map))
-            Rast3d_fatalError(_("Unable to close the 3d raster map"));
+            Rast3d_fatalError(_("Unable to close 3Draster map"));
     }
 
     if (fd != NULL) {
@@ -77,7 +77,7 @@
     param.input->required = YES;
     param.input->gisprompt = "old,grid3,3d-raster";
     param.input->description =
-        _("3d raster map(s) to be converted to 2D raster slices");
+        _("3D raster map(s) to be converted to 2D raster slices");
 
     param.output = G_define_option();
     param.output->key = "output";
@@ -88,12 +88,12 @@
 
     param.mask = G_define_flag();
     param.mask->key = 'm';
-    param.mask->description = _("Use RASTER3D mask (if exists) with input map");
+    param.mask->description = _("Use 3D raster mask (if exists) with input map");
 
     param.res = G_define_flag();
     param.res->key = 'r';
     param.res->description =
-        _("Use the same resolution as the input RASTER3D map for the 2d output "
+        _("Use the same resolution as the input 3D raster map for the 2D output "
           "maps, independent of the current region settings");
 }
 
@@ -215,10 +215,10 @@
     if (G_parser(argc, argv))
         exit(EXIT_FAILURE);
 
-    G_debug(3, _("Open 3d raster map <%s>"), param.input->answer);
+    G_debug(3, _("Open 3D raster map <%s>"), param.input->answer);
 
     if (NULL == G_find_grid3(param.input->answer, ""))
-        Rast3d_fatalError(_("3d raster map <%s> not found"),
+        Rast3d_fatalError(_("3D raster map <%s> not found"),
                        param.input->answer);
 
     /*Set the defaults */
@@ -257,7 +257,7 @@
                               RASTER3D_USE_CACHE_DEFAULT);
 
         if (map == NULL)
-            Rast3d_fatalError(_("Error opening 3d raster map <%s>"),
+            Rast3d_fatalError(_("Error opening 3D raster map <%s>"),
                            param.input->answer);
     }
 
@@ -267,7 +267,7 @@
 
     /*If not equal, set the 3D window correct */
     if (rows != region.rows || cols != region.cols) {
-        G_message(_("The 2d and 3d region settings are different. "
+        G_message(_("The 2D and 3D region settings are different. "
                     "Using the 2D window settings to adjust the 2D part of the 3D region."));
         G_get_set_window(&region2d);
         region.ns_res = region2d.ns_res;

Modified: grass/trunk/raster3d/r3.to.rast/r3.to.rast.html
===================================================================
--- grass/trunk/raster3d/r3.to.rast/r3.to.rast.html	2011-08-11 22:16:24 UTC (rev 47587)
+++ grass/trunk/raster3d/r3.to.rast/r3.to.rast.html	2011-08-11 22:22:00 UTC (rev 47588)
@@ -1,36 +1,36 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
 
-Converts one RASTER3D raster map into several 2D raster maps (depends on depths). 
-If the 2D and 3D region settings are different,
-the 3D resolution will be adjust to the 2D resolution (the depths are not touched!).
-You can force r3.to.rast to use the 2D resolution of the input RASTER3D map for the output maps, 
-independently from the current region settings.
+Converts one 3D raster map into several 2D raster maps (depends on depths). 
+If the 2D and 3D region settings are different, the 3D resolution will be 
+adjusted to the 2D resolution (the depths are not touched).
+The user can force <em>r3.to.rast</em> to use the 2D resolution of the input 
+3D raster map for the output maps, independently from the current region settings.
 
 <center>
-<img src=r3.to.rast.png border=0><BR>
+<img src=r3.to.rast.png border=0><br>
 <table border=0 width=700>
 <tr><td><center>
-<i>How r3.to.rast works</i>
+<em>How r3.to.rast works</em>
 </center></td></tr>
 </table>
 </center>
 
 
-<H2>NOTES</H2>
-Every slice of the RASTER3D map is copied to one 2D raster map. The maps
-are named like <B>output</B><I>_slicenumber</I>. Slices are counted from bottom
+<h2>NOTES</h2>
+Every slice of the 3D raster map is copied to one 2D raster map. The maps
+are named like <b>output</b><em>_slicenumber</em>. Slices are counted from bottom
 to the top, so the bottom slice has number 1. 
 
 The number of slices is equal to the number of depths.
 
-<H2>SEE ALSO</H2>
+<h2>SEE ALSO</h2>
 
-<EM><A HREF="r3.cross.rast.html">r3.cross.rast</A></EM><br>
-<EM><A HREF="r3.out.vtk.html">r3.out.vtk</A></EM><br>
-<EM><A HREF="r3.out.ascii.html">r3.out.ascii</A></EM><br>
-<EM><A HREF="g.region.html">g.region</A></EM><br>
+<em><a href="r3.cross.rast.html">r3.cross.rast</a></em><br>
+<em><a href="r3.out.vtk.html">r3.out.vtk</a></em><br>
+<em><a href="r3.out.ascii.html">r3.out.ascii</a></em><br>
+<em><a href="g.region.html">g.region</a></em><br>
 
-<H2>AUTHOR</H2>
+<h2>AUTHOR</h2>
 Soeren Gebbert
 
 <p><i>Last changed: $Date$</i>



More information about the grass-commit mailing list