mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #2571] [MERGED] Fix toasts #5147
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#5147
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/2571
Author: @gentslava
Created: 9/30/2024
Status: ✅ Merged
Merged: 9/30/2024
Merged by: @MHSanaei
Base:
main← Head:fix/toasts📝 Commits (2)
39939d8Add space to toast status messages275c406Removed opening space from translations📊 Changes
11 files changed (+26 additions, -26 deletions)
View changed files
📝
web/controller/util.go(+3 -3)📝
web/translation/translate.en_US.toml(+3 -3)📝
web/translation/translate.es_ES.toml(+2 -2)📝
web/translation/translate.fa_IR.toml(+6 -6)📝
web/translation/translate.id_ID.toml(+1 -1)📝
web/translation/translate.pt_BR.toml(+3 -3)📝
web/translation/translate.ru_RU.toml(+1 -1)📝
web/translation/translate.tr_TR.toml(+1 -1)📝
web/translation/translate.uk_UA.toml(+3 -3)📝
web/translation/translate.vi_VN.toml(+1 -1)📝
web/translation/translate.zh_CN.toml(+2 -2)📄 Description
This is a more convenient approach, as there is less chance to make a mistake in translation: forget lead space.
Before:

After:

P.S.: I've checked other places with lead space in translations: meansNoLimit


It's ok as there's space in the HTML.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.