From 890a4284d6770c7160a17dc135558fd138131c89 Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Sat, 19 Apr 2025 20:19:15 +0800 Subject: [PATCH] update --- .../components/FocusSwitcherConfigurator.vue | 2 +- packages/frontend/src/locales/en.json | 21 +++++++++++++++++-- packages/frontend/src/locales/zh.json | 21 +++++++++++++++++-- 3 files changed, 39 insertions(+), 5 deletions(-) diff --git a/packages/frontend/src/components/FocusSwitcherConfigurator.vue b/packages/frontend/src/components/FocusSwitcherConfigurator.vue index 6a97df9..59825b8 100644 --- a/packages/frontend/src/components/FocusSwitcherConfigurator.vue +++ b/packages/frontend/src/components/FocusSwitcherConfigurator.vue @@ -124,7 +124,7 @@ const localAvailableInputs = computed(() => {

{{ t('focusSwitcher.availableInputs', '可用输入框') }}

+ :list="localAvailableInputs" tag="ul" class="draggable-list available-list" item-key="id" diff --git a/packages/frontend/src/locales/en.json b/packages/frontend/src/locales/en.json index 047beb4..f4c87e0 100644 --- a/packages/frontend/src/locales/en.json +++ b/packages/frontend/src/locales/en.json @@ -606,7 +606,8 @@ "settings": "Settings", "errorOccurred": "An error occurred.", "dismiss": "Dismiss", - "close": "Close" + "close": "Close", + "remove": "Remove" }, "layoutConfigurator": { "title": "Layout Configurator", @@ -675,9 +676,11 @@ "closeSearch": "Close terminal search", "findPrevious": "Find previous", "findNext": "Find next", - "noResults": "No results" + "noResults": "No results", + "configureFocusSwitch": "Configure Focus Switcher" }, "layout": { + "configure": "Configure Layout", "pane": { "connections": "Connections", "terminal": "Terminal", @@ -739,5 +742,19 @@ "fieldsRequired": "Username and password are required.", "generic": "An error occurred during setup. Please check the server logs." } + }, + "focusSwitcher": { + "configTitle": "Configure Focus Switcher", + "availableInputs": "Available Inputs", + "configuredSequence": "Configured Sequence", + "dragHere": "Drag here to add", + "allInputsConfigured": "All available inputs are configured", + "input": { + "commandHistorySearch": "Search command history...", + "quickCommandsSearch": "Search quick commands...", + "fileManagerSearch": "Search files...", + "commandInput": "Enter command...", + "terminalSearch": "Search terminal..." + } } } diff --git a/packages/frontend/src/locales/zh.json b/packages/frontend/src/locales/zh.json index ed6e36d..0675456 100644 --- a/packages/frontend/src/locales/zh.json +++ b/packages/frontend/src/locales/zh.json @@ -606,7 +606,8 @@ "settings": "设置", "errorOccurred": "发生错误。", "dismiss": "关闭", - "close": "关闭" + "close": "关闭", + "remove": "移除" }, "layoutConfigurator": { "title": "布局配置器", @@ -675,9 +676,11 @@ "closeSearch": "关闭终端搜索", "findPrevious": "查找上一个", "findNext": "查找下一个", - "noResults": "无结果" + "noResults": "无结果", + "configureFocusSwitch": "配置焦点切换器" }, "layout": { + "configure": "配置布局", "pane": { "connections": "连接列表", "terminal": "终端", @@ -739,5 +742,19 @@ "fieldsRequired": "用户名和密码不能为空。", "generic": "设置过程中发生错误,请检查服务器日志。" } + }, + "focusSwitcher": { + "configTitle": "配置焦点切换器", + "availableInputs": "可用输入源", + "configuredSequence": "已配置序列", + "dragHere": "拖拽到此处添加", + "allInputsConfigured": "所有可用输入源都已配置", + "input": { + "commandHistorySearch": "搜索命令历史...", + "quickCommandsSearch": "搜索快捷指令...", + "fileManagerSearch": "搜索文件...", + "commandInput": "输入命令...", + "terminalSearch": "搜索终端..." + } } }