Skip to content

Commit e85c092

Browse files
committedSep 21, 2018
translation string fix
1 parent c5cac98 commit e85c092

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎python/plugins/processing/gui/ExtentSelectionPanel.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from qgis.PyQt import uic
3232
from qgis.PyQt.QtWidgets import QMenu, QAction, QInputDialog
3333
from qgis.PyQt.QtGui import QCursor
34+
from qgis.PyQt.QtCore import QCoreApplication
3435

3536
from qgis.gui import QgsMessageBar
3637
from qgis.utils import iface
@@ -97,7 +98,8 @@ def __init__(self, dialog, param):
9798
def selectExtent(self):
9899
popupmenu = QMenu()
99100
useLayerExtentAction = QAction(
100-
self.tr('Use Layer/Canvas Extent…'), self.btnSelect)
101+
QCoreApplication.translate("ExtentSelectionPanel", 'Use Layer/Canvas Extent…'),
102+
self.btnSelect)
101103
selectOnCanvasAction = QAction(
102104
self.tr('Select Extent on Canvas'), self.btnSelect)
103105

0 commit comments

Comments
 (0)
Please sign in to comment.