diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2022-04-09 23:26:27 -0400 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-01-20 23:40:11 -0500 |
| commit | ec957d41620fecc5103474f1b07bbb96f5cae446 (patch) | |
| tree | 7b21be110ad864299bb5622995b60a86e9baef36 /src/components/account_actions/account_actions.vue | |
| parent | 91c4a57fe50fae8b6e8defe08f09c8a7090bf649 (diff) | |
Make confirm dialogs work with vue-i18n 9
Diffstat (limited to 'src/components/account_actions/account_actions.vue')
| -rw-r--r-- | src/components/account_actions/account_actions.vue | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index fc303271..161bab09 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -83,15 +83,16 @@ @accepted="doBlockUser" @cancelled="hideConfirmBlock" > - <i18n - path="user_card.block_confirm" + <i18n-t + keypath="user_card.block_confirm" tag="span" > - <span - place="user" - v-text="user.screen_name_ui" - /> - </i18n> + <template #user> + <span + v-text="user.screen_name_ui" + /> + </template> + </i18n-t> </confirm-modal> </teleport> </div> |
