Explorar o código

i.segment: clarify error message - group must be located in the current mapset

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64126 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=10) %!d(string=hai) anos
pai
achega
16fe2845a5
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      imagery/i.segment/open_files.c
  2. 1 1
      imagery/i.segment/write_output.c

+ 1 - 1
imagery/i.segment/open_files.c

@@ -37,7 +37,7 @@ int open_files(struct globals *globals)
     /* ****** open the input rasters ******* */
 
     if (!I_get_group_ref(globals->image_group, &Ref))
-	G_fatal_error(_("Unable to read REF file for group <%s>"),
+	G_fatal_error(_("Group <%s> not found in the current mapset"),
 		      globals->image_group);
 
     if (Ref.nfiles <= 0)

+ 1 - 1
imagery/i.segment/write_output.c

@@ -94,7 +94,7 @@ int write_output(struct globals *globals)
 
 	/* open input bands */
 	if (!I_get_group_ref(globals->image_group, &Ref))
-	    G_fatal_error(_("Unable to read REF file for group <%s>"),
+	    G_fatal_error(_("Group <%s> not found in the current mapset"),
 			  globals->image_group);
 	if (Ref.nfiles <= 0)
 	    G_fatal_error(_("Group <%s> contains no raster maps"),