refactor(i18n): confirm module (#1210)

This commit is contained in:
webfansplz 2023-01-16 16:56:36 +08:00 committed by GitHub
parent 741eccf929
commit 2d96d1358b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 206 additions and 125 deletions

View file

@ -18,10 +18,10 @@ const emit = defineEmits<{
</div>
<div flex justify-end gap-2>
<button btn-text @click="emit('choice', 'cancel')">
{{ cancel || $t('common.confirm_dialog.cancel') }}
{{ cancel || $t('confirm.common.cancel') }}
</button>
<button btn-solid @click="emit('choice', 'confirm')">
{{ confirm || $t('common.confirm_dialog.confirm') }}
{{ confirm || $t('confirm.common.confirm') }}
</button>
</div>
</div>