From d85067fad596fa9b6d77257a4015d928bb77b86f Mon Sep 17 00:00:00 2001 From: Freeplay Date: Mon, 22 May 2023 21:11:35 -0400 Subject: [PATCH] Add labels to some & truncate notifications --- locales/en-US.yml | 3 +++ .../client/src/components/MkNotification.vue | 21 ++++++++++++++----- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index b3944b1e57..9d7b399cc3 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1959,6 +1959,9 @@ _notification: youWereInvitedToGroup: "{userName} invited you to a group" pollEnded: "Poll results have become available" emptyPushNotificationMessage: "Push notifications have been updated" + reacted: "reacted to your post" + renoted: "boosted your post" + voted: "voted on your poll" _types: all: "All" follow: "New followers" diff --git a/packages/client/src/components/MkNotification.vue b/packages/client/src/components/MkNotification.vue index c909873a55..0680ed8a73 100644 --- a/packages/client/src/components/MkNotification.vue +++ b/packages/client/src/components/MkNotification.vue @@ -2,7 +2,7 @@
@@ -114,6 +114,7 @@ :to="notePage(notification.note)" :title="getNoteSummary(notification.note)" > + {{ i18n.ts._notification.reacted }} + {{ i18n.ts._notification.renoted }} + {{ i18n.ts._notification.voted }} {{ i18n.ts.youGotNewFollower }}
{{ i18n.ts.followRequestAccepted }} {{ i18n.ts.receiveFollowRequest }}