import Notification from 'flarum/components/Notification';
import username from 'flarum/helpers/username';
import punctuateSeries from 'flarum/helpers/punctuateSeries';

export default class PostLikedNotification extends Notification {
  icon() {
    return 'far fa-thumbs-up';
  }

  href() {
    return app.route.post(this.props.notification.subject());
  }

  content() {
    const notification = this.props.notification;
    const user = notification.fromUser();
    const auc = notification.additionalUnreadCount();

    return app.translator.transChoice('flarum-likes.forum.notifications.post_liked_text', auc + 1, {
      user,
      username: auc ? punctuateSeries([
        username(user),
        app.translator.transChoice('flarum-likes.forum.notifications.others_text', auc, {count: auc})
      ]) : undefined
    });
  }

  excerpt() {
    return this.props.notification.subject().contentPlain();
  }
}

@@ -55,118 +55,8 @@
 on';
-%0Aimport username from 'flarum/helpers/username';%0Aimport punctuateSeries from 'flarum/helpers/punctuateSeries';
 %0A%0Aex
@@ -353,62 +353,8 @@
 r();
-%0A    const auc = notification.additionalUnreadCount();
 %0A%0A  
@@ -445,222 +445,16 @@
 t', 
-auc + 1, %7B%0A      user,%0A      username: auc ? punctuateSeries(%5B%0A        username(user),%0A        app.translator.transChoice('flarum-likes.forum.notifications.others_text', auc, %7Bcount: auc%7D)%0A      %5D) : undefined%0A    
+1, %7Buser
 %7D);%0A

Remove notification pluralization logic