Pārlūkot izejas kodu

wxGUI: simplify histogram labels (cosmetics)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48412 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 gadi atpakaļ
vecāks
revīzija
7b41a65d33

+ 2 - 2
gui/wxpython/gui_modules/histogram.py

@@ -259,11 +259,11 @@ class BufferedWindow(wx.Window):
         self.Draw(self.pdc, pdctype = 'clear')
         self.Draw(self.pdc, pdctype = 'clear')
         
         
 class HistFrame(wx.Frame):
 class HistFrame(wx.Frame):
-    """!Main frame for hisgram display window.  Uses d.histogram
+    """!Main frame for hisgram display window. Uses d.histogram
     rendered onto canvas
     rendered onto canvas
     """
     """
     def __init__(self, parent = None, id = wx.ID_ANY,
     def __init__(self, parent = None, id = wx.ID_ANY,
-                 title = _("GRASS GIS Histogram of image or raster map"),
+                 title = _("GRASS GIS Histogram of raster map"),
                  style = wx.DEFAULT_FRAME_STYLE, **kwargs):
                  style = wx.DEFAULT_FRAME_STYLE, **kwargs):
         wx.Frame.__init__(self, parent, id, title, style = style, **kwargs)
         wx.Frame.__init__(self, parent, id, title, style = style, **kwargs)
         self.SetIcon(wx.Icon(os.path.join(globalvar.ETCICONDIR, 'grass.ico'), wx.BITMAP_TYPE_ICO))
         self.SetIcon(wx.Icon(os.path.join(globalvar.ETCICONDIR, 'grass.ico'), wx.BITMAP_TYPE_ICO))

+ 1 - 1
gui/wxpython/icons/icon.py

@@ -160,7 +160,7 @@ Icons = {
         'addText'    : MetaIcon(img = iconSet.get('text-add', wx.ART_ERROR),
         'addText'    : MetaIcon(img = iconSet.get('text-add', wx.ART_ERROR),
                                 label = _('Add text layer')),
                                 label = _('Add text layer')),
         'histogram'  : MetaIcon(img = iconSet.get('layer-raster-histogram', wx.ART_ERROR),
         'histogram'  : MetaIcon(img = iconSet.get('layer-raster-histogram', wx.ART_ERROR),
-                                label = _('Create histogram of image or raster file')),
+                                label = _('Create histogram of raster map')),
         },
         },
     'layerManager' : {
     'layerManager' : {
         'newdisplay'   : MetaIcon(img = iconSet.get('monitor-create', wx.ART_ERROR),
         'newdisplay'   : MetaIcon(img = iconSet.get('monitor-create', wx.ART_ERROR),