i18n: translate hardcoded inbound action + security warning strings (#4502)

The inbound row actions (delete / reset traffic / clone / export links /
export subscription links / show JSON / export-all variants) and the
security warning alert on the Settings page were emitting English text
directly. Replace them with i18n keys and add translations across all
13 supported locales.
This commit is contained in:
Sanaei
2026-05-23 19:43:21 +02:00
committed by GitHub
parent 09df07ddf5
commit 95aebf1d83
15 changed files with 267 additions and 33 deletions
+18
View File
@@ -283,6 +283,17 @@
"modifyInbound": "インバウンド修正",
"deleteInbound": "インバウンド削除",
"deleteInboundContent": "インバウンドを削除してもよろしいですか?",
"deleteConfirmTitle": "インバウンド「{remark}」を削除しますか?",
"deleteConfirmContent": "インバウンドと関連付けされたすべてのクライアントを削除します。元に戻せません。",
"resetConfirmTitle": "「{remark}」のトラフィックをリセットしますか?",
"resetConfirmContent": "このインバウンドの送受信カウンタを 0 にリセットします。",
"cloneConfirmTitle": "インバウンド「{remark}」を複製しますか?",
"cloneConfirmContent": "新しいポートと空のクライアント一覧でコピーを作成します。",
"exportLinksTitle": "インバウンドリンクのエクスポート",
"exportSubsTitle": "サブスクリプションリンクのエクスポート",
"exportAllLinksTitle": "全インバウンドリンクのエクスポート",
"exportAllSubsTitle": "全サブスクリプションリンクのエクスポート",
"inboundJsonTitle": "インバウンド JSON",
"deleteClient": "クライアント削除",
"deleteClientContent": "クライアントを削除してもよろしいですか?",
"resetTrafficContent": "トラフィックをリセットしてもよろしいですか?",
@@ -583,6 +594,13 @@
"resetDefaultConfig": "デフォルト設定にリセット",
"panelSettings": "一般",
"securitySettings": "セキュリティ設定",
"securityWarnings": "セキュリティ警告",
"panelExposed": "パネルが露出している可能性があります:",
"warnHttp": "パネルが平文 HTTP で提供されています — 本番環境には TLS を設定してください。",
"warnDefaultPort": "デフォルトポート 2053 はよく知られています — ランダムなポートに変更してください。",
"warnDefaultBasePath": "デフォルトのベースパス \"/\" はよく知られています — ランダムなパスに変更してください。",
"warnDefaultSubPath": "デフォルトのサブスクリプションパス \"/sub/\" はよく知られています — 変更してください。",
"warnDefaultJsonPath": "デフォルトの JSON サブスクリプションパス \"/json/\" はよく知られています — 変更してください。",
"TGBotSettings": "Telegramボット設定",
"panelListeningIP": "パネル監視IP",
"panelListeningIPDesc": "デフォルトではすべてのIPを監視する",