Fix: Add missing FileManagerDlg translations to language files
FileManagerDlg.cpp still had several user-facing Chinese strings with no entry in en_US/zh_TW/de_DE: the "invalid file handle", "no files selected", "V2 transfer started", "V2 download request sent" and "main connection not found" messages. Add translations for all five. The "main connection not found" string contained a literal '=', which CIniParser treats as the key/value delimiter, so it could never match as a translation key. Reword it to "clientID %llu" (no '=') so the key round-trips. The two Mprintf log lines on the V2 checksum path are log-only and intentionally left untranslated. Co-Authored-By: deepseek-v4-pro
This commit is contained in:
1 parent
d7b49a3d06
commit
e5f5720867
4 files changed
+16
-1
No files matched your search
@@ -3358,7 +3358,7 @@ void CFileManagerDlg::OnTransferV2ToRemote()
|
|||||||
g_2015RemoteDlg->SendFilesToClientV2(mainCtx, files, remoteDir);
|
g_2015RemoteDlg->SendFilesToClientV2(mainCtx, files, remoteDir);
|
||||||
ShowMessage(_TRF("V2传输已启动,共 %d 个文件 -> %s"), (int)files.size(), remoteDir.c_str());
|
ShowMessage(_TRF("V2传输已启动,共 %d 个文件 -> %s"), (int)files.size(), remoteDir.c_str());
|
||||||
} else {
|
} else {
|
||||||
ShowMessage(_TRF("找不到主连接: clientID=%llu"), clientID);
|
ShowMessage(_TRF("找不到主连接: clientID %llu"), clientID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2092,3 +2092,8 @@ TLS
|
|||||||
已将 %d 个 IP 加入白名单=%d IP(s) zur Whitelist hinzugefuegt
|
已将 %d 个 IP 加入白名单=%d IP(s) zur Whitelist hinzugefuegt
|
||||||
%d 个 IP 已在白名单中=%d IP(s) bereits in der Whitelist
|
%d 个 IP 已在白名单中=%d IP(s) bereits in der Whitelist
|
||||||
%d 个 IP 已封禁,无法加入白名单=%d IP(s) sind gesperrt und koennen nicht zur Whitelist hinzugefuegt werden
|
%d 个 IP 已封禁,无法加入白名单=%d IP(s) sind gesperrt und koennen nicht zur Whitelist hinzugefuegt werden
|
||||||
|
%s 文件句柄无效=%s ungueltiges Datei-Handle
|
||||||
|
没有选中任何文件=Keine Dateien ausgewaehlt
|
||||||
|
V2传输已启动,共 %d 个文件 -> %s=V2-Uebertragung gestartet, %d Datei(en) -> %s
|
||||||
|
V2下载请求已发送,共 %d 个项目=V2-Download-Anfrage gesendet, %d Element(e)
|
||||||
|
找不到主连接: clientID %llu=Hauptverbindung nicht gefunden: clientID=%llu
|
||||||
@@ -2107,3 +2107,8 @@ TLS
|
|||||||
已将 %d 个 IP 加入白名单=Added %d IP(s) to the whitelist
|
已将 %d 个 IP 加入白名单=Added %d IP(s) to the whitelist
|
||||||
%d 个 IP 已在白名单中=%d IP(s) already in the whitelist
|
%d 个 IP 已在白名单中=%d IP(s) already in the whitelist
|
||||||
%d 个 IP 已封禁,无法加入白名单=%d IP(s) are banned and cannot be added to the whitelist
|
%d 个 IP 已封禁,无法加入白名单=%d IP(s) are banned and cannot be added to the whitelist
|
||||||
|
%s 文件句柄无效=%s invalid file handle
|
||||||
|
没有选中任何文件=No files selected
|
||||||
|
V2传输已启动,共 %d 个文件 -> %s=V2 transfer started, %d file(s) -> %s
|
||||||
|
V2下载请求已发送,共 %d 个项目=V2 download request sent, %d item(s)
|
||||||
|
找不到主连接: clientID %llu=Main connection not found: clientID=%llu
|
||||||
@@ -2098,3 +2098,8 @@ TLS
|
|||||||
已将 %d 个 IP 加入白名单=已將 %d 個 IP 加入白名單
|
已将 %d 个 IP 加入白名单=已將 %d 個 IP 加入白名單
|
||||||
%d 个 IP 已在白名单中=%d 個 IP 已在白名單中
|
%d 个 IP 已在白名单中=%d 個 IP 已在白名單中
|
||||||
%d 个 IP 已封禁,无法加入白名单=%d 個 IP 已封禁,無法加入白名單
|
%d 个 IP 已封禁,无法加入白名单=%d 個 IP 已封禁,無法加入白名單
|
||||||
|
%s 文件句柄无效=%s 檔案控制代碼無效
|
||||||
|
没有选中任何文件=沒有選取任何檔案
|
||||||
|
V2传输已启动,共 %d 个文件 -> %s=V2 傳輸已啟動,共 %d 個檔案 -> %s
|
||||||
|
V2下载请求已发送,共 %d 个项目=V2 下載請求已傳送,共 %d 個項目
|
||||||
|
找不到主连接: clientID %llu=找不到主連線: clientID=%llu
|
||||||
Reference in new issue
Block a user