16 #include <grass/gis.h>
17 #include <grass/glocale.h>
46 struct Cell_head *cellhd)
50 char real_name[GNAME_MAX], real_mapset[GMAPSET_MAX];
66 is_reclass = (
G_is_reclass(name, mapset, real_name, real_mapset) > 0);
71 _(
"Unable to read header file for raster map <%s@%s>."),
73 tail = buf + strlen(buf);
74 sprintf(tail, _(
" It is a reclass of raster map <%s@%s> "),
75 real_name, real_mapset);
76 tail = buf + strlen(buf);
78 sprintf(tail, _(
"which is missing."));
80 sprintf(tail, _(
"whose header file can't be opened."));
88 G_warning(_(
"Unable to open header file for raster map <%s@%s>"),
100 sprintf(buf, _(
"Unable to read header file for raster map <%s@%s>."),
102 tail = buf + strlen(buf);
105 _(
" It is a reclass of raster map <%s@%s> whose header file is invalid."),
106 real_name, real_mapset);
109 sprintf(tail, _(
" Invalid format."));
110 tail = buf + strlen(buf);