@@ -97,9 +97,9 @@ def __init__(self, dialog, param):
97
97
def selectExtent (self ):
98
98
popupmenu = QMenu ()
99
99
useLayerExtentAction = QAction (
100
- self .tr ('Use layer/canvas extent ' ), self .btnSelect )
100
+ self .tr ('Use Layer/Canvas Extent… ' ), self .btnSelect )
101
101
selectOnCanvasAction = QAction (
102
- self .tr ('Select extent on canvas ' ), self .btnSelect )
102
+ self .tr ('Select Extent on Canvas ' ), self .btnSelect )
103
103
104
104
popupmenu .addAction (useLayerExtentAction )
105
105
popupmenu .addAction (selectOnCanvasAction )
@@ -109,7 +109,7 @@ def selectExtent(self):
109
109
110
110
if self .param .flags () & QgsProcessingParameterDefinition .FlagOptional :
111
111
useMincoveringExtentAction = QAction (
112
- self .tr ('Use min covering extent from input layers ' ),
112
+ self .tr ('Use Min Covering Extent from Input Layers ' ),
Collapse comment Comment on line R112
@nyalldawson , any reason why we use "Min" instead of "Minimum" here? I don' think we're constrained in space here, we might as well use the full word.
It could be reworded even better I think: "Extent of all Input Layers"?
Combined Extent of all Input Layers? As long as Min goes away, I'm happy 😉
Code has comments. Press enter to view. 113
113
self .btnSelect )
114
114
useMincoveringExtentAction .triggered .connect (
115
115
self .useMinCoveringExtent )
@@ -121,7 +121,7 @@ def useMinCoveringExtent(self):
121
121
self .leText .setText ('' )
122
122
123
123
def useLayerExtent (self ):
124
- CANVAS_KEY = 'Use canvas extent '
124
+ CANVAS_KEY = 'Canvas Extent '
125
125
extentsDict = {}
126
126
extentsDict [CANVAS_KEY ] = {"extent" : iface .mapCanvas ().extent (),
127
127
"authid" : iface .mapCanvas ().mapSettings ().destinationCrs ().authid ()}
0 commit comments