|
@@ -1,7 +1,5 @@
|
|
|
#include <string.h>
|
|
|
-
|
|
|
#include <grass/gis.h>
|
|
|
-#include <grass/manage.h>
|
|
|
#include <grass/raster.h>
|
|
|
#include <grass/glocale.h>
|
|
|
|
|
@@ -18,8 +16,7 @@ int check_reclass(const char *name, const char *mapset, int force)
|
|
|
G_warning(_("Raster map <%s@%s> is a base map for <%s>. Remove forced."),
|
|
|
name, mapset, *rmaps);
|
|
|
else
|
|
|
- G_warning(_
|
|
|
- ("Raster map <%s@%s> is a base map. Remove reclassed map first: %s"),
|
|
|
+ G_warning(_("Raster map <%s@%s> is a base map. Remove reclassed map <%s> first."),
|
|
|
name, mapset, *rmaps);
|
|
|
}
|
|
|
|
|
@@ -41,8 +38,7 @@ int check_reclass(const char *name, const char *mapset, int force)
|
|
|
if (nrmaps == 1 && !G_strcasecmp(rmaps[0], qname)) {
|
|
|
|
|
|
if (remove(path) < 0)
|
|
|
- G_warning(_
|
|
|
- ("Removing information about reclassed map from [%s@%s] failed"),
|
|
|
+ G_warning(_("Removing information about reclassed map from <%s@%s> failed"),
|
|
|
rname, rmapset);
|
|
|
}
|
|
|
else {
|
|
@@ -55,10 +51,8 @@ int check_reclass(const char *name, const char *mapset, int force)
|
|
|
fclose(fp);
|
|
|
}
|
|
|
else
|
|
|
- G_warning(_
|
|
|
- ("Removing information about reclassed map from [%s@%s] failed"),
|
|
|
+ G_warning(_("Removing information about reclassed map from <%s@%s> failed"),
|
|
|
rname, rmapset);
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
|