Fix missing I18n in messages plugin
This commit is contained in:
parent
f7311d25f6
commit
a40934dd5a
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class MessagesController < ApplicationController
|
|||
def show
|
||||
@message = Message.find(params[:id])
|
||||
unless @message.is_readable_for?(current_user)
|
||||
redirect_to messages_url, alert: 'Nachricht ist privat!'
|
||||
redirect_to messages_url, alert: I18n.t('messages.new.error_private')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue