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": "Modificar Inbound",
"deleteInbound": "Excluir Inbound",
"deleteInboundContent": "Tem certeza de que deseja excluir o inbound?",
"deleteConfirmTitle": "Excluir o inbound \"{remark}\"?",
"deleteConfirmContent": "Isto remove o inbound e todos os seus clientes. Não é possível desfazer.",
"resetConfirmTitle": "Redefinir o tráfego de \"{remark}\"?",
"resetConfirmContent": "Zera os contadores de envio/recebimento para este inbound.",
"cloneConfirmTitle": "Clonar o inbound \"{remark}\"?",
"cloneConfirmContent": "Cria uma cópia com uma nova porta e lista de clientes vazia.",
"exportLinksTitle": "Exportar links do inbound",
"exportSubsTitle": "Exportar links de assinatura",
"exportAllLinksTitle": "Exportar todos os links de inbound",
"exportAllSubsTitle": "Exportar todos os links de assinatura",
"inboundJsonTitle": "JSON do inbound",
"deleteClient": "Excluir Cliente",
"deleteClientContent": "Tem certeza de que deseja excluir o cliente?",
"resetTrafficContent": "Tem certeza de que deseja redefinir o tráfego?",
@@ -583,6 +594,13 @@
"resetDefaultConfig": "Redefinir para Padrão",
"panelSettings": "Geral",
"securitySettings": "Autenticação",
"securityWarnings": "Avisos de segurança",
"panelExposed": "Seu painel pode estar exposto:",
"warnHttp": "O painel é servido por HTTP simples — configure TLS para produção.",
"warnDefaultPort": "A porta padrão 2053 é bem conhecida — altere para uma porta aleatória.",
"warnDefaultBasePath": "O caminho base padrão \"/\" é bem conhecido — altere para um caminho aleatório.",
"warnDefaultSubPath": "O caminho de assinatura padrão \"/sub/\" é bem conhecido — altere-o.",
"warnDefaultJsonPath": "O caminho de assinatura JSON padrão \"/json/\" é bem conhecido — altere-o.",
"TGBotSettings": "Bot do Telegram",
"panelListeningIP": "IP de Escuta",
"panelListeningIPDesc": "O endereço IP para o painel web. (deixe em branco para escutar em todos os IPs)",