fix(i18n): wrap Ollama and LM Studio labels in _() with English defaults and update po/pot
This commit is contained in:
@@ -1249,9 +1249,9 @@
|
||||
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:1717",
|
||||
"src/partials/modal/renderModal.ts:263",
|
||||
"src/tachyon/tabs/dashboard/initController.ts:1085",
|
||||
"src/tachyon/tabs/diagnostic/initController.ts:1194",
|
||||
"src/tachyon/tabs/monitoring/initController.ts:884",
|
||||
"src/tachyon/tabs/monitoring/initController.ts:934",
|
||||
"src/tachyon/tabs/diagnostic/initController.ts:1194"
|
||||
"src/tachyon/tabs/monitoring/initController.ts:934"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1524,6 +1524,13 @@
|
||||
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7720"
|
||||
]
|
||||
},
|
||||
{
|
||||
"call": "Custom OpenAI-Compatible API (OpenRouter)",
|
||||
"key": "Custom OpenAI-Compatible API (OpenRouter)",
|
||||
"places": [
|
||||
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1271"
|
||||
]
|
||||
},
|
||||
{
|
||||
"call": "Custom OpenAI-compatible API endpoint URL (e.g. http://192.168.1.100:11434/v1/chat/completions)",
|
||||
"key": "Custom OpenAI-compatible API endpoint URL (e.g. http://192.168.1.100:11434/v1/chat/completions)",
|
||||
@@ -4292,6 +4299,14 @@
|
||||
"src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:125"
|
||||
]
|
||||
},
|
||||
{
|
||||
"call": "LM Studio (Local PC / Server)",
|
||||
"key": "LM Studio (Local PC / Server)",
|
||||
"places": [
|
||||
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1270",
|
||||
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:821"
|
||||
]
|
||||
},
|
||||
{
|
||||
"call": "Load .conf",
|
||||
"key": "Load .conf",
|
||||
@@ -4997,6 +5012,14 @@
|
||||
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:2922"
|
||||
]
|
||||
},
|
||||
{
|
||||
"call": "Ollama (Local PC / Server)",
|
||||
"key": "Ollama (Local PC / Server)",
|
||||
"places": [
|
||||
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1269",
|
||||
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:813"
|
||||
]
|
||||
},
|
||||
{
|
||||
"call": "One record per line: <code>example.com 192.168.1.100</code> or <code>192.168.1.100 example.com</code>. Lines starting with <code>#</code> are ignored.",
|
||||
"key": "One record per line: <code>example.com 192.168.1.100</code> or <code>192.168.1.100 example.com</code>. Lines starting with <code>#</code> are ignored.",
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: TACHYON\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-08-11 19:27+0300\n"
|
||||
"PO-Revision-Date: 2026-08-11 19:27+0300\n"
|
||||
"POT-Creation-Date: 2026-08-11 19:28+0300\n"
|
||||
"PO-Revision-Date: 2026-08-11 19:28+0300\n"
|
||||
"Last-Translator: Dushnilin <dushnilin@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
@@ -758,9 +758,9 @@ msgstr ""
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:1717
|
||||
#: src/partials/modal/renderModal.ts:263
|
||||
#: src/tachyon/tabs/dashboard/initController.ts:1085
|
||||
#: src/tachyon/tabs/diagnostic/initController.ts:1194
|
||||
#: src/tachyon/tabs/monitoring/initController.ts:884
|
||||
#: src/tachyon/tabs/monitoring/initController.ts:934
|
||||
#: src/tachyon/tabs/diagnostic/initController.ts:1194
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
@@ -923,6 +923,10 @@ msgstr ""
|
||||
msgid "Custom DNS Records (Hosts)"
|
||||
msgstr ""
|
||||
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1271
|
||||
msgid "Custom OpenAI-Compatible API (OpenRouter)"
|
||||
msgstr ""
|
||||
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1316
|
||||
msgid "Custom OpenAI-compatible API endpoint URL (e.g. http://192.168.1.100:11434/v1/chat/completions)"
|
||||
msgstr ""
|
||||
@@ -2548,6 +2552,11 @@ msgstr ""
|
||||
msgid "Listening port"
|
||||
msgstr ""
|
||||
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1270
|
||||
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:821
|
||||
msgid "LM Studio (Local PC / Server)"
|
||||
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"
|
||||
@@ -2965,6 +2974,11 @@ msgstr ""
|
||||
msgid "Obfuscation password"
|
||||
msgstr ""
|
||||
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1269
|
||||
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:813
|
||||
msgid "Ollama (Local PC / Server)"
|
||||
msgstr ""
|
||||
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7721
|
||||
msgid "One record per line: <code>example.com 192.168.1.100</code> or <code>192.168.1.100 example.com</code>. Lines starting with <code>#</code> are ignored."
|
||||
msgstr ""
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: TACHYON\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-08-11 22:27+0300\n"
|
||||
"PO-Revision-Date: 2026-08-11 22:27+0300\n"
|
||||
"POT-Creation-Date: 2026-08-11 22:28+0300\n"
|
||||
"PO-Revision-Date: 2026-08-11 22:28+0300\n"
|
||||
"Last-Translator: Dushnilin\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: ru\n"
|
||||
@@ -635,6 +635,9 @@ msgstr "Кастомные заголовки устройства"
|
||||
msgid "Custom DNS Records (Hosts)"
|
||||
msgstr "Пользовательские записи DNS (Hosts)"
|
||||
|
||||
msgid "Custom OpenAI-Compatible API (OpenRouter)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Custom OpenAI-compatible API endpoint URL (e.g. http://192.168.1.100:11434/v1/chat/completions)"
|
||||
msgstr ""
|
||||
|
||||
@@ -1778,6 +1781,9 @@ msgstr "Порт прослушивания"
|
||||
msgid "Listening port"
|
||||
msgstr "Слушающий порт"
|
||||
|
||||
msgid "LM Studio (Local PC / Server)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Load .conf"
|
||||
msgstr "Загрузить .conf"
|
||||
|
||||
@@ -2066,6 +2072,9 @@ msgstr "Обфускация"
|
||||
msgid "Obfuscation password"
|
||||
msgstr "Пароль обфускации"
|
||||
|
||||
msgid "Ollama (Local PC / Server)"
|
||||
msgstr ""
|
||||
|
||||
msgid "One record per line: <code>example.com 192.168.1.100</code> or <code>192.168.1.100 example.com</code>. Lines starting with <code>#</code> are ignored."
|
||||
msgstr "По одной записи на строку: <code>example.com 192.168.1.100</code> или <code>192.168.1.100 example.com</code>. Строки, начинающиеся с <code>#</code>, игнорируются."
|
||||
|
||||
|
||||
@@ -810,7 +810,7 @@ function renderAiWatchdogSection(state: AdvancedSettingsState) {
|
||||
value: 'ollama',
|
||||
selected: state.aiDoctorProvider === 'ollama',
|
||||
},
|
||||
'Ollama (Локально на ПК / Сервере)',
|
||||
_('Ollama (Local PC / Server)'),
|
||||
),
|
||||
E(
|
||||
'option',
|
||||
@@ -818,7 +818,7 @@ function renderAiWatchdogSection(state: AdvancedSettingsState) {
|
||||
value: 'lmstudio',
|
||||
selected: state.aiDoctorProvider === 'lmstudio',
|
||||
},
|
||||
'LM Studio (Локально на ПК / Сервере)',
|
||||
_('LM Studio (Local PC / Server)'),
|
||||
),
|
||||
E(
|
||||
'option',
|
||||
|
||||
@@ -1266,9 +1266,9 @@ function createSettingsContent(section, capabilities) {
|
||||
o.value("openai", "OpenAI (ChatGPT)");
|
||||
o.value("anthropic", "Anthropic (Claude API)");
|
||||
o.value("deepseek", "DeepSeek API");
|
||||
o.value("ollama", "Ollama (Локально на ПК / Сервере)");
|
||||
o.value("lmstudio", "LM Studio (Локально на ПК / Сервере)");
|
||||
o.value("custom", "Custom OpenAI-Compatible API (OpenRouter)");
|
||||
o.value("ollama", _("Ollama (Local PC / Server)"));
|
||||
o.value("lmstudio", _("LM Studio (Local PC / Server)"));
|
||||
o.value("custom", _("Custom OpenAI-Compatible API (OpenRouter)"));
|
||||
o.default = "openai";
|
||||
|
||||
o = section.taboption(
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: TACHYON\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-08-11 22:27+0300\n"
|
||||
"PO-Revision-Date: 2026-08-11 22:27+0300\n"
|
||||
"POT-Creation-Date: 2026-08-11 22:28+0300\n"
|
||||
"PO-Revision-Date: 2026-08-11 22:28+0300\n"
|
||||
"Last-Translator: Dushnilin\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: ru\n"
|
||||
@@ -635,6 +635,9 @@ msgstr "Кастомные заголовки устройства"
|
||||
msgid "Custom DNS Records (Hosts)"
|
||||
msgstr "Пользовательские записи DNS (Hosts)"
|
||||
|
||||
msgid "Custom OpenAI-Compatible API (OpenRouter)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Custom OpenAI-compatible API endpoint URL (e.g. http://192.168.1.100:11434/v1/chat/completions)"
|
||||
msgstr ""
|
||||
|
||||
@@ -1778,6 +1781,9 @@ msgstr "Порт прослушивания"
|
||||
msgid "Listening port"
|
||||
msgstr "Слушающий порт"
|
||||
|
||||
msgid "LM Studio (Local PC / Server)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Load .conf"
|
||||
msgstr "Загрузить .conf"
|
||||
|
||||
@@ -2066,6 +2072,9 @@ msgstr "Обфускация"
|
||||
msgid "Obfuscation password"
|
||||
msgstr "Пароль обфускации"
|
||||
|
||||
msgid "Ollama (Local PC / Server)"
|
||||
msgstr ""
|
||||
|
||||
msgid "One record per line: <code>example.com 192.168.1.100</code> or <code>192.168.1.100 example.com</code>. Lines starting with <code>#</code> are ignored."
|
||||
msgstr "По одной записи на строку: <code>example.com 192.168.1.100</code> или <code>192.168.1.100 example.com</code>. Строки, начинающиеся с <code>#</code>, игнорируются."
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: TACHYON\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-08-11 19:27+0300\n"
|
||||
"PO-Revision-Date: 2026-08-11 19:27+0300\n"
|
||||
"POT-Creation-Date: 2026-08-11 19:28+0300\n"
|
||||
"PO-Revision-Date: 2026-08-11 19:28+0300\n"
|
||||
"Last-Translator: Dushnilin <dushnilin@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
@@ -758,9 +758,9 @@ msgstr ""
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:1717
|
||||
#: src/partials/modal/renderModal.ts:263
|
||||
#: src/tachyon/tabs/dashboard/initController.ts:1085
|
||||
#: src/tachyon/tabs/diagnostic/initController.ts:1194
|
||||
#: src/tachyon/tabs/monitoring/initController.ts:884
|
||||
#: src/tachyon/tabs/monitoring/initController.ts:934
|
||||
#: src/tachyon/tabs/diagnostic/initController.ts:1194
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
@@ -923,6 +923,10 @@ msgstr ""
|
||||
msgid "Custom DNS Records (Hosts)"
|
||||
msgstr ""
|
||||
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1271
|
||||
msgid "Custom OpenAI-Compatible API (OpenRouter)"
|
||||
msgstr ""
|
||||
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1316
|
||||
msgid "Custom OpenAI-compatible API endpoint URL (e.g. http://192.168.1.100:11434/v1/chat/completions)"
|
||||
msgstr ""
|
||||
@@ -2548,6 +2552,11 @@ msgstr ""
|
||||
msgid "Listening port"
|
||||
msgstr ""
|
||||
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1270
|
||||
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:821
|
||||
msgid "LM Studio (Local PC / Server)"
|
||||
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"
|
||||
@@ -2965,6 +2974,11 @@ msgstr ""
|
||||
msgid "Obfuscation password"
|
||||
msgstr ""
|
||||
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1269
|
||||
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:813
|
||||
msgid "Ollama (Local PC / Server)"
|
||||
msgstr ""
|
||||
|
||||
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:7721
|
||||
msgid "One record per line: <code>example.com 192.168.1.100</code> or <code>192.168.1.100 example.com</code>. Lines starting with <code>#</code> are ignored."
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user