3x-ui/web/translation
Aleksei Sidorenko c869c3fc4a fix(tgbot): improve client creation UX, Sub ID validation and RTL support
- Display "Sub ID" and "Flow" with correct HTML formatting (bold/monospace) in the final client creation summary.
- Fix RTL (Right-to-Left) alignment for Arabic and Persian languages by introducing localized labels for "Sub ID" and "Flow".
- Implement robust Unicode regex validation (`^[\p{L}\p{N}\-_]+$`) for Sub ID to block URI-breaking special characters and spaces while allowing multi-language input.
- Fix a bug where an invalid Sub ID was still saved to the global state despite failing validation.
- Fix a critical state-handling bug in `SendMsgToTgbotDeleteAfter` that prematurely deleted user states and caused the bot to ignore user inputs.
- Add success alerts for Flow selection and self-deleting messages on cancellation.
- Add a fallback mechanism for missing localization keys to prevent the bot from silently hanging during error reporting
- Update all 13 `.toml` localization files with new keys (`invalid_subid`, `client_subid`, `client_flow`).
2026-03-04 23:07:58 +03:00
..
translate.ar_EG.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.en_US.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.es_ES.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.fa_IR.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.id_ID.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.ja_JP.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.pt_BR.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.ru_RU.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.tr_TR.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.uk_UA.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.vi_VN.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.zh_CN.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
translate.zh_TW.toml fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00