Make confirm dialogs work with vue-i18n 9
This commit is contained in:
parent
91b4737196
commit
4d9edf4bfb
3 changed files with 24 additions and 21 deletions
|
@ -68,15 +68,16 @@
|
||||||
@accepted="doBlockUser"
|
@accepted="doBlockUser"
|
||||||
@cancelled="hideConfirmBlock"
|
@cancelled="hideConfirmBlock"
|
||||||
>
|
>
|
||||||
<i18n
|
<i18n-t
|
||||||
path="user_card.block_confirm"
|
keypath="user_card.block_confirm"
|
||||||
tag="span"
|
tag="span"
|
||||||
>
|
>
|
||||||
<span
|
<template #user>
|
||||||
place="user"
|
<span
|
||||||
v-text="user.screen_name_ui"
|
v-text="user.screen_name_ui"
|
||||||
/>
|
/>
|
||||||
</i18n>
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</confirm-modal>
|
</confirm-modal>
|
||||||
</teleport>
|
</teleport>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,15 +16,16 @@
|
||||||
@accepted="doUnfollow"
|
@accepted="doUnfollow"
|
||||||
@cancelled="hideConfirmUnfollow"
|
@cancelled="hideConfirmUnfollow"
|
||||||
>
|
>
|
||||||
<i18n
|
<i18n-t
|
||||||
path="user_card.unfollow_confirm"
|
keypath="user_card.unfollow_confirm"
|
||||||
tag="span"
|
tag="span"
|
||||||
>
|
>
|
||||||
<span
|
<template #user>
|
||||||
place="user"
|
<span
|
||||||
v-text="user.screen_name_ui"
|
v-text="user.screen_name_ui"
|
||||||
/>
|
/>
|
||||||
</i18n>
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</confirm-modal>
|
</confirm-modal>
|
||||||
</teleport>
|
</teleport>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -304,15 +304,16 @@
|
||||||
@accepted="doMuteUser"
|
@accepted="doMuteUser"
|
||||||
@cancelled="hideConfirmMute"
|
@cancelled="hideConfirmMute"
|
||||||
>
|
>
|
||||||
<i18n
|
<i18n-t
|
||||||
path="user_card.mute_confirm"
|
keypath="user_card.mute_confirm"
|
||||||
tag="span"
|
tag="span"
|
||||||
>
|
>
|
||||||
<span
|
<template #user>
|
||||||
place="user"
|
<span
|
||||||
v-text="user.screen_name_ui"
|
v-text="user.screen_name_ui"
|
||||||
/>
|
/>
|
||||||
</i18n>
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</confirm-modal>
|
</confirm-modal>
|
||||||
</teleport>
|
</teleport>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue