Feature: add a remote Open command with large-file confirmation

Add an Open item atop the remote file list context menu: a single file is
pulled back and previewed through the existing flow, a single folder
navigates into its subdirectory, and multi-selection disables it. Files
over the 8 MiB preview limit ask for confirmation; once confirmed the
explicit-open path caps the first-packet size gate at the confirmed size
and relaxes the hash query, total timeout and cache eviction so even very
large files transfer and open. When preview is disabled the explicit Open
shows a message instead of doing nothing. Double-click preview behavior is
unchanged. Localize the new menu item and dialogs in en_US/zh_TW/de_DE.

Co-Authored-By: Qoder
This commit was merged in pull request #11.
This commit is contained in:
yuanyuanxiangandQoder committed 2026-12-05 19:55:51 +01:00
1 parent ee20326bbf
commit 4bc51d2498
8 files changed
+113 -18

No files matched your search

+6
View File
@@ -2372,3 +2372,9 @@ MCP
正在预览 %s ...=Vorschau von %s ...
获取远程文件信息失败(错误码 %u)=Dateiinformationen konnten nicht abgerufen werden (Fehler %u)
预览下载失败(错误码 %u)=Vorschau-Download fehlgeschlagen (Fehler %u)
; File manager remote Open (preview) menu + large-file confirmation
打开(&O)=&Oeffnen
文件较大:%s(%llu MB,超过 %u MB 预览上限)。\n仍要传输到本机并打开吗?大文件传输可能耗时较长。=Grosse Datei: %s (%llu MB, ueberschreitet das %u MB-Vorschaulimit).\nTrotzdem auf diesen Rechner uebertragen und oeffnen? Grosse Uebertragungen koennen laenger dauern.
; File manager remote Open: preview disabled feedback
预览功能已禁用,无法打开文件。可在参数中启用预览后重试。=Die Vorschau ist deaktiviert, die Datei kann nicht geoeffnet werden. Aktivieren Sie die Vorschau in den Einstellungen und versuchen Sie es erneut.
+6
View File
@@ -2383,3 +2383,9 @@ MCP
正在预览 %s ...=Previewing %s ...
获取远程文件信息失败(错误码 %u)=Failed to get remote file information (error %u)
预览下载失败(错误码 %u)=Preview download failed (error %u)
; File manager remote Open (preview) menu + large-file confirmation
打开(&O)=&Open
文件较大:%s(%llu MB,超过 %u MB 预览上限)。\n仍要传输到本机并打开吗?大文件传输可能耗时较长。=Large file: %s (%llu MB, exceeds the %u MB preview limit).\nTransfer it to this machine and open anyway? Large transfers may take a while.
; File manager remote Open: preview disabled feedback
预览功能已禁用,无法打开文件。可在参数中启用预览后重试。=Preview is disabled, so the file cannot be opened. Enable preview in Settings and try again.
+6
View File
@@ -2376,3 +2376,9 @@ MCP
正在预览 %s ...=正在預覽 %s ...
获取远程文件信息失败(错误码 %u)=取得遠端檔案資訊失敗(錯誤碼 %u)
预览下载失败(错误码 %u)=預覽下載失敗(錯誤碼 %u)
; File manager remote Open (preview) menu + large-file confirmation
打开(&O)=開啟(&O)
文件较大:%s(%llu MB,超过 %u MB 预览上限)。\n仍要传输到本机并打开吗?大文件传输可能耗时较长。=檔案較大:%s(%llu MB,超過 %u MB 預覽上限)。\n仍要傳輸到本機並開啟嗎?大檔案傳輸可能耗時較長。
; File manager remote Open: preview disabled feedback
预览功能已禁用,无法打开文件。可在参数中启用预览后重试。=預覽功能已停用,無法開啟檔案。可在參數中啟用預覽後重試。