[GRASS-SVN] r64536 - grass/branches/releasebranch_6_4/vector/v.generalize

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 10 01:55:29 PST 2015


Author: neteler
Date: 2015-02-10 01:55:29 -0800 (Tue, 10 Feb 2015)
New Revision: 64536

Modified:
   grass/branches/releasebranch_6_4/vector/v.generalize/main.c
Log:
v.generalize: sync closing msg to G7

Modified: grass/branches/releasebranch_6_4/vector/v.generalize/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.generalize/main.c	2015-02-09 17:59:14 UTC (rev 64535)
+++ grass/branches/releasebranch_6_4/vector/v.generalize/main.c	2015-02-10 09:55:29 UTC (rev 64536)
@@ -497,10 +497,10 @@
 	    total_output += after;
 	}
 	if (not_modified_boundaries > 0)
-	    G_message(_("%d boundaries were not modified because modification would damage topology"),
+	    G_warning(_("%d boundaries were not modified because modification would damage topology"),
 		      not_modified_boundaries);
 	if (n_oversimplified > 0)
-	    G_message(_("%d lines/boundaries were not modified due to over-simplification"),
+	    G_warning(_("%d lines/boundaries were not modified due to over-simplification"),
 		      n_oversimplified);
 	G_message("-----------------------------------------------------");
 
@@ -515,12 +515,12 @@
 
     G_message("-----------------------------------------------------");
     if (total_input != 0 && total_input != total_output)
-	G_message(_("Number of vertices for selected lines %s from %d to %d (%d%%)."),
-		  simplification ? _("reduced") : _("changed"), 
-		  total_input, total_output,
-		  (total_output * 100) / total_input);
+	G_done_msg(_("Number of vertices for selected features %s from %d to %d (%d%% remaining)"),
+                   simplification ? _("reduced") : _("changed"), 
+                   total_input, total_output,
+                   (total_output * 100) / total_input);
+    else
+        G_done_msg(" ");
 
-    G_done_msg(" ");
-
     exit(EXIT_SUCCESS);
 }



More information about the grass-commit mailing list