mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 12:44:22 +00:00
When an inbound save fails Zod validation, the toast previously showed a raw path like `settings.clients.494.tgId: Invalid input`, which gave no hint which of hundreds of clients was at fault. Resolve the client array index back to the client email, name the field, and append a "(+N more)" count when several fields fail. console.error now logs a readable list of every issue instead of dumping the whole form. Adds the invalidClientField/invalidField/moreIssues toast strings across all 13 translations. |
||
|---|---|---|
| .. | ||
| 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 | ||