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
@ -34,7 +34,7 @@ const checklistCircleDone = computed(() => {
|
||||
return ((100 - progress) / 100) * c
|
||||
})
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
const label = computed(() => {
|
||||
return checklist.value.total === checklist.value.checked
|
||||
? t('task.checklistAllDone', checklist.value)
|
||||
|
@ -173,7 +173,7 @@ const props = defineProps({
|
||||
},
|
||||
})
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
const store = useStore()
|
||||
|
||||
const comments = ref<TaskCommentModel[]>([])
|
||||
|
@ -54,7 +54,7 @@ const props = defineProps({
|
||||
})
|
||||
const emit = defineEmits(['update:modelValue'])
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
const store = useStore()
|
||||
|
||||
const taskService = shallowReactive(new TaskService())
|
||||
|
@ -60,7 +60,7 @@ const props = defineProps({
|
||||
const emit = defineEmits(['update:modelValue'])
|
||||
|
||||
const store = useStore()
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
|
||||
const listUserService = shallowReactive(new ListUserService())
|
||||
const foundUsers = ref([])
|
||||
|
@ -67,7 +67,7 @@ const props = defineProps({
|
||||
const emit = defineEmits(['update:modelValue', 'change'])
|
||||
|
||||
const store = useStore()
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
|
||||
const labelTaskService = shallowReactive(new LabelTaskService())
|
||||
const labels = ref<LabelModel[]>([])
|
||||
|
@ -36,7 +36,7 @@ const props = defineProps({
|
||||
const emit = defineEmits(['update:modelValue'])
|
||||
|
||||
const store = useStore()
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
|
||||
const list = reactive<ListModel>(new ListModel())
|
||||
|
||||
|
Reference in New Issue
Block a user