[GRASS-SVN] r73106 - grass/branches/releasebranch_7_4/scripts/i.spectral

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 15 13:21:05 PDT 2018


Author: neteler
Date: 2018-08-15 13:21:04 -0700 (Wed, 15 Aug 2018)
New Revision: 73106

Modified:
   grass/branches/releasebranch_7_4/scripts/i.spectral/i.spectral.py
Log:
 i.spectral: Mark user visible strings for translation (trunk, r73103)

Modified: grass/branches/releasebranch_7_4/scripts/i.spectral/i.spectral.py
===================================================================
--- grass/branches/releasebranch_7_4/scripts/i.spectral/i.spectral.py	2018-08-15 09:51:43 UTC (rev 73105)
+++ grass/branches/releasebranch_7_4/scripts/i.spectral/i.spectral.py	2018-08-15 20:21:04 UTC (rev 73106)
@@ -192,8 +192,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