[GRASS-CVS] markus: grass6/swig/perl/R_slope_aspect/r_slope_aspect r_slope_aspect.c, 1.6, 1.7

grass at intevation.de grass at intevation.de
Thu Nov 29 05:04:14 EST 2007


Author: markus

Update of /grassrepository/grass6/swig/perl/R_slope_aspect/r_slope_aspect
In directory doto:/tmp/cvs-serv11338

Modified Files:
	r_slope_aspect.c 
Log Message:
Message standardization (from original)

Index: r_slope_aspect.c
===================================================================
RCS file: /grassrepository/grass6/swig/perl/R_slope_aspect/r_slope_aspect/r_slope_aspect.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- r_slope_aspect.c	27 Nov 2007 18:25:55 -0000	1.6
+++ r_slope_aspect.c	29 Nov 2007 10:04:11 -0000	1.7
@@ -369,7 +369,7 @@
 	&& dxx_name == NULL && dyy_name == NULL && dxy_name == NULL)
     {
 	G_warning("You must specify at least one of the parameters:"
-		"\n<%s>, <%s>, <%s>, <%s>, <%s>, <%s>, <%s>, <%s>,  or <%s>\n", 
+		"\n<%s>, <%s>, <%s>, <%s>, <%s>, <%s>, <%s>, <%s> or <%s>.\n", 
 		parm.slope->key, parm.aspect->key, parm.pcurv->key, 
 		parm.tcurv->key, parm.dx->key, parm.dy->key, 
 		parm.dxx->key, parm.dyy->key, parm.dxy->key);
@@ -380,7 +380,7 @@
     /* check elevation file existence */
     mapset = G_find_cell2(elev_name, "");
     if (!mapset)
-        G_fatal_error (_("elevation file [%s] not found"), elev_name);
+        G_fatal_error (_("Raster map <%s> not found"), elev_name);
 
     /* set the window from the header for the elevation file */
     if (!flag.a->answer)
@@ -431,7 +431,7 @@
    /* give warning if location units are different from meters and zfactor=1*/
     factor = G_database_units_to_meters_factor();
     if (factor != 1.0)
-        G_warning("converting units to meters, factor=%.6f", factor);
+        G_warning("Converting units to meters, factor=%.6f", factor);
 
     G_begin_distance_calculations();
     north = G_row_to_northing(0.5, &window);
@@ -1052,7 +1052,7 @@
         G_read_raster_cats (aspect_name, G_mapset(), &cats);
         G_set_raster_cats_title ("Aspect counterclockwise in degrees from east", &cats);
 
-	G_message(_("min computed aspect %.4f  max computed aspect %.4f"), min_asp, max_asp);
+	G_message(_("Min computed aspect %.4f, max computed aspect %.4f"), min_asp, max_asp);
 	/* the categries quant intervals are 1.0 long, plus
 	   we are using reverse order so that the label looked up
 	   for i-.5 is not the one defined for i-.5, i+.5 interval, but
@@ -1145,7 +1145,7 @@
         if(deg) G_set_raster_cats_title ("slope in degrees", &cats);
         else if(perc) G_set_raster_cats_title ("percent slope", &cats);
 
-	G_message(_("min computed slope %.4f  max computed slope %.4f"), min_slp, max_slp);
+	G_message(_("Min computed slope %.4f, max computed slope %.4f"), min_slp, max_slp);
 	/* the categries quant intervals are 1.0 long, plus
 	   we are using reverse order so that the label looked up
 	   for i-.5 is not the one defined for i-.5, i+.5 interval, but




More information about the grass-commit mailing list