浏览代码

wxGUI: use explicit import for the underscore function

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67687 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 年之前
父节点
当前提交
b428b78342
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      gui/wxpython/datacatalog/catalog.py
  2. 1 0
      gui/wxpython/gui_core/simplelmgr.py

+ 1 - 0
gui/wxpython/datacatalog/catalog.py

@@ -20,6 +20,7 @@ import wx
 from core.gthread import gThread
 from core.gthread import gThread
 from core.debug import Debug
 from core.debug import Debug
 from datacatalog.tree import DataCatalogTree
 from datacatalog.tree import DataCatalogTree
+from core.utils import _
 
 
 from grass.pydispatch.signal import Signal
 from grass.pydispatch.signal import Signal
 
 

+ 1 - 0
gui/wxpython/gui_core/simplelmgr.py

@@ -29,6 +29,7 @@ from gui_core.dialogs import SetOpacityDialog
 from core.utils import GetLayerNameFromCmd
 from core.utils import GetLayerNameFromCmd
 from core.gcmd import GError
 from core.gcmd import GError
 from core.layerlist import LayerList
 from core.layerlist import LayerList
+from core.utils import _
 
 
 SIMPLE_LMGR_RASTER = 1
 SIMPLE_LMGR_RASTER = 1
 SIMPLE_LMGR_VECTOR = 2
 SIMPLE_LMGR_VECTOR = 2