Add configurable terminal profiles

This commit is contained in:
Mohamed Boudra
2026-06-12 11:47:00 +07:00
parent 75aa626df5
commit fa800ae78e
30 changed files with 1412 additions and 211 deletions
+27 -3
View File
@@ -446,13 +446,15 @@ export const zhCN: TranslationResources = {
renameAgent: "重命名 Agent",
},
actions: {
newAgent: "新建 Agent 标签",
newTerminal: "新建 Terminal 标签",
newAgent: "新建 Agent",
newTerminal: "新建 Terminal",
preparingTerminal: "正在准备 Terminal 标签",
preparingTerminalTooltip: "正在准备 Terminal...",
newBrowser: "新建浏览器标签",
newBrowser: "新建浏览器",
splitRight: "向右拆分窗格",
splitDown: "向下拆分窗格",
terminalProfilesMenu: "Terminal profiles",
editTerminalProfiles: "Edit profiles…",
},
explorer: {
open: "打开 explorer",
@@ -1334,6 +1336,7 @@ export const zhCN: TranslationResources = {
agents: "Agents",
workspaces: "Workspaces",
providers: "Providers",
terminals: "Terminals",
host: "Host",
},
general: {
@@ -1599,6 +1602,27 @@ export const zhCN: TranslationResources = {
workspaces: {
unavailable: "连接到这个 Host 以管理 Workspace",
},
terminalProfiles: {
unavailable: "Connect to this host to manage terminal profiles",
sectionTitle: "Terminal profiles",
editProfile: "Edit profile",
addProfileTitle: "Add terminal profile",
editProfileTitle: "Edit terminal profile",
namePlaceholder: "Claude Code",
commandPlaceholder: "claude",
argsPlaceholder: "--dangerously-skip-permissions",
nameLabel: "Name",
commandLabel: "Command",
argsLabel: "Arguments",
argsHint: "Space-separated arguments passed to the command",
remove: "Remove",
removeConfirmTitle: "Remove profile?",
removeConfirmMessage: 'Remove "{{name}}"?',
moveUp: "Move up",
moveDown: "Move down",
save: "Save",
emptyState: "No profiles yet. Add one to launch terminals with a specific command.",
},
daemon: {
rename: {
editLabel: "编辑标签",