mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 05:04:22 +00:00
- Refactored Telegram bot client creation state to use a concurrent-safe map (\clientStates map[int64]*ClientState\), replacing package-level global variables. This prevents data races when multiple administrators interact with the bot simultaneously. - Fixed hardcoded English strings in \BuildInboundClientDataMessage\ by utilizing the \ .I18nBot()\ localization wrapper. - Implemented \UpdateBotLocalizer\ to dynamically refresh the bot's language whenever the \ gLang\ setting is updated in the web panel, eliminating the need for a service restart. - Synchronized missing translation keys for \Sub ID\ and \Flow\ across all non-English/Russian localization files to prevent missing interface elements. |
||
|---|---|---|
| .. | ||
| ar-EG.json | ||
| en-US.json | ||
| es-ES.json | ||
| fa-IR.json | ||
| id-ID.json | ||
| ja-JP.json | ||
| pt-BR.json | ||
| ru-RU.json | ||
| tr-TR.json | ||
| uk-UA.json | ||
| vi-VN.json | ||
| zh-CN.json | ||
| zh-TW.json | ||