Interpolate URL

This commit is contained in:
John Firebaugh 2013-08-06 11:25:45 -07:00
parent 4afcc5404f
commit c4cdcc1ee1
2 changed files with 2 additions and 2 deletions

View file

@ -62,6 +62,6 @@
<div class='inner22'>
<h3><%= t "welcome_page.add_a_note.title" %></h3>
<p><%= t "welcome_page.add_a_note.paragraph_1_html" %></p>
<p><%= t "welcome_page.add_a_note.paragraph_2_html" %></p>
<p><%= t "welcome_page.add_a_note.paragraph_2_html", :map_url => root_path %></p>
</div>
</div>

View file

@ -1189,7 +1189,7 @@ en:
If you just want something small fixed and don't have the time to sign up and learn how to edit, it's
easy to add a note.
paragraph_2_html: |
Just go to <a href='http://www.openstreetmap.org/'>the map</a> and click the note icon:
Just go to <a href='%{map_url}'>the map</a> and click the note icon:
<span class='icon note'></span>. This will add a marker to the map, which you can move
by dragging. Add your message, then click save, and other mappers will investigate.
notifier: