mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-04-13 09:44:40 +00:00
merge: add deleteThisAccountConfirm locale (!956)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/956 Closes #1025 Approved-by: Hazelnoot <acomputerdog@gmail.com> Approved-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
commit
3522af186d
4 changed files with 7 additions and 2 deletions
4
locales/index.d.ts
vendored
4
locales/index.d.ts
vendored
|
@ -11585,6 +11585,10 @@ export interface Locale extends ILocale {
|
||||||
* Cat friend :3
|
* Cat friend :3
|
||||||
*/
|
*/
|
||||||
"oneko": string;
|
"oneko": string;
|
||||||
|
/**
|
||||||
|
* This will irreversibly delete this account. Proceed?
|
||||||
|
*/
|
||||||
|
"deleteThisAccountConfirm": string;
|
||||||
/**
|
/**
|
||||||
* Enable Achievements
|
* Enable Achievements
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -65,7 +65,7 @@ const emits = defineEmits<{
|
||||||
async function deleteAccount() {
|
async function deleteAccount() {
|
||||||
const confirm = await os.confirm({
|
const confirm = await os.confirm({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
text: i18n.ts.deleteAccountConfirm,
|
text: i18n.ts.deleteThisAccountConfirm,
|
||||||
});
|
});
|
||||||
if (confirm.canceled) return;
|
if (confirm.canceled) return;
|
||||||
|
|
||||||
|
|
|
@ -447,7 +447,7 @@ async function deleteAllFiles() {
|
||||||
async function deleteAccount() {
|
async function deleteAccount() {
|
||||||
const confirm = await os.confirm({
|
const confirm = await os.confirm({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
text: i18n.ts.deleteAccountConfirm,
|
text: i18n.ts.deleteThisAccountConfirm,
|
||||||
});
|
});
|
||||||
if (confirm.canceled) return;
|
if (confirm.canceled) return;
|
||||||
|
|
||||||
|
|
|
@ -138,6 +138,7 @@ oneko: "Cat friend :3"
|
||||||
renotesList: "Boosts"
|
renotesList: "Boosts"
|
||||||
lookupConfirm: "Are you sure that you want to look this up?"
|
lookupConfirm: "Are you sure that you want to look this up?"
|
||||||
openTagPageConfirm: "Are you sure you want to open this hashtags page?"
|
openTagPageConfirm: "Are you sure you want to open this hashtags page?"
|
||||||
|
deleteThisAccountConfirm: "This will irreversibly delete this account. Proceed?"
|
||||||
specifyHost: "Specify a host"
|
specifyHost: "Specify a host"
|
||||||
goToMisskey: "To Sharkey"
|
goToMisskey: "To Sharkey"
|
||||||
enableAchievements: "Enable Achievements"
|
enableAchievements: "Enable Achievements"
|
||||||
|
|
Loading…
Add table
Reference in a new issue