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

+22 -6
View File
@@ -237,12 +237,7 @@
"backupRestore_backupComplete": "Backup file created.",
"backupRestore_restoreComplete": "Restore complete. Reconnect if you restored the radio identity.",
"backupRestore_missingModelsTitle": "Models Not Downloaded",
"backupRestore_missingModelsMessage": "The restored settings select models that are not available on this device:\n{models}\n\nDownload them now?",
"@backupRestore_missingModelsMessage": {
"placeholders": {
"models": {"type": "String"}
}
},
"backupRestore_missingModelsMessage": "The restored settings select models that are not on this device. Download them now?",
"backupRestore_downloadModels": "Download Models",
"backupRestore_downloading": "Downloading…",
"backupRestore_cancelDownload": "Cancel Download",
@@ -4341,5 +4336,26 @@
"chat_composerOffline": "Connect to a radio to send messages",
"@chat_composerOffline": {
"description": "Shown in place of the message box while no radio is connected"
},
"modelDownload_notDownloaded": "Not downloaded",
"modelDownload_downloading": "Downloading",
"modelDownload_active": "Active",
"modelDownload_failed": "Couldn't download",
"modelDownload_incomplete": "Incomplete",
"modelDownload_verifying": "Verifying the download",
"modelDownload_useModel": "Use this model",
"modelDownload_removeFailed": "Couldn't remove the model: {error}",
"modelDownload_progress": "{current} / {total} MB ({percent}%)",
"@modelDownload_removeFailed": {
"placeholders": {
"error": {"type": "String"}
}
},
"@modelDownload_progress": {
"placeholders": {
"current": {"type": "String"},
"total": {"type": "String"},
"percent": {"type": "String"}
}
}
}