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" roleAssigned: "Role given"
achievementEarned: "Achievement unlocked" achievementEarned: "Achievement unlocked"
app: "Notifications from linked apps" app: "Notifications from linked apps"
edited: "Edits"
_actions: _actions:
followBack: "followed you back" followBack: "followed you back"
reply: "Reply" reply: "Reply"

4
locales/index.d.ts vendored
View file

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

View file

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

View file

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