mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-11 18:10:01 +08:00
23 lines
619 B
Vue
23 lines
619 B
Vue
<script setup>
|
|
import { useI18n } from 'vue-i18n'
|
|
import { useGlobalState } from '../../store'
|
|
const { openSettings } = useGlobalState()
|
|
|
|
const { t } = useI18n({
|
|
messages: {
|
|
en: {
|
|
adminContact: 'If you need help, please contact the administrator ({msg})',
|
|
},
|
|
zh: {
|
|
adminContact: '如果你需要帮助,请联系管理员 ({msg})',
|
|
}
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<n-alert v-if="openSettings.adminContact" :show-icon="false" :bordered="false">
|
|
<span>{{ t('adminContact', { msg: openSettings.adminContact }) }}</span>
|
|
</n-alert>
|
|
</template>
|