Refactor translation to avoid raw html tags
This commit is contained in:
parent
e11c70f751
commit
317b1871f4
2 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
|
||||
<h4><%= t ".licence" %></h4>
|
||||
<p><%= t ".export_details_html" %></p>
|
||||
<p><%= t ".licence_details_html", :odbl_link => link_to(t(".odbl"), t(".odbl_url")) %></p>
|
||||
|
||||
<div id="export_osm_too_large">
|
||||
<p class="alert alert-warning">
|
||||
|
|
|
@ -2058,7 +2058,9 @@ en:
|
|||
map_image: "Map Image (shows standard layer)"
|
||||
embeddable_html: "Embeddable HTML"
|
||||
licence: "Licence"
|
||||
export_details_html: 'OpenStreetMap data is licensed under the <a href="https://opendatacommons.org/licenses/odbl/1.0/">Open Data Commons Open Database License</a> (ODbL).'
|
||||
licence_details_html: OpenStreetMap data is licensed under the %{odbl_link} (ODbL).
|
||||
odbl: Open Data Commons Open Database License
|
||||
odbl_url: https://opendatacommons.org/licenses/odbl/1.0/
|
||||
too_large:
|
||||
advice: "If the above export fails, please consider using one of the sources listed below:"
|
||||
body: "This area is too large to be exported as OpenStreetMap XML Data. Please zoom in or select a smaller area, or use one of the sources listed below for bulk data downloads."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue