Skip to content

Commit 0ef88a2

Browse files
committed
Minor english cleanups for action help
1 parent fc845c3 commit 0ef88a2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

resources/context_help/QgsVectorLayerProperties-en_US

+9-9
Original file line numberDiff line numberDiff line change
@@ -106,24 +106,24 @@ The <label>Metadata</label> tab contains information about the layer, including
106106
QGIS provides the ability to perform an action based on the attributes of a feature. This can be used to perform any number of actions, for example, running a program with arguments built from the attributes of a feature or passing parameters to a web reporting tool. <br/>
107107
Actions are useful when you frequently want to run an external application or view a web page based on one or more values in your vector layer.<p>
108108

109-
The new implementation of actions uses the QGis expression engine to do evaluations. Each expression is evaluated and replaced by its result at runtime.<p>
110-
An expression must be enclosed between <code>[%</code> and <code>%]</code>, anyway the GUI has some buttons which do that for you.
111-
The <label>Insert expression...</label> button launches the <label>Expression builder</label> which allows to write an expression in a easy way, the <label>Insert field</label> button inserts into the action a placeholder like <code>[% "fieldname" %]</code> where fieldname is the name of the field selected in the dropdown list close to the button.<p>
109+
The new implementation of actions uses the QGIS expression engine to do evaluations. Each expression is evaluated and replaced by its result at runtime.<p>
110+
An expression must be enclosed between <code>[%</code> and <code>%]</code> - the GUI has some buttons which do that for you automatically.
111+
The <label>Insert expression...</label> button launches the <label>Expression builder</label> which allows to write an expression easily, the <label>Insert field</label> button inserts into the action a placeholder like <code>[% "fieldname" %]</code> where fieldname is the name of the field selected in the field dropdown list.<p>
112112

113113
See the User Guide for further information.
114114

115115
<h5>Using Actions</h5>
116-
Actions can be invoked from the <label>Identify Results</label> dialog or using the <label>Run feature action</label> tool.<p>
116+
Actions can be invoked from the <label>Identify Results</label> dialog or using the <label>Run feature action</label> tool on the toolbar.<p>
117117

118-
Each of them adds a little set of custom expressions to the default set available in the <label>Expression builder</label>.<br/>
119-
While running actions from the <label>Identify Results</label> dialog the custom expression <code>$currfield</code> will be replaced with the value of the selected field in the dialog, using the <label>Run feature action</label> tool the following custom expression are instead available:
118+
Each action adds a little set of custom expressions to the default set available in the <label>Expression builder</label>.<br/>
119+
While running actions from the <label>Identify Results</label> dialog the custom expression <code>$currfield</code> will be replaced with the value of the selected field in the dialog, using the <label>Run feature action</label> tool the following custom expressions are available (instead of $currfield):
120120
<ul>
121-
<li><code>$clickx</code> returns the x coordinate of the clicked point in canvas</li>
122-
<li><code>$clicky</code> returns the y coordinate of the clicked point in canvas</li>
121+
<li><code>$clickx</code> returns the x coordinate of the click position on the canvas</li>
122+
<li><code>$clicky</code> returns the y coordinate of the click position on the canvas</li>
123123
<li><code>$layerid</code> returns the ID of the selected layer in the legend</li>
124124
</ul>
125125

126-
Note: the <label>Run feature action</label> tool execute the actions on all the matching features, the <label>Identify Results</label> allows you to select which feature to run action on.<p>
126+
Note: the <label>Run feature action</label> tool executes the actions on all the matching features, where as <label>Identify Results</label> allows you to select which specific feature to run action on.<p>
127127

128128

129129
<h5>Action Examples</h5>

0 commit comments

Comments
 (0)