feature/fix-vue-i18n-9.2.31 (#1994)
Co-authored-by: renovate <renovatebot@kolaente.de> Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1994 Reviewed-by: konrad <k@knt.li> Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:

committed by
konrad

parent
1569042471
commit
5ef939a230
@ -91,7 +91,7 @@ const now = ref(new Date())
|
||||
const dateFrom = ref(new Date((new Date()).setDate(now.value.getDate() - 15)))
|
||||
const dateTo = ref(new Date((new Date()).setDate(now.value.getDate() + 30)))
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
const store = useStore()
|
||||
const flatPickerConfig = computed(() => ({
|
||||
altFormat: t('date.altFormatShort'),
|
||||
|
@ -45,7 +45,7 @@ import ColorPicker from '@/components/input/colorPicker.vue'
|
||||
import { success } from '@/message'
|
||||
import { useTitle } from '@/composables/useTitle'
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
const store = useStore()
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
|
@ -27,7 +27,7 @@ import ListService from '@/services/list'
|
||||
import { success } from '@/message'
|
||||
import { useTitle } from '@/composables/useTitle'
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
const store = useStore()
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
|
@ -36,7 +36,7 @@ import {success} from '@/message'
|
||||
import TaskCollectionService from '@/services/taskCollection'
|
||||
import Loading from '@/components/misc/loading.vue'
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
const store = useStore()
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
|
@ -37,7 +37,7 @@ import { useTitle } from '@/composables/useTitle'
|
||||
import { useNameSpaceSearch } from '@/composables/useNamespaceSearch'
|
||||
|
||||
|
||||
const { t } = useI18n()
|
||||
const { t } = useI18n({useScope: 'global'})
|
||||
useTitle(() => t('list.duplicate.title'))
|
||||
|
||||
|
||||
|
@ -45,7 +45,7 @@ import CreateEdit from '@/components/misc/create-edit.vue'
|
||||
import LinkSharing from '@/components/sharing/linkSharing.vue'
|
||||
import userTeam from '@/components/sharing/userTeam.vue'
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
|
||||
const list = ref()
|
||||
const title = computed(() => list.value?.title
|
||||
|
Reference in New Issue
Block a user