mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
rework installing page and add cancel install button (#2915)
* rework installing page and add cancel install button * actually call cancel endpoint * fix two bugs * include translations in progress component * cancellable installs * fix: comments (#2916) * fix: comments * delete comments * ensure trailing slash and no qp for new registry url --------- Co-authored-by: Matt Hill <mattnine@protonmail.com> * fix raspi * bump sdk --------- Co-authored-by: Aiden McClelland <me@drbonez.dev> Co-authored-by: Alex Inkin <alexander@inkin.ru>
This commit is contained in:
@@ -362,8 +362,8 @@ export default {
|
||||
359: 'Die Partition enthält keine gültige Sicherung',
|
||||
360: 'Sicherungsfortschritt',
|
||||
361: 'Abgeschlossen',
|
||||
362: 'Sicherung läuft',
|
||||
363: 'Warten',
|
||||
362: 'sicherung läuft',
|
||||
363: 'warten',
|
||||
364: 'Sicherung erstellt',
|
||||
365: 'Wiederherstellung ausgewählt',
|
||||
366: 'Initialisierung',
|
||||
@@ -493,4 +493,9 @@ export default {
|
||||
490: 'deutsch',
|
||||
491: 'englisch',
|
||||
492: 'Startmenü',
|
||||
493: 'Installationsfortschritt',
|
||||
494: 'Herunterladen',
|
||||
495: 'Validierung',
|
||||
496: 'in Bearbeitung',
|
||||
497: 'abgeschlossen',
|
||||
} satisfies i18n
|
||||
|
||||
@@ -361,8 +361,8 @@ export const ENGLISH = {
|
||||
'Drive partition does not contain a valid backup': 359,
|
||||
'Backup Progress': 360,
|
||||
'Complete': 361,
|
||||
'Backing up': 362,
|
||||
'Waiting': 363,
|
||||
'backing up': 362,
|
||||
'waiting': 363,
|
||||
'Backup made': 364,
|
||||
'Restore selected': 365,
|
||||
'Initializing': 366,
|
||||
@@ -492,4 +492,9 @@ export const ENGLISH = {
|
||||
'german': 490,
|
||||
'english': 491,
|
||||
'Start Menu': 492,
|
||||
'Install Progress': 493,
|
||||
'Downloading': 494,
|
||||
'Validating': 495,
|
||||
'in progress': 496,
|
||||
'complete': 497,
|
||||
} as const
|
||||
|
||||
@@ -362,8 +362,8 @@ export default {
|
||||
359: 'La partición de la unidad no contiene una copia de seguridad válida',
|
||||
360: 'Progreso de la copia de seguridad',
|
||||
361: 'Completo',
|
||||
362: 'Haciendo copia de seguridad',
|
||||
363: 'Esperando',
|
||||
362: 'haciendo copia de seguridad',
|
||||
363: 'esperando',
|
||||
364: 'Copia de seguridad realizada',
|
||||
365: 'Restauración seleccionada',
|
||||
366: 'Inicializando',
|
||||
@@ -493,4 +493,9 @@ export default {
|
||||
490: 'alemán',
|
||||
491: 'inglés',
|
||||
492: 'Menú de Inicio',
|
||||
} as any satisfies i18n
|
||||
493: 'Progreso de instalación',
|
||||
494: 'Descargando',
|
||||
495: 'Validando',
|
||||
496: 'en progreso',
|
||||
497: 'completo',
|
||||
} satisfies i18n
|
||||
|
||||
@@ -362,8 +362,8 @@ export default {
|
||||
359: 'Partycja dysku nie zawiera prawidłowej kopii zapasowej',
|
||||
360: 'Postęp tworzenia kopii zapasowej',
|
||||
361: 'Zakończono',
|
||||
362: 'Tworzenie kopii zapasowej',
|
||||
363: 'Oczekiwanie',
|
||||
362: 'tworzenie kopii zapasowej',
|
||||
363: 'oczekiwanie',
|
||||
364: 'Kopia zapasowa utworzona',
|
||||
365: 'Wybrano przywracanie',
|
||||
366: 'Inicjalizacja',
|
||||
@@ -493,4 +493,9 @@ export default {
|
||||
490: 'niemiecki',
|
||||
491: 'angielski',
|
||||
492: 'Menu Startowe',
|
||||
493: 'Postęp instalacji',
|
||||
494: 'Pobieranie',
|
||||
495: 'Weryfikowanie',
|
||||
496: 'w toku',
|
||||
497: 'zakończono',
|
||||
} satisfies i18n
|
||||
|
||||
@@ -39,7 +39,7 @@ class LoadingComponent {
|
||||
useFactory: () => new LoadingService(TUI_DIALOGS, LoadingComponent),
|
||||
})
|
||||
export class LoadingService extends TuiPopoverService<unknown> {
|
||||
override open<G = void>(textContent: i18nKey) {
|
||||
override open<G = void>(textContent: i18nKey | '' = '') {
|
||||
return super.open<G>(textContent)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user