[GRASS-SVN] r44459 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 28 11:22:35 EST 2010


Author: mmetz
Date: 2010-11-28 08:22:35 -0800 (Sun, 28 Nov 2010)
New Revision: 44459

Modified:
   grass/trunk/lib/vector/Vlib/dangles.c
Log:
print appropriate messages

Modified: grass/trunk/lib/vector/Vlib/dangles.c
===================================================================
--- grass/trunk/lib/vector/Vlib/dangles.c	2010-11-28 16:21:31 UTC (rev 44458)
+++ grass/trunk/lib/vector/Vlib/dangles.c	2010-11-28 16:22:35 UTC (rev 44459)
@@ -147,13 +147,13 @@
 
     if (option == CHTYPE_DANGLE) {
 	type = GV_BOUNDARY;	/* process boundaries only */
-	lmsg = "changed lines";
+	lmsg = _("Changed");
     }
     else if (option == REMOVE_DANGLE) {
-	lmsg = "removed lines";
+	lmsg = _("Removed");
     }
     else {
-	lmsg = "selected lines";
+	lmsg = _("Selected");
     }
 
     if (List_dangle)
@@ -261,6 +261,6 @@
 	    dangles_removed++;
 	}			/* lcount == 1 */
     }				/* node <= nnodes */
-    G_verbose_message("Removed lines: %d", lines_removed);
-    G_verbose_message("Removed dangles: %d", dangles_removed);
+    G_verbose_message(_("%s lines: %d"), lmsg, lines_removed);
+    G_verbose_message(_("%s dangles: %d"), lmsg, dangles_removed);
 }



More information about the grass-commit mailing list