X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a7db5d63b12f90b944f4ad151e5299d1745ecfb..0b84885cfc566fb2d552c5681c11a2905d28f038:/app/views/browse/relation.rhtml diff --git a/app/views/browse/relation.rhtml b/app/views/browse/relation.rhtml index f981938a7..e180da084 100644 --- a/app/views/browse/relation.rhtml +++ b/app/views/browse/relation.rhtml @@ -1,7 +1,11 @@ +<% +@name = printable_name @relation +@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" %> @@ -11,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") %>