X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7c6d4e90763dd2f825719e2563582728e3193715..4e0cf1c5d30d66fc8b3feeaebd27828c4576ffa0:/app/views/browse/relation.rhtml diff --git a/app/views/browse/relation.rhtml b/app/views/browse/relation.rhtml index 89f826c17..e180da084 100644 --- a/app/views/browse/relation.rhtml +++ b/app/views/browse/relation.rhtml @@ -1,11 +1,11 @@ <% @name = printable_name @relation -@title = 'Relation | ' + @name +@title = t('browse.relation.relation') + ' | ' + @name %> <%= render :partial => "map", :object => @relation %>
-

Relation: <%= h(@name) %>

+

<%= t'browse.relation.relation_title', :relation_name => h(@name) %>

<%= render :partial => "navigation" %> @@ -15,9 +15,8 @@ <%= render :partial => "relation_details", :object => @relation %>
- <%= link_to "Download XML", :controller => "relation", :action => "read" %> - or - <%= link_to "view history", :action => "relation_history" %> + <%= t'browse.relation.download', :download_xml_link => link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read"), + :view_history_link => link_to(t('browse.relation.view_history'), :action => "relation_history") %>