From a40934dd5af82963777ffec9f3fdef458877f17b Mon Sep 17 00:00:00 2001 From: Patrick Gansterer Date: Fri, 27 May 2022 21:48:55 +0200 Subject: [PATCH] Fix missing I18n in messages plugin --- plugins/messages/app/controllers/messages_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/messages/app/controllers/messages_controller.rb b/plugins/messages/app/controllers/messages_controller.rb index 2c594da3..628f145b 100644 --- a/plugins/messages/app/controllers/messages_controller.rb +++ b/plugins/messages/app/controllers/messages_controller.rb @@ -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