Skip to content

Commit 170ecda

Browse files
updated translations
1 parent c4c9d36 commit 170ecda

7 files changed

Lines changed: 594 additions & 38 deletions

File tree

.tx/config

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,14 @@ minimum_perc = 0
229229
replace_edited_strings = false
230230
keep_translations = false
231231

232+
[o:spatialthoughts:p:qgis-tutorials:r:docs--3--interactive_reveal_maps]
233+
file_filter = source/../i18n//<lang>/LC_MESSAGES/docs/3/interactive_reveal_maps.po
234+
source_file = i18n/pot/docs/3/interactive_reveal_maps.pot
235+
type = PO
236+
minimum_perc = 0
237+
replace_edited_strings = false
238+
keep_translations = false
239+
232240
[o:spatialthoughts:p:qgis-tutorials:r:docs--3--interpolating_point_data]
233241
file_filter = source/../i18n//<lang>/LC_MESSAGES/docs/3/interpolating_point_data.po
234242
source_file = i18n/pot/docs/3/interpolating_point_data.pot
@@ -238,6 +246,14 @@ minimum_perc = 0
238246
replace_edited_strings = false
239247
keep_translations = false
240248

249+
[o:spatialthoughts:p:qgis-tutorials:r:docs--3--isometric_buildings]
250+
file_filter = source/../i18n//<lang>/LC_MESSAGES/docs/3/isometric_buildings.po
251+
source_file = i18n/pot/docs/3/isometric_buildings.pot
252+
type = PO
253+
minimum_perc = 0
254+
replace_edited_strings = false
255+
keep_translations = false
256+
241257
[o:spatialthoughts:p:qgis-tutorials:r:docs--3--landuse_buffer]
242258
file_filter = source/../i18n//<lang>/LC_MESSAGES/docs/3/landuse_buffer.po
243259
source_file = i18n/pot/docs/3/landuse_buffer.pot
@@ -337,7 +353,7 @@ replace_edited_strings = false
337353
keep_translations = false
338354

339355
[o:spatialthoughts:p:qgis-tutorials:r:docs--3--processing_python_scripts]
340-
file_filter = i18n/<lang>/LC_MESSAGES/docs/3/processing_python_scripts.po
356+
file_filter = source/../i18n//<lang>/LC_MESSAGES/docs/3/processing_python_scripts.po
341357
source_file = i18n/pot/docs/3/processing_python_scripts.pot
342358
source_lang = en
343359
type = PO

i18n/en/LC_MESSAGES/docs/3/block_world_styling.po

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: QGIS Tutorials and Tips v1\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2024-06-06 20:05+0530\n"
12+
"POT-Creation-Date: 2024-09-13 00:10+0530\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1515
"Language: en\n"
@@ -256,7 +256,7 @@ msgstr ""
256256
msgid ""
257257
"Click on :guilabel:`Open Layer Styling Panel` and switch from "
258258
":guilabel:`Single Symbol` to :guilabel:`2.5 D`. Click the :guilabel:`ε` "
259-
"button next to :guilabel:`Height`:"
259+
"button next to :guilabel:`Height`."
260260
msgstr ""
261261

262262
#: ../../source/docs/3/block_world_styling.rst:141
@@ -363,3 +363,11 @@ msgstr ""
363363
#~ " the :guilabel:`Name`."
364364
#~ msgstr ""
365365

366+
#~ msgid ""
367+
#~ "Click on :guilabel:`Open Layer Styling "
368+
#~ "Panel` and switch from :guilabel:`Single "
369+
#~ "Symbol` to :guilabel:`2.5 D`. Click the"
370+
#~ " :guilabel:`ε` button next to "
371+
#~ ":guilabel:`Height`:"
372+
#~ msgstr ""
373+

i18n/en/LC_MESSAGES/docs/3/cartogram_animation.po

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: QGIS Tutorials and Tips v1\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2024-08-26 17:03+0530\n"
12+
"POT-Creation-Date: 2024-09-13 00:10+0530\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1515
"Language: en\n"
@@ -41,11 +41,9 @@ msgstr ""
4141

