]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/confirm.html.erb
Use lazy translations where possible
[rails.git] / app / views / user / confirm.html.erb
index f520982896b703eff203f1e242e8fdab504cf09f..7b8d78d3f49c58eb078a88a10ab3d5513a18be9f 100644 (file)
@@ -1,5 +1,5 @@
 <% content_for :heading do %>
-  <h1><%= t 'user.confirm.heading' %></h1>
+  <h1><%= t '.heading' %></h1>
   <div class='header-illustration confirm-main'></div>
 <% end %>
 
@@ -8,23 +8,23 @@
     <%= javascript_include_tag "user" %>
   <% end %>
 
-  <% content_for(:content_class) { "user_confirm" } %>  
+  <% content_for(:content_class) { "user_confirm" } %>
 
-  <p><%= t 'user.confirm.press confirm button' %></p>
+  <p><%= t '.press confirm button' %></p>
 
   <%= form_tag({}, { :id => "confirm" }) do %>
     <input type="display_name" name="confirm_string" value="<%= params[:display_name] %>">
     <input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>">
-    <input type="submit" name="confirm_action" value="<%= t 'user.confirm.button' %>">
+    <input type="submit" name="confirm_action" value="<%= t '.button' %>">
   <% end %>
 <% else %>
   <h1>
-    <%= t "user.confirm.introduction_1" %>
+    <%= t ".introduction_1" %>
     <span class="deemphasize">
-      <%= t "user.confirm.introduction_2" %>
+      <%= t ".introduction_2" %>
     </span>
   </h1>
 
-  <p class='deemphasize'><%= t "user.confirm.reconfirm_html",
+  <p class='deemphasize'><%= t ".reconfirm_html",
                                :reconfirm => url_for(:action => 'confirm_resend')%></p>
 <% end %>