mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 15:35:12 +00:00
fix: modlog not showing text on approve
This commit is contained in:
parent
887f422511
commit
07b72c65b9
4 changed files with 6 additions and 0 deletions
|
@ -2151,6 +2151,7 @@ _moderationLogTypes:
|
||||||
updateRole: "Role updated"
|
updateRole: "Role updated"
|
||||||
assignRole: "Assigned to role"
|
assignRole: "Assigned to role"
|
||||||
unassignRole: "Removed from role"
|
unassignRole: "Removed from role"
|
||||||
|
approve: "Approved"
|
||||||
suspend: "Suspended"
|
suspend: "Suspended"
|
||||||
unsuspend: "Unsuspended"
|
unsuspend: "Unsuspended"
|
||||||
addCustomEmoji: "Custom emoji added"
|
addCustomEmoji: "Custom emoji added"
|
||||||
|
|
1
locales/index.d.ts
vendored
1
locales/index.d.ts
vendored
|
@ -2300,6 +2300,7 @@ export interface Locale {
|
||||||
"updateRole": string;
|
"updateRole": string;
|
||||||
"assignRole": string;
|
"assignRole": string;
|
||||||
"unassignRole": string;
|
"unassignRole": string;
|
||||||
|
"approve": string;
|
||||||
"suspend": string;
|
"suspend": string;
|
||||||
"unsuspend": string;
|
"unsuspend": string;
|
||||||
"addCustomEmoji": string;
|
"addCustomEmoji": string;
|
||||||
|
|
|
@ -2213,6 +2213,7 @@ _moderationLogTypes:
|
||||||
updateRole: "ロールを更新"
|
updateRole: "ロールを更新"
|
||||||
assignRole: "ロールへアサイン"
|
assignRole: "ロールへアサイン"
|
||||||
unassignRole: "ロールのアサイン解除"
|
unassignRole: "ロールのアサイン解除"
|
||||||
|
approve: "承認済み"
|
||||||
suspend: "凍結"
|
suspend: "凍結"
|
||||||
unsuspend: "凍結解除"
|
unsuspend: "凍結解除"
|
||||||
addCustomEmoji: "カスタム絵文字追加"
|
addCustomEmoji: "カスタム絵文字追加"
|
||||||
|
|
|
@ -619,6 +619,9 @@ export type ModerationLog = {
|
||||||
} & ({
|
} & ({
|
||||||
type: 'updateServerSettings';
|
type: 'updateServerSettings';
|
||||||
info: ModerationLogPayloads['updateServerSettings'];
|
info: ModerationLogPayloads['updateServerSettings'];
|
||||||
|
} | {
|
||||||
|
type: 'approve';
|
||||||
|
info: ModerationLogPayloads['approve'];
|
||||||
} | {
|
} | {
|
||||||
type: 'suspend';
|
type: 'suspend';
|
||||||
info: ModerationLogPayloads['suspend'];
|
info: ModerationLogPayloads['suspend'];
|
||||||
|
|
Loading…
Reference in a new issue