Feature: add tooltips to the generate-passcode dialog
Every control the operator can use on the passcode-generation dialog now explains itself on hover, reusing the MFC built-in tooltip mechanism from the build-server dialog (EnableToolTips + OnToolHitTest + TTN_NEEDTEXT, with the max tip width applied when the tip is requested so the explicit line breaks hold; hidden controls are skipped). The password, private-key and Generate tips carry the main point: a passcode is only valid when produced with the right super-admin password (V1) or a legitimate private key (V2); tampered passwords, forged keys and hand-assembled values always fail client verification. The root-credential tip now describes the field as the downward credential filled in after generating, which is what V2 actually writes there. All 18 texts are translated in the en_US, de_DE and zh_TW packs. Co-Authored-By: deepseek-flash
This commit is contained in:
1 parent
a32219f05c
commit
f22bd574ea
5 files changed
+189
No files matched your search
@@ -2381,3 +2381,23 @@ MCP
|
||||
|
||||
; 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.
|
||||
|
||||
; Keygen dialog tooltips (CPwdGenDlg)
|
||||
授权版本(仅超级管理员可切换):\nV1 (HMAC):用本机超级管理员密码签名,兼容旧版客户端;\nV2 (ECDSA):用私钥文件签名,安全性更高。=Lizenzversion (nur Superadministrator kann wechseln):\nV1 (HMAC): mit dem Superadmin-Passwort signiert, kompatibel mit alten Clients;\nV2 (ECDSA): mit einer Privatsschluesseldatei signiert, sicherer.
|
||||
要授权的设备序列号,按「计算机硬件信息」\n或「主控IP/域名」绑定方式计算,最长 19 个字符。\n生成的授权只对这个序列号有效,填错客户端将无法使用。=Seriennummer des zu lizenzierenden Geraets, berechnet aus "Computerdaten"\noder "Master-IP/Domain", max. 19 Zeichen.\nDie Lizenz gilt nur fuer diese Seriennummer; ein falscher Wert funktioniert am Client nicht.
|
||||
授权起始日期,默认今天。\n客户端在该日期之前无法通过验证。=Startdatum der Lizenz, standardmaessig heute.\nVor diesem Datum besteht der Client die Pruefung nicht.
|
||||
授权到期日期,到期后客户端无法通过验证。\n请确保晚于起始日期。=Ablaufdatum der Lizenz; danach besteht der Client die Pruefung nicht.\nEs muss nach dem Startdatum liegen.
|
||||
该授权允许同时连接的主控数量(2~10000)。\n超出后新连接会被拒绝。=Anzahl der Master, die mit dieser Lizenz gleichzeitig verbinden duerfen (2-10000).\nWeitere Verbindungen werden abgelehnt.
|
||||
【仅 V1】本机超级管理员密码,用于派生口令校验码。\n【重点】只有密码与服务器记录的哈希一致时,\n才能生成有效口令;密码输入错误、被篡改,\n或手工拼接的口令,客户端验证一律不通过。=[Nur V1] Superadmin-Passwort dieses Masters, aus dem die Pruefsumme des Passcodes abgeleitet wird.\n[WICHTIG] Ein gueltiger Passcode entsteht nur, wenn das Passwort zum auf dem Server gespeicherten Hash passt.\nEin falsches oder manipuliertes Passwort oder ein manuell zusammengesetzter Passcode besteht die Client-Pruefung nie.
|
||||
【仅 V2】与服务器内置公钥配对的私钥文件(.key/.pem)。\n【重点】只有用合法私钥签名的授权才有效;\n私钥缺失、被替换或口令被篡改,客户端验证一律不通过。=[Nur V2] Privatsschluesseldatei zum im Server eingebauten oeffentlichen Schluessel (.key/.pem).\n[WICHTIG] Nur mit gueltigem Privatsschluessel signierte Lizenzen sind gueltig.\nEin fehlender oder ersetzter Schluessel oder ein manipulierter Passcode besteht die Client-Pruefung nie.
|
||||
浏览并选择 V2 私钥文件。\n仅超级管理员可用;已配置有效私钥时该按钮置灰。=V2-Privatsschluesseldatei auswaehlen.\nNur fuer Superadministratoren; bei gueltig konfiguriertem Schluessel ist die Schaltflaeche ausgegraut.
|
||||
生成新的 V2 密钥对:私钥保存到文件,公钥代码复制到剪贴板。\n【注意】必须把新公钥部署到验证端(重新编译)后才能签发有效授权;\n仅超级管理员可用;已配置有效私钥时该按钮置灰。=Neues V2-Schluesselpaar erzeugen: Privatsschluessel wird gespeichert, der oeffentliche Schluesselcode in die Zwischenablage kopiert.\n[HINWEIS] Der neue oeffentliche Schluessel muss auf der Pruefseite bereitgestellt werden (Neukompilierung), bevor gueltige Lizenzen ausgestellt werden koennen.\nNur fuer Superadministratoren; bei gueltig konfiguriertem Schluessel ist die Schaltflaeche ausgegraut.
|
||||
【仅 V2】签发给下级的授权允许的并发连接数(2~10000)。\n默认跟随「连接数」,手动修改后不再自动同步。=[Nur V2] Max. gleichzeitige Verbindungen fuer an Unterebenen ausgestellte Lizenzen (2-10000).\nStandardmaessig folgt sie "Verbindungen"; nach manueller Aenderung wird nicht mehr automatisch synchronisiert.
|
||||
生成的口令(只读),格式:起始日期-到期日期-连接数-校验码。\n请连同 HMAC 一起导入客户端;多层授权时还需根凭证。\n任一字符被改动都会导致验证失败。=Erzeugter Passcode (schreibgeschuetzt), Format: Startdatum-Enddatum-Verbindungen-Pruefsumme.\nZusammen mit der HMAC im Client importieren; bei mehrstufiger Autorisierung wird zusaetzlich der Root-Nachweis benoetigt.\nJede geaenderte Zeichenfolge fuehrt zu einem Prueffehler.
|
||||
口令的签名(只读):V1 为数字签名,V2 为 ECDSA 签名。\n必须与口令、序列号一一对应,否则客户端验证失败。=Signatur des Passcodes (schreibgeschuetzt): V1 numerisch, V2 ECDSA.\nSie muss exakt zu Passcode und Seriennummer passen, sonst schlaegt die Client-Pruefung fehl.
|
||||
根凭证(只读):生成口令后自动填入,供下级主控继续签发授权。\n内容来自本机已有的上级授权,或在 V2 模式下由本机私钥签发。\n为空只表示本机没有可下发的凭证,不影响本机自用授权。=Root-Nachweis (schreibgeschuetzt): wird nach dem Erzeugen des Passcodes automatisch gefuellt, damit Unterebenen weitere Lizenzen ausstellen koennen.\nDer Inhalt stammt aus der vorhandenen uebergeordneten Autorisierung oder wird im V2-Modus mit dem lokalen Privatsschluessel signiert.\nLeer bedeutet nur, dass dieser Master nichts weitergeben kann; die eigene Lizenz bleibt davon unberuehrt.
|
||||
为这张授权同时下发 FRP 反向代理配置,让该设备经 FRP 上线。\n需要先在「扩展 → 下级 FRP 代理设置」中配置 FRPS。=Fuer diese Lizenz zusaetzlich eine FRP-Reverse-Proxy-Konfiguration ausgeben, damit das Geraet ueber FRP online geht.\nZuerst FRPS unter "Erweiterungen -> FRP-Proxy fuer Unterebenen" konfigurieren.
|
||||
分配给该设备的 FRP 远程端口(1024~65535)。\n可点「自动」分配下一个空闲端口。=Diesem Geraet zugewiesener FRP-Remote-Port (1024-65535).\nMit "Auto" den naechsten freien Port zuweisen.
|
||||
自动查找并填入下一个可用的 FRP 远程端口。\n保存授权时才会真正记录端口占用。=Naechsten freien FRP-Remote-Port suchen und eintragen.\nDie Portbelegung wird erst beim Speichern der Lizenz erfasst.
|
||||
按当前参数生成口令。\n【重点】必须满足 V1 密码正确或 V2 私钥合法,\n否则生成的口令无效;篡改密码、伪造私钥或\n手工拼接得到的结果,客户端验证都会失败。=Passcode aus den aktuellen Einstellungen erzeugen.\n[WICHTIG] V1 erfordert das richtige Passwort, V2 einen gueltigen Privatsschluessel;\nsonst ist der erzeugte Passcode ungueltig. Manipulierte Passwoerter, gefaelschte Schluessel oder\nmanuell zusammengesetzte Werte bestehen die Client-Pruefung nie.
|
||||
把生成的口令/HMAC/根凭证保存到 licenses.ini,\n并可导出 .lic 文件。只有成功生成口令后才可用;\n本机给自己授权时会自动保存。=Erzeugten Passcode/HMAC/Root-Nachweis in licenses.ini speichern\nund optional eine .lic-Datei exportieren. Erst nach dem Erzeugen eines Passcodes verfuegbar;\nbei der Lizenzierung dieses Rechners selbst wird automatisch gespeichert.
|
||||
@@ -2392,3 +2392,23 @@ MCP
|
||||
|
||||
; File manager remote Open: preview disabled feedback
|
||||
预览功能已禁用,无法打开文件。可在参数中启用预览后重试。=Preview is disabled, so the file cannot be opened. Enable preview in Settings and try again.
|
||||
|
||||
; Keygen dialog tooltips (CPwdGenDlg)
|
||||
授权版本(仅超级管理员可切换):\nV1 (HMAC):用本机超级管理员密码签名,兼容旧版客户端;\nV2 (ECDSA):用私钥文件签名,安全性更高。=License version (only a super administrator can switch):\nV1 (HMAC): signed with this master's super-admin password, compatible with older clients;\nV2 (ECDSA): signed with a private key file, more secure.
|
||||
要授权的设备序列号,按「计算机硬件信息」\n或「主控IP/域名」绑定方式计算,最长 19 个字符。\n生成的授权只对这个序列号有效,填错客户端将无法使用。=Serial number of the device to authorize, computed from the "Computer hardware"\nor "Master IP/domain" binding mode, up to 19 characters.\nThe generated license only works for this serial number; a wrong value will not work on the client.
|
||||
授权起始日期,默认今天。\n客户端在该日期之前无法通过验证。=License start date, today by default.\nThe client cannot pass verification before this date.
|
||||
授权到期日期,到期后客户端无法通过验证。\n请确保晚于起始日期。=License expiry date; the client cannot pass verification after it.\nMake sure it is later than the start date.
|
||||
该授权允许同时连接的主控数量(2~10000)。\n超出后新连接会被拒绝。=Number of masters allowed to connect simultaneously under this license (2-10000).\nAdditional connections are rejected.
|
||||
【仅 V1】本机超级管理员密码,用于派生口令校验码。\n【重点】只有密码与服务器记录的哈希一致时,\n才能生成有效口令;密码输入错误、被篡改,\n或手工拼接的口令,客户端验证一律不通过。=[V1 only] This master's super-admin password, used to derive the passcode checksum.\n[IMPORTANT] A valid passcode can only be generated when the password matches the hash stored on the server.\nA wrong or tampered password, or a hand-assembled passcode, will always fail client verification.
|
||||
【仅 V2】与服务器内置公钥配对的私钥文件(.key/.pem)。\n【重点】只有用合法私钥签名的授权才有效;\n私钥缺失、被替换或口令被篡改,客户端验证一律不通过。=[V2 only] Private key file paired with the public key built into the server (.key/.pem).\n[IMPORTANT] Only licenses signed with a valid private key are accepted.\nA missing or replaced key, or a tampered passcode, will always fail client verification.
|
||||
浏览并选择 V2 私钥文件。\n仅超级管理员可用;已配置有效私钥时该按钮置灰。=Browse for a V2 private key file.\nOnly a super administrator can use this; the button is greyed out when a valid key is configured.
|
||||
生成新的 V2 密钥对:私钥保存到文件,公钥代码复制到剪贴板。\n【注意】必须把新公钥部署到验证端(重新编译)后才能签发有效授权;\n仅超级管理员可用;已配置有效私钥时该按钮置灰。=Generate a new V2 key pair: the private key is saved to a file and the public-key code is copied to the clipboard.\n[NOTE] You must deploy the new public key to the verifier (rebuild) before it can issue valid licenses.\nOnly a super administrator can use this; the button is greyed out when a valid key is configured.
|
||||
【仅 V2】签发给下级的授权允许的并发连接数(2~10000)。\n默认跟随「连接数」,手动修改后不再自动同步。=[V2 only] Concurrent connection limit for licenses issued to sub-levels (2-10000).\nIt follows "Connections" by default; after a manual change it no longer syncs automatically.
|
||||
生成的口令(只读),格式:起始日期-到期日期-连接数-校验码。\n请连同 HMAC 一起导入客户端;多层授权时还需根凭证。\n任一字符被改动都会导致验证失败。=Generated passcode (read-only), format: start date-end date-connections-checksum.\nImport it into the client together with the HMAC; multi-level authorization also needs the root credential.\nChanging any character will cause verification to fail.
|
||||
口令的签名(只读):V1 为数字签名,V2 为 ECDSA 签名。\n必须与口令、序列号一一对应,否则客户端验证失败。=Signature of the passcode (read-only): numeric for V1, ECDSA for V2.\nIt must match the passcode and serial number exactly, or client verification fails.
|
||||
根凭证(只读):生成口令后自动填入,供下级主控继续签发授权。\n内容来自本机已有的上级授权,或在 V2 模式下由本机私钥签发。\n为空只表示本机没有可下发的凭证,不影响本机自用授权。=Root credential (read-only): filled in automatically after generating a passcode, for sub-level masters to issue further licenses.\nIt comes from this master's existing parent authorization, or is signed locally with the private key in V2 mode.\nEmpty only means this master has no credential to pass down; it does not affect this master's own license.
|
||||
为这张授权同时下发 FRP 反向代理配置,让该设备经 FRP 上线。\n需要先在「扩展 → 下级 FRP 代理设置」中配置 FRPS。=Also issue an FRP reverse-proxy configuration for this license so the device comes online through FRP.\nConfigure FRPS first in "Extensions -> Sub-level FRP proxy settings".
|
||||
分配给该设备的 FRP 远程端口(1024~65535)。\n可点「自动」分配下一个空闲端口。=FRP remote port assigned to this device (1024-65535).\nClick "Auto" to assign the next free port.
|
||||
自动查找并填入下一个可用的 FRP 远程端口。\n保存授权时才会真正记录端口占用。=Find and fill in the next available FRP remote port.\nThe port is only recorded when the license is saved.
|
||||
按当前参数生成口令。\n【重点】必须满足 V1 密码正确或 V2 私钥合法,\n否则生成的口令无效;篡改密码、伪造私钥或\n手工拼接得到的结果,客户端验证都会失败。=Generate a passcode from the current settings.\n[IMPORTANT] V1 requires the correct password and V2 requires a valid private key;\notherwise the generated passcode is invalid. Tampered passwords, forged keys or\nhand-assembled values will always fail client verification.
|
||||
把生成的口令/HMAC/根凭证保存到 licenses.ini,\n并可导出 .lic 文件。只有成功生成口令后才可用;\n本机给自己授权时会自动保存。=Save the generated passcode/HMAC/root credential to licenses.ini,\nand optionally export a .lic file. Available only after a passcode is generated;\nwhen authorizing this machine itself, it is saved automatically.
|
||||
@@ -2385,3 +2385,23 @@ MCP
|
||||
|
||||
; File manager remote Open: preview disabled feedback
|
||||
预览功能已禁用,无法打开文件。可在参数中启用预览后重试。=預覽功能已停用,無法開啟檔案。可在參數中啟用預覽後重試。
|
||||
|
||||
; Keygen dialog tooltips (CPwdGenDlg)
|
||||
授权版本(仅超级管理员可切换):\nV1 (HMAC):用本机超级管理员密码签名,兼容旧版客户端;\nV2 (ECDSA):用私钥文件签名,安全性更高。=授權版本(僅超級管理員可切換):\nV1 (HMAC):用本機超級管理員密碼簽名,相容舊版用戶端;\nV2 (ECDSA):用私鑰檔案簽名,安全性更高。
|
||||
要授权的设备序列号,按「计算机硬件信息」\n或「主控IP/域名」绑定方式计算,最长 19 个字符。\n生成的授权只对这个序列号有效,填错客户端将无法使用。=要授權的裝置序號,按「電腦硬體資訊」\n或「主控IP/網域」綁定方式計算,最長 19 個字元。\n產生的授權只對這個序號有效,填錯用戶端將無法使用。
|
||||
授权起始日期,默认今天。\n客户端在该日期之前无法通过验证。=授權起始日期,預設今天。\n用戶端在此日期之前無法通過驗證。
|
||||
授权到期日期,到期后客户端无法通过验证。\n请确保晚于起始日期。=授權到期日期,到期後用戶端無法通過驗證。\n請確保晚於起始日期。
|
||||
该授权允许同时连接的主控数量(2~10000)。\n超出后新连接会被拒绝。=此授權允許同時連線的主控數量(2~10000)。\n超出後新連線將被拒絕。
|
||||
【仅 V1】本机超级管理员密码,用于派生口令校验码。\n【重点】只有密码与服务器记录的哈希一致时,\n才能生成有效口令;密码输入错误、被篡改,\n或手工拼接的口令,客户端验证一律不通过。=【僅 V1】本機超級管理員密碼,用於衍生口令校驗碼。\n【重點】只有密碼與伺服器記錄的雜湊一致時,\n才能產生有效口令;密碼輸入錯誤、被竄改,\n或手動拼接的口令,用戶端驗證一律不通過。
|
||||
【仅 V2】与服务器内置公钥配对的私钥文件(.key/.pem)。\n【重点】只有用合法私钥签名的授权才有效;\n私钥缺失、被替换或口令被篡改,客户端验证一律不通过。=【僅 V2】與伺服器內建公開金鑰配對的私鑰檔案(.key/.pem)。\n【重點】只有用合法私鑰簽名的授權才有效;\n私鑰遺失、被替換或口令被竄改,用戶端驗證一律不通過。
|
||||
浏览并选择 V2 私钥文件。\n仅超级管理员可用;已配置有效私钥时该按钮置灰。=瀏覽並選擇 V2 私鑰檔案。\n僅超級管理員可用;已設定有效私鑰時此按鈕會變灰。
|
||||
生成新的 V2 密钥对:私钥保存到文件,公钥代码复制到剪贴板。\n【注意】必须把新公钥部署到验证端(重新编译)后才能签发有效授权;\n仅超级管理员可用;已配置有效私钥时该按钮置灰。=產生新的 V2 密鑰對:私鑰儲存到檔案,公鑰程式碼複製到剪貼簿。\n【注意】必須將新公鑰部署到驗證端(重新編譯)後才能簽發有效授權;\n僅超級管理員可用;已設定有效私鑰時此按鈕會變灰。
|
||||
【仅 V2】签发给下级的授权允许的并发连接数(2~10000)。\n默认跟随「连接数」,手动修改后不再自动同步。=【僅 V2】簽發給下級的授權允許的並發連線數(2~10000)。\n預設跟隨「連線數」,手動修改後不再自動同步。
|
||||
生成的口令(只读),格式:起始日期-到期日期-连接数-校验码。\n请连同 HMAC 一起导入客户端;多层授权时还需根凭证。\n任一字符被改动都会导致验证失败。=產生的口令(唯讀),格式:起始日期-到期日期-連線數-校驗碼。\n請連同 HMAC 一起匯入用戶端;多層授權時還需根憑證。\n任一字元被改動都會導致驗證失敗。
|
||||
口令的签名(只读):V1 为数字签名,V2 为 ECDSA 签名。\n必须与口令、序列号一一对应,否则客户端验证失败。=口令的簽名(唯讀):V1 為數字簽名,V2 為 ECDSA 簽名。\n必須與口令、序號一一對應,否則用戶端驗證失敗。
|
||||
根凭证(只读):生成口令后自动填入,供下级主控继续签发授权。\n内容来自本机已有的上级授权,或在 V2 模式下由本机私钥签发。\n为空只表示本机没有可下发的凭证,不影响本机自用授权。=根憑證(唯讀):產生口令後自動填入,供下級主控繼續簽發授權。\n內容來自本機既有的上級授權,或在 V2 模式下由本機私鑰簽發。\n為空只表示本機沒有可下發的憑證,不影響本機自用授權。
|
||||
为这张授权同时下发 FRP 反向代理配置,让该设备经 FRP 上线。\n需要先在「扩展 → 下级 FRP 代理设置」中配置 FRPS。=為此授權同時下發 FRP 反向代理設定,讓該裝置經由 FRP 上線。\n需要先在「擴充 → 下級 FRP 代理設定」中設定 FRPS。
|
||||
分配给该设备的 FRP 远程端口(1024~65535)。\n可点「自动」分配下一个空闲端口。=分配給該裝置的 FRP 遠端連接埠(1024~65535)。\n可按「自動」分配下一個空閒連接埠。
|
||||
自动查找并填入下一个可用的 FRP 远程端口。\n保存授权时才会真正记录端口占用。=自動尋找並填入下一個可用的 FRP 遠端連接埠。\n儲存授權時才會真正記錄連接埠佔用。
|
||||
按当前参数生成口令。\n【重点】必须满足 V1 密码正确或 V2 私钥合法,\n否则生成的口令无效;篡改密码、伪造私钥或\n手工拼接得到的结果,客户端验证都会失败。=按目前參數產生口令。\n【重點】必須滿足 V1 密碼正確或 V2 私鑰合法,\n否則產生的口令無效;竄改密碼、偽造私鑰或\n手動拼接得到的結果,用戶端驗證都會失敗。
|
||||
把生成的口令/HMAC/根凭证保存到 licenses.ini,\n并可导出 .lic 文件。只有成功生成口令后才可用;\n本机给自己授权时会自动保存。=將產生的口令/HMAC/根憑證儲存到 licenses.ini,\n並可匯出 .lic 檔案。只有成功產生口令後才可用;\n本機給自己授權時會自動儲存。
|
||||
Reference in new issue
Block a user