From 5fe5da1d88a6876e435cb6939dc09e401da8da55 Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Fri, 11 Oct 2019 11:31:27 +0200 Subject: [PATCH] Use correct labels --- app/views/messages/_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/messages/_form.html.erb b/app/views/messages/_form.html.erb index e357ce0757..f7584507ca 100644 --- a/app/views/messages/_form.html.erb +++ b/app/views/messages/_form.html.erb @@ -40,10 +40,10 @@ See docs/COPYRIGHT.rdoc for more details. <% unless replying %>
- <%= f.check_box :sticky, label: t(:label_board_sticky) %> + <%= f.check_box :sticky, label: I18n.t('js.label_board_sticky') %>
- <%= f.check_box :locked, label: t(:label_board_locked) %> + <%= f.check_box :locked, label: I18n.t('js.label_board_locked') %>
<% end %> <% if !replying && !@message.new_record? && User.current.allowed_to?(:edit_messages, @project) %>