[GRASS-SVN] r66327 - grass/trunk/scripts/v.what.strds

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 25 03:59:31 PDT 2015


Author: neteler
Date: 2015-09-25 03:59:31 -0700 (Fri, 25 Sep 2015)
New Revision: 66327

Modified:
   grass/trunk/scripts/v.what.strds/v.what.strds.py
Log:
v.what.strds: fix English in msgs; gcopy

Modified: grass/trunk/scripts/v.what.strds/v.what.strds.py
===================================================================
--- grass/trunk/scripts/v.what.strds/v.what.strds.py	2015-09-25 10:32:20 UTC (rev 66326)
+++ grass/trunk/scripts/v.what.strds/v.what.strds.py	2015-09-25 10:59:31 UTC (rev 66327)
@@ -44,8 +44,8 @@
 
 #%flag
 #% key: u
-#% label: Update input vector
-#% description: Instead create a new vector update the input vector with the values
+#% label: Update attribute table of input vector map
+#% description: Instead of creating a new vector map update the attribute table with value(s)
 #%end
 
 import grass.script as grass
@@ -99,7 +99,7 @@
     elif not output and not flags['u']:
         grass.fatal(_("'output' option or 'u' flag must be given"))
     elif not output and flags['u']:
-        grass.warning(_("Vector {name} will be update...").format(name=input))
+        grass.warning(_("Attribute table of vector {name} will be updated...").format(name=input))
 
     if where == "" or where == " " or where == "\n":
         where = None
@@ -187,7 +187,7 @@
 
     # Get the layer and database connections of the input vector
     if output:
-        gcopy(input, output, 'vect')
+        gcopy(input, output, 'vector')
     else:
         output = input
 



More information about the grass-commit mailing list