mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #4386] [MERGED] fix: add i18n translations for Allow private address node option across all locales #5679
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#5679
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/4386
Author: @abdalrahmanx9
Created: 5/14/2026
Status: ✅ Merged
Merged: 5/15/2026
Merged by: @MHSanaei
Base:
main← Head:fix/chinese-locale-allow-private-address📝 Commits (2)
959e4f3fix: add Chinese locale translations for Allow private address node option49aa999fix: add Allow private address translations to all remaining locale files📊 Changes
14 files changed (+28 additions, -2 deletions)
View changed files
📝
frontend/src/pages/nodes/NodeFormModal.vue(+2 -2)📝
web/translation/ar-EG.json(+2 -0)📝
web/translation/en-US.json(+2 -0)📝
web/translation/es-ES.json(+2 -0)📝
web/translation/fa-IR.json(+2 -0)📝
web/translation/id-ID.json(+2 -0)📝
web/translation/ja-JP.json(+2 -0)📝
web/translation/pt-BR.json(+2 -0)📝
web/translation/ru-RU.json(+2 -0)📝
web/translation/tr-TR.json(+2 -0)📝
web/translation/uk-UA.json(+2 -0)📝
web/translation/vi-VN.json(+2 -0)📝
web/translation/zh-CN.json(+2 -0)📝
web/translation/zh-TW.json(+2 -0)📄 Description
Add Chinese localization for "Allow private address" node option
Closes #4378
The "Allow private address" switch and its hint text on the node
form modal were hardcoded in English. This PR:
t()i18n callsOther locales fall back to English via vue-i18n's fallbackLocale setting.
Files changed
frontend/src/pages/nodes/NodeFormModal.vueweb/translation/en-US.jsonweb/translation/zh-CN.jsonweb/translation/zh-TW.json🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.