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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 16 13:40:32 EST 2008


Author: cdavilam
Date: 2008-01-16 13:40:32 -0500 (Wed, 16 Jan 2008)
New Revision: 29726

Modified:
   grass/trunk/lib/vector/Vlib/build_nat.c
   grass/trunk/lib/vector/Vlib/close.c
   grass/trunk/lib/vector/Vlib/map.c
   grass/trunk/lib/vector/Vlib/net.c
   grass/trunk/lib/vector/Vlib/overlay.c
   grass/trunk/lib/vector/Vlib/poly.c
   grass/trunk/lib/vector/Vlib/read.c
   grass/trunk/lib/vector/Vlib/sindex.c
   grass/trunk/lib/vector/Vlib/write.c
Log:
Typos and message standardization


Modified: grass/trunk/lib/vector/Vlib/build_nat.c
===================================================================
--- grass/trunk/lib/vector/Vlib/build_nat.c	2008-01-16 18:38:47 UTC (rev 29725)
+++ grass/trunk/lib/vector/Vlib/build_nat.c	2008-01-16 18:40:32 UTC (rev 29726)
@@ -523,7 +523,7 @@
 	    }
 	    i++; j++;
 	}
-	prnmsg ("\r%d %s      \n", plus->n_lines, _("primitives registered"));
+	prnmsg ("\r%d %s      \n", plus->n_lines, _("Primitives registered"));
 
 	plus->built = GV_BUILD_BASE;
     }
@@ -550,7 +550,7 @@
 		Vect_build_line_area ( Map, i, side );
 	    }
 	}
-	prnmsg ("\r%d %s      \n%d %s\n", plus->n_areas, _("areas built"), plus->n_isles, _("isles built"));
+	prnmsg ("\r%d %s      \n%d %s\n", plus->n_areas, _("Areas built"), plus->n_isles, _("Isles built"));
 	plus->built = GV_BUILD_AREAS;
     }
     

Modified: grass/trunk/lib/vector/Vlib/close.c
===================================================================
--- grass/trunk/lib/vector/Vlib/close.c	2008-01-16 18:38:47 UTC (rev 29725)
+++ grass/trunk/lib/vector/Vlib/close.c	2008-01-16 18:40:32 UTC (rev 29726)
@@ -123,7 +123,7 @@
     /* Close level 1 files / data sources if not head_only */
     if ( !Map->head_only ) {
 	if (  ((*Close_array[Map->format][1]) (Map)) != 0 ) { 
-	    G_warning (_("Unable close vector <%s>"),
+	    G_warning (_("Unable to close vector <%s>"),
 		       Vect_get_full_name(Map) );
 	    return 1;
 	}

Modified: grass/trunk/lib/vector/Vlib/map.c
===================================================================
--- grass/trunk/lib/vector/Vlib/map.c	2008-01-16 18:38:47 UTC (rev 29725)
+++ grass/trunk/lib/vector/Vlib/map.c	2008-01-16 18:40:32 UTC (rev 29726)
@@ -52,7 +52,7 @@
     Cats = Vect_new_cats_struct ();
    
     if ( Vect_level ( In ) < 1 )
-	G_fatal_error ("Vect_copy_map_lines(): %s", _("input vector map is not open"));
+	G_fatal_error ("Vect_copy_map_lines(): %s", _("Input vector map is not open"));
     
     ret = 0;
     /* Note: sometimes is important to copy on level 2 (pseudotopo centroids) 

Modified: grass/trunk/lib/vector/Vlib/net.c
===================================================================
--- grass/trunk/lib/vector/Vlib/net.c	2008-01-16 18:38:47 UTC (rev 29725)
+++ grass/trunk/lib/vector/Vlib/net.c	2008-01-16 18:40:32 UTC (rev 29726)
@@ -152,7 +152,7 @@
     else
         dglInitialize(gr, (dglByte_t)1, (dglInt32_t)0, (dglInt32_t)0, opaqueset);
 
-    if ( gr == NULL ) G_fatal_error (_("Unable build network graph")); 
+    if ( gr == NULL ) G_fatal_error (_("Unable to build network graph")); 
 
     db_init_handle (&handle);
     db_init_string ( &stmt);

Modified: grass/trunk/lib/vector/Vlib/overlay.c
===================================================================
--- grass/trunk/lib/vector/Vlib/overlay.c	2008-01-16 18:38:47 UTC (rev 29725)
+++ grass/trunk/lib/vector/Vlib/overlay.c	2008-01-16 18:40:32 UTC (rev 29726)
@@ -73,7 +73,7 @@
             Vect_overlay_and ( AMap, atype, AList, AAList, BMap, btype, BList, BAList, OMap );
             break;
 	default:
-	    G_fatal_error ("Vect_overlay(): %s", _("unknown operator"));
+	    G_fatal_error ("Vect_overlay(): %s", _("Unknown operator"));
     }
     
     return 0;

Modified: grass/trunk/lib/vector/Vlib/poly.c
===================================================================
--- grass/trunk/lib/vector/Vlib/poly.c	2008-01-16 18:38:47 UTC (rev 29725)
+++ grass/trunk/lib/vector/Vlib/poly.c	2008-01-16 18:40:32 UTC (rev 29726)
@@ -658,7 +658,7 @@
 	/* should not be reached (one condition is not necessary, but it is may be better readable
 	 * and it is a check) */
 	G_warning ("segments_x_ray() %s: X = %f Y = %f x1 = %f y1 = %f x2 = %f y2 = %f",
-		   _("conditions failed"), X, Y, x1, y1, x2, y2 );
+		   _("Conditions failed"), X, Y, x1, y1, x2, y2 );
     }
 
     return  n_intersects;

