diff --git a/package.json b/package.json index 150a26bb0..f95c040be 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "vue-advanced-cropper": "2.8.1", "vue-drag-resize": "2.0.3", "vue-flatpickr-component": "9.0.6", - "vue-i18n": "9.2.0-beta.30", + "vue-i18n": "9.2.0-beta.35", "vue-router": "4.0.15", "vuex": "4.0.2", "workbox-precaching": "6.5.3", diff --git a/src/App.vue b/src/App.vue index ec62fd9a9..79d686833 100644 --- a/src/App.vue +++ b/src/App.vue @@ -48,7 +48,7 @@ const keyboardShortcutsActive = computed(() => store.state.keyboardShortcutsActi const authUser = computed(() => store.getters['auth/authUser']) const authLinkShare = computed(() => store.getters['auth/authLinkShare']) -const {t} = useI18n() +const {t} = useI18n({useScope: 'global'}) // setup account deletion verification const accountDeletionConfirm = useRouteQuery('accountDeletionConfirm') as Ref diff --git a/src/components/date/datepickerWithRange.vue b/src/components/date/datepickerWithRange.vue index 61c21ef53..d4acf6623 100644 --- a/src/components/date/datepickerWithRange.vue +++ b/src/components/date/datepickerWithRange.vue @@ -83,7 +83,7 @@ import BaseButton from '@/components/base/BaseButton.vue' import DatemathHelp from '@/components/date/datemathHelp.vue' const store = useStore() -const {t} = useI18n() +const {t} = useI18n({useScope: 'global'}) const emit = defineEmits(['dateChanged']) diff --git a/src/components/misc/api-config.vue b/src/components/misc/api-config.vue index 16a62a57b..d07aa68a9 100644 --- a/src/components/misc/api-config.vue +++ b/src/components/misc/api-config.vue @@ -70,7 +70,7 @@ watch(() => props.configureOpen, (value) => { }, {immediate: true}) -const {t} = useI18n() +const {t} = useI18n({useScope: 'global'}) const errorMsg = ref('') const successMsg = ref('') diff --git a/src/components/misc/create-edit.vue b/src/components/misc/create-edit.vue index 12a292b4e..5d9ee2842 100644 --- a/src/components/misc/create-edit.vue +++ b/src/components/misc/create-edit.vue @@ -28,22 +28,21 @@ {{ $t('misc.cancel') }} - {{ primaryLabel }} + {{ primaryLabel || $t('misc.create') }} +