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