mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
Bugfix/040 UI (#2881)
* fix sideload and install flow * move updates chevron inside upddate button * update dictionaries to include langauge names * fix: address todos (#2880) * fix: address todos * fix enlgish translation --------- Co-authored-by: Matt Hill <mattnine@protonmail.com> * use existing translation, no need to duplicate * fix: update dialog and other fixes (#2882) --------- Co-authored-by: Alex Inkin <alexander@inkin.ru> Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
@@ -5,7 +5,7 @@ import {
|
||||
tuiLanguageSwitcher,
|
||||
TuiLanguageSwitcherService,
|
||||
} from '@taiga-ui/i18n'
|
||||
import { ENGLISH } from './dictionaries/english'
|
||||
import { ENGLISH } from './dictionaries/en'
|
||||
import { i18nService } from './i18n.service'
|
||||
|
||||
export type i18nKey = keyof typeof ENGLISH
|
||||
@@ -36,11 +36,11 @@ export const I18N_PROVIDERS = [
|
||||
useValue: async (language: TuiLanguageName): Promise<unknown> => {
|
||||
switch (language) {
|
||||
case 'spanish':
|
||||
return import('./dictionaries/spanish').then(v => v.default)
|
||||
return import('./dictionaries/es').then(v => v.default)
|
||||
case 'polish':
|
||||
return import('./dictionaries/polish').then(v => v.default)
|
||||
return import('./dictionaries/pl').then(v => v.default)
|
||||
case 'german':
|
||||
return import('./dictionaries/german').then(v => v.default)
|
||||
return import('./dictionaries/de').then(v => v.default)
|
||||
default:
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user