Use one model row for image and translation downloads

Image settings, translation settings, and the restore prompt each listed models differently. Share ModelDownloadList so every model shows the same name, size, status, selection, and download, cancel, or remove action.

Co-authored-by: zjs81 <zjs81@users.noreply.github.com>
This commit is contained in:
Cursor Agentandzjs81 committed 2026-11-21 00:05:39 +00:00
1 parent 34ea0cb7ca
commit 9ffdbaae09
50 files changed
+2524 -833

No files matched your search

+33 -3
View File
@@ -551,9 +551,8 @@ class AppLocalizationsCs extends AppLocalizations {
String get backupRestore_missingModelsTitle => 'Modely nejsou stažené';
@override
String backupRestore_missingModelsMessage(String models) {
return 'Obnovené nastavení vybírá modely, které nejsou v tomto zařízení k dispozici:\n$models\n\nStáhnout je nyní?';
}
String get backupRestore_missingModelsMessage =>
'Obnovené nastavení vybírá modely, které nejsou v tomto zařízení k dispozici. Stáhnout je nyní?';
@override
String get backupRestore_downloadModels => 'Stáhnout modely';
@@ -7552,4 +7551,35 @@ class AppLocalizationsCs extends AppLocalizations {
@override
String get chat_composerOffline => 'Pro odesílání zpráv se připojte k rádiu';
@override
String get modelDownload_notDownloaded => 'Nestaženo';
@override
String get modelDownload_downloading => 'Stahování';
@override
String get modelDownload_active => 'Aktivní';
@override
String get modelDownload_failed => 'Stažení se nezdařilo';
@override
String get modelDownload_incomplete => 'Neúplné';
@override
String get modelDownload_verifying => 'Ověřování stažení';
@override
String get modelDownload_useModel => 'Použít tento model';
@override
String modelDownload_removeFailed(String error) {
return 'Model se nepodařilo odebrat: $error';
}
@override
String modelDownload_progress(String current, String total, String percent) {
return '$current / $total MB ($percent%)';
}
}