3x-ui/web/translation
Aleksei Sidorenko 29fa28bf75 fix(tgbot): resolve client creation race conditions and localization bugs
- 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.
2026-05-13 00:25:35 +03:00
..
ar-EG.json fix(tgbot): resolve client creation race conditions and localization bugs 2026-05-13 00:25:35 +03:00
en-US.json fix(tgbot): resolve client creation race conditions and localization bugs 2026-05-13 00:25:35 +03:00
es-ES.json fix(tgbot): resolve client creation race conditions and localization bugs 2026-05-13 00:25:35 +03:00
fa-IR.json Merge upstream/main and adapt PR #3882 features (Sub ID, Flow) to v3.0+ architecture 2026-05-12 03:52:02 +03:00
id-ID.json fix(tgbot): resolve client creation race conditions and localization bugs 2026-05-13 00:25:35 +03:00
ja-JP.json fix(tgbot): resolve client creation race conditions and localization bugs 2026-05-13 00:25:35 +03:00
pt-BR.json fix(tgbot): resolve client creation race conditions and localization bugs 2026-05-13 00:25:35 +03:00
ru-RU.json fix(tgbot): resolve client creation race conditions and localization bugs 2026-05-13 00:25:35 +03:00
tr-TR.json fix(tgbot): resolve client creation race conditions and localization bugs 2026-05-13 00:25:35 +03:00
uk-UA.json fix(tgbot): resolve client creation race conditions and localization bugs 2026-05-13 00:25:35 +03:00
vi-VN.json Merge upstream/main and adapt PR #3882 features (Sub ID, Flow) to v3.0+ architecture 2026-05-12 03:52:02 +03:00
zh-CN.json Merge upstream/main and adapt PR #3882 features (Sub ID, Flow) to v3.0+ architecture 2026-05-12 03:52:02 +03:00
zh-TW.json fix(tgbot): resolve client creation race conditions and localization bugs 2026-05-13 00:25:35 +03:00