Skip to content

Commit

Permalink
removed translation, causing compilation problems
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12883 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Feb 4, 2010
1 parent ee647d4 commit 36672e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/providers/grass/qgis.d.rast.c
Expand Up @@ -36,11 +36,11 @@ int main(int argc, char **argv)
G_gisinit(argv[0]);

module = G_define_module();
module->keywords = _("display, raster");
module->description = _("Output raster map layers in a format suitable for display in QGIS");
module->keywords = ("display, raster");
module->description = ("Output raster map layers in a format suitable for display in QGIS");

map = G_define_standard_option(G_OPT_R_MAP);
map->description = _("Raster map to be displayed");
map->description = ("Raster map to be displayed");

win = G_define_option();
win->key = "window";
Expand All @@ -66,7 +66,7 @@ int main(int argc, char **argv)
/* Make sure map is available */
mapset = G_find_cell2(name, "");
if (mapset == NULL)
G_fatal_error(_("Raster map <%s> not found"), name);
G_fatal_error(("Raster map <%s> not found"), name);


fp = G_raster_map_is_fp(name, mapset);
Expand All @@ -89,7 +89,7 @@ int display(char *name,
struct Colors colors;

if (G_read_colors(name, mapset, &colors) == -1)
G_fatal_error(_("Color file for <%s> not available"), name);
G_fatal_error(("Color file for <%s> not available"), name);

//G_set_null_value_color(r, g, b, &colors);

Expand Down Expand Up @@ -124,7 +124,7 @@ static int cell_draw(char *name,

/* Make sure map is available */
if ((cellfile = G_open_cell_old(name, mapset)) == -1)
G_fatal_error(_("Unable to open raster map <%s>"), name);
G_fatal_error(("Unable to open raster map <%s>"), name);

/* Allocate space for cell buffer */
xarray = G_allocate_raster_buf(data_type);
Expand Down
6 changes: 3 additions & 3 deletions src/providers/grass/qgis.g.info.c
Expand Up @@ -31,7 +31,7 @@ int main(int argc, char **argv)
G_gisinit(argv[0]);

module = G_define_module();
module->description = _("Get info about locations,mapsets,maps");
module->description = ("Get info about locations,mapsets,maps");

info_opt = G_define_option();
info_opt->key = "info";
Expand Down Expand Up @@ -109,7 +109,7 @@ int main(int argc, char **argv)
{
if (G_get_c_raster_row(fd, cell, row) < 0)
{
G_fatal_error(_("Unable to read raster map <%s> row %d"),
G_fatal_error(("Unable to read raster map <%s> row %d"),
rast_opt->answer, row);
}
fprintf (stdout, "value:%d\n", cell[col] );
Expand All @@ -118,7 +118,7 @@ int main(int argc, char **argv)
{
if (G_get_d_raster_row(fd, dcell, row) < 0)
{
G_fatal_error(_("Unable to read raster map <%s> row %d"),
G_fatal_error(("Unable to read raster map <%s> row %d"),
rast_opt->answer, row);
}
fprintf (stdout, "value:%f\n", dcell[col] );
Expand Down

0 comments on commit 36672e6

Please sign in to comment.