[GRASS-CVS] carlos: grass6/raster/r.support/modcats modcats.c, 1.5, 1.6

grass at intevation.de grass at intevation.de
Wed Nov 28 13:25:59 EST 2007


Author: carlos

Update of /grassrepository/grass6/raster/r.support/modcats
In directory doto:/tmp/cvs-serv1162/r.support/modcats

Modified Files:
	modcats.c 
Log Message:
Message standardization


Index: modcats.c
===================================================================
RCS file: /grassrepository/grass6/raster/r.support/modcats/modcats.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- modcats.c	13 Dec 2006 16:10:27 -0000	1.5
+++ modcats.c	28 Nov 2007 18:25:56 -0000	1.6
@@ -50,7 +50,7 @@
                          "updated categories?"), name);
 
         if (mapset == NULL)
-            G_fatal_error(_("%s file [%s] not found!"), 
+            G_fatal_error(_("%s map <%s> not found"), 
                           vector ? "Vector" : "Raster", name);
     } else {
         strncpy(name, argv[1], sizeof(name));
@@ -58,7 +58,7 @@
                             G_find_cell2(name, G_mapset());
 
         if (mapset == NULL)
-            G_fatal_error(_("%s file [%s] not found!"), 
+            G_fatal_error(_("%s map <%s> not found"), 
                           vector ? "Vector" : "Raster", name);
     }
 
@@ -70,13 +70,13 @@
 
     if (!vector && G_raster_map_is_fp(name, mapset)) {
         if (E_edit_fp_cats(name, &cats) < 0) {
-            G_message(_("Category file for [%s] not updated."), name);
+            G_message(_("Category file for <%s> not updated"), name);
 
             return EXIT_SUCCESS;
         }
     } else {
         if (E_edit_cats(name, &cats, stat < 0) < 0) {
-            G_message(_("Category file for [%s] not updated."), name);
+            G_message(_("Category file for <%s> not updated"), name);
 
             return EXIT_SUCCESS;
         }
@@ -87,7 +87,7 @@
     else
         G_write_cats(name, &cats);
 
-    G_message(_("Category file for [%s] updated."), name);
+    G_message(_("Category file for <%s> updated"), name);
 
     return EXIT_SUCCESS;
 }




More information about the grass-commit mailing list