mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-19 03:25:01 +03:00
refactor(mtproto): manage ad-tags per client only
The inbound-level ad-tag duplicated the per-client override for no gain: the fork's global tag applied to every secret anyway, so one value had two homes and they could drift. The inbound form field, the settings key, and the global ad-tag in the generated config and in the PUT /secrets body are gone; the tag is set on each client instead. Existing inbound-level values are intentionally not migrated; a leftover settings key is stripped on the next save.
This commit is contained in:
@@ -525,8 +525,6 @@
|
||||
"mtprotoFakeTlsDomainHint": "產生新用戶端金鑰時使用的預設 FakeTLS 網域。每個用戶端可使用各自的網域。",
|
||||
"mtgThrottleMaxConnections": "最大連線數",
|
||||
"mtgThrottleMaxConnectionsHint": "以公平分配限制所有使用者的並行連線數。0 表示不限制。",
|
||||
"mtgAdTag": "廣告標籤(贊助頻道)",
|
||||
"mtgAdTagHint": "選填的 32 位十六進位標籤,從 Telegram 代理註冊處取得。設定後,用戶端會透過 Telegram 中間代理路由,贊助頻道會顯示在其聊天清單頂端。需要可存取的公網 IP —— 在下方設定,或讓 mtg 自動偵測。",
|
||||
"mtgAdTagInvalid": "廣告標籤必須為 32 位十六進位字元。",
|
||||
"mtgPublicIpv4": "公網 IPv4",
|
||||
"mtgPublicIpv6": "公網 IPv6",
|
||||
@@ -919,7 +917,7 @@
|
||||
"mtprotoSecret": "MTProto 金鑰",
|
||||
"mtprotoSecretHint": "該用戶端的 FakeTLS 金鑰。重新產生即可更換。",
|
||||
"mtprotoAdTag": "廣告標籤(贊助頻道)",
|
||||
"mtprotoAdTagHint": "選填的 32 位十六進位標籤,僅對該用戶端生效,覆蓋共用廣告標籤。留空則使用共用標籤。",
|
||||
"mtprotoAdTagHint": "選填的 32 位十六進位標籤,從 Telegram 代理註冊處取得。設定後,該用戶端會透過 Telegram 中間代理路由,贊助頻道會顯示在其聊天清單頂端。",
|
||||
"reverseTag": "反向標籤",
|
||||
"reverseTagPlaceholder": "選用 Reverse tag",
|
||||
"telegramId": "Telegram 使用者 ID",
|
||||
|
||||
Reference in New Issue
Block a user