[GRASS-SVN] r73103 - grass/trunk/scripts/i.spectral

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 15 01:52:11 PDT 2018


Author: marisn
Date: 2018-08-15 01:52:11 -0700 (Wed, 15 Aug 2018)
New Revision: 73103

Modified:
   grass/trunk/scripts/i.spectral/i.spectral.py
Log:
i.spectral: Mark user visible strings for translation


Modified: grass/trunk/scripts/i.spectral/i.spectral.py
===================================================================
--- grass/trunk/scripts/i.spectral/i.spectral.py	2018-08-15 07:43:42 UTC (rev 73102)
+++ grass/trunk/scripts/i.spectral/i.spectral.py	2018-08-15 08:52:11 UTC (rev 73103)
@@ -196,8 +196,8 @@
     colors = colors[0:len(what)]
 
     gcore.run_command('d.linegraph', x_file=xfile, y_file=yfiles,
-                      y_color=colors, title='Spectral signatures',
-                      x_title='Bands', y_title='DN Value')
+                      y_color=colors, title=_("Spectral signatures"),
+                      x_title=_("Bands"), y_title=_("DN Value"))
 
 
 def main():



More information about the grass-commit mailing list