i18n(panel): translate Copy/Cancel buttons, Stream/Sniffing tabs, and All-Inbounds filenames

- TextModal: route the Copy button label and the post-copy toast
  through t('copy')/t('copied') instead of hardcoded English.
- PromptModal: route cancelText through t('cancel') and default okText
  through t('confirm') so the import-inbound prompt stops showing
  "Cancel" in non-English UI.
- InboundsPage: pass the All-Inbounds and All-Inbounds-Subs download
  filenames through t(...) so each locale can localize them.
- en-US.json: add pages.inbounds.exportAllLinksFileName and
  pages.inbounds.exportAllSubsFileName.
- All 12 non-English locales: translate streamTab and sniffingTab
  (previously left as literal English) and add the two new filename
  keys with appropriate translations.

All 13 locale files now have 1541 lines.
This commit is contained in:
MHSanaei
2026-05-28 18:45:59 +02:00
parent bee8288d41
commit c5b5606bf5
16 changed files with 60 additions and 30 deletions
+4 -2
View File
@@ -322,6 +322,8 @@
"exportSubsTitle": "Экспортировать ссылки подписки",
"exportAllLinksTitle": "Экспортировать все ссылки подключений",
"exportAllSubsTitle": "Экспортировать все ссылки подписок",
"exportAllLinksFileName": "Все-входящие",
"exportAllSubsFileName": "Все-входящие-Subs",
"inboundJsonTitle": "JSON входящего",
"deleteClient": "Удалить клиента",
"deleteClientContent": "Вы уверены, что хотите удалить клиента?",
@@ -368,9 +370,9 @@
"IPLimitlogclear": "Очистить лог",
"setDefaultCert": "Установить сертификат панели",
"setDefaultCertEmpty": "Для панели не настроен сертификат. Сначала установите его в Настройках.",
"streamTab": "Stream",
"streamTab": "Поток",
"securityTab": "Безопасность",
"sniffingTab": "Sniffing",
"sniffingTab": "Сниффинг",
"sniffingMetadataOnly": "Только метаданные",
"sniffingRouteOnly": "Только маршрутизация",
"sniffingIpsExcluded": "Исключённые IP",