Modified: grass/trunk/lib/vector/Vlib/read.c
===================================================================
--- grass/trunk/lib/vector/Vlib/read.c	2008-01-16 18:38:47 UTC (rev 29725)
+++ grass/trunk/lib/vector/Vlib/read.c	2008-01-16 18:40:32 UTC (rev 29726)
@@ -96,7 +96,7 @@
     G_debug (3, "Vect_read_line()");
   
     if (!VECT_OPEN (Map))
-	G_fatal_error ("Vect_read_line(): %s", _("vector map is not opened"));
+	G_fatal_error ("Vect_read_line(): %s", _("Vector map is not opened"));
 
     if (line < 1 || line > Map->plus.n_lines)
         G_fatal_error (_("Vect_read_line(): line %d is not reasonable (max line in vector map: %d)"),

Modified: grass/trunk/lib/vector/Vlib/sindex.c
===================================================================
--- grass/trunk/lib/vector/Vlib/sindex.c	2008-01-16 18:38:47 UTC (rev 29725)
+++ grass/trunk/lib/vector/Vlib/sindex.c	2008-01-16 18:40:32 UTC (rev 29726)
@@ -94,7 +94,7 @@
     G_debug(3, "Vect_spatial_index_del_item(): id = %d", id );
 
     /* TODO */
-    G_fatal_error ("Vect_spatial_index_del_item() %s", _("not implemented"));
+    G_fatal_error ("Vect_spatial_index_del_item() %s", _("Not implemented"));
 
     /* Bounding box of item would be needed, which is not stored in si. */
     

Modified: grass/trunk/lib/vector/Vlib/write.c
===================================================================
--- grass/trunk/lib/vector/Vlib/write.c	2008-01-16 18:38:47 UTC (rev 29725)
+++ grass/trunk/lib/vector/Vlib/write.c	2008-01-16 18:40:32 UTC (rev 29726)
@@ -204,7 +204,7 @@
     
     if ( Map->mode != GV_MODE_RW && Map->mode != GV_MODE_WRITE ) {
 	G_fatal_error ( _("Unable to delete line %d, "
-			  "vector map <%s> is not in opened in 'write' mode"), line, Map->name );
+			  "vector map <%s> is not opened in 'write' mode"), line, Map->name );
     }
     
     dig_line_reset_updated ( &(Map->plus) );



More information about the grass-commit mailing list