Refactor potlatch page to avoid html in translations

This commit is contained in:
Andy Allan 2023-02-25 12:15:09 +01:00
parent 2e5e2bc263
commit 9c8bb75b9d
2 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<div class="container">
<p><%= t ".removed" %></p>
<p><%= t ".desktop_html" %></p>
<p><%= t ".id_html", :settings_url => preferences_path %></p>
<p><%= t ".desktop_application_html", :download_link => link_to(t(".download"), t(".download_url")) %></p>
<p><%= t ".id_editor_html", :change_preferences_link => link_to(t(".change_preferences"), preferences_path) %></p>
</div>

View file

@ -2158,8 +2158,11 @@ en:
description: Browse the wiki for in-depth OpenStreetMap documentation.
potlatch:
removed: Your default OpenStreetMap editor is set as Potlatch. Because Adobe Flash Player has been withdrawn, Potlatch is no longer available to use in a web browser.
desktop_html: You can still use Potlatch by <a href="https://www.systemed.net/potlatch/">downloading the desktop application for Mac and Windows</a>.
id_html: Alternatively, you can set your default editor to iD, which runs in your web browser as Potlatch formerly did. <a href="%{settings_url}">Change your preferences here</a>.
desktop_application_html: You can still use Potlatch by %{download_link}.
download: downloading the desktop application for Mac and Windows
download_url: https://www.systemed.net/potlatch/
id_editor_html: Alternatively, you can set your default editor to iD, which runs in your web browser as Potlatch formerly did. %{change_preferences_link}.
change_preferences: Change your preferences here
any_questions:
title: Any questions?
paragraph_1_html: |