mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 21:24:10 +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. |
||
|---|---|---|
| .. | ||
| controller | ||
| entity | ||
| global | ||
| job | ||
| locale | ||
| middleware | ||
| network | ||
| runtime | ||
| service | ||
| session | ||
| translation | ||
| websocket | ||
| web.go | ||