feat(user): use user language from store after logging in
This commit is contained in:
@ -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
|
||||
}
|
Reference in New Issue
Block a user