feat(i18n): translated components index updating

This commit is contained in:
Observer KRypt0n_ 2023-03-06 17:52:20 +02:00
parent d69107dfba
commit 309da61f4f
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
10 changed files with 18 additions and 4 deletions

View file

@ -11,11 +11,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added game repairing function
- Added french translations (#81)
- Used `open` library for xdg (#84)
- Added dynamic components loading
### Fixed
- Forced `format_lang` to return regions for language codes
- Fixed titlebar behavior on some DEs
- Fixed titlebar behavior on some DEs
### Changed

View file

@ -12,6 +12,8 @@ game-file-repairing-error = Reparieren der Spieldatei fehlgeschlagen
integrity-files-getting-error = Integritätsdateien konnten nicht abgerufen werden
background-downloading-failed = Download des Hintergrundbildes fehlgeschlagen
components-index-sync-failed = Failed to sync components index
components-index-verify-failed = Failed to verify components index
config-update-error = Speichern der Konfiguration fehlgeschlagen
wine-prefix-update-failed = Aktualisierung des wine prefix fehlgeschlagen
dxvk-install-failed = DXVK konnte nicht installiert werden

View file

@ -24,6 +24,7 @@ restart = Neustarten
loading-data = Laden Daten
downloading-background-picture = Hintergrundbild am Herunterladen
updating-components-index = Updating components index
loading-game-version = Lade version des Spiels
loading-patch-status = Lade version des Patch
loading-launcher-state = Lade Launcher status

View file

@ -12,6 +12,8 @@ game-file-repairing-error = Failed to repair game file
integrity-files-getting-error = Failed to get integrity files
background-downloading-failed = Failed to download background picture
components-index-sync-failed = Failed to sync components index
components-index-verify-failed = Failed to verify components index
config-update-error = Failed to save config
wine-prefix-update-failed = Failed to update wine prefix
dxvk-install-failed = Failed to install DXVK

View file

@ -24,6 +24,7 @@ restart = Restart
loading-data = Loading data
downloading-background-picture = Downloading background picture
updating-components-index = Updating components index
loading-game-version = Loading game version
loading-patch-status = Loading patch status
loading-launcher-state = Loading launcher state

View file

@ -12,6 +12,8 @@ game-file-repairing-error = Impossible de réparer les fichiers du jeu
integrity-files-getting-error = Impossible de récupérer les fichiers d'intégrité du jeu
background-downloading-failed = Impossible de télécharger l'image de fond
components-index-sync-failed = Failed to sync components index
components-index-verify-failed = Failed to verify components index
config-update-error = Impossible d'enregistrer la configuration
wine-prefix-update-failed = Impossible de mettre à jour le préfix wine
dxvk-install-failed = Impossible d'installer DXVK

View file

@ -24,6 +24,7 @@ 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
loading-game-version = Chargement de la version du jeu
loading-patch-status = Chargement du statut du patch
loading-launcher-state = Chargement de l'état du launcher

View file

@ -12,6 +12,8 @@ game-file-repairing-error = Не удалось починить игровой
integrity-files-getting-error = Не удалось получить верные данные о файлах игры
background-downloading-failed = Не удалось загрузить фоновое изображение
components-index-sync-failed = Не удалось синхронизировать индекс компонентов
components-index-verify-failed = Не удалось проверить индекс компонентов
config-update-error = Ошибка сохранения настроек
wine-prefix-update-failed = Ошибка обновления префикса Wine
dxvk-install-failed = Ошибка установки DXVK

View file

@ -25,6 +25,7 @@ restart = Перезапустить
loading-data = Загрузка данных
downloading-background-picture = Загрузка фонового изображения
updating-components-index = Обновление индекса компонентов
loading-game-version = Загрузка версии игры
loading-patch-status = Загрузка статуса патча
loading-launcher-state = Загрузка статуса лаунчера

View file

@ -603,7 +603,7 @@ impl SimpleComponent for App {
// Update components index
sender.input(AppMsg::SetLoadingStatus(Some(Some(String::from("Updating components index")))));
sender.input(AppMsg::SetLoadingStatus(Some(Some(tr("updating-components-index")))));
let components = ComponentsLoader::new(&CONFIG.components.path);
@ -620,7 +620,7 @@ impl SimpleComponent for App {
tracing::error!("Failed to sync components index");
sender.input(AppMsg::Toast {
title: String::from("Failed to sync components index"),
title: tr("components-index-sync-failed"),
description: Some(err.to_string())
});
}
@ -632,7 +632,7 @@ impl SimpleComponent for App {
tracing::error!("Failed to verify that components index synced");
sender.input(AppMsg::Toast {
title: String::from("Failed to verify components index"),
title: tr("components-index-verify-failed"),
description: Some(err.to_string())
});
}