1
0

feat(user): use user language from store after logging in

This commit is contained in:
kolaente
2023-06-12 16:08:31 +02:00
parent 5325f6d7d9
commit 68597c9709
3 changed files with 13 additions and 12 deletions

View File

@ -3,6 +3,7 @@ import type {IAbstract} from './IAbstract'
import type {IProject} from './IProject'
import type {PrefixMode} from '@/modules/parseTaskText'
import type {BasicColorSchema} from '@vueuse/core'
import type {SupportedLocale} from '@/i18n'
export interface IFrontendSettings {
playSoundWhenDone: boolean
@ -20,6 +21,6 @@ export interface IUserSettings extends IAbstract {
defaultProjectId: undefined | IProject['id']
weekStart: 0 | 1 | 2 | 3 | 4 | 5 | 6
timezone: string
language: string
language: SupportedLocale
frontendSettings: IFrontendSettings
}