[QGIS Commit] r12883 - trunk/qgis/src/providers/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Feb 4 17:49:04 EST 2010


Author: rblazek
Date: 2010-02-04 17:49:00 -0500 (Thu, 04 Feb 2010)
New Revision: 12883

Modified:
   trunk/qgis/src/providers/grass/qgis.d.rast.c
   trunk/qgis/src/providers/grass/qgis.g.info.c
Log:
removed translation, causing compilation problems

Modified: trunk/qgis/src/providers/grass/qgis.d.rast.c
===================================================================
--- trunk/qgis/src/providers/grass/qgis.d.rast.c	2010-02-04 22:27:37 UTC (rev 12882)
+++ trunk/qgis/src/providers/grass/qgis.d.rast.c	2010-02-04 22:49:00 UTC (rev 12883)
@@ -36,11 +36,11 @@
     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";
@@ -66,7 +66,7 @@
     /* 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);
@@ -89,7 +89,7 @@
     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);
 
@@ -124,7 +124,7 @@
 
     /* 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);

Modified: trunk/qgis/src/providers/grass/qgis.g.info.c
===================================================================
--- trunk/qgis/src/providers/grass/qgis.g.info.c	2010-02-04 22:27:37 UTC (rev 12882)
+++ trunk/qgis/src/providers/grass/qgis.g.info.c	2010-02-04 22:49:00 UTC (rev 12883)
@@ -31,7 +31,7 @@
     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";
@@ -109,7 +109,7 @@
           {
             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] );
@@ -118,7 +118,7 @@
           { 
             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] );



More information about the QGIS-commit mailing list