Procházet zdrojové kódy

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 před 9 roky
rodič
revize
b428b78342

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

@@ -20,6 +20,7 @@ import wx
 from core.gthread import gThread
 from core.debug import Debug
 from datacatalog.tree import DataCatalogTree
+from core.utils import _
 
 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.gcmd import GError
 from core.layerlist import LayerList
+from core.utils import _
 
 SIMPLE_LMGR_RASTER = 1
 SIMPLE_LMGR_VECTOR = 2