diff --git a/extensions/likes/js/forum/src/components/PostLikedNotification.js b/extensions/likes/js/forum/src/components/PostLikedNotification.js index 90af0a645..f132aa488 100644 --- a/extensions/likes/js/forum/src/components/PostLikedNotification.js +++ b/extensions/likes/js/forum/src/components/PostLikedNotification.js @@ -16,11 +16,11 @@ export default class PostLikedNotification extends Notification { const user = notification.sender(); const auc = notification.additionalUnreadCount(); - return app.translator.trans('flarum-likes.forum.notifications.post_liked_text', { + return app.translator.transChoice('flarum-likes.forum.notifications.post_liked_text', auc + 1, { user, username: auc ? punctuateSeries([ username(user), - app.translator.trans('flarum-likes.forum.others', {count: auc}) + app.translator.transChoice('flarum-likes.forum.notifications.others_text', auc, {count: auc}) ]) : undefined }); }