mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-21 20:36:01 +03:00
feat(ui): added "components index updated" toast
Should be informative for users. They could download new components once they released
This commit is contained in:
parent
7f6b1b754b
commit
c5ec736f59
9 changed files with 37 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit ba1110908259fa893036f9b37ffef2576d0c2f92
|
||||
Subproject commit e47af5264697e67753ed71b37c08d224bca0922b
|
|
@ -22,6 +22,7 @@ exit = Beenden
|
|||
check = Überprüfen
|
||||
restart = Neustarten
|
||||
|
||||
|
||||
loading-data = Laden Daten
|
||||
downloading-background-picture = Hintergrundbild am Herunterladen
|
||||
updating-components-index = Aktualisiere index der Komponenten
|
||||
|
@ -40,6 +41,9 @@ verifying-files = Verifiziere Dateien
|
|||
repairing-files = Repariere Dateien
|
||||
|
||||
|
||||
components-index-updated = Components index was updated
|
||||
|
||||
|
||||
launch = Starten
|
||||
apply-patch = Patch anwenden
|
||||
download-wine = Wine Herunterladen
|
||||
|
|
|
@ -22,6 +22,7 @@ exit = Exit
|
|||
check = Check
|
||||
restart = Restart
|
||||
|
||||
|
||||
loading-data = Loading data
|
||||
downloading-background-picture = Downloading background picture
|
||||
updating-components-index = Updating components index
|
||||
|
@ -40,6 +41,9 @@ verifying-files = Verifying files
|
|||
repairing-files = Repairing files
|
||||
|
||||
|
||||
components-index-updated = Components index was updated
|
||||
|
||||
|
||||
launch = Launch
|
||||
apply-patch = Apply patch
|
||||
download-wine = Download wine
|
||||
|
|
|
@ -22,6 +22,7 @@ exit = Salir
|
|||
check = Comprobar
|
||||
restart = Reiniciar
|
||||
|
||||
|
||||
loading-data = Cargando datos
|
||||
downloading-background-picture = Descargando imagen de fondo
|
||||
updating-components-index = Actualizando índice de componentes
|
||||
|
@ -40,6 +41,9 @@ verifying-files = Verifying files
|
|||
repairing-files = Repairing files
|
||||
|
||||
|
||||
components-index-updated = Components index was updated
|
||||
|
||||
|
||||
launch = Iniciar
|
||||
apply-patch = Aplicar parche
|
||||
download-wine = Descargar wine
|
||||
|
|
|
@ -22,6 +22,7 @@ exit = Quitter
|
|||
check = Vérifier
|
||||
restart = Redémarer
|
||||
|
||||
|
||||
loading-data = Chargement des données
|
||||
downloading-background-picture = Téléchargement de l'image de fond
|
||||
updating-components-index = Updating components index
|
||||
|
@ -40,6 +41,9 @@ verifying-files = Vérification des fichiers
|
|||
repairing-files = Réparation des fichiers
|
||||
|
||||
|
||||
components-index-updated = Components index was updated
|
||||
|
||||
|
||||
launch = Lancer
|
||||
apply-patch = Appliquer le patch
|
||||
download-wine = Télécharger wine
|
||||
|
|
|
@ -47,6 +47,9 @@ verifying-files = Проверка файлов
|
|||
repairing-files = Починка файлов
|
||||
|
||||
|
||||
components-index-updated = Индекс компонентов был обновлен
|
||||
|
||||
|
||||
launch = Запустить
|
||||
apply-patch = Применить патч
|
||||
download-wine = Установить Wine
|
||||
|
|
|
@ -22,6 +22,7 @@ exit = Çıkış yap
|
|||
check = Kontrol et
|
||||
restart = Tekrardan başlat
|
||||
|
||||
|
||||
loading-data = Bilgiler yükleniyor
|
||||
downloading-background-picture = Arkaplan dosyasi indiriliyor
|
||||
updating-components-index = Bileşenlerin dizini güncelleniyor
|
||||
|
@ -40,6 +41,9 @@ verifying-files = Dosyalar Doğrulanıyor
|
|||
repairing-files = Dosyalar tamir ediliyor
|
||||
|
||||
|
||||
components-index-updated = Components index was updated
|
||||
|
||||
|
||||
launch = Çalıştır
|
||||
apply-patch = Yamayı uygula
|
||||
download-wine = Wine indir
|
||||
|
|
|
@ -22,6 +22,7 @@ exit = 退出
|
|||
check = 检查
|
||||
restart = 重启
|
||||
|
||||
|
||||
loading-data = 正在加载数据
|
||||
downloading-background-picture = 正在下载背景图片
|
||||
updating-components-index = 正在更新组件索引
|
||||
|
@ -40,6 +41,9 @@ verifying-files = 正在检验文件
|
|||
repairing-files = 正在修复文件
|
||||
|
||||
|
||||
components-index-updated = Components index was updated
|
||||
|
||||
|
||||
launch = 启动
|
||||
apply-patch = 安装补丁
|
||||
download-wine = 下载 Wine
|
||||
|
|
|
@ -613,7 +613,15 @@ impl SimpleComponent for App {
|
|||
Ok(false) => {
|
||||
for host in &CONFIG.components.servers {
|
||||
match components.sync(host) {
|
||||
Ok(true) => break,
|
||||
Ok(true) => {
|
||||
// TODO: add changelog log here
|
||||
|
||||
sender.input(AppMsg::Toast {
|
||||
title: tr("components-index-updated"),
|
||||
description: None
|
||||
});
|
||||
}
|
||||
|
||||
Ok(false) => continue,
|
||||
|
||||
Err(err) => {
|
||||
|
|
Loading…
Reference in a new issue