mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-27 00:03:38 -04:00
translation string fix
This commit is contained in:
parent
c5cac98179
commit
e85c09254c
@ -31,6 +31,7 @@ import warnings
|
|||||||
from qgis.PyQt import uic
|
from qgis.PyQt import uic
|
||||||
from qgis.PyQt.QtWidgets import QMenu, QAction, QInputDialog
|
from qgis.PyQt.QtWidgets import QMenu, QAction, QInputDialog
|
||||||
from qgis.PyQt.QtGui import QCursor
|
from qgis.PyQt.QtGui import QCursor
|
||||||
|
from qgis.PyQt.QtCore import QCoreApplication
|
||||||
|
|
||||||
from qgis.gui import QgsMessageBar
|
from qgis.gui import QgsMessageBar
|
||||||
from qgis.utils import iface
|
from qgis.utils import iface
|
||||||
@ -97,7 +98,8 @@ class ExtentSelectionPanel(BASE, WIDGET):
|
|||||||
def selectExtent(self):
|
def selectExtent(self):
|
||||||
popupmenu = QMenu()
|
popupmenu = QMenu()
|
||||||
useLayerExtentAction = QAction(
|
useLayerExtentAction = QAction(
|
||||||
self.tr('Use Layer/Canvas Extent…'), self.btnSelect)
|
QCoreApplication.translate("ExtentSelectionPanel", 'Use Layer/Canvas Extent…'),
|
||||||
|
self.btnSelect)
|
||||||
selectOnCanvasAction = QAction(
|
selectOnCanvasAction = QAction(
|
||||||
self.tr('Select Extent on Canvas'), self.btnSelect)
|
self.tr('Select Extent on Canvas'), self.btnSelect)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user