diff --git a/app/serializers/basic_post_serializer.rb b/app/serializers/basic_post_serializer.rb index 70153bca9b9..bcc75f776e1 100644 --- a/app/serializers/basic_post_serializer.rb +++ b/app/serializers/basic_post_serializer.rb @@ -31,7 +31,7 @@ class BasicPostSerializer < ApplicationSerializer def cooked if cooked_hidden if scope.current_user && object.user_id == scope.current_user.id - I18n.t('flagging.you_must_edit') + I18n.t('flagging.you_must_edit', path: "/my/messages") else I18n.t('flagging.user_must_edit') end diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index eafb42e43da..7057e946d7e 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -742,7 +742,7 @@ en: email_body: "%{link}\n\n%{message}" flagging: - you_must_edit: '
Your post was flagged by the community. Please see your messages.
' + you_must_edit: 'Your post was flagged by the community. Please see your messages.
' user_must_edit: 'This post was flagged by the community and is temporarily hidden.
' archetypes: