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 ...@@ -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`; пустое значение означает автоопределение. - `epmDockerTest.scriptPath`: путь к `epm-docker-test.sh`; пустое значение означает автоопределение.
...@@ -122,6 +124,7 @@ code --install-extension epm-docker-test-runner-0.1.0.vsix --force ...@@ -122,6 +124,7 @@ code --install-extension epm-docker-test-runner-0.1.0.vsix --force
- `epmDockerTest.defaultSystems`: системы по умолчанию для запусков app/exec. - `epmDockerTest.defaultSystems`: системы по умолчанию для запусков app/exec.
- `epmDockerTest.defaultPreset`: пресет по умолчанию для запусков по пресету. - `epmDockerTest.defaultPreset`: пресет по умолчанию для запусков по пресету.
- `epmDockerTest.defaultMode`: `auto`, `local` или `remote`. - `epmDockerTest.defaultMode`: `auto`, `local` или `remote`.
- `epmDockerTest.language`: язык runtime-интерфейса расширения: `auto`, `en` или `ru`.
- `epmDockerTest.parallelJobs`: передавать `-j N`, если значение больше `1`. - `epmDockerTest.parallelJobs`: передавать `-j N`, если значение больше `1`.
- `epmDockerTest.eepmDir`: путь к дереву `eepm`, если оно не совпадает с рабочим каталогом. - `epmDockerTest.eepmDir`: путь к дереву `eepm`, если оно не совпадает с рабочим каталогом.
- `epmDockerTest.eepmSource`: источник `eepm`, например `local` или `builder64`. - `epmDockerTest.eepmSource`: источник `eepm`, например `local` или `builder64`.
......
{ {
"name": "epm-docker-test-runner", "name": "epm-docker-test-runner",
"displayName": "EPM Docker Test Runner", "displayName": "%extension.displayName%",
"description": "VS Code buttons for running epm-docker-test.sh test commands.", "description": "%extension.description%",
"version": "0.1.0", "version": "0.1.0",
"publisher": "eter", "publisher": "eter",
"engines": { "engines": {
...@@ -28,70 +28,70 @@ ...@@ -28,70 +28,70 @@
"commands": [ "commands": [
{ {
"command": "epmDockerTest.runQuick", "command": "epmDockerTest.runQuick",
"title": "EPM Docker Test: Run..." "title": "%command.runQuick.title%"
}, },
{ {
"command": "epmDockerTest.runApp", "command": "epmDockerTest.runApp",
"title": "EPM Docker Test: Run App on Systems" "title": "%command.runApp.title%"
}, },
{ {
"command": "epmDockerTest.runAppParallel", "command": "epmDockerTest.runAppParallel",
"title": "EPM Docker Test: Run App on Systems in Parallel" "title": "%command.runAppParallel.title%"
}, },
{ {
"command": "epmDockerTest.runPreset", "command": "epmDockerTest.runPreset",
"title": "EPM Docker Test: Run App Preset" "title": "%command.runPreset.title%"
}, },
{ {
"command": "epmDockerTest.runExec", "command": "epmDockerTest.runExec",
"title": "EPM Docker Test: Run Exec Command" "title": "%command.runExec.title%"
}, },
{ {
"command": "epmDockerTest.runLocalPlay", "command": "epmDockerTest.runLocalPlay",
"title": "EPM Docker Test: Local epm play" "title": "%command.runLocalPlay.title%"
}, },
{ {
"command": "epmDockerTest.runLocalPlayLatest", "command": "epmDockerTest.runLocalPlayLatest",
"title": "EPM Docker Test: Local epm play --latest" "title": "%command.runLocalPlayLatest.title%"
}, },
{ {
"command": "epmDockerTest.runLocalRemove", "command": "epmDockerTest.runLocalRemove",
"title": "EPM Docker Test: Local epm remove" "title": "%command.runLocalRemove.title%"
}, },
{ {
"command": "epmDockerTest.rerunLast", "command": "epmDockerTest.rerunLast",
"title": "EPM Docker Test: Rerun Last Command" "title": "%command.rerunLast.title%"
}, },
{ {
"command": "epmDockerTest.openLogs", "command": "epmDockerTest.openLogs",
"title": "EPM Docker Test: Open Log Folder" "title": "%command.openLogs.title%"
}, },
{ {
"command": "epmDockerTest.refresh", "command": "epmDockerTest.refresh",
"title": "EPM Docker Test: Refresh" "title": "%command.refresh.title%"
}, },
{ {
"command": "epmDockerTest.configure", "command": "epmDockerTest.configure",
"title": "EPM Docker Test: Configure" "title": "%command.configure.title%"
} }
], ],
"configuration": { "configuration": {
"title": "EPM Docker Test", "title": "%configuration.title%",
"properties": { "properties": {
"epmDockerTest.scriptPath": { "epmDockerTest.scriptPath": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Path to epm-docker-test.sh. Empty means auto-detect in the workspace." "description": "%configuration.scriptPath.description%"
}, },
"epmDockerTest.workingDirectory": { "epmDockerTest.workingDirectory": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Working directory for test commands. Empty means the workspace folder or script directory." "description": "%configuration.workingDirectory.description%"
}, },
"epmDockerTest.defaultSystems": { "epmDockerTest.defaultSystems": {
"type": "string", "type": "string",
"default": "fedora", "default": "fedora",
"description": "Default systems used by Run App on Systems." "description": "%configuration.defaultSystems.description%"
}, },
"epmDockerTest.defaultPreset": { "epmDockerTest.defaultPreset": {
"type": "string", "type": "string",
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
"all" "all"
], ],
"default": "main", "default": "main",
"description": "Default preset used by Run App Preset." "description": "%configuration.defaultPreset.description%"
}, },
"epmDockerTest.defaultMode": { "epmDockerTest.defaultMode": {
"type": "string", "type": "string",
...@@ -111,18 +111,33 @@ ...@@ -111,18 +111,33 @@
"remote" "remote"
], ],
"default": "auto", "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": { "epmDockerTest.parallelJobs": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"minimum": 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": { "epmDockerTest.eepmDir": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Optional --eepm-dir value." "description": "%configuration.eepmDir.description%"
}, },
"epmDockerTest.eepmSource": { "epmDockerTest.eepmSource": {
"type": "string", "type": "string",
...@@ -131,37 +146,37 @@ ...@@ -131,37 +146,37 @@
"builder64" "builder64"
], ],
"default": "local", "default": "local",
"description": "Value for --eepm-source." "description": "%configuration.eepmSource.description%"
}, },
"epmDockerTest.remoteHost": { "epmDockerTest.remoteHost": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Optional --remote-host value." "description": "%configuration.remoteHost.description%"
}, },
"epmDockerTest.remoteUser": { "epmDockerTest.remoteUser": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Optional --remote-user value." "description": "%configuration.remoteUser.description%"
}, },
"epmDockerTest.builderUser": { "epmDockerTest.builderUser": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Optional --builder-user value." "description": "%configuration.builderUser.description%"
}, },
"epmDockerTest.builderPath": { "epmDockerTest.builderPath": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Optional --builder-path value." "description": "%configuration.builderPath.description%"
}, },
"epmDockerTest.logRoot": { "epmDockerTest.logRoot": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Optional --log-root value." "description": "%configuration.logRoot.description%"
}, },
"epmDockerTest.localEpmRoot": { "epmDockerTest.localEpmRoot": {
"type": "string", "type": "string",
"default": "/home/vano/eter/static2/eepm", "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": { "epmDockerTest.additionalArgs": {
"type": "array", "type": "array",
...@@ -169,12 +184,12 @@ ...@@ -169,12 +184,12 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "Extra arguments passed before the app/exec target." "description": "%configuration.additionalArgs.description%"
}, },
"epmDockerTest.favorites": { "epmDockerTest.favorites": {
"type": "array", "type": "array",
"default": [], "default": [],
"description": "Pinned commands shown as buttons in the EPM Test activity view.", "description": "%configuration.favorites.description%",
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
...@@ -203,7 +218,7 @@ ...@@ -203,7 +218,7 @@
}, },
"latest": { "latest": {
"type": "boolean", "type": "boolean",
"description": "Pass --latest for this favorite app test." "description": "%configuration.favorites.latest.description%"
}, },
"args": { "args": {
"type": "array", "type": "array",
...@@ -220,7 +235,7 @@ ...@@ -220,7 +235,7 @@
"activitybar": [ "activitybar": [
{ {
"id": "epmDockerTest", "id": "epmDockerTest",
"title": "EPM Test", "title": "%viewsContainers.epmDockerTest.title%",
"icon": "resources/epm-test.svg" "icon": "resources/epm-test.svg"
} }
] ]
...@@ -229,7 +244,7 @@ ...@@ -229,7 +244,7 @@
"epmDockerTest": [ "epmDockerTest": [
{ {
"id": "epmDockerTest.actions", "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