Skip to content

Node.js based forum software built for the modern web

fix: give merged post-queue notifications their own text (#14865)

palmoni5593a71e16f7c
diff --git a/public/language/en-GB/notifications.json b/public/language/en-GB/notifications.json
index 53576f60c5..f4053fbd32 100644
--- a/public/language/en-GB/notifications.json
+++ b/public/language/en-GB/notifications.json
@@ -83,6 +83,7 @@
"post-queue-rejected": "Your queued post has been rejected.",
"post-queue-rejected-for-reason": "Your queued post has been rejected for the following reason: \"%1\"",
"post-queue-notify": "Queued post received a notification: \"%1\"",
+ "post-queue-multiple": "There are <strong>%1</strong> posts awaiting review.",
"email-confirmed": "Email Confirmed",
"email-confirmed-message": "Thank you for validating your email. Your account is now fully activated.",
diff --git a/src/notifications.js b/src/notifications.js
index 673dd2f9c2..8bdd545930 100644
--- a/src/notifications.js
+++ b/src/notifications.js
@@ -588,6 +588,7 @@ Notifications.merge = async function (notifications) {
}
case 'new-register':
+ case 'post-queue':
notifObj.bodyShort = `[[notifications:${mergeId}-multiple, ${set.length}]]`;
break;
}