Pārlūkot izejas kodu

d.correlate: i18n

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48131 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 gadi atpakaļ
vecāks
revīzija
1ac2ee229c
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      scripts/d.correlate/d.correlate.py

+ 3 - 3
scripts/d.correlate/d.correlate.py

@@ -7,7 +7,7 @@
 #               Converted to Python by Glynn Clements
 # PURPOSE:      prints a graph of the correlation between data layers (in pairs)
 #               derived from <grass5>/src.local/d.correlate.sh
-# COPYRIGHT:    (C) 2005, 2008 by the GRASS Development Team
+# COPYRIGHT:    (C) 2005, 2008, 2011 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
@@ -33,13 +33,13 @@ def main():
     layers = options['map'].split(',')
 
     if len(layers) < 2:
-	grass.error("At least 2 maps are required")
+	grass.error(_("At least 2 maps are required"))
 
     tmpfile = grass.tempfile()
 
     for map in layers:
 	if not grass.find_file(map, element = 'cell')['file']:
-	    grass.fatal(_("Input map <%s> not found") % map)
+	    grass.fatal(_("Raster map <%s> not found") % map)
 
     grass.write_command('d.text', color = 'black', size = 4, line = 1, stdin = "CORRELATION")