]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.html.erb
Rationalize browse translation keys
[rails.git] / app / views / browse / relation_history.html.erb
index 6481d490a1e27bd9cff709fadee3e3ba1c8d261e..1656b36b90056597e89f69d93ebc3d8ddacdc61d 100644 (file)
@@ -1,11 +1,11 @@
 <%
   @name = printable_name @relation
-  set_title(t('browse.relation_history.relation_history') + ' | ' + @name)
+  set_title(t('browse.relation.relation_history') + ' | ' + @name)
 %>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
+  <%= raw t'browse.relation.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
 </h2>
 
 <% @relation.old_relations.reverse.each do |relation| %>
@@ -13,7 +13,7 @@
 <% end %>
 
 <div class='secondary-actions'>
-  <%= link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history") %>
+  <%= link_to(t('browse.download_xml'), :controller => "old_relation", :action => "history") %>
   &middot;
-  <%= link_to(t('browse.relation_history.view_details'), :action => "relation") %>
+  <%= link_to(t('browse.view_details'), :action => "relation") %>
 </div>