mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-13 09:10:47 +01:00
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:
commit
f9a09b0358
4 changed files with 7 additions and 0 deletions
|
@ -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
4
locales/index.d.ts
vendored
|
@ -9431,6 +9431,10 @@ export interface Locale extends ILocale {
|
||||||
* 連携アプリからの通知
|
* 連携アプリからの通知
|
||||||
*/
|
*/
|
||||||
"app": string;
|
"app": string;
|
||||||
|
/**
|
||||||
|
* 編集済み
|
||||||
|
*/
|
||||||
|
"edited": string;
|
||||||
};
|
};
|
||||||
"_actions": {
|
"_actions": {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2489,6 +2489,7 @@ _notification:
|
||||||
roleAssigned: "ロールが付与された"
|
roleAssigned: "ロールが付与された"
|
||||||
achievementEarned: "実績の獲得"
|
achievementEarned: "実績の獲得"
|
||||||
app: "連携アプリからの通知"
|
app: "連携アプリからの通知"
|
||||||
|
edited: "編集済み"
|
||||||
|
|
||||||
_actions:
|
_actions:
|
||||||
followBack: "フォローバック"
|
followBack: "フォローバック"
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue