Feature: persist file manager transfer history

History used to jump to the last directory merely visited, and lived only
in memory. Now it is recorded only when a transfer actually starts (the
four copy/transfer handlers) and persisted as an MRU list of the last 10
directories in THIS_CFG [file_history], keyed "local" plus one key per
clientID. Paths are stored verbatim; '|' joins the list.

The history handlers read the head of that list; the rest is kept for the
future dropdown. Also translated the four zh_TW status messages, which
were still simplified copies.

Server-only; no protocol or client change.

Co-Authored-By: deepseek-flash
This commit is contained in:
yuanyuanxianganddeepseek-flash committed 2026-11-05 14:22:12 +01:00
1 parent ca4e85826f
commit ab83f5d685
3 files changed
+87 -45

No files matched your search

+4 -4
View File
@@ -1872,10 +1872,10 @@ IOCP
<< 移除=<< 移除
插件列表为空,无法创建触发器=外掛列表為空,無法建立觸發器
请先选择至少一个插件=請先選擇至少一個外掛
没有本地历史记录=没有本地历史记录
历史目录不存在: %s=历史目录不存在: %s
无法识别远程主机=无法识别远程主机
没有远程历史记录=没有远程历史记录
没有本地历史记录=沒有本機歷史記錄
历史目录不存在: %s=歷史目錄不存在: %s
无法识别远程主机=無法識別遠端主機
没有远程历史记录=沒有遠端歷史記錄
算法自适应=算法自适应
; Build Dialog - Traditional Chinese Translation
; Format: Simplified Chinese=Traditional Chinese