mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-02-03 22:40:50 +03:00
feat(ui): added "updating permissions" installation step
This commit is contained in:
parent
5a6d713277
commit
203d5a9bc3
19 changed files with 28 additions and 8 deletions
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = Launcher status wird geladen: Verifizierung des
|
|||
|
||||
checking-free-space = Überprüfe Freien Speicherplatz
|
||||
downloading = Lade Herunter
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Entpacken
|
||||
verifying-files = Verifiziere Dateien
|
||||
repairing-files = Repariere Dateien
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = Loading launcher state: verifying installed patc
|
|||
|
||||
checking-free-space = Checking free space
|
||||
downloading = Downloading
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Unpacking
|
||||
verifying-files = Verifying files
|
||||
repairing-files = Repairing files
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = Cargando estado del launcher: Verificando parche
|
|||
|
||||
checking-free-space = Comprobando espacio libre
|
||||
downloading = Descargando
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Descomprimiendo
|
||||
verifying-files = Verificación de archivos
|
||||
repairing-files = Reparación de archivos
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = Chargement de l'état du launcher : vérificati
|
|||
|
||||
checking-free-space = Vérification de l'espace disque disponible
|
||||
downloading = Téléchargement
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Décompression
|
||||
verifying-files = Vérification des fichiers
|
||||
repairing-files = Réparation des fichiers
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = Launcher állapot betöltése: telepített patch
|
|||
|
||||
checking-free-space = Szabad hely ellenőrzése
|
||||
downloading = Letöltés
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Kicsomagolás
|
||||
verifying-files = Fájlok ellenőrzése
|
||||
repairing-files = Fájlok javítása
|
||||
|
|
|
@ -48,7 +48,8 @@ loading-launcher-state--patch = Memuat keadaan launcher: memverifikasi patch yan
|
|||
|
||||
|
||||
checking-free-space = Mengecek penyimpanan kosong
|
||||
downloading = Mengunduh
|
||||
downloading = Mengunduh
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Membongkar
|
||||
verifying-files = Memverifikasi file
|
||||
repairing-files = Memperbaiki file
|
||||
|
|
|
@ -51,6 +51,7 @@ loading-launcher-state--patch = Caricamento dello stato del launcher: verifica d
|
|||
|
||||
checking-free-space = Controllo dello spazio disponibile in corso
|
||||
downloading = Scaricamento in corso
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Unpacking in corso
|
||||
verifying-files = Verifica dei file in corso
|
||||
repairing-files = Riparazione dei file in corso
|
||||
|
|
|
@ -50,6 +50,7 @@ loading-launcher-state--patch = ランチャーの状態を読み込み中 イ
|
|||
|
||||
checking-free-space = 空き容量を確認しています
|
||||
downloading = ダウンロード中
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = 展開
|
||||
verifying-files = ファイルの整合性を確認中
|
||||
repairing-files = ファイルを修正中
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = 런처 상태 로드 중: 설치된 패치 확
|
|||
|
||||
checking-free-space = 여유 공간 확인 중
|
||||
downloading = 다운로드 중
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = 압축 해제 중
|
||||
verifying-files = 파일 검증 중
|
||||
repairing-files = 파일 복구 중
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = Laadstatus van de launcher: geïnstalleerde patc
|
|||
|
||||
checking-free-space = Vrije ruimte controleren
|
||||
downloading = Downloaden
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Uitpakken
|
||||
verifying-files = Bestanden verifiëren
|
||||
repairing-files = Bestanden repareren
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = Ładowanie stanu launchera: weryfikowanie zainst
|
|||
|
||||
checking-free-space = Sprawdzanie dostępnej przestrzeni
|
||||
downloading = Pobieranie
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Rozpakowywanie
|
||||
verifying-files = Weryfikacja plików
|
||||
repairing-files = Naprawianie plików
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = Loading launcher state: verificando patch instal
|
|||
|
||||
checking-free-space = Checando espaço livre
|
||||
downloading = Baixando
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Extraindo
|
||||
verifying-files = Verificando arquivos
|
||||
repairing-files = Reparando arquivos
|
||||
|
|
|
@ -56,6 +56,7 @@ loading-launcher-state--patch = Загрузка статуса лаунчера
|
|||
|
||||
checking-free-space = Проверка свободного места
|
||||
downloading = Загрузка
|
||||
updating-permissions = Обновление привелегий
|
||||
unpacking = Распаковка
|
||||
verifying-files = Проверка файлов
|
||||
repairing-files = Починка файлов
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = Laddar starthanterarens tillstånd: verifierar i
|
|||
|
||||
checking-free-space = Kontrollerar ledigt utrymme
|
||||
downloading = Laddar ner
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Packar upp
|
||||
verifying-files = Verifierar filer
|
||||
repairing-files = Reparerar filer
|
||||
|
|
|
@ -50,6 +50,7 @@ loading-launcher-state--patch = Loading launcher state: indirilmiş yamanın dur
|
|||
|
||||
checking-free-space = Boş alan kontrol ediliyor
|
||||
downloading = İndiriliyor
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Paketten çıkartılıyor
|
||||
verifying-files = Dosyalar Doğrulanıyor
|
||||
repairing-files = Dosyalar tamir ediliyor
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = Đang tải trạng thái launcher: xác minh b
|
|||
|
||||
checking-free-space = Kiểm tra dung lượng trống
|
||||
downloading = Đang tải xuống
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = Đang giải nén
|
||||
verifying-files = Đang xác minh tập tin
|
||||
repairing-files = Sửa chữa tập tin
|
||||
|
|
|
@ -42,6 +42,7 @@ loading-launcher-state--patch = 正在计算启动器状态: 验证已安装补
|
|||
|
||||
checking-free-space = 正在检查剩余空间
|
||||
downloading = 正在下载
|
||||
updating-permissions = Updating permissions
|
||||
unpacking = 正在解压缩
|
||||
verifying-files = 正在检验文件
|
||||
repairing-files = 正在修复文件
|
||||
|
|
|
@ -133,8 +133,9 @@ impl SimpleAsyncComponent for ProgressBar {
|
|||
DiffUpdate::CheckingFreeSpace(_) |
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::CheckingFreeSpace(_)) => self.caption = Some(tr!("checking-free-space")),
|
||||
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::DownloadingStarted(_)) => self.caption = Some(tr!("downloading")),
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::UnpackingStarted(_)) => self.caption = Some(tr!("unpacking")),
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::DownloadingStarted(_)) => self.caption = Some(tr!("downloading")),
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::UpdatingPermissionsStarted(_)) => self.caption = Some(tr!("updating-permissions")),
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::UnpackingStarted(_)) => self.caption = Some(tr!("unpacking")),
|
||||
|
||||
DiffUpdate::ApplyingHdiffStarted => {
|
||||
self.caption = Some(tr!("applying-hdiff"));
|
||||
|
@ -149,6 +150,7 @@ impl SimpleAsyncComponent for ProgressBar {
|
|||
},
|
||||
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::DownloadingProgress(curr, total)) |
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::UpdatingPermissions(curr, total)) |
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::UnpackingProgress(curr, total)) |
|
||||
DiffUpdate::ApplyingHdiffProgress(curr, total) |
|
||||
DiffUpdate::RemovingOutdatedProgress(curr, total) => {
|
||||
|
@ -160,8 +162,9 @@ impl SimpleAsyncComponent for ProgressBar {
|
|||
));
|
||||
}
|
||||
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::DownloadingFinished) => tracing::info!("Downloading finished"),
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::UnpackingFinished) => tracing::info!("Unpacking finished"),
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::DownloadingFinished) => tracing::info!("Downloading finished"),
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::UpdatingPermissionsFinished) => tracing::info!("Updating permissions finished"),
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::UnpackingFinished) => tracing::info!("Unpacking finished"),
|
||||
|
||||
DiffUpdate::ApplyingHdiffFinished => tracing::info!("Applying hdiffs finished"),
|
||||
DiffUpdate::RemovingOutdatedFinished => tracing::info!("Removing outdated files finished"),
|
||||
|
|
|
@ -969,10 +969,10 @@ impl SimpleComponent for App {
|
|||
|
||||
if let Some(state) = state {
|
||||
match state {
|
||||
LauncherState::VoiceUpdateAvailable(_) |
|
||||
LauncherState::VoiceNotInstalled(_) |
|
||||
LauncherState::GameUpdateAvailable(_) |
|
||||
LauncherState::GameNotInstalled(_) if perform_on_download_needed => {
|
||||
LauncherState::GameNotInstalled(_) |
|
||||
LauncherState::VoiceUpdateAvailable(_) |
|
||||
LauncherState::VoiceNotInstalled(_) if perform_on_download_needed => {
|
||||
sender.input(AppMsg::PerformAction);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue