From 5a9138e4be4a0d27e72cba328ab2c52e979bcb14 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 10 Aug 2017 14:45:44 +0200 Subject: [PATCH] Fixed issue #1310 - Default name of role customer in german language. --- app/assets/javascripts/app/views/generic/checkbox.jst.eco | 2 +- app/assets/javascripts/app/views/generic/radio.jst.eco | 2 +- .../javascripts/app/views/generic/user_permission.jst.eco | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/views/generic/checkbox.jst.eco b/app/assets/javascripts/app/views/generic/checkbox.jst.eco index 4576fab6f..8d0412aad 100644 --- a/app/assets/javascripts/app/views/generic/checkbox.jst.eco +++ b/app/assets/javascripts/app/views/generic/checkbox.jst.eco @@ -4,7 +4,7 @@ /> <%- @Icon('checkbox', 'icon-unchecked') %> <%- @Icon('checkbox-checked', 'icon-checked') %> - <%= row.name %> <% if row.note: %>- <%= row.note %><% end %> + <%= row.name %> <% if row.note: %>- <%- @T(row.note) %><% end %> <% end %> \ No newline at end of file diff --git a/app/assets/javascripts/app/views/generic/radio.jst.eco b/app/assets/javascripts/app/views/generic/radio.jst.eco index ea7282ac2..d6576004a 100644 --- a/app/assets/javascripts/app/views/generic/radio.jst.eco +++ b/app/assets/javascripts/app/views/generic/radio.jst.eco @@ -1,7 +1,7 @@
<% for row in @attribute.options: %> diff --git a/app/assets/javascripts/app/views/generic/user_permission.jst.eco b/app/assets/javascripts/app/views/generic/user_permission.jst.eco index b8dd7fd64..64569a55d 100644 --- a/app/assets/javascripts/app/views/generic/user_permission.jst.eco +++ b/app/assets/javascripts/app/views/generic/user_permission.jst.eco @@ -18,7 +18,7 @@ checked<% end %>/> <%- @Icon('checkbox', 'icon-unchecked') %> <%- @Icon('checkbox-checked', 'icon-checked') %> - <%= role.displayName() %> <% if role.note: %>- <%= role.note %><% end %> + <%- @T(role.displayName()) %> <% if role.note: %>- <%- @T(role.note) %><% end %> <% if role.permissions: %> <% for permission in role.permissions: %>