diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index ce195bcdafb..3d454fccc0d 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -2824,8 +2824,8 @@ en: reviewables_reminder: subject_template: "There're items in the review queue that need reviewing" text_body_template: - one: "%{mentions} Items were submitted over %{count} hour ago. [Please review them](%{base_path}/review)." - other: "%{mentions} Items were submitted over %{count} hours ago. [Please review them](%{base_path}/review)." + one: "%{mentions} Items were submitted over %{count} hour ago. [Please review them](%{base_url}/review)." + other: "%{mentions} Items were submitted over %{count} hours ago. [Please review them](%{base_url}/review)." private_topic_title: "Topic #%{id}" contents_hidden: "Please visit the post to see its contents." diff --git a/spec/jobs/pending_reviewables_reminder_spec.rb b/spec/jobs/pending_reviewables_reminder_spec.rb index bab0d56847c..24f23c972a7 100644 --- a/spec/jobs/pending_reviewables_reminder_spec.rb +++ b/spec/jobs/pending_reviewables_reminder_spec.rb @@ -78,7 +78,7 @@ describe Jobs::PendingReviewablesReminder do it 'deletes previous messages' do GroupMessage.create( Group[:moderators].name, 'reviewables_reminder', - { limit_once_per: false, message_params: { mentions: [], count: 1 } } + { limit_once_per: false, message_params: { mentions: '', count: 1 } } ) create_flag(49.hours.ago)