]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation.rhtml
Databrowser i18n. The stuff in start.rjs is a bit bizarre and might need a second...
[rails.git] / app / views / browse / relation.rhtml
index 89f826c17ed53b1dddca4b98b0199a29e836404e..e180da084377d05929c08380e088c501c79e8b2e 100644 (file)
@@ -1,11 +1,11 @@
 <%
 @name = printable_name @relation
-@title = 'Relation | ' + @name
+@title = t('browse.relation.relation') + ' | ' + @name
 %>
 <table width="100%">
   <tr>
     <td>
-      <h2>Relation: <%= h(@name) %></h2>
+      <h2><%= t'browse.relation.relation_title', :relation_name => h(@name) %></h2>
     </td>
     <td>
       <%= render :partial => "navigation" %>
@@ -15,9 +15,8 @@
     <td>
       <%= render :partial => "relation_details", :object => @relation %>
       <hr />
-      <%= 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") %>
     </td>
     <%= render :partial => "map", :object => @relation %>
   </tr>