From 9a23db683ab977abb731b400e3f1b8ca1aa942ce Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 8 Aug 2023 20:09:54 -0700 Subject: [PATCH] fix: :globe_with_meridians: i18n key for "confirm" --- locales/en-US.yml | 1 + packages/client/src/scripts/get-user-menu.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index dd6c01a1e3..177ca9080c 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -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?" inputNotMatch: "Input does not match" addRe: "Add \"re:\" at the beginning of comment in reply to a post with a content warning" +confirm: "Confirm" _sensitiveMediaDetection: description: "Reduces the effort of server moderation through automatically recognizing diff --git a/packages/client/src/scripts/get-user-menu.ts b/packages/client/src/scripts/get-user-menu.ts index 2e7ad47a5c..26112379cc 100644 --- a/packages/client/src/scripts/get-user-menu.ts +++ b/packages/client/src/scripts/get-user-menu.ts @@ -207,7 +207,7 @@ export function getUserMenu(user, router: Router = mainRouter) { async function getConfirmed(text: string): Promise { const confirm = await os.confirm({ type: "warning", - title: "confirm", + title: i18n.ts.confirm, text, });