From: Štefan Baebler Date: Sun, 28 Jun 2009 13:21:24 +0000 (+0000) Subject: made relation_members.member_type translatable via model translations X-Git-Tag: live~7455 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/4b705207e036f05ed8671c32baeb8a4fa0b141d0 made relation_members.member_type translatable via model translations --- diff --git a/app/views/browse/_relation_member.html.erb b/app/views/browse/_relation_member.html.erb index 39b89bc01..ead58490c 100644 --- a/app/views/browse/_relation_member.html.erb +++ b/app/views/browse/_relation_member.html.erb @@ -1,6 +1,6 @@ - <%= relation_member.member_type.capitalize %> + <%= t 'activerecord.models.'+relation_member.member_type.downcase %> <%= link_to h(printable_name(relation_member.member)), :action => relation_member.member_type.downcase, :id => relation_member.member_id.to_s %> <% unless relation_member.member_role.blank? %> <%= t'browse.relation_member.as' %>