4242
#: ../../source/docs/3/cartogram_animation.rst:6
4343
msgid ""
44-
"This tutorial is inspired by `Keith Jenkins's Demo "
45-
"<https://x.com/kgjenkins/status/1495986986250813442?cxt=HHwWhICygZ2P6MIpAAAA>`_"
46-
" and builds on `Hans van der Kwast's excellent cartogram tutorial "
47-
"<https://www.youtube.com/watch?v=qxKD6wcFUcE>`_. The formula for scale "
48-
"factor used here is from the original paper `Noncontiguous Area "
44+
"This tutorial is builds on `Hans van der Kwast's excellent cartogram "
45+
"tutorial <https://www.youtube.com/watch?v=qxKD6wcFUcE>`_. The formula for"
46+
" scale factor used here is from the original paper `Noncontiguous Area "
4947
"Cartograms <https://doi.org/10.1111/j.0033-0124.1976.00371.x>`_ by Judy M"
5048
" Olson."
5149
msgstr ""
@@ -364,7 +362,8 @@ msgid ""
364362
"find a representative anchor point for each polygon. This is similar to a"
365363
" centroid, but it is guaranteed to be inside of the polygon whereas a "
366364
"centroid can fall outside for certain shapes. Update the expression as "
367-
"shown below and click :guilabel:`OK`."
365+
"shown below which calculates the pole of inaccessibility of the geometry "
366+
"with a small tolerance value and click :guilabel:`OK`."
368367
msgstr ""
369368

370369
#: ../../source/docs/3/cartogram_animation.rst:205
@@ -787,3 +786,31 @@ msgstr ""
787786
#~ "frame."
788787
#~ msgstr ""
789788

