]> git.openstreetmap.org Git - rails.git/commitdiff
Update the link for changing your editor preferences
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 12 Aug 2021 15:30:34 +0000 (16:30 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 12 Aug 2021 15:30:34 +0000 (16:30 +0100)
I've left the internal name of the link the same, to avoid having to
change the translation key and retranslate everything.

app/views/site/_potlatch.html.erb
config/locales/en.yml

index 946519d7362e36732a6a326735eb753c88075237..790a3bf5d057497713a449e9eb930ca217ee5459 100644 (file)
@@ -1,5 +1,5 @@
 <div class="container">
   <p><%= t ".removed" %></p>
   <p><%= t ".desktop_html" %></p>
-  <p><%= t ".id_html", :settings_url => user_account_path(current_user) %></p>
+  <p><%= t ".id_html", :settings_url => preferences_path %></p>
 </div>
index 1b411a229dddf8f758dd913301c7f23506707d93..93d109fab51ffa1dc2308e4c940627750768ee17 100644 (file)
@@ -2060,7 +2060,7 @@ en:
     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 user settings here</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>.
     sidebar:
       search_results: Search Results
       close: Close