merge: feat: Filter notifications by edit (!573)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/573

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
This commit is contained in:
dakkar 2024-07-15 10:34:13 +00:00
commit f9a09b0358
4 changed files with 7 additions and 0 deletions

View file

@ -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"

4
locales/index.d.ts vendored
View file

@ -9431,6 +9431,10 @@ export interface Locale extends ILocale {
*
*/
"app": string;
/**
*
*/
"edited": string;
};
"_actions": {
/**

View file

@ -2489,6 +2489,7 @@ _notification:
roleAssigned: "ロールが付与された"
achievementEarned: "実績の獲得"
app: "連携アプリからの通知"
edited: "編集済み"
_actions:
followBack: "フォローバック"

View file

@ -119,6 +119,7 @@ export const notificationTypes = [
'roleAssigned',
'achievementEarned',
'app',
'edited'
] as const;
export const obsoleteNotificationTypes = ['pollVote', 'groupInvited'] as const;