789+
#~ msgid ""
790+
#~ "This tutorial is inspired by `Keith "
791+
#~ "Jenkins's Demo "
792+
#~ "<https://x.com/kgjenkins/status/1495986986250813442?cxt=HHwWhICygZ2P6MIpAAAA>`_"
793+
#~ " and builds on `Hans van der "
794+
#~ "Kwast's excellent cartogram tutorial "
795+
#~ "<https://www.youtube.com/watch?v=qxKD6wcFUcE>`_. The "
796+
#~ "formula for scale factor used here "
797+
#~ "is from the original paper "
798+
#~ "`Noncontiguous Area Cartograms "
799+
#~ "<https://doi.org/10.1111/j.0033-0124.1976.00371.x>`_ by "
800+
#~ "Judy M Olson."
801+
#~ msgstr ""
802+
803+
#~ msgid ""
804+
#~ "The `scale()` function takes an optional"
805+
#~ " parameter to specify the scaling "
806+
#~ "center point. We will use the "
807+
#~ "`pole_of_inaccessibility()` function to find a"
808+
#~ " representative anchor point for each "
809+
#~ "polygon. This is similar to a "
810+
#~ "centroid, but it is guaranteed to "
811+
#~ "be inside of the polygon whereas a"
812+
#~ " centroid can fall outside for "
813+
#~ "certain shapes. Update the expression as"
814+
#~ " shown below and click :guilabel:`OK`."
815+
#~ msgstr ""
816+
Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2023, Ujaval Gandhi
3+
# This file is distributed under the same license as the QGIS Tutorials and
4+
# Tips package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
6+
#
7+
#, fuzzy
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: QGIS Tutorials and Tips v1\n"
11+
"Report-Msgid-Bugs-To: \n"
12+
"POT-Creation-Date: 2024-09-13 00:10+0530\n"
13+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15+
"Language: en\n"
16+
"Language-Team: en <LL@li.org>\n"
17+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
18+
"MIME-Version: 1.0\n"
19+
"Content-Type: text/plain; charset=utf-8\n"
20+
"Content-Transfer-Encoding: 8bit\n"
21+
"Generated-By: Babel 2.14.0\n"
22+
23+
#: ../../source/docs/3/interactive_reveal_maps.rst:2
24+
msgid "Making Interactive Reveal Maps (QGIS3)"
25+
msgstr ""
26+
27+
#: ../../source/docs/3/interactive_reveal_maps.rst:4
28+
msgid ""
29+
"This tutorial shows how to use a dynamic mask layer in a layer group "
30+
"along with expressions to make an interactive map that reveal the layers "
31+
"beneath the current layer as you move your cursor around. This is done "
32+
"using the new `mask blending modes "
33+
"<https://changelog.qgis.org/en/entry/2154>`_ in QGIS along with technique"
34+
" for adding interactivity shown in the previous tutorial on "
35+
":doc:`interactive_canvas_maps`."
36+
msgstr ""
37+
38+
#: ../../source/docs/3/interactive_reveal_maps.rst:6
39+
msgid ""
40+
"This tutorial is inspired from `Hamish Campbell "
41+
"<https://www.linkedin.com/in/hncampbell/>`_ who shared his interactive "
42+
"visualization on LinkedIn."
43+
msgstr ""
44+
45+
#: ../../source/docs/3/interactive_reveal_maps.rst:9
46+
msgid "Overview of the task"
47+
msgstr ""
48+
49+
#: ../../source/docs/3/interactive_reveal_maps.rst:11
50+
msgid ""
51+
"We will load 2 raster tile layers and use a mask layer with geometry "
52+
"generator symbology to reveal the below layer as the cursor moves around "
53+
"on the canvas."
54+
msgstr ""
55+
56+
#: ../../source/docs/3/interactive_reveal_maps.rst:18
57+
msgid "Procedure"
58+
msgstr ""
59+
60+
#: ../../source/docs/3/interactive_reveal_maps.rst:20
61+
msgid ""
62+
"We will start by loading 2 raster layers. One layer at the top and "
63+
"another one at the bottom that will be revealed by the mask layer. We "
64+
"will get these from the QuickMapServices plugin. Search and install the "
65+
"**QuickMapServices** plugin from the QGIS Official Plugin Repository. See"
66+
" :doc:`using_plugins` for instructions on installing plugins. Once "
67+
"installed, we will need to add some additional service to this plugin. Go"
68+
" to :menuselection:`Web --> QuickMapServices --> Settings`."
69+
msgstr ""
70+
71+
#: ../../source/docs/3/interactive_reveal_maps.rst:25
72+
msgid ""
73+
"In the :guilabel:`QuickMapServices Settings` dialog, switch to the "
74+
":guilabel:`More Services` tab and click the :guilabel:`Get contributed "
75+
"pack` button. This step is required to get access to the Google Satellite"
76+
" basemap."
77+
msgstr ""
78+
79+
#: ../../source/docs/3/interactive_reveal_maps.rst:30
80+
msgid ""
81+
"Now we are ready to add the layers. The top layer in our map will be the "
82+
"OpenStreetMap layer. Go to :menuselection:`Web --> QuickMapServices --> "
83+
"OSM --> OSM Standard` to add it. Zoom and center the map to any location "
84+
"of your choice."
85+
msgstr ""
86+
87+
#: ../../source/docs/3/interactive_reveal_maps.rst:35
88+
msgid ""
89+
"Next add the Google Satellite layer from :menuselection:`Web --> "
90+
"QuickMapServices --> Google --> Google Satellite`. This will be the "
91+
"bottom layer that will be revealed using the mask."
92+
msgstr ""
93+
94+
#: ../../source/docs/3/interactive_reveal_maps.rst:40
95+
msgid ""
96+
"We will create a new layer that will act as the mask. Go to "
97+
":menuselection:`Layer --> Create Layer --> New GeoPackage Layer...`."
98+
msgstr ""
99+
100+
#: ../../source/docs/3/interactive_reveal_maps.rst:45
101+
msgid ""
102+
"In the :guilabel:`New GeoPackage Layer` dialog, click the :guilabel:`...`"
103+
" button for :guilabel:`Database` and browse to a directory on your "
104+
"computer. Save the layer as ``mask.gpkg``. Change the :guilabel:`Geometry"
105+
" type` to ``Polygon`` and the CRS to be ``Project CRS: EPSG:3857 - WGS84 "
106+
"/ Pseudo-Mercator``. Having this layer in a Projected CRS is helpful as "
107+
"it allows us to specify the radius of the mask in meters as opposed to "
108+
"degrees. Click :guilabel:`OK`."
109+
msgstr ""
110+
111+
#: ../../source/docs/3/interactive_reveal_maps.rst:50
112+
msgid ""
113+
"A new layer ``mask`` will be added to the :guilabel:`Layers` panel. Click"
114+
" the :guilabel:`Open the Layer Styling Panel` button. Click on "
115+
":guilabel:`Single Symbol` to see additional options for renderers."
116+
msgstr ""
117+
118+
#: ../../source/docs/3/interactive_reveal_maps.rst:55
119+
msgid ""
120+
"Select ``Inverted Polygons`` as the renderer. Scroll down and click on "
121+
"the :guilabel:`Simple Fill` to see additional symbol layer types."
122+
msgstr ""
123+
124+
#: ../../source/docs/3/interactive_reveal_maps.rst:62
125+
msgid ""
126+
"The inverted polygon renderer is used to show regions outside the "
127+
"feature. In our case, the ``mask`` layer is empty so the *inverted* "
128+
"region is the whole canvas. That is why you see the whole canvas rendered"
129+
" using the chosen symbology. We use this renderer for the tutorial since "
130+
"it can render the map without needing any features being present in the "
131+
"layer and will work anywhere in the world."
132+
msgstr ""
133+
134+
#: ../../source/docs/3/interactive_reveal_maps.rst:64
135+
msgid ""
136+
"Select ``Geometry Generator`` as the :guilabel:`Symbol layer type`. We "
137+
"will now enter an expressions to change how the layer is rendered. Click "
138+
"the :guilabel:`Expression` button."
139+
msgstr ""
140+
141+
#: ../../source/docs/3/interactive_reveal_maps.rst:69
142+
msgid ""
143+
"Enter the following expression in the :guilabel:`Expression Builder` "
144+
"dialog. This expression will create a buffer polygon with a radius of "
145+
"5000 meters around the current position of the cursor. Click "
146+
":guilabel:`OK`."
147+
msgstr ""
148+
149+
#: ../../source/docs/3/interactive_reveal_maps.rst:78
150+
msgid ""
151+
"You will see a circular polygon rendered wherever you click on the "
152+
"canvas. Adjust the size of the buffer if required for your region and "
153+
"close the :guilabel:`Layer Styling Panel`. To use the mask blending "
154+
"modes, we must create a layer group. Hold the :kbd:`Ctrl` key and select "
155+
"the ``mask`` and the ``OSM Standard`` layers. Right-click on the selected"
156+
" layers and choose :guilabel:`Group Selected`."
157+
msgstr ""
158+
159+
#: ../../source/docs/3/interactive_reveal_maps.rst:84
160+
msgid ""
161+
"A new layer group will be created. Enter the name as ``mask_group``. "
162+
"Click the :guilabel:`Open the Layer Styling Panel` button."
163+
msgstr ""
164+
165+
#: ../../source/docs/3/interactive_reveal_maps.rst:89
166+
msgid ""
167+
"Check the :guilabel:`Render Layers as a Group` button. This step enables "
168+
"the mask blending modes for the layers in this group."
169+
msgstr ""
170+
171+
#: ../../source/docs/3/interactive_reveal_maps.rst:94
172+
msgid ""
173+
"Select the ``mask`` layer from ``mask_group``. In the :guilabel:`Layer "
174+
"Styling` panel, scroll down and expand the :guilabel:`Layer Rendering` "
175+
"section."
176+
msgstr ""
177+
178+
#: ../../source/docs/3/interactive_reveal_maps.rst:99
179+
msgid ""
180+
"Click the dropdown selector for the :guilabel:`Layer` :guilabel:`Blending"
181+
" Mode`. Select the ``Inverse Mask Below`` blending mode. The layer below "
182+
"the layer group will now be revealed in the portion covered by the buffer"
183+
" polygon."
184+
msgstr ""
185+
186+
#: ../../source/docs/3/interactive_reveal_maps.rst:104
187+
msgid ""
188+
"The map canvas doesn't yet respond to the cursor movement because it "
189+
"doesn't refresh unless you move the map. Let's make it auto-refresh. "
190+
"Right-click the ``point`` layer and select :guilabel:`Properties`."
191+
msgstr ""
192+
193+
#: ../../source/docs/3/interactive_reveal_maps.rst:109
194+
msgid ""
195+
"Switch to the :guilabel:`Rendering` tab. Scroll down and check the "
196+
":guilabel:`Refresh layer at interval`. Set the interval to a small number"
197+
" such as ``0.1`` (i.e. 100ms) and click :guilabel:`OK`."
198+
msgstr ""
199+
200+
#: ../../source/docs/3/interactive_reveal_maps.rst:114
201+
msgid ""
202+
"Now as you move your cursor, the region below your cursor position will "
203+
"be interactively revealed."
204+
msgstr ""
205+

0 commit comments

Comments
 (0)