]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_containing_relation.rhtml
Made a lot of things translatable and added title="" tooltips
[rails.git] / app / views / browse / _containing_relation.rhtml
index b33dea590e48d578cb2b5cc7eb601596ab9080c1..ee704acc87cd52e48db190fc7cce453e5d5e295f 100644 (file)
@@ -1,8 +1,8 @@
 <tr>
   <td>
-    <%= link_to "Relation " + containing_relation.id.to_s, :action => "relation", :id => containing_relation.id.to_s %>
+    <%= link_to t('browse.containing_relation.relation', :relation_name => h(printable_name(containing_relation.relation))), :action => "relation", :id => containing_relation.relation.id.to_s %>
     <% unless containing_relation.member_role.blank? %>
-      (as <%= h(containing_relation.member_role) %>)
+      <%= t 'browse.containing_relation.relation_as', :relation_role => h(containing_relation.member_role) %>
     <% end %>
   </td>
 </tr>