Skip to content

Commit 2baf23e

Browse files
committed
Fixes labels
Signed-off-by: Daniel Kastl <[email protected]>
1 parent be6f194 commit 2baf23e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/views/projects/settings/_gtt.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<br /><em><%= t :gtt_tile_sources_info %></em>
1414
</p>
1515
<p>
16-
<%= content_tag(:label, "Map rotation") %>
16+
<%= content_tag(:label, l(:gtt_map_rotate_label)) %>
1717
<%= number_field_tag('settings[project_map_rotation]', 0, min: 1, max: 360, size: 10, readonly: true ) %>
18-
<br /><em><%= t :gtt_map_rotate_info %></em>
18+
<br /><em><%= t :gtt_map_rotate_info_html %></em>
1919
</p>
2020
</div>
2121

config/locales/en.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ en:
5252
gtt_tile_sources_select_xyz: "XYZ Tiles"
5353
gtt_tile_sources_load_example: "Load example configuration."
5454

55-
gtt_map_rotate_info: "Hold down <code>Shift+Alt</code> and drag to rotate."
55+
gtt_map_rotate_label: "Map rotation"
56+
gtt_map_rotate_info_html: "Hold down <code>Shift+Alt</code> and drag to rotate."
5657

5758
gtt_settings_general_center_lon: "Default map center longitude"
5859
gtt_settings_general_center_lat: "Default map center latitude"

0 commit comments

Comments
 (0)