[GRASS-SVN] r53021 - grass/trunk/imagery/i.latlong

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 31 04:00:05 PDT 2012


Author: martinl
Date: 2012-08-31 04:00:03 -0700 (Fri, 31 Aug 2012)
New Revision: 53021

Modified:
   grass/trunk/imagery/i.latlong/main.c
Log:
i.latlong: cosmetics in description/messages


Modified: grass/trunk/imagery/i.latlong/main.c
===================================================================
--- grass/trunk/imagery/i.latlong/main.c	2012-08-31 10:55:08 UTC (rev 53020)
+++ grass/trunk/imagery/i.latlong/main.c	2012-08-31 11:00:03 UTC (rev 53021)
@@ -4,11 +4,11 @@
  * AUTHOR(S):    Yann Chemin - yann.chemin at gmail.com
  * PURPOSE:      Calculates the longitude of the pixels in the map. 
  *
- * COPYRIGHT:    (C) 2002-2008 by the GRASS Development Team
+ * COPYRIGHT: (C) 2002-2008, 2012 by the GRASS Development Team
  *
- *               This program is free software under the GNU General Public
- *   	    	 License (>=v2). Read the file COPYING that comes with GRASS
- *   	    	 for details.
+ *               This program is free software under the GNU General
+ *   	    	 Public License (>=v2). Read the file COPYING that
+ *   	    	 comes with GRASS for details.
  *
  *****************************************************************************/
     
@@ -57,14 +57,13 @@
     G_add_keyword(_("latitude"));
     G_add_keyword(_("longitude"));
     G_add_keyword(_("projection"));
-    module->description = _("Creates a latitude/longitude map.");
+    module->description = _("Creates a latitude/longitude raster map.");
     
     /* Define the different options */ 
     input1 = G_define_standard_option(G_OPT_R_INPUT);
-    input1->description = _("Name of the input map");
 
     output1 = G_define_standard_option(G_OPT_R_OUTPUT);
-    output1->description = _("Name of the output latitude or longitude layer");
+    output1->description = _("Name for output latitude or longitude raster map");
     
     flag1 = G_define_flag();
     flag1->key = 'l';
@@ -99,11 +98,11 @@
 	not_ll = 1;
 
 	if ((in_proj_info = G_get_projinfo()) == NULL)
-	    G_fatal_error(_("Can't get projection info of current location"));
+	    G_fatal_error(_("Unable to get projection info of current location"));
 	if ((in_unit_info = G_get_projunits()) == NULL)
-	    G_fatal_error(_("Can't get projection units of current location"));
+	    G_fatal_error(_("Unable to get projection units of current location"));
 	if (pj_get_kv(&iproj, in_proj_info, in_unit_info) < 0)
-	    G_fatal_error(_("Can't get projection key values of current location"));
+	    G_fatal_error(_("Unable to get projection key values of current location"));
 	G_free_key_value(in_proj_info);
 	G_free_key_value(in_unit_info);
 	



More information about the grass-commit mailing list