FIX: Use correct argument name in pending reviewables translation (#15371)

This commit is contained in:
Roman Rizzi 2021-12-20 17:35:51 -03:00 committed by GitHub
parent 7e0c1fb039
commit 491f020771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -2824,8 +2824,8 @@ en:
reviewables_reminder: reviewables_reminder:
subject_template: "There're items in the review queue that need reviewing" subject_template: "There're items in the review queue that need reviewing"
text_body_template: text_body_template:
one: "%{mentions} Items were submitted over %{count} hour 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_path}/review)." other: "%{mentions} Items were submitted over %{count} hours ago. [Please review them](%{base_url}/review)."
private_topic_title: "Topic #%{id}" private_topic_title: "Topic #%{id}"
contents_hidden: "Please visit the post to see its contents." contents_hidden: "Please visit the post to see its contents."

View File

@ -78,7 +78,7 @@ describe Jobs::PendingReviewablesReminder do
it 'deletes previous messages' do it 'deletes previous messages' do
GroupMessage.create( GroupMessage.create(
Group[:moderators].name, 'reviewables_reminder', 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) create_flag(49.hours.ago)