Feature: localize the preview messages and report the cached hash
Add the preview strings to en_US, zh_TW and de_DE (GBK, no '=' in keys; German uses ASCII transliterations where GBK cannot encode umlauts), and pass the cached entry's SHA-256 back to the open helper so the executable confirmation shows the actual hash on a cache hit. Honour PreviewEnabled=0 by leaving double-click unchanged, and document the preview plus COMMAND_FILE_HASH capability in the client matrix. Co-Authored-By: deepseek-flash
This commit is contained in:
1 parent
4d37d85bac
commit
3683b4ebeb
7 files changed
+72
-10
No files matched your search
@@ -2363,3 +2363,21 @@ MCP
|
||||
\n剩余天数包含到期当天;已过期时主控功能可能受限。=\nRemaining days include the expiry day; some features may be restricted after expiry.
|
||||
重置=Reset
|
||||
已清空语言包目录设置,已恢复内置语言,重启程序后生效。=Language pack folder setting cleared; built-in language restored. Restart the program to apply.
|
||||
无法创建预览缓存目录=Failed to create the preview cache directory
|
||||
无法生成预览请求 ID=Failed to create a preview request ID
|
||||
正在预览另一个文件,请稍候=Another preview is in progress, please wait
|
||||
预览文件名越界=Preview filename escapes the temporary directory
|
||||
文件较大或不支持预览=File is too large or cannot be previewed
|
||||
预览文件校验失败=Preview file verification failed
|
||||
文件在传输过程中发生变化,请重试=File changed during transfer, please retry
|
||||
预览传输停滞,已取消=Preview transfer stalled and was cancelled
|
||||
预览传输超时,已取消=Preview transfer timed out and was cancelled
|
||||
无法写入预览缓存文件=Failed to write the preview cache file
|
||||
无法打开文件:%s(文件不存在)=Cannot open file: %s (file not found)
|
||||
远程文件可能执行代码,确定要打开吗?(%s,%llu 字节,SHA-256 %s)=The remote file may execute code. Open it anyway? (%s, %llu bytes, SHA-256 %s)
|
||||
安全确认=Security confirmation
|
||||
无法打开文件:%s(可能没有关联程序)=Cannot open file: %s (no associated program)
|
||||
客户端或 V2 开关不支持文件预览(参数 → 文件传输 V2)=This client or the V2 switch does not support preview (Settings -> File Transfer V2)
|
||||
无法获取文件信息,请刷新目录后重试=Cannot get file information; refresh the directory and retry
|
||||
文件较大,不支持预览:%s(%llu MB,上限 %u MB)=File too large to preview: %s (%llu MB, limit %u MB)
|
||||
正在预览 %s ...=Previewing %s ...
|
||||
Reference in new issue
Block a user