mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
Refactor i18n approach (#2875)
* Refactor i18n approach * chore: move to shared * chore: add default * create DialogService and update LoadingService (#2876) * complete translation infra for ui project, currently broken * cleanup and more dictionaries * chore: fix --------- Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com> Co-authored-by: Matt Hill <mattnine@protonmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { CommonModule, DOCUMENT } from '@angular/common'
|
||||
import { Component, inject } from '@angular/core'
|
||||
import { RELATIVE_URL } from '@start9labs/shared'
|
||||
import { i18nPipe, RELATIVE_URL } from '@start9labs/shared'
|
||||
import { TuiButton, TuiIcon, TuiSurface } from '@taiga-ui/core'
|
||||
import { TuiCardLarge } from '@taiga-ui/layout'
|
||||
import { ApiService } from 'src/app/services/api/embassy-api.service'
|
||||
@@ -11,7 +11,14 @@ import { ConfigService } from 'src/app/services/config.service'
|
||||
selector: 'ca-wizard',
|
||||
templateUrl: './ca-wizard.component.html',
|
||||
styleUrls: ['./ca-wizard.component.scss'],
|
||||
imports: [CommonModule, TuiIcon, TuiButton, TuiCardLarge, TuiSurface],
|
||||
imports: [
|
||||
CommonModule,
|
||||
TuiIcon,
|
||||
TuiButton,
|
||||
TuiCardLarge,
|
||||
TuiSurface,
|
||||
i18nPipe,
|
||||
],
|
||||
})
|
||||
export class CAWizardComponent {
|
||||
private readonly api = inject(ApiService)
|
||||
|
||||
Reference in New Issue
Block a user