feat(i18n): translated wine-downloading error toasts

This commit is contained in:
Observer KRypt0n_ 2023-02-26 11:56:11 +02:00
parent 84697bb917
commit 5ddbe87830
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
3 changed files with 8 additions and 4 deletions

View file

@ -21,10 +21,12 @@ package-not-available = Package is not available: {$package}
wine-download-error = Failed to download wine
wine-unpack-errror = Failed to unpack wine
wine-install-failed = Failed to install wine
dxvk-download-error = Failed to download dxvk
dxvk-unpack-error = Failed to unpack dxvk
dxvk-download-error = Failed to download DXVK
dxvk-unpack-error = Failed to unpack DXVK
dxvk-apply-error = Failed to apply DXVK
downloaded-wine-list-failed = Failed to list downloaded wine versions
patch-sync-failed = Failed to sync patch folder
patch-state-check-failed = Failed to check patch folder state
game-patching-error = Failed to patch game

View file

@ -25,6 +25,8 @@ dxvk-download-error = Ошибка скачивания DXVK
dxvk-unpack-error = Ошибка распаковки DXVK
dxvk-apply-error = Не удалось применить DXVK
downloaded-wine-list-failed = Не удалось получить список установленных версий Wine
patch-sync-failed = Ошибка синхронизации папки патча
patch-state-check-failed = Ошибка проверки статуса папки патча
game-patching-error = Не удалось установить патч игры

View file

@ -845,7 +845,7 @@ impl SimpleComponent for App {
}));
}
Err(err) => self.toast("Failed to init wine version installer", Some(&err.to_string()))
Err(err) => self.toast(tr("wine-install-failed"), Some(err.to_string()))
}
}
@ -857,7 +857,7 @@ impl SimpleComponent for App {
}
}
Err(err) => self.toast("Failed to list downloaded wine versions", Some(&err.to_string()))
Err(err) => self.toast(tr("downloaded-wine-list-failed"), Some(err.to_string()))
}
}