1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

upd: add deleteThisAccountConfirm

This commit is contained in:
Marie
2025-04-06 00:16:36 +02:00
parent 865a9c4906
commit 2b510dc2da
4 changed files with 7 additions and 2 deletions

4
locales/index.d.ts vendored
View File

@@ -11585,6 +11585,10 @@ export interface Locale extends ILocale {
* Cat friend :3
*/
"oneko": string;
/**
* This will irreversibly delete this account. Proceed?
*/
"deleteThisAccountConfirm": string;
/**
* Enable Achievements
*/

View File

@@ -65,7 +65,7 @@ const emits = defineEmits<{
async function deleteAccount() {
const confirm = await os.confirm({
type: 'warning',
text: i18n.ts.deleteAccountConfirm,
text: i18n.ts.deleteThisAccountConfirm,
});
if (confirm.canceled) return;

View File

@@ -447,7 +447,7 @@ async function deleteAllFiles() {
async function deleteAccount() {
const confirm = await os.confirm({
type: 'warning',
text: i18n.ts.deleteAccountConfirm,
text: i18n.ts.deleteThisAccountConfirm,
});
if (confirm.canceled) return;

View File

@@ -138,6 +138,7 @@ oneko: "Cat friend :3"
renotesList: "Boosts"
lookupConfirm: "Are you sure that you want to look this up?"
openTagPageConfirm: "Are you sure you want to open this hashtags page?"
deleteThisAccountConfirm: "This will irreversibly delete this account. Proceed?"
specifyHost: "Specify a host"
goToMisskey: "To Sharkey"
enableAchievements: "Enable Achievements"