@@ -41,6 +41,7 @@ export async function toggleFollowAccount(relationship: mastodon.v1.Relationship
41
41
if ( unfollow ) {
42
42
if ( await openConfirmDialog ( {
43
43
title : i18n . t ( 'confirm.unfollow.title' ) ,
44
+ description : i18n . t ( 'confirm.unfollow.description' , [ `@${ account . acct } ` ] ) ,
44
45
confirm : i18n . t ( 'confirm.unfollow.confirm' ) ,
45
46
cancel : i18n . t ( 'confirm.unfollow.cancel' ) ,
46
47
} ) !== 'confirm' )
@@ -66,7 +67,8 @@ export async function toggleMuteAccount(relationship: mastodon.v1.Relationship,
66
67
const i18n = useNuxtApp ( ) . $i18n
67
68
68
69
if ( ! relationship ! . muting && await openConfirmDialog ( {
69
- title : i18n . t ( 'confirm.mute_account.title' , [ account . acct ] ) ,
70
+ title : i18n . t ( 'confirm.mute_account.title' ) ,
71
+ description : i18n . t ( 'confirm.mute_account.description' , [ account . acct ] ) ,
70
72
confirm : i18n . t ( 'confirm.mute_account.confirm' ) ,
71
73
cancel : i18n . t ( 'confirm.mute_account.cancel' ) ,
72
74
} ) !== 'confirm' )
@@ -85,7 +87,8 @@ export async function toggleBlockAccount(relationship: mastodon.v1.Relationship,
85
87
const i18n = useNuxtApp ( ) . $i18n
86
88
87
89
if ( ! relationship ! . blocking && await openConfirmDialog ( {
88
- title : i18n . t ( 'confirm.block_account.title' , [ account . acct ] ) ,
90
+ title : i18n . t ( 'confirm.block_account.title' ) ,
91
+ description : i18n . t ( 'confirm.block_account.description' , [ account . acct ] ) ,
89
92
confirm : i18n . t ( 'confirm.block_account.confirm' ) ,
90
93
cancel : i18n . t ( 'confirm.block_account.cancel' ) ,
91
94
} ) !== 'confirm' )
@@ -100,7 +103,8 @@ export async function toggleBlockDomain(relationship: mastodon.v1.Relationship,
100
103
const i18n = useNuxtApp ( ) . $i18n
101
104
102
105
if ( ! relationship ! . domainBlocking && await openConfirmDialog ( {
103
- title : i18n . t ( 'confirm.block_domain.title' , [ getServerName ( account ) ] ) ,
106
+ title : i18n . t ( 'confirm.block_domain.title' ) ,
107
+ description : i18n . t ( 'confirm.block_domain.description' , [ getServerName ( account ) ] ) ,
104
108
confirm : i18n . t ( 'confirm.block_domain.confirm' ) ,
105
109
cancel : i18n . t ( 'confirm.block_domain.cancel' ) ,
106
110
} ) !== 'confirm' )
0 commit comments