X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/38c8e3e37e4118b7f219969694041a3b28bc5996..972363baf6688f82ba3b7aa8d54a4747b5f290a2:/app/views/browse/_containing_relation.rhtml
diff --git a/app/views/browse/_containing_relation.rhtml b/app/views/browse/_containing_relation.rhtml
index 013a7b6d7..ee704acc8 100644
--- a/app/views/browse/_containing_relation.rhtml
+++ b/app/views/browse/_containing_relation.rhtml
@@ -1,8 +1,8 @@
- <%= link_to "Relation " + containing_relation.relation.id.to_s, :action => "relation", :id => containing_relation.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 %>
|