浏览代码

wxGUI/psmap: fix accidently renamed dict keys during rast(er) element name change (merge from trunk, https://trac.osgeo.org/grass/changeset/64267)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@64268 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 10 年之前
父节点
当前提交
c7c4ac4317
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gui/wxpython/psmap/dialogs.py

+ 2 - 2
gui/wxpython/psmap/dialogs.py

@@ -2501,7 +2501,7 @@ class LegendDialog(PsmapDialog):
         rasterType = getRasterType(map = self.currRaster)
 
         self.rasterCurrent = wx.StaticText(panel, id = wx.ID_ANY,
-                                label = _("%(rast)s: type %(type)s") % { 'raster' : self.currRaster,
+                                label = _("%(rast)s: type %(type)s") % { 'rast' : self.currRaster,
                                                                          'type' : rasterType })
         self.rasterSelect = Select(panel, id = wx.ID_ANY, size = globalvar.DIALOG_GSELECT_SIZE,
                                     type = 'raster', multiple = False,
@@ -3188,7 +3188,7 @@ class LegendDialog(PsmapDialog):
             
         rasterType = getRasterType(map = currRaster)
         self.rasterCurrent.SetLabel(_("%(rast)s: type %(type)s") % \
-                                        { 'raster' : currRaster, 'type' : str(rasterType) })
+                                        { 'rast' : currRaster, 'type' : str(rasterType) })
         
         # vector legend       
         if 'rect' in self.vLegendDict: