From 0ffa5f7f5ffd2bfec2f50abfad51c831f3b49976 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Tue, 11 Apr 2023 17:33:36 +0600 Subject: [PATCH] Change notification actions (#2938) Signed-off-by: Denis Bykhov --- models/notification/src/index.ts | 6 +++--- models/notification/src/plugin.ts | 2 +- plugins/notification-assets/lang/en.json | 2 +- plugins/notification-assets/lang/ru.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/models/notification/src/index.ts b/models/notification/src/index.ts index 18b725dfab..b6d6ca5148 100644 --- a/models/notification/src/index.ts +++ b/models/notification/src/index.ts @@ -266,8 +266,8 @@ export function createModel (builder: Builder): void { { action: notification.actionImpl.Hide, actionProps: {}, - label: notification.string.Hide, - icon: notification.icon.Hide, + label: notification.string.Archive, + icon: view.icon.Archive, input: 'focus', category: notification.category.Notification, target: notification.class.DocUpdates, @@ -282,7 +282,7 @@ export function createModel (builder: Builder): void { action: notification.actionImpl.Unsubscribe, actionProps: {}, label: notification.string.DontTrack, - icon: view.icon.Delete, + icon: notification.icon.Hide, input: 'focus', category: notification.category.Notification, target: notification.class.DocUpdates, diff --git a/models/notification/src/plugin.ts b/models/notification/src/plugin.ts index 896b4a416e..01cfede8e2 100644 --- a/models/notification/src/plugin.ts +++ b/models/notification/src/plugin.ts @@ -31,7 +31,7 @@ export default mergeIds(notificationId, notification, { BrowserNotification: '' as IntlString, EmailNotification: '' as IntlString, Collaborators: '' as IntlString, - Hide: '' as IntlString, + Archive: '' as IntlString, MarkAsUnread: '' as IntlString }, app: { diff --git a/plugins/notification-assets/lang/en.json b/plugins/notification-assets/lang/en.json index 9367612c2d..3b170f5fec 100644 --- a/plugins/notification-assets/lang/en.json +++ b/plugins/notification-assets/lang/en.json @@ -17,7 +17,7 @@ "MarkAllAsRead": "Mark all notifications as read", "MarkAsRead": "Mark as read", "MarkAsUnread": "Mark as unread", - "Hide": "Hide", + "Archive": "Archive", "Inbox": "Inbox", "Collaborators": "Collaborators" } diff --git a/plugins/notification-assets/lang/ru.json b/plugins/notification-assets/lang/ru.json index 6440908e90..c19d0e4463 100644 --- a/plugins/notification-assets/lang/ru.json +++ b/plugins/notification-assets/lang/ru.json @@ -17,7 +17,7 @@ "MarkAllAsRead": "Отметить все нотификации как прочитанные", "MarkAsRead": "Отметить нотификация прочитанной", "MarkAsUnread": "Отметить непрочитанным", - "Hide": "Скрыть", + "Archive": "Архивировать", "Inbox": "Входящие", "Collaborators": "Участники" }