fix: 🌐 i18n key for "confirm"

This commit is contained in:
ThatOneCalculator 2023-08-08 20:09:54 -07:00
parent 73dcf4f8fa
commit 9a23db683a
No known key found for this signature in database
GPG key ID: 8703CACD01000000
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -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,
}); });