From 70c87848dd9a2eae97623f6e6308fa76a5e3acfb Mon Sep 17 00:00:00 2001 From: viridian Date: Sun, 14 Jul 2024 23:24:41 +0200 Subject: [PATCH 1/3] feat: Filter notifications by edit --- packages/frontend/src/const.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/const.ts b/packages/frontend/src/const.ts index 5109c34c02..f9ee820065 100644 --- a/packages/frontend/src/const.ts +++ b/packages/frontend/src/const.ts @@ -119,6 +119,7 @@ export const notificationTypes = [ 'roleAssigned', 'achievementEarned', 'app', + 'edited' ] as const; export const obsoleteNotificationTypes = ['pollVote', 'groupInvited'] as const; From de2f85e88df364016ba54f710f274eb9ce590025 Mon Sep 17 00:00:00 2001 From: viridian Date: Sun, 14 Jul 2024 23:56:33 +0200 Subject: [PATCH 2/3] Add locals en-US and ja-JP (machine translated) --- locales/en-US.yml | 1 + locales/ja-JP.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/locales/en-US.yml b/locales/en-US.yml index fe7bc3c451..598f742896 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -2431,6 +2431,7 @@ _notification: roleAssigned: "Role given" achievementEarned: "Achievement unlocked" app: "Notifications from linked apps" + edited: "Edits" _actions: followBack: "followed you back" reply: "Reply" diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 8485037111..c25b421172 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -2489,6 +2489,7 @@ _notification: roleAssigned: "ロールが付与された" achievementEarned: "実績の獲得" app: "連携アプリからの通知" + edited: "編集済み" _actions: followBack: "フォローバック" From 71f30a8cb70db5d60f369d8ac0256f449a44546f Mon Sep 17 00:00:00 2001 From: viridian Date: Mon, 15 Jul 2024 08:53:01 +0200 Subject: [PATCH 3/3] Auto generate locals/index.d.ts --- locales/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/locales/index.d.ts b/locales/index.d.ts index 7314151708..e3434d7dbf 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -9431,6 +9431,10 @@ export interface Locale extends ILocale { * 連携アプリからの通知 */ "app": string; + /** + * 編集済み + */ + "edited": string; }; "_actions": { /**