notifications: fix note description render

This commit is contained in:
Liam Fitzgerald 2020-11-26 10:58:54 +10:00
parent bda335ea7c
commit 03b89e7072
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -44,7 +44,7 @@ function describeNotification(description: string, plural: boolean) {
return `left ${pluralize("comment", plural)} on`; return `left ${pluralize("comment", plural)} on`;
case "edit-comment": case "edit-comment":
return `updated ${pluralize("comment", plural)} on`; return `updated ${pluralize("comment", plural)} on`;
case "new-note": case "note":
return `posted ${pluralize("note", plural)} to`; return `posted ${pluralize("note", plural)} to`;
case "edit-note": case "edit-note":
return `updated ${pluralize("note", plural)} in`; return `updated ${pluralize("note", plural)} in`;