Commit 10eb4664 authored by Ivan Mazhukin's avatar Ivan Mazhukin

add russian extension localization

parent 67c3a8b4
......@@ -115,6 +115,8 @@ code --install-extension epm-docker-test-runner-0.1.0.vsix --force
## Настройки
Расширение поддерживает переключатель языка `epmDockerTest.language` со значениями `auto`, `en` и `ru`. В режиме `auto` runtime-интерфейс расширения следует языку интерфейса VS Code.
Основные настройки:
- `epmDockerTest.scriptPath`: путь к `epm-docker-test.sh`; пустое значение означает автоопределение.
......@@ -122,6 +124,7 @@ code --install-extension epm-docker-test-runner-0.1.0.vsix --force
- `epmDockerTest.defaultSystems`: системы по умолчанию для запусков app/exec.
- `epmDockerTest.defaultPreset`: пресет по умолчанию для запусков по пресету.
- `epmDockerTest.defaultMode`: `auto`, `local` или `remote`.
- `epmDockerTest.language`: язык runtime-интерфейса расширения: `auto`, `en` или `ru`.
- `epmDockerTest.parallelJobs`: передавать `-j N`, если значение больше `1`.
- `epmDockerTest.eepmDir`: путь к дереву `eepm`, если оно не совпадает с рабочим каталогом.
- `epmDockerTest.eepmSource`: источник `eepm`, например `local` или `builder64`.
......
{
"name": "epm-docker-test-runner",
"displayName": "EPM Docker Test Runner",
"description": "VS Code buttons for running epm-docker-test.sh test commands.",
"displayName": "%extension.displayName%",
"description": "%extension.description%",
"version": "0.1.0",
"publisher": "eter",
"engines": {
......@@ -28,70 +28,70 @@
"commands": [
{
"command": "epmDockerTest.runQuick",
"title": "EPM Docker Test: Run..."
"title": "%command.runQuick.title%"
},
{
"command": "epmDockerTest.runApp",
"title": "EPM Docker Test: Run App on Systems"
"title": "%command.runApp.title%"
},
{
"command": "epmDockerTest.runAppParallel",
"title": "EPM Docker Test: Run App on Systems in Parallel"
"title": "%command.runAppParallel.title%"
},
{
"command": "epmDockerTest.runPreset",
"title": "EPM Docker Test: Run App Preset"
"title": "%command.runPreset.title%"
},
{
"command": "epmDockerTest.runExec",
"title": "EPM Docker Test: Run Exec Command"
"title": "%command.runExec.title%"
},
{
"command": "epmDockerTest.runLocalPlay",
"title": "EPM Docker Test: Local epm play"
"title": "%command.runLocalPlay.title%"
},
{
"command": "epmDockerTest.runLocalPlayLatest",
"title": "EPM Docker Test: Local epm play --latest"
"title": "%command.runLocalPlayLatest.title%"
},
{
"command": "epmDockerTest.runLocalRemove",
"title": "EPM Docker Test: Local epm remove"
"title": "%command.runLocalRemove.title%"
},
{
"command": "epmDockerTest.rerunLast",
"title": "EPM Docker Test: Rerun Last Command"
"title": "%command.rerunLast.title%"
},
{
"command": "epmDockerTest.openLogs",
"title": "EPM Docker Test: Open Log Folder"
"title": "%command.openLogs.title%"
},
{
"command": "epmDockerTest.refresh",
"title": "EPM Docker Test: Refresh"
"title": "%command.refresh.title%"
},
{
"command": "epmDockerTest.configure",
"title": "EPM Docker Test: Configure"
"title": "%command.configure.title%"
}
],
"configuration": {
"title": "EPM Docker Test",
"title": "%configuration.title%",
"properties": {
"epmDockerTest.scriptPath": {
"type": "string",
"default": "",
"description": "Path to epm-docker-test.sh. Empty means auto-detect in the workspace."
"description": "%configuration.scriptPath.description%"
},
"epmDockerTest.workingDirectory": {
"type": "string",
"default": "",
"description": "Working directory for test commands. Empty means the workspace folder or script directory."
"description": "%configuration.workingDirectory.description%"
},
"epmDockerTest.defaultSystems": {
"type": "string",
"default": "fedora",
"description": "Default systems used by Run App on Systems."
"description": "%configuration.defaultSystems.description%"
},
"epmDockerTest.defaultPreset": {
"type": "string",
......@@ -101,7 +101,7 @@
"all"
],
"default": "main",
"description": "Default preset used by Run App Preset."
"description": "%configuration.defaultPreset.description%"
},
"epmDockerTest.defaultMode": {
"type": "string",
......@@ -111,18 +111,33 @@
"remote"
],
"default": "auto",
"description": "Default runner mode."
"description": "%configuration.defaultMode.description%"
},
"epmDockerTest.language": {
"type": "string",
"enum": [
"auto",
"en",
"ru"
],
"enumDescriptions": [
"%configuration.language.auto.description%",
"%configuration.language.en.description%",
"%configuration.language.ru.description%"
],
"default": "auto",
"description": "%configuration.language.description%"
},
"epmDockerTest.parallelJobs": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Parallel jobs. 0 disables -j/--parallel, 1 runs serially, values greater than 1 pass -j N."
"description": "%configuration.parallelJobs.description%"
},
"epmDockerTest.eepmDir": {
"type": "string",
"default": "",
"description": "Optional --eepm-dir value."
"description": "%configuration.eepmDir.description%"
},
"epmDockerTest.eepmSource": {
"type": "string",
......@@ -131,37 +146,37 @@
"builder64"
],
"default": "local",
"description": "Value for --eepm-source."
"description": "%configuration.eepmSource.description%"
},
"epmDockerTest.remoteHost": {
"type": "string",
"default": "",
"description": "Optional --remote-host value."
"description": "%configuration.remoteHost.description%"
},
"epmDockerTest.remoteUser": {
"type": "string",
"default": "",
"description": "Optional --remote-user value."
"description": "%configuration.remoteUser.description%"
},
"epmDockerTest.builderUser": {
"type": "string",
"default": "",
"description": "Optional --builder-user value."
"description": "%configuration.builderUser.description%"
},
"epmDockerTest.builderPath": {
"type": "string",
"default": "",
"description": "Optional --builder-path value."
"description": "%configuration.builderPath.description%"
},
"epmDockerTest.logRoot": {
"type": "string",
"default": "",
"description": "Optional --log-root value."
"description": "%configuration.logRoot.description%"
},
"epmDockerTest.localEpmRoot": {
"type": "string",
"default": "/home/vano/eter/static2/eepm",
"description": "Path to the local eepm tree used by local ./bin/epm play commands."
"description": "%configuration.localEpmRoot.description%"
},
"epmDockerTest.additionalArgs": {
"type": "array",
......@@ -169,12 +184,12 @@
"items": {
"type": "string"
},
"description": "Extra arguments passed before the app/exec target."
"description": "%configuration.additionalArgs.description%"
},
"epmDockerTest.favorites": {
"type": "array",
"default": [],
"description": "Pinned commands shown as buttons in the EPM Test activity view.",
"description": "%configuration.favorites.description%",
"items": {
"type": "object",
"properties": {
......@@ -203,7 +218,7 @@
},
"latest": {
"type": "boolean",
"description": "Pass --latest for this favorite app test."
"description": "%configuration.favorites.latest.description%"
},
"args": {
"type": "array",
......@@ -220,7 +235,7 @@
"activitybar": [
{
"id": "epmDockerTest",
"title": "EPM Test",
"title": "%viewsContainers.epmDockerTest.title%",
"icon": "resources/epm-test.svg"
}
]
......@@ -229,7 +244,7 @@
"epmDockerTest": [
{
"id": "epmDockerTest.actions",
"name": "Actions"
"name": "%views.epmDockerTest.actions.name%"
}
]
},
......
{
"extension.displayName": "EPM Docker Test Runner",
"extension.description": "VS Code buttons for running epm-docker-test.sh test commands.",
"command.runQuick.title": "EPM Docker Test: Run...",
"command.runApp.title": "EPM Docker Test: Run App on Systems",
"command.runAppParallel.title": "EPM Docker Test: Run App on Systems in Parallel",
"command.runPreset.title": "EPM Docker Test: Run App Preset",
"command.runExec.title": "EPM Docker Test: Run Exec Command",
"command.runLocalPlay.title": "EPM Docker Test: Local epm play",
"command.runLocalPlayLatest.title": "EPM Docker Test: Local epm play --latest",
"command.runLocalRemove.title": "EPM Docker Test: Local epm remove",
"command.rerunLast.title": "EPM Docker Test: Rerun Last Command",
"command.openLogs.title": "EPM Docker Test: Open Log Folder",
"command.refresh.title": "EPM Docker Test: Refresh",
"command.configure.title": "EPM Docker Test: Configure",
"configuration.title": "EPM Docker Test",
"configuration.scriptPath.description": "Path to epm-docker-test.sh. Empty means auto-detect in the workspace.",
"configuration.workingDirectory.description": "Working directory for test commands. Empty means the workspace folder or script directory.",
"configuration.defaultSystems.description": "Default systems used by Run App on Systems.",
"configuration.defaultPreset.description": "Default preset used by Run App Preset.",
"configuration.defaultMode.description": "Default runner mode.",
"configuration.language.description": "Language used by the extension runtime UI. Command titles and settings labels still follow the VS Code interface language.",
"configuration.language.auto.description": "Follow the VS Code interface language.",
"configuration.language.en.description": "Force English for the extension runtime UI.",
"configuration.language.ru.description": "Force Russian for the extension runtime UI.",
"configuration.parallelJobs.description": "Parallel jobs. 0 disables -j/--parallel, 1 runs serially, values greater than 1 pass -j N.",
"configuration.eepmDir.description": "Optional --eepm-dir value.",
"configuration.eepmSource.description": "Value for --eepm-source.",
"configuration.remoteHost.description": "Optional --remote-host value.",
"configuration.remoteUser.description": "Optional --remote-user value.",
"configuration.builderUser.description": "Optional --builder-user value.",
"configuration.builderPath.description": "Optional --builder-path value.",
"configuration.logRoot.description": "Optional --log-root value.",
"configuration.localEpmRoot.description": "Path to the local eepm tree used by local ./bin/epm play and ./bin/epm remove commands.",
"configuration.additionalArgs.description": "Extra arguments passed before the app/exec target.",
"configuration.favorites.description": "Pinned commands shown as buttons in the EPM Test activity view.",
"configuration.favorites.latest.description": "Pass --latest for this favorite app test.",
"viewsContainers.epmDockerTest.title": "EPM Test",
"views.epmDockerTest.actions.name": "Actions"
}
{
"extension.displayName": "Запуск тестов EPM Docker",
"extension.description": "Кнопки VS Code для запуска тестовых команд epm-docker-test.sh.",
"command.runQuick.title": "EPM Docker Test: Запустить...",
"command.runApp.title": "EPM Docker Test: Запустить приложение на системах",
"command.runAppParallel.title": "EPM Docker Test: Запустить приложение на системах параллельно",
"command.runPreset.title": "EPM Docker Test: Запустить пресет приложения",
"command.runExec.title": "EPM Docker Test: Выполнить команду",
"command.runLocalPlay.title": "EPM Docker Test: Локально epm play",
"command.runLocalPlayLatest.title": "EPM Docker Test: Локально epm play --latest",
"command.runLocalRemove.title": "EPM Docker Test: Локально epm remove",
"command.rerunLast.title": "EPM Docker Test: Повторить последнюю команду",
"command.openLogs.title": "EPM Docker Test: Открыть каталог логов",
"command.refresh.title": "EPM Docker Test: Обновить",
"command.configure.title": "EPM Docker Test: Настроить",
"configuration.title": "EPM Docker Test",
"configuration.scriptPath.description": "Путь к epm-docker-test.sh. Пустое значение означает автоопределение в рабочей папке.",
"configuration.workingDirectory.description": "Рабочий каталог для тестовых команд. Пустое значение означает рабочую папку VS Code или каталог скрипта.",
"configuration.defaultSystems.description": "Системы по умолчанию для запуска приложения на системах.",
"configuration.defaultPreset.description": "Пресет по умолчанию для запуска приложения по пресету.",
"configuration.defaultMode.description": "Режим запуска по умолчанию.",
"configuration.language.description": "Язык runtime-интерфейса расширения. Названия команд и подписей настроек по-прежнему зависят от языка интерфейса VS Code.",
"configuration.language.auto.description": "Использовать язык интерфейса VS Code.",
"configuration.language.en.description": "Принудительно использовать английский язык в runtime-интерфейсе расширения.",
"configuration.language.ru.description": "Принудительно использовать русский язык в runtime-интерфейсе расширения.",
"configuration.parallelJobs.description": "Параллельные задания. 0 отключает -j/--parallel, 1 запускает последовательно, значения больше 1 передают -j N.",
"configuration.eepmDir.description": "Необязательное значение --eepm-dir.",
"configuration.eepmSource.description": "Значение для --eepm-source.",
"configuration.remoteHost.description": "Необязательное значение --remote-host.",
"configuration.remoteUser.description": "Необязательное значение --remote-user.",
"configuration.builderUser.description": "Необязательное значение --builder-user.",
"configuration.builderPath.description": "Необязательное значение --builder-path.",
"configuration.logRoot.description": "Необязательное значение --log-root.",
"configuration.localEpmRoot.description": "Путь к локальному дереву eepm для команд ./bin/epm play и ./bin/epm remove.",
"configuration.additionalArgs.description": "Дополнительные аргументы, передаваемые перед app/exec-целью.",
"configuration.favorites.description": "Закрепленные команды, показанные как кнопки в панели EPM Test.",
"configuration.favorites.latest.description": "Передавать --latest для этого избранного app-теста.",
"viewsContainers.epmDockerTest.title": "EPM Test",
"views.epmDockerTest.actions.name": "Действия"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment