fix: 🌐 i18n key for "confirm"
This commit is contained in:
parent
73dcf4f8fa
commit
9a23db683a
2 changed files with 2 additions and 1 deletions
|
@ -1135,6 +1135,7 @@ delete2faConfirm: "This will irreversibly delete 2FA on this account. Proceed?"
|
||||||
deletePasskeysConfirm: "This will irreversibly delete all passkeys and security keys on this account. Proceed?"
|
deletePasskeysConfirm: "This will irreversibly delete all passkeys and security keys on this account. Proceed?"
|
||||||
inputNotMatch: "Input does not match"
|
inputNotMatch: "Input does not match"
|
||||||
addRe: "Add \"re:\" at the beginning of comment in reply to a post with a content warning"
|
addRe: "Add \"re:\" at the beginning of comment in reply to a post with a content warning"
|
||||||
|
confirm: "Confirm"
|
||||||
|
|
||||||
_sensitiveMediaDetection:
|
_sensitiveMediaDetection:
|
||||||
description: "Reduces the effort of server moderation through automatically recognizing
|
description: "Reduces the effort of server moderation through automatically recognizing
|
||||||
|
|
|
@ -207,7 +207,7 @@ export function getUserMenu(user, router: Router = mainRouter) {
|
||||||
async function getConfirmed(text: string): Promise<boolean> {
|
async function getConfirmed(text: string): Promise<boolean> {
|
||||||
const confirm = await os.confirm({
|
const confirm = await os.confirm({
|
||||||
type: "warning",
|
type: "warning",
|
||||||
title: "confirm",
|
title: i18n.ts.confirm,
|
||||||
text,
|
text,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue