[PR #4425] [CLOSED] fix(i18n): wire up inbound delete/reset/depleted confirmation translations across all locales #5686

Closed
opened 2026-11-02 04:03:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/4425
Author: @abdalrahmanx9
Created: 5/16/2026
Status: ❌ Closed

Base: main ← Head: fix/i18n-inbound-delete-translations


📝 Commits (1)

  • a1a0474 fix(i18n): wire up inbound delete/reset/depleted confirmation translations across all locales

📊 Changes

15 files changed (+79 additions, -53 deletions)

View changed files

📝 frontend/src/pages/inbounds/InboundList.vue (+2 -2)
📝 frontend/src/pages/inbounds/InboundsPage.vue (+12 -12)
📝 web/translation/ar-EG.json (+5 -3)
📝 web/translation/en-US.json (+5 -3)
📝 web/translation/es-ES.json (+5 -3)
📝 web/translation/fa-IR.json (+5 -3)
📝 web/translation/id-ID.json (+5 -3)
📝 web/translation/ja-JP.json (+5 -3)
📝 web/translation/pt-BR.json (+5 -3)
📝 web/translation/ru-RU.json (+5 -3)
📝 web/translation/tr-TR.json (+5 -3)
📝 web/translation/uk-UA.json (+5 -3)
📝 web/translation/vi-VN.json (+5 -3)
📝 web/translation/zh-CN.json (+5 -3)
📝 web/translation/zh-TW.json (+5 -3)

📄 Description

Inbound delete/reset/depleted confirmation dialogs were hardcoded in English. The translation keys existed in all 13 locale files but were never wired to the UI.

  • InboundsPage.vue: replaced hardcoded strings with t() calls in confirmDelete, confirmResetTraffic, confirmDelDepleted
  • InboundList.vue: context menu delete item now uses t('pages.inbounds.deleteInbound')
  • All 13 web/translation/*.json: added deleteInboundTitle/resetTrafficTitle with {remark} interpolation, improved content strings from yes/no to descriptive

Fixes #4411


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/4425 **Author:** [@abdalrahmanx9](https://github.com/abdalrahmanx9) **Created:** 5/16/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/i18n-inbound-delete-translations` --- ### 📝 Commits (1) - [`a1a0474`](https://github.com/MHSanaei/3x-ui/commit/a1a047465923f161bdd0000750a52a5e1f8441c6) fix(i18n): wire up inbound delete/reset/depleted confirmation translations across all locales ### 📊 Changes **15 files changed** (+79 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/inbounds/InboundList.vue` (+2 -2) 📝 `frontend/src/pages/inbounds/InboundsPage.vue` (+12 -12) 📝 `web/translation/ar-EG.json` (+5 -3) 📝 `web/translation/en-US.json` (+5 -3) 📝 `web/translation/es-ES.json` (+5 -3) 📝 `web/translation/fa-IR.json` (+5 -3) 📝 `web/translation/id-ID.json` (+5 -3) 📝 `web/translation/ja-JP.json` (+5 -3) 📝 `web/translation/pt-BR.json` (+5 -3) 📝 `web/translation/ru-RU.json` (+5 -3) 📝 `web/translation/tr-TR.json` (+5 -3) 📝 `web/translation/uk-UA.json` (+5 -3) 📝 `web/translation/vi-VN.json` (+5 -3) 📝 `web/translation/zh-CN.json` (+5 -3) 📝 `web/translation/zh-TW.json` (+5 -3) </details> ### 📄 Description Inbound delete/reset/depleted confirmation dialogs were hardcoded in English. The translation keys existed in all 13 locale files but were never wired to the UI. - `InboundsPage.vue`: replaced hardcoded strings with `t()` calls in `confirmDelete`, `confirmResetTraffic`, `confirmDelDepleted` - `InboundList.vue`: context menu delete item now uses `t('pages.inbounds.deleteInbound')` - All 13 `web/translation/*.json`: added `deleteInboundTitle`/`resetTrafficTitle` with `{remark}` interpolation, improved content strings from yes/no to descriptive Fixes #4411 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:03:21 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5686
No description provided.