i18n: fix Russian-source translation keys in AmneziaWG .conf import

section.js had 10 _() calls with Russian strings as keys instead of English.
This is a i18n antipattern: source keys must be language-neutral (English).

Changes:
- section.js: replace 10 Russian msgids with English equivalents
  - 'Загрузить конфиг .conf' -> 'Load .conf config'
  - 'Импортировать настройки AmneziaWG из файла .conf' -> 'Import AmneziaWG settings from .conf file'
  - 'Загрузить .conf' -> 'Load .conf'
  - 'Ошибка' (3x) -> 'Error' (reuses existing key)
  - 'Выберите файл с расширением .conf' -> 'Select a file with .conf extension'
  - 'Не удалось разобрать файл:' -> 'Failed to parse file:'
  - 'Загружено!' -> 'Loaded!'
  - 'Готово' -> 'Done'
  - 'Конфиг AmneziaWG успешно загружен!' -> 'AmneziaWG config loaded successfully!'
  - 'Ошибка чтения' -> 'Read error'

- tachyon.ru.po: add RU translations for 9 new English keys
- calls.json / tachyon.pot / tachyon.po: regenerated via locales:actualize

Result: 1108/1108 translated (no orphaned Russian-source entries)
This commit is contained in:
Dushnilin
2026-08-10 14:00:35 +03:00
parent 92f1b4e991
commit 7def6e556f
6 changed files with 247 additions and 265 deletions
+81 -87
View File
@@ -102,79 +102,6 @@
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:394"
]
},
{
"call": "Выберите файл с расширением .conf",
"key": "Выберите файл с расширением .conf",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233"
]
},
{
"call": "Готово",
"key": "Готово",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292"
]
},
{
"call": "Загружено!",
"key": "Загружено!",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8290"
]
},
{
"call": "Загрузить .conf",
"key": "Загрузить .conf",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8215",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8224"
]
},
{
"call": "Загрузить конфиг .conf",
"key": "Загрузить конфиг .conf",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8163"
]
},
{
"call": "Импортировать настройки AmneziaWG из файла .conf",
"key": "Импортировать настройки AmneziaWG из файла .conf",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8164"
]
},
{
"call": "Конфиг AmneziaWG успешно загружен!",
"key": "Конфиг AmneziaWG успешно загружен!",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292"
]
},
{
"call": "Не удалось разобрать файл:",
"key": "Не удалось разобрать файл:",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246"
]
},
{
"call": "Ошибка",
"key": "Ошибка",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8244",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246"
]
},
{
"call": "Ошибка чтения",
"key": "Ошибка чтения",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8296"
]
},
{
"call": "Accept external proxy connections and route them with sing-box.",
"key": "Accept external proxy connections and route them with sing-box.",
@@ -492,6 +419,13 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:2878"
]
},
{
"call": "AmneziaWG config loaded successfully!",
"key": "AmneziaWG config loaded successfully!",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292"
]
},
{
"call": "AmneziaWG Generator",
"key": "AmneziaWG Generator",
@@ -1271,8 +1205,8 @@
"key": "Conflict",
"places": [
"src/tachyon/methods/custom/getDashboardSections.ts:1569",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:583",
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:141"
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:141",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:583"
]
},
{
@@ -1877,6 +1811,13 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:9301"
]
},
{
"call": "Done",
"key": "Done",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292"
]
},
{
"call": "Dont Touch My DHCP!",
"key": "Dont Touch My DHCP!",
@@ -2297,7 +2238,10 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8146",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8148",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8152",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8154"
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8154",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8244",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246"
]
},
{
@@ -2476,12 +2420,12 @@
"call": "Failed to execute",
"key": "Failed to execute",
"places": [
"src/tachyon/methods/shell/index.ts:170",
"src/tachyon/methods/shell/index.ts:177",
"src/tachyon/tabs/updates/initController.ts:545",
"src/tachyon/tabs/updates/initController.ts:546",
"src/tachyon/tabs/updates/initController.ts:608",
"src/tachyon/tabs/updates/initController.ts:758",
"src/tachyon/methods/shell/index.ts:170",
"src/tachyon/methods/shell/index.ts:177"
"src/tachyon/tabs/updates/initController.ts:758"
]
},
{
@@ -2499,6 +2443,13 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8094"
]
},
{
"call": "Failed to parse file:",
"key": "Failed to parse file:",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246"
]
},
{
"call": "Failed to parse WARP config:",
"key": "Failed to parse WARP config:",
@@ -3091,6 +3042,13 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7637"
]
},
{
"call": "Import AmneziaWG settings from .conf file",
"key": "Import AmneziaWG settings from .conf file",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8164"
]
},
{
"call": "Import Hosts File",
"key": "Import Hosts File",
@@ -4071,6 +4029,21 @@
"src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:125"
]
},
{
"call": "Load .conf",
"key": "Load .conf",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8215",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8224"
]
},
{
"call": "Load .conf config",
"key": "Load .conf config",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8163"
]
},
{
"call": "Load Current Records",
"key": "Load Current Records",
@@ -4085,6 +4058,13 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7547"
]
},
{
"call": "Loaded!",
"key": "Loaded!",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8290"
]
},
{
"call": "Loading client link...",
"key": "Loading client link...",
@@ -4569,9 +4549,9 @@
"key": "Not configured",
"places": [
"src/tachyon/methods/custom/getDashboardSections.ts:1572",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:586",
"src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:46",
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:152"
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:152",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:586"
]
},
{
@@ -5327,6 +5307,13 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:9552"
]
},
{
"call": "Read error",
"key": "Read error",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8296"
]
},
{
"call": "Reality fake site",
"key": "Reality fake site",
@@ -5720,8 +5707,8 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1433",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1434",
"src/tachyon/methods/custom/getDashboardSections.ts:1567",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:581",
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:135"
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:135",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:581"
]
},
{
@@ -5841,6 +5828,13 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:2436"
]
},
{
"call": "Select a file with .conf extension",
"key": "Select a file with .conf extension",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233"
]
},
{
"call": "Select a network interface",
"key": "Select a network interface",
@@ -6175,9 +6169,9 @@
"call": "Service action failed",
"key": "Service action failed",
"places": [
"src/tachyon/tabs/diagnostic/initController.ts:602",
"src/tachyon/methods/shell/index.ts:379",
"src/tachyon/methods/shell/index.ts:400"
"src/tachyon/methods/shell/index.ts:400",
"src/tachyon/tabs/diagnostic/initController.ts:602"
]
},
{
@@ -6609,8 +6603,8 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:307",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1439",
"src/tachyon/methods/custom/getDashboardSections.ts:1571",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:585",
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:147"
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:147",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:585"
]
},
{
+49 -52
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: TACHYON\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-10 10:53+0300\n"
"PO-Revision-Date: 2026-08-10 10:53+0300\n"
"POT-Creation-Date: 2026-08-10 11:00+0300\n"
"PO-Revision-Date: 2026-08-10 11:00+0300\n"
"Last-Translator: Dushnilin <dushnilin@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
@@ -80,49 +80,6 @@ msgstr ""
msgid "✘ Stopped"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233
msgid "Выберите файл с расширением .conf"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292
msgid "Готово"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8290
msgid "Загружено!"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8215
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8224
msgid "Загрузить .conf"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8163
msgid "Загрузить конфиг .conf"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8164
msgid "Импортировать настройки AmneziaWG из файла .conf"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292
msgid "Конфиг AmneziaWG успешно загружен!"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246
msgid "Не удалось разобрать файл:"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8244
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246
msgid "Ошибка"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8296
msgid "Ошибка чтения"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/tachyon.js:444
msgid "Accept external proxy connections and route them with sing-box."
msgstr ""
@@ -308,6 +265,10 @@ msgstr ""
msgid "Alter ID"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292
msgid "AmneziaWG config loaded successfully!"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8005
msgid "AmneziaWG Generator"
msgstr ""
@@ -771,8 +732,8 @@ msgid "Configure User-Agent in the item settings"
msgstr ""
#: src/tachyon/methods/custom/getDashboardSections.ts:1569
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:583
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:141
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:583
msgid "Conflict"
msgstr ""
@@ -1129,6 +1090,10 @@ msgstr ""
msgid "Domains automatically detected by Smart Detect or added via Telegram bot. You can manually edit or remove them here."
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292
msgid "Done"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1080
msgid "Dont Touch My DHCP!"
msgstr ""
@@ -1375,6 +1340,9 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8148
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8152
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8154
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8244
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246
msgid "Error"
msgstr ""
@@ -1481,12 +1449,12 @@ msgstr ""
msgid "Failed to copy!"
msgstr ""
#: src/tachyon/methods/shell/index.ts:170
#: src/tachyon/methods/shell/index.ts:177
#: src/tachyon/tabs/updates/initController.ts:545
#: src/tachyon/tabs/updates/initController.ts:546
#: src/tachyon/tabs/updates/initController.ts:608
#: src/tachyon/tabs/updates/initController.ts:758
#: src/tachyon/methods/shell/index.ts:170
#: src/tachyon/methods/shell/index.ts:177
msgid "Failed to execute"
msgstr ""
@@ -1499,6 +1467,10 @@ msgstr ""
msgid "Failed to generate WARP config:"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246
msgid "Failed to parse file:"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8148
msgid "Failed to parse WARP config:"
msgstr ""
@@ -1845,6 +1817,10 @@ msgstr ""
msgid "Import (%d records)"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8164
msgid "Import AmneziaWG settings from .conf file"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7691
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7824
msgid "Import Hosts File"
@@ -2417,6 +2393,15 @@ msgstr ""
msgid "Listening port"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8215
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8224
msgid "Load .conf"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8163
msgid "Load .conf config"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7550
msgid "Load Current Records"
msgstr ""
@@ -2425,6 +2410,10 @@ msgstr ""
msgid "Loaded %d current record(s)"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8290
msgid "Loaded!"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:1702
msgid "Loading client link..."
msgstr ""
@@ -2707,9 +2696,9 @@ msgid "None"
msgstr ""
#: src/tachyon/methods/custom/getDashboardSections.ts:1572
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:586
#: src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:46
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:152
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:586
msgid "Not configured"
msgstr ""
@@ -3160,6 +3149,10 @@ msgstr ""
msgid "RDP"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8296
msgid "Read error"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:2687
msgid "Reality fake site"
msgstr ""
@@ -3387,8 +3380,8 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1433
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1434
#: src/tachyon/methods/custom/getDashboardSections.ts:1567
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:581
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:135
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:581
msgid "Running"
msgstr ""
@@ -3461,6 +3454,10 @@ msgstr ""
msgid "Select a common client profile or enter a custom User-Agent"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233
msgid "Select a file with .conf extension"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8824
msgid "Select a network interface"
msgstr ""
@@ -3656,9 +3653,9 @@ msgstr ""
msgid "Servers on dashboard"
msgstr ""
#: src/tachyon/tabs/diagnostic/initController.ts:602
#: src/tachyon/methods/shell/index.ts:379
#: src/tachyon/methods/shell/index.ts:400
#: src/tachyon/tabs/diagnostic/initController.ts:602
msgid "Service action failed"
msgstr ""
@@ -3910,8 +3907,8 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:307
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1439
#: src/tachyon/methods/custom/getDashboardSections.ts:1571
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:585
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:147
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:585
msgid "Stopped"
msgstr ""
+29 -32
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: TACHYON\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-10 13:53+0300\n"
"PO-Revision-Date: 2026-08-10 13:53+0300\n"
"POT-Creation-Date: 2026-08-10 14:00+0300\n"
"PO-Revision-Date: 2026-08-10 14:00+0300\n"
"Last-Translator: Dushnilin\n"
"Language-Team: none\n"
"Language: ru\n"
@@ -56,36 +56,6 @@ msgstr "✔ Работает"
msgid "✘ Stopped"
msgstr "✘ Остановлено"
msgid "Выберите файл с расширением .conf"
msgstr "Выберите файл с расширением .conf"
msgid "Готово"
msgstr "Готово"
msgid "Загружено!"
msgstr "Загружено!"
msgid "Загрузить .conf"
msgstr "Загрузить .conf"
msgid "Загрузить конфиг .conf"
msgstr "Загрузить конфиг .conf"
msgid "Импортировать настройки AmneziaWG из файла .conf"
msgstr "Импортировать настройки AmneziaWG из файла .conf"
msgid "Конфиг AmneziaWG успешно загружен!"
msgstr "Конфиг AmneziaWG успешно загружен!"
msgid "Не удалось разобрать файл:"
msgstr "Не удалось разобрать файл:"
msgid "Ошибка"
msgstr "Ошибка"
msgid "Ошибка чтения"
msgstr "Ошибка чтения"
msgid "Accept external proxy connections and route them with sing-box."
msgstr "Принимает внешние прокси-подключения и маршрутизирует их через sing-box."
@@ -218,6 +188,9 @@ msgstr "ALPN"
msgid "Alter ID"
msgstr "Alter ID"
msgid "AmneziaWG config loaded successfully!"
msgstr "Конфиг AmneziaWG успешно загружен!"
msgid "AmneziaWG Generator"
msgstr "Генератор AmneziaWG"
@@ -782,6 +755,9 @@ msgstr "Домены (Domains)"
msgid "Domains automatically detected by Smart Detect or added via Telegram bot. You can manually edit or remove them here."
msgstr "Домены, автоматически обнаруженные Smart Detect или добавленные через Telegram-бота. Вы можете вручную изменить или удалить их здесь."
msgid "Done"
msgstr "Готово"
msgid "Dont Touch My DHCP!"
msgstr "Отключить управление DHCP"
@@ -1034,6 +1010,9 @@ msgstr "Не удалось создать отчёт об ошибке"
msgid "Failed to generate WARP config:"
msgstr "Не удалось создать конфиг WARP:"
msgid "Failed to parse file:"
msgstr "Не удалось разобрать файл:"
msgid "Failed to parse WARP config:"
msgstr "Не удалось разобрать конфиг WARP:"
@@ -1280,6 +1259,9 @@ msgstr "Импортировать"
msgid "Import (%d records)"
msgstr "Импортировать (%d записей)"
msgid "Import AmneziaWG settings from .conf file"
msgstr "Импортировать настройки AmneziaWG из файла .conf"
msgid "Import Hosts File"
msgstr "Импортировать hosts-файл"
@@ -1688,12 +1670,21 @@ msgstr "Порт прослушивания"
msgid "Listening port"
msgstr "Слушающий порт"
msgid "Load .conf"
msgstr "Загрузить .conf"
msgid "Load .conf config"
msgstr "Загрузить конфиг .conf"
msgid "Load Current Records"
msgstr "Загрузить текущие записи"
msgid "Loaded %d current record(s)"
msgstr "Загружено %d текущих записей"
msgid "Loaded!"
msgstr "Загружено!"
msgid "Loading client link..."
msgstr "Загрузка клиентской ссылки..."
@@ -2201,6 +2192,9 @@ msgstr "QUIC (HTTP/3)"
msgid "RDP"
msgstr "RDP"
msgid "Read error"
msgstr "Ошибка чтения"
msgid "Reality fake site"
msgstr "Fake-сайт Reality"
@@ -2414,6 +2408,9 @@ msgstr "Защита"
msgid "Select a common client profile or enter a custom User-Agent"
msgstr "Выберите стандартный профиль клиента или введите пользовательский User-Agent"
msgid "Select a file with .conf extension"
msgstr "Выберите файл с расширением .conf"
msgid "Select a network interface"
msgstr "Выберите сетевой интерфейс"
@@ -8160,8 +8160,8 @@ function createSectionContent(section) {
"settings",
form.Button,
"_load_awg_conf",
_("Загрузить конфиг .conf"),
_("Импортировать настройки AmneziaWG из файла .conf")
_("Load .conf config"),
_("Import AmneziaWG settings from .conf file")
);
o.modalonly = true;
o.depends("action", "awg");
@@ -8212,7 +8212,7 @@ function createSectionContent(section) {
const fileInput = E("input", { "type": "file", "accept": ".conf", "style": "display:none" });
const icon = E("span", {}, ["📂"]);
const label = E("span", { "class": "twg-label" }, [_("Загрузить .conf")]);
const label = E("span", { "class": "twg-label" }, [_("Load .conf")]);
const btn = E("button", {
"class": "btn cbi-button cbi-button-neutral twg-btn",
"type": "button",
@@ -8221,7 +8221,7 @@ function createSectionContent(section) {
const setBtn = (state, text) => {
btn.className = "btn cbi-button cbi-button-neutral twg-btn" + (state ? " twg-" + state : "");
label.textContent = text || _("Загрузить .conf");
label.textContent = text || _("Load .conf");
};
fileInput.addEventListener("change", () => {
@@ -8230,7 +8230,7 @@ function createSectionContent(section) {
if (!file) return;
if (!file.name.endsWith(".conf")) {
ui.addNotification(_("Ошибка"), E("p", {}, _("Выберите файл с расширением .conf")), "danger");
ui.addNotification(_("Error"), E("p", {}, _("Select a file with .conf extension")), "danger");
return;
}
@@ -8241,9 +8241,9 @@ function createSectionContent(section) {
try {
cfg = parseConf(ev.target.result);
} catch (err) {
setBtn("error", _("Ошибка"));
setBtn("error", _("Error"));
setTimeout(() => setBtn("", null), 2500);
ui.addNotification(_("Ошибка"), E("p", {}, _("Не удалось разобрать файл: ") + err.message), "danger");
ui.addNotification(_("Error"), E("p", {}, _("Failed to parse file: ") + err.message), "danger");
return;
}
@@ -8287,13 +8287,13 @@ function createSectionContent(section) {
}
}
setBtn("success", _("Загружено!"));
setBtn("success", _("Loaded!"));
setTimeout(() => setBtn("", null), 2000);
ui.addNotification(_("Готово"), E("p", {}, _("Конфиг AmneziaWG успешно загружен!")), "success");
ui.addNotification(_("Done"), E("p", {}, _("AmneziaWG config loaded successfully!")), "success");
};
reader.onerror = () => {
setBtn("error", _("Ошибка чтения"));
setBtn("error", _("Read error"));
setTimeout(() => setBtn("", null), 2500);
};
+29 -32
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: TACHYON\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-10 13:53+0300\n"
"PO-Revision-Date: 2026-08-10 13:53+0300\n"
"POT-Creation-Date: 2026-08-10 14:00+0300\n"
"PO-Revision-Date: 2026-08-10 14:00+0300\n"
"Last-Translator: Dushnilin\n"
"Language-Team: none\n"
"Language: ru\n"
@@ -56,36 +56,6 @@ msgstr "✔ Работает"
msgid "✘ Stopped"
msgstr "✘ Остановлено"
msgid "Выберите файл с расширением .conf"
msgstr "Выберите файл с расширением .conf"
msgid "Готово"
msgstr "Готово"
msgid "Загружено!"
msgstr "Загружено!"
msgid "Загрузить .conf"
msgstr "Загрузить .conf"
msgid "Загрузить конфиг .conf"
msgstr "Загрузить конфиг .conf"
msgid "Импортировать настройки AmneziaWG из файла .conf"
msgstr "Импортировать настройки AmneziaWG из файла .conf"
msgid "Конфиг AmneziaWG успешно загружен!"
msgstr "Конфиг AmneziaWG успешно загружен!"
msgid "Не удалось разобрать файл:"
msgstr "Не удалось разобрать файл:"
msgid "Ошибка"
msgstr "Ошибка"
msgid "Ошибка чтения"
msgstr "Ошибка чтения"
msgid "Accept external proxy connections and route them with sing-box."
msgstr "Принимает внешние прокси-подключения и маршрутизирует их через sing-box."
@@ -218,6 +188,9 @@ msgstr "ALPN"
msgid "Alter ID"
msgstr "Alter ID"
msgid "AmneziaWG config loaded successfully!"
msgstr "Конфиг AmneziaWG успешно загружен!"
msgid "AmneziaWG Generator"
msgstr "Генератор AmneziaWG"
@@ -782,6 +755,9 @@ msgstr "Домены (Domains)"
msgid "Domains automatically detected by Smart Detect or added via Telegram bot. You can manually edit or remove them here."
msgstr "Домены, автоматически обнаруженные Smart Detect или добавленные через Telegram-бота. Вы можете вручную изменить или удалить их здесь."
msgid "Done"
msgstr "Готово"
msgid "Dont Touch My DHCP!"
msgstr "Отключить управление DHCP"
@@ -1034,6 +1010,9 @@ msgstr "Не удалось создать отчёт об ошибке"
msgid "Failed to generate WARP config:"
msgstr "Не удалось создать конфиг WARP:"
msgid "Failed to parse file:"
msgstr "Не удалось разобрать файл:"
msgid "Failed to parse WARP config:"
msgstr "Не удалось разобрать конфиг WARP:"
@@ -1280,6 +1259,9 @@ msgstr "Импортировать"
msgid "Import (%d records)"
msgstr "Импортировать (%d записей)"
msgid "Import AmneziaWG settings from .conf file"
msgstr "Импортировать настройки AmneziaWG из файла .conf"
msgid "Import Hosts File"
msgstr "Импортировать hosts-файл"
@@ -1688,12 +1670,21 @@ msgstr "Порт прослушивания"
msgid "Listening port"
msgstr "Слушающий порт"
msgid "Load .conf"
msgstr "Загрузить .conf"
msgid "Load .conf config"
msgstr "Загрузить конфиг .conf"
msgid "Load Current Records"
msgstr "Загрузить текущие записи"
msgid "Loaded %d current record(s)"
msgstr "Загружено %d текущих записей"
msgid "Loaded!"
msgstr "Загружено!"
msgid "Loading client link..."
msgstr "Загрузка клиентской ссылки..."
@@ -2201,6 +2192,9 @@ msgstr "QUIC (HTTP/3)"
msgid "RDP"
msgstr "RDP"
msgid "Read error"
msgstr "Ошибка чтения"
msgid "Reality fake site"
msgstr "Fake-сайт Reality"
@@ -2414,6 +2408,9 @@ msgstr "Защита"
msgid "Select a common client profile or enter a custom User-Agent"
msgstr "Выберите стандартный профиль клиента или введите пользовательский User-Agent"
msgid "Select a file with .conf extension"
msgstr "Выберите файл с расширением .conf"
msgid "Select a network interface"
msgstr "Выберите сетевой интерфейс"
+49 -52
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: TACHYON\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-10 10:53+0300\n"
"PO-Revision-Date: 2026-08-10 10:53+0300\n"
"POT-Creation-Date: 2026-08-10 11:00+0300\n"
"PO-Revision-Date: 2026-08-10 11:00+0300\n"
"Last-Translator: Dushnilin <dushnilin@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
@@ -80,49 +80,6 @@ msgstr ""
msgid "✘ Stopped"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233
msgid "Выберите файл с расширением .conf"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292
msgid "Готово"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8290
msgid "Загружено!"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8215
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8224
msgid "Загрузить .conf"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8163
msgid "Загрузить конфиг .conf"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8164
msgid "Импортировать настройки AmneziaWG из файла .conf"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292
msgid "Конфиг AmneziaWG успешно загружен!"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246
msgid "Не удалось разобрать файл:"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8244
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246
msgid "Ошибка"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8296
msgid "Ошибка чтения"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/tachyon.js:444
msgid "Accept external proxy connections and route them with sing-box."
msgstr ""
@@ -308,6 +265,10 @@ msgstr ""
msgid "Alter ID"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292
msgid "AmneziaWG config loaded successfully!"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8005
msgid "AmneziaWG Generator"
msgstr ""
@@ -771,8 +732,8 @@ msgid "Configure User-Agent in the item settings"
msgstr ""
#: src/tachyon/methods/custom/getDashboardSections.ts:1569
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:583
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:141
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:583
msgid "Conflict"
msgstr ""
@@ -1129,6 +1090,10 @@ msgstr ""
msgid "Domains automatically detected by Smart Detect or added via Telegram bot. You can manually edit or remove them here."
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8292
msgid "Done"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1080
msgid "Dont Touch My DHCP!"
msgstr ""
@@ -1375,6 +1340,9 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8148
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8152
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8154
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8244
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246
msgid "Error"
msgstr ""
@@ -1481,12 +1449,12 @@ msgstr ""
msgid "Failed to copy!"
msgstr ""
#: src/tachyon/methods/shell/index.ts:170
#: src/tachyon/methods/shell/index.ts:177
#: src/tachyon/tabs/updates/initController.ts:545
#: src/tachyon/tabs/updates/initController.ts:546
#: src/tachyon/tabs/updates/initController.ts:608
#: src/tachyon/tabs/updates/initController.ts:758
#: src/tachyon/methods/shell/index.ts:170
#: src/tachyon/methods/shell/index.ts:177
msgid "Failed to execute"
msgstr ""
@@ -1499,6 +1467,10 @@ msgstr ""
msgid "Failed to generate WARP config:"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8246
msgid "Failed to parse file:"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8148
msgid "Failed to parse WARP config:"
msgstr ""
@@ -1845,6 +1817,10 @@ msgstr ""
msgid "Import (%d records)"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8164
msgid "Import AmneziaWG settings from .conf file"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7691
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7824
msgid "Import Hosts File"
@@ -2417,6 +2393,15 @@ msgstr ""
msgid "Listening port"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8215
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8224
msgid "Load .conf"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8163
msgid "Load .conf config"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7550
msgid "Load Current Records"
msgstr ""
@@ -2425,6 +2410,10 @@ msgstr ""
msgid "Loaded %d current record(s)"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8290
msgid "Loaded!"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:1702
msgid "Loading client link..."
msgstr ""
@@ -2707,9 +2696,9 @@ msgid "None"
msgstr ""
#: src/tachyon/methods/custom/getDashboardSections.ts:1572
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:586
#: src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:46
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:152
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:586
msgid "Not configured"
msgstr ""
@@ -3160,6 +3149,10 @@ msgstr ""
msgid "RDP"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8296
msgid "Read error"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:2687
msgid "Reality fake site"
msgstr ""
@@ -3387,8 +3380,8 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1433
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1434
#: src/tachyon/methods/custom/getDashboardSections.ts:1567
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:581
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:135
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:581
msgid "Running"
msgstr ""
@@ -3461,6 +3454,10 @@ msgstr ""
msgid "Select a common client profile or enter a custom User-Agent"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8233
msgid "Select a file with .conf extension"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8824
msgid "Select a network interface"
msgstr ""
@@ -3656,9 +3653,9 @@ msgstr ""
msgid "Servers on dashboard"
msgstr ""
#: src/tachyon/tabs/diagnostic/initController.ts:602
#: src/tachyon/methods/shell/index.ts:379
#: src/tachyon/methods/shell/index.ts:400
#: src/tachyon/tabs/diagnostic/initController.ts:602
msgid "Service action failed"
msgstr ""
@@ -3910,8 +3907,8 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:307
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1439
#: src/tachyon/methods/custom/getDashboardSections.ts:1571
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:585
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:147
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:585
msgid "Stopped"
msgstr ""