mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #2987] [MERGED] chore: toasts translation refactoring #5318
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5318
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/2987
Author: @sh1shd
Created: 5/9/2025
Status: ✅ Merged
Merged: 5/9/2025
Merged by: @sh1shd
Base:
main← Head:refactor/refactor📝 Commits (3)
801cfd8chore: toasts translation refactoring44e5eddchore: add toast for successful change admin credentials902c94dMerge branch 'main' into refactor/refactor📊 Changes
20 files changed (+536 additions, -132 deletions)
View changed files
📝
web/controller/inbound.go(+33 -33)📝
web/controller/server.go(+10 -10)📝
web/controller/setting.go(+3 -3)📝
web/controller/util.go(+2 -2)📝
web/controller/xray_setting.go(+2 -2)📝
web/html/inbounds.html(+2 -2)📝
web/html/modals/warp_modal.html(+2 -2)📝
web/translation/translate.ar_EG.toml(+37 -6)📝
web/translation/translate.en_US.toml(+37 -7)📝
web/translation/translate.es_ES.toml(+37 -6)📝
web/translation/translate.fa_IR.toml(+37 -6)📝
web/translation/translate.id_ID.toml(+37 -6)📝
web/translation/translate.ja_JP.toml(+37 -6)📝
web/translation/translate.pt_BR.toml(+37 -6)📝
web/translation/translate.ru_RU.toml(+38 -7)📝
web/translation/translate.tr_TR.toml(+37 -6)📝
web/translation/translate.uk_UA.toml(+37 -6)📝
web/translation/translate.vi_VN.toml(+37 -6)📝
web/translation/translate.zh_CN.toml(+37 -6)📝
web/translation/translate.zh_TW.toml(+37 -4)📄 Description
What is the pull request?
This pull request refactors the translation logic in toast.
Previously, a message about the success of something was done as follows: “action” (create, restart panel) + ‘Successfully/Error’.
Now these messages are translated separately
Also this pull request adds missing translations (reset client traffic, xray restart message and etc.)
Which part of the application is affected by the change?
Type of Changes
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.