diff --git a/src/components/tasks/partials/repeatAfter.vue b/src/components/tasks/partials/repeatAfter.vue index fc34c077..f77c127a 100644 --- a/src/components/tasks/partials/repeatAfter.vue +++ b/src/components/tasks/partials/repeatAfter.vue @@ -82,7 +82,7 @@ const props = defineProps({ }, }) -const {t} = useI18n() +const {t} = useI18n({useScope: 'global'}) const emit = defineEmits(['update:modelValue', 'change']) diff --git a/src/views/namespaces/settings/edit.vue b/src/views/namespaces/settings/edit.vue index 69a93957..590a64f9 100644 --- a/src/views/namespaces/settings/edit.vue +++ b/src/views/namespaces/settings/edit.vue @@ -71,7 +71,7 @@ import NamespaceModel from '@/models/namespace' import {useI18n} from 'vue-i18n' import {useTitle} from '@/composables/useTitle' -const {t} = useI18n() +const {t} = useI18n({useScope: 'global'}) const store = useStore() const namespaceService = ref(new NamespaceService()) diff --git a/src/views/user/OpenIdAuth.vue b/src/views/user/OpenIdAuth.vue index 63bb3753..083739fb 100644 --- a/src/views/user/OpenIdAuth.vue +++ b/src/views/user/OpenIdAuth.vue @@ -25,7 +25,7 @@ import {getErrorText} from '@/message' import Message from '@/components/misc/message.vue' import {clearLastVisited, getLastVisited} from '@/helpers/saveLastVisited' -const {t} = useI18n() +const {t} = useI18n({useScope: 'global'}) const router = useRouter() const route = useRoute()