]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way_history.html.erb
Rationalize browse translation keys
[rails.git] / app / views / browse / way_history.html.erb
index 307608e460ee381add0659c1cf384bc3d01848ef..fcc82547338019661f7535f522e40da4dde9b87c 100644 (file)
@@ -1,11 +1,11 @@
 <%
   @name = printable_name @way
-  set_title(t('browse.way_history.way_history') + ' | ' + @name)
+  set_title(t('browse.way.way_history') + ' | ' + @name)
 %>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
+  <%= raw t'browse.way.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
 </h2>
 
 <% @way.old_ways.reverse.each do |way| %>
@@ -13,7 +13,7 @@
 <% end %>
 
 <div class='secondary-actions'>
-  <%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %>
+  <%= link_to(t('browse.download_xml'), :controller => "old_way", :action => "history") %>
   &middot;
-  <%= link_to(t('browse.way_history.view_details'), :action => "way") %>
+  <%= link_to(t('browse.view_details'), :action => "way") %>
 </div>