Lazy translation lookup and key renames for fixthemap page.

This commit is contained in:
Andy Allan 2018-04-25 16:46:05 +08:00
parent fb16b5ed14
commit 7d0a94552c
2 changed files with 27 additions and 27 deletions

View file

@ -3,19 +3,19 @@
<% end %>
<% content_for :heading do %>
<h1><%= t "fixthemap.title" %></h1>
<h1><%= t ".title" %></h1>
<% end %>
<h3><%= t "layouts.intro_header" %></h3>
<p><%= t "layouts.intro_text" %></p>
<h3><%= t "fixthemap.how_to_help.title" %></h3>
<h3><%= t ".how_to_help.title" %></h3>
<div class='clearfix'>
<div class='col6 inner11'>
<h3><%= t "fixthemap.how_to_help.join_the_community.title" %></h3>
<%= t "fixthemap.how_to_help.join_the_community.explanation_html" %>
<h3><%= t ".how_to_help.join_the_community.title" %></h3>
<%= t ".how_to_help.join_the_community.explanation_html" %>
<div class='clearfix center'>
<a class="button sign-up" href="<%= user_new_path %>"><%= t('layouts.start_mapping') %></a>
</div>
@ -23,12 +23,12 @@
<div class='col6 inner11'>
<h3><%= t "site.welcome.add_a_note.title" %></h3>
<p><%= t "site.welcome.add_a_note.paragraph_1_html" %></p>
<p><%= t "fixthemap.how_to_help.add_a_note.instructions_html", :map_url => root_path %></p>
<p><%= t ".how_to_help.add_a_note.instructions_html", :map_url => root_path %></p>
</div>
</div>
<h3><%= t "fixthemap.other_concerns.title" %></h3>
<p><%= t "fixthemap.other_concerns.explanation_html" %></p>
<h3><%= t ".other_concerns.title" %></h3>
<p><%= t ".other_concerns.explanation_html" %></p>
<div class='col12 clearfix icon-list'>
<h3><%= t "site.welcome.questions.title" %></h3>