mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-04-16 12:35:54 +00:00
- 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`).
|
||
|---|---|---|
| .. | ||
| translate.ar_EG.toml | ||
| translate.en_US.toml | ||
| translate.es_ES.toml | ||
| translate.fa_IR.toml | ||
| translate.id_ID.toml | ||
| translate.ja_JP.toml | ||
| translate.pt_BR.toml | ||
| translate.ru_RU.toml | ||
| translate.tr_TR.toml | ||
| translate.uk_UA.toml | ||
| translate.vi_VN.toml | ||
| translate.zh_CN.toml | ||
| translate.zh_TW.toml | ||