소스 검색

wxGUI: simplify histogram labels (cosmetics)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48412 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 년 전
부모
커밋
7b41a65d33
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      gui/wxpython/gui_modules/histogram.py
  2. 1 1
      gui/wxpython/icons/icon.py

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

@@ -259,11 +259,11 @@ class BufferedWindow(wx.Window):
         self.Draw(self.pdc, pdctype = 'clear')
         
 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
     """
     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):
         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))

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

@@ -160,7 +160,7 @@ Icons = {
         'addText'    : MetaIcon(img = iconSet.get('text-add', wx.ART_ERROR),
                                 label = _('Add text layer')),
         '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' : {
         'newdisplay'   : MetaIcon(img = iconSet.get('monitor-create', wx.ART_ERROR),