mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:29:30 +08:00
FIX: Use correct argument name in pending reviewables translation (#15371)
This commit is contained in:
parent
7e0c1fb039
commit
491f020771
|
@ -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."
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user