This commit is contained in:
LZX committed 2026-09-14 00:06:49 +08:00
1 parent 9fbb414ee6
commit 4554f22c87
233 files changed
+147430 -605

No files matched your search

+155 -8
View File
@@ -71,6 +71,27 @@
"darkThemeCategory": "Dark Theme",
"lightThemeCategory": "Light Theme",
"codeFontSize": "Font Size",
"uiFont": "Interface Font",
"selectUiFont": "Select Interface Font",
"themeColor": "Theme Color",
"selectThemeColor": "Select Theme Color",
"terminalBackgroundColor": "Terminal Background",
"selectTerminalBackgroundColor": "Select Terminal Background",
"uiFontPreview": "Code Editor interface font preview 123",
"codeFont": "Code Font",
"selectCodeFont": "Select Code Font",
"codeFontPreview": "const app = \"Code Editor\"; // code preview",
"terminalFont": "Terminal Font",
"selectTerminalFont": "Select Terminal Font",
"terminalFontPreview": "$ git status -s # terminal font preview",
"fontName": "{font, select, system_default{System Default} sans_serif{Sans-Serif} serif{Serif (Songti)} monospace{System Monospace} consolas{Consolas} courier_new{Courier New} menlo{Menlo / Monaco} jetbrains_mono{JetBrains Mono} fira_code{Fira Code} other{{font}}}",
"@fontName": {
"placeholders": {
"font": {
"type": "String"
}
}
},
"decreaseFontSize": "Decrease font size",
"increaseFontSize": "Increase font size",
"fontSizeDialogTitle": "Editor Font Size",
@@ -91,6 +112,10 @@
"virtualKeyboardSubtitle": "Show accessory symbols and shortcuts below the code editor",
"editVirtualKeyboardConfig": "Edit Keyboard Config",
"editVirtualKeyboardConfigSubtitle": "Customize keyboard layout and shortcuts",
"terminalVirtualKeyboard": "Terminal Accessory Keyboard",
"terminalVirtualKeyboardSubtitle": "Show special keys and command shortcuts below the terminal",
"editTerminalVirtualKeyboardConfig": "Edit Terminal Keyboard Config",
"editTerminalVirtualKeyboardConfigSubtitle": "Customize Esc / Tab / Ctrl combos and other terminal keys",
"virtualKeyboardDialogTitle": "Keyboard Config (JSON)",
"resetDefault": "Reset to Default",
"configFormatError": "Configuration format error",
@@ -361,17 +386,139 @@
"keyboardLabelFormFieldHint": "Text displayed on the key, e.g. Tab, (), A",
"keyboardLabelOrIconRequiredError": "Please enter display text or select an icon",
"keyboardIconFormField": "Icon (Optional)",
"keyboardIconName": "{icon, select, undo{Undo} redo{Redo} tab{Indent} untab{Outdent} outdent{Decrease Indent} arrow_left{Left Arrow} arrow_right{Right Arrow} arrow_up{Up Arrow} arrow_down{Down Arrow} home{Line Start} end{Line End} first_page{Document Start} last_page{Document End} page_up{Page Up} page_down{Page Down} enter{Enter} space{Space} escape{Escape} insert{Insert} clear{Clear} keyboard{Keyboard} backspace{Backspace} delete{Delete} copy{Copy} cut{Cut} paste{Paste} save{Save} search{Search} select_all{Select All} keyboard_hide{Hide Keyboard} other{{icon}}}",
"@keyboardIconName": {
"placeholders": {
"icon": {
"type": "String"
}
}
},
"keyboardNoIconOption": "No icon (Use text)",
"keyboardActionFormField": "Action",
"keyboardValueFormField": "Input Text (Value)",
"keyboardActionName": "{action, select, input{Plain Text} pair{Pair Symbols} command{Editor Command} modifier{Modifier Key} key{Special Key} other{{action}}}",
"@keyboardActionName": {
"placeholders": {
"action": {
"type": "String"
}
}
},
"keyboardActionInputTerminal": "Command Shortcut",
"keyboardKeyFormField": "Special Key",
"keyboardKeyGroupNavigation": "Navigation",
"keyboardKeyGroupEditing": "Editing",
"keyboardKeyGroupFunctionKeys": "Function Keys",
"keyboardKeyGroupLetters": "Letters",
"keyboardAutoEnter": "Send Enter after",
"keyboardKeyName": "{key, select, escape{Escape} tab{Tab} backtab{Backtab} returnKey{Return} enter{Enter} numpadEnter{Keypad Enter} backspace{Backspace} delete{Delete} insert{Insert} space{Space} numpadClear{Clear} arrowUp{Up} arrowDown{Down} arrowLeft{Left} arrowRight{Right} home{Home} end{End} pageUp{Page Up} pageDown{Page Down} f1{F1} f2{F2} f3{F3} f4{F4} f5{F5} f6{F6} f7{F7} f8{F8} f9{F9} f10{F10} f11{F11} f12{F12} other{{key}}}",
"@keyboardKeyName": {
"placeholders": {
"key": {
"type": "String"
}
}
},
"keyboardKeyInvalidError": "This key produces no output in the terminal; please pick a listed special key",
"keyboardValueFormField": "Input Text",
"keyboardValueFormFieldHint": "Text inserted upon click, e.g. ;, =, ->",
"keyboardValueRequiredError": "Input text cannot be empty",
"keyboardPairPresetFormField": "Pair Symbols Preset (Value)",
"keyboardCommandPresetFormField": "Editor Command Preset (Value)",
"keyboardModifierPresetFormField": "Terminal Modifier (Value)",
"keyboardTerminalKeyPresetFormField": "Terminal Key (Value)",
"keyboardCursorOffsetFormField": "Cursor Relative Offset (cursorOffset)",
"keyboardCursorOffsetHelper": "e.g. For () cursor in center should move left by 1, enter -1",
"keyboardPairValueFormField": "Pair Symbols",
"keyboardPairValueFormFieldHint": "e.g. (), [], \"\", <>",
"keyboardPairValueRequiredError": "Please enter the pair symbols",
"keyboardPairValueInvalidError": "Enter at least 2 characters with different halves, e.g. (), []",
"keyboardCommandPresetFormField": "Editor Command",
"keyboardCommandName": "{command, select, tab{Indent} untab{Outdent} undo{Undo} redo{Redo} cursor_left{Cursor Left} cursor_right{Cursor Right} cursor_up{Cursor Up} cursor_down{Cursor Down} line_start{Move to Line Start} line_end{Move to Line End} page_start{Move to Document Start} page_end{Move to Document End} copy{Copy} cut{Cut} paste{Paste} delete{Delete} select_all{Select All} keyboard_hide{Hide Keyboard} other{{command}}}",
"@keyboardCommandName": {
"placeholders": {
"command": {
"type": "String"
}
}
},
"keyboardModifierPresetFormField": "Terminal Modifier",
"keyboardModifierName": "{modifier, select, ctrl{Ctrl Key} alt{Alt Key} shift{Shift Key} other{{modifier}}}",
"@keyboardModifierName": {
"placeholders": {
"modifier": {
"type": "String"
}
}
},
"keyboardCursorOffsetFormField": "Cursor Relative Offset",
"keyboardCursorOffsetRequiredError": "Please enter cursor offset (usually -1)",
"keyboardCursorOffsetIntegerError": "Offset must be an integer"
"keyboardCursorOffsetIntegerError": "Offset must be an integer",
"recommended": "Recommended",
"presetColors": "Preset Colors",
"hexColor": "Hex Color",
"currentColor": "Current",
"newColor": "Preview",
"runTasks": "Run Tasks",
"projectDetect": "Detect Project",
"projectDetecting": "Detecting project...",
"editRunTasks": "Edit Run Tasks",
"projectSection": "Project",
"showHiddenFiles": "Show Hidden Files",
"showHiddenFilesSubtitle": "Show hidden files and folders starting with dot (.) in file tree",
"searchTasksHint": "Search tasks...",
"noTasksAvailable": "No executable tasks available",
"noMatchingTasks": "No matching tasks found",
"userCustomTasks": "User Custom Tasks",
"systemDetectedTasks": "System Detected Tasks",
"editCustomTasksTooltip": "Edit Custom Tasks",
"runTasksConfig": "Run Tasks Configuration",
"editTask": "Edit Task",
"addTask": "Add Task",
"runTasksConfigSubtitle": "Configuration will be saved to .code_editor/run_tasks.json in project root",
"noCustomTasksInProject": "No custom tasks in current project",
"createNow": "Create Now",
"saveAndApply": "Save & Apply",
"taskNameRequired": "Task Name *",
"taskNameHint": "e.g. Build & Run Debug",
"taskNameEmptyError": "Please enter task name",
"shellCommandRequired": "Shell Command *",
"shellCommandHint": "e.g. cmake -B build && cmake --build build",
"shellCommandEmptyError": "Please enter command",
"taskDescOptional": "Description (Optional)",
"taskDescHint": "Briefly describe the task purpose",
"clearBeforeRun": "Clear Screen (clear)",
"clearBeforeRunSubtitle": "Clear terminal output before executing task",
"runTasksUpdated": "Run tasks configuration updated",
"detectCompletedMessage": "Detection completed, found {count} tasks",
"@detectCompletedMessage": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"pleaseOpenProjectFirst": "Please open a project first",
"deleteTaskConfirmMessage": "Are you sure you want to delete task \"{name}\"?",
"@deleteTaskConfirmMessage": {
"placeholders": {
"name": {
"type": "String"
}
}
},
"deleteSelectedTasksConfirmMessage": "Are you sure you want to delete the selected {count} tasks?",
"@deleteSelectedTasksConfirmMessage": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"deleteSelected": "Delete Selected",
"selectTasksToDelete": "Select Tasks to Delete",
"selectedCount": "{count} selected",
"@selectedCount": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"unsavedTaskChangesTitle": "Unsaved Task Changes",
"unsavedTaskChangesMessage": "The task has been modified. Do you want to discard unsaved changes and leave?"
}
+481 -19
View File
@@ -524,6 +524,90 @@ abstract class AppLocalizations {
/// **'代码字号缩放'**
String get codeFontSize;
/// No description provided for @uiFont.
///
/// In zh, this message translates to:
/// **'界面字体'**
String get uiFont;
/// No description provided for @selectUiFont.
///
/// In zh, this message translates to:
/// **'选择界面字体'**
String get selectUiFont;
/// No description provided for @themeColor.
///
/// In zh, this message translates to:
/// **'主题颜色'**
String get themeColor;
/// No description provided for @selectThemeColor.
///
/// In zh, this message translates to:
/// **'选择主题颜色'**
String get selectThemeColor;
/// No description provided for @terminalBackgroundColor.
///
/// In zh, this message translates to:
/// **'终端背景颜色'**
String get terminalBackgroundColor;
/// No description provided for @selectTerminalBackgroundColor.
///
/// In zh, this message translates to:
/// **'选择终端背景颜色'**
String get selectTerminalBackgroundColor;
/// No description provided for @uiFontPreview.
///
/// In zh, this message translates to:
/// **'代码编辑器界面字体预览 Code Editor 123'**
String get uiFontPreview;
/// No description provided for @codeFont.
///
/// In zh, this message translates to:
/// **'代码字体'**
String get codeFont;
/// No description provided for @selectCodeFont.
///
/// In zh, this message translates to:
/// **'选择代码字体'**
String get selectCodeFont;
/// No description provided for @codeFontPreview.
///
/// In zh, this message translates to:
/// **'const app = \"Code Editor\"; // 代码预览'**
String get codeFontPreview;
/// No description provided for @terminalFont.
///
/// In zh, this message translates to:
/// **'终端字体'**
String get terminalFont;
/// No description provided for @selectTerminalFont.
///
/// In zh, this message translates to:
/// **'选择终端字体'**
String get selectTerminalFont;
/// No description provided for @terminalFontPreview.
///
/// In zh, this message translates to:
/// **'\$ git status -s # 终端字体预览'**
String get terminalFontPreview;
/// No description provided for @fontName.
///
/// In zh, this message translates to:
/// **'{font, select, system_default{系统默认} sans_serif{无衬线体} serif{衬线体(宋体)} monospace{系统等宽} consolas{Consolas} courier_new{Courier New} menlo{Menlo / Monaco} jetbrains_mono{JetBrains Mono} fira_code{Fira Code} other{{font}}}'**
String fontName(String font);
/// No description provided for @decreaseFontSize.
///
/// In zh, this message translates to:
@@ -596,6 +680,30 @@ abstract class AppLocalizations {
/// **'自定义小键盘按键布局与快捷键'**
String get editVirtualKeyboardConfigSubtitle;
/// No description provided for @terminalVirtualKeyboard.
///
/// In zh, this message translates to:
/// **'终端小键盘'**
String get terminalVirtualKeyboard;
/// No description provided for @terminalVirtualKeyboardSubtitle.
///
/// In zh, this message translates to:
/// **'在终端下方显示常用特殊键与指令快捷键'**
String get terminalVirtualKeyboardSubtitle;
/// No description provided for @editTerminalVirtualKeyboardConfig.
///
/// In zh, this message translates to:
/// **'编辑终端键盘配置'**
String get editTerminalVirtualKeyboardConfig;
/// No description provided for @editTerminalVirtualKeyboardConfigSubtitle.
///
/// In zh, this message translates to:
/// **'自定义 Esc / Tab / Ctrl 组合等终端专用按键'**
String get editTerminalVirtualKeyboardConfigSubtitle;
/// No description provided for @virtualKeyboardDialogTitle.
///
/// In zh, this message translates to:
@@ -1259,7 +1367,7 @@ abstract class AppLocalizations {
/// No description provided for @keyboardLabelFormField.
///
/// In zh, this message translates to:
/// **'显示文本 (Label)'**
/// **'显示文本'**
String get keyboardLabelFormField;
/// No description provided for @keyboardLabelFormFieldHint.
@@ -1277,9 +1385,15 @@ abstract class AppLocalizations {
/// No description provided for @keyboardIconFormField.
///
/// In zh, this message translates to:
/// **'图标 (Icon, 可选)'**
/// **'图标 (可选)'**
String get keyboardIconFormField;
/// No description provided for @keyboardIconName.
///
/// In zh, this message translates to:
/// **'{icon, select, undo{撤销} redo{重做} tab{向右缩进} untab{向左缩进} outdent{减少缩进} arrow_left{左箭头} arrow_right{右箭头} arrow_up{上箭头} arrow_down{下箭头} home{移至行首} end{移至行尾} first_page{移至文首} last_page{移至文末} page_up{上翻页} page_down{下翻页} enter{回车} space{空格} escape{退出} insert{插入} clear{清除} keyboard{键盘} backspace{退格} delete{删除} copy{复制} cut{剪切} paste{粘贴} save{保存} search{搜索} select_all{全选} keyboard_hide{收起小键盘} other{{icon}}}'**
String keyboardIconName(String icon);
/// No description provided for @keyboardNoIconOption.
///
/// In zh, this message translates to:
@@ -1289,13 +1403,73 @@ abstract class AppLocalizations {
/// No description provided for @keyboardActionFormField.
///
/// In zh, this message translates to:
/// **'动作类型 (Action)'**
/// **'动作类型'**
String get keyboardActionFormField;
/// No description provided for @keyboardActionName.
///
/// In zh, this message translates to:
/// **'{action, select, input{普通文本} pair{成对符号} command{编辑器命令} modifier{修饰键} key{特殊键} other{{action}}}'**
String keyboardActionName(String action);
/// No description provided for @keyboardActionInputTerminal.
///
/// In zh, this message translates to:
/// **'指令快捷键'**
String get keyboardActionInputTerminal;
/// No description provided for @keyboardKeyFormField.
///
/// In zh, this message translates to:
/// **'特殊键'**
String get keyboardKeyFormField;
/// No description provided for @keyboardKeyGroupNavigation.
///
/// In zh, this message translates to:
/// **'导航键'**
String get keyboardKeyGroupNavigation;
/// No description provided for @keyboardKeyGroupEditing.
///
/// In zh, this message translates to:
/// **'编辑键'**
String get keyboardKeyGroupEditing;
/// No description provided for @keyboardKeyGroupFunctionKeys.
///
/// In zh, this message translates to:
/// **'功能键'**
String get keyboardKeyGroupFunctionKeys;
/// No description provided for @keyboardKeyGroupLetters.
///
/// In zh, this message translates to:
/// **'字母键'**
String get keyboardKeyGroupLetters;
/// No description provided for @keyboardAutoEnter.
///
/// In zh, this message translates to:
/// **'发送后自动回车'**
String get keyboardAutoEnter;
/// No description provided for @keyboardKeyName.
///
/// In zh, this message translates to:
/// **'{key, select, escape{退出} tab{Tab} backtab{反向制表} returnKey{回车} enter{回车} numpadEnter{小键盘回车} backspace{退格} delete{删除} insert{插入} space{空格} numpadClear{清除} arrowUp{上} arrowDown{下} arrowLeft{左} arrowRight{右} home{行首} end{行尾} pageUp{上翻页} pageDown{下翻页} f1{F1} f2{F2} f3{F3} f4{F4} f5{F5} f6{F6} f7{F7} f8{F8} f9{F9} f10{F10} f11{F11} f12{F12} other{{key}}}'**
String keyboardKeyName(String key);
/// No description provided for @keyboardKeyInvalidError.
///
/// In zh, this message translates to:
/// **'该键在终端中不会产生任何输出,请选择列表中的特殊键'**
String get keyboardKeyInvalidError;
/// No description provided for @keyboardValueFormField.
///
/// In zh, this message translates to:
/// **'输入文本内容 (Value)'**
/// **'输入文本内容'**
String get keyboardValueFormField;
/// No description provided for @keyboardValueFormFieldHint.
@@ -1310,42 +1484,60 @@ abstract class AppLocalizations {
/// **'输入文本不能为空'**
String get keyboardValueRequiredError;
/// No description provided for @keyboardPairPresetFormField.
/// No description provided for @keyboardPairValueFormField.
///
/// In zh, this message translates to:
/// **'成对符号预设 (Value)'**
String get keyboardPairPresetFormField;
/// **'成对符号'**
String get keyboardPairValueFormField;
/// No description provided for @keyboardPairValueFormFieldHint.
///
/// In zh, this message translates to:
/// **'例如 ()、[]、\"\"、<>'**
String get keyboardPairValueFormFieldHint;
/// No description provided for @keyboardPairValueRequiredError.
///
/// In zh, this message translates to:
/// **'请输入成对符号'**
String get keyboardPairValueRequiredError;
/// No description provided for @keyboardPairValueInvalidError.
///
/// In zh, this message translates to:
/// **'请输入至少 2 个字符且左右不同的成对符号,如 ()、[]'**
String get keyboardPairValueInvalidError;
/// No description provided for @keyboardCommandPresetFormField.
///
/// In zh, this message translates to:
/// **'预设编辑器命令 (Value)'**
/// **'编辑器命令'**
String get keyboardCommandPresetFormField;
/// No description provided for @keyboardCommandName.
///
/// In zh, this message translates to:
/// **'{command, select, tab{向右缩进} untab{向左缩进} undo{撤销} redo{重做} cursor_left{光标左移} cursor_right{光标右移} cursor_up{光标上移} cursor_down{光标下移} line_start{移动至行首} line_end{移动至行尾} page_start{移动至文首} page_end{移动至文末} copy{复制} cut{剪切} paste{粘贴} delete{删除} select_all{全选} keyboard_hide{收起小键盘} other{{command}}}'**
String keyboardCommandName(String command);
/// No description provided for @keyboardModifierPresetFormField.
///
/// In zh, this message translates to:
/// **'终端修饰键 (Value)'**
/// **'终端修饰键'**
String get keyboardModifierPresetFormField;
/// No description provided for @keyboardTerminalKeyPresetFormField.
/// No description provided for @keyboardModifierName.
///
/// In zh, this message translates to:
/// **'终端按键 (Value)'**
String get keyboardTerminalKeyPresetFormField;
/// **'{modifier, select, ctrl{Ctrl 键} alt{Alt 键} shift{Shift 键} other{{modifier}}}'**
String keyboardModifierName(String modifier);
/// No description provided for @keyboardCursorOffsetFormField.
///
/// In zh, this message translates to:
/// **'光标相对偏移 (cursorOffset)'**
/// **'光标相对偏移'**
String get keyboardCursorOffsetFormField;
/// No description provided for @keyboardCursorOffsetHelper.
///
/// In zh, this message translates to:
/// **'例如 () 插入后光标居中需向左偏移 1 位,填写 -1'**
String get keyboardCursorOffsetHelper;
/// No description provided for @keyboardCursorOffsetRequiredError.
///
/// In zh, this message translates to:
@@ -1357,6 +1549,276 @@ abstract class AppLocalizations {
/// In zh, this message translates to:
/// **'偏移量必须为整数'**
String get keyboardCursorOffsetIntegerError;
/// No description provided for @recommended.
///
/// In zh, this message translates to:
/// **'推荐'**
String get recommended;
/// No description provided for @presetColors.
///
/// In zh, this message translates to:
/// **'预设颜色'**
String get presetColors;
/// No description provided for @hexColor.
///
/// In zh, this message translates to:
/// **'十六进制颜色'**
String get hexColor;
/// No description provided for @currentColor.
///
/// In zh, this message translates to:
/// **'当前'**
String get currentColor;
/// No description provided for @newColor.
///
/// In zh, this message translates to:
/// **'预览'**
String get newColor;
/// No description provided for @runTasks.
///
/// In zh, this message translates to:
/// **'运行任务'**
String get runTasks;
/// No description provided for @projectDetect.
///
/// In zh, this message translates to:
/// **'项目探测'**
String get projectDetect;
/// No description provided for @projectDetecting.
///
/// In zh, this message translates to:
/// **'正在探测项目...'**
String get projectDetecting;
/// No description provided for @editRunTasks.
///
/// In zh, this message translates to:
/// **'运行任务编辑'**
String get editRunTasks;
/// No description provided for @projectSection.
///
/// In zh, this message translates to:
/// **'项目'**
String get projectSection;
/// No description provided for @showHiddenFiles.
///
/// In zh, this message translates to:
/// **'显示隐藏文件'**
String get showHiddenFiles;
/// No description provided for @showHiddenFilesSubtitle.
///
/// In zh, this message translates to:
/// **'在文件树中展示以点 (.) 开头的隐藏文件与文件夹'**
String get showHiddenFilesSubtitle;
/// No description provided for @searchTasksHint.
///
/// In zh, this message translates to:
/// **'搜索指定任务...'**
String get searchTasksHint;
/// No description provided for @noTasksAvailable.
///
/// In zh, this message translates to:
/// **'暂无可执行任务'**
String get noTasksAvailable;
/// No description provided for @noMatchingTasks.
///
/// In zh, this message translates to:
/// **'无匹配的任务'**
String get noMatchingTasks;
/// No description provided for @userCustomTasks.
///
/// In zh, this message translates to:
/// **'用户自定义任务'**
String get userCustomTasks;
/// No description provided for @systemDetectedTasks.
///
/// In zh, this message translates to:
/// **'系统动态探测任务'**
String get systemDetectedTasks;
/// No description provided for @editCustomTasksTooltip.
///
/// In zh, this message translates to:
/// **'编辑自定义任务'**
String get editCustomTasksTooltip;
/// No description provided for @runTasksConfig.
///
/// In zh, this message translates to:
/// **'运行任务配置'**
String get runTasksConfig;
/// No description provided for @editTask.
///
/// In zh, this message translates to:
/// **'编辑任务'**
String get editTask;
/// No description provided for @addTask.
///
/// In zh, this message translates to:
/// **'新增任务'**
String get addTask;
/// No description provided for @runTasksConfigSubtitle.
///
/// In zh, this message translates to:
/// **'配置将自动保存至项目根目录下的 .code_editor/run_tasks.json'**
String get runTasksConfigSubtitle;
/// No description provided for @noCustomTasksInProject.
///
/// In zh, this message translates to:
/// **'当前项目暂无自定义任务'**
String get noCustomTasksInProject;
/// No description provided for @createNow.
///
/// In zh, this message translates to:
/// **'立即创建'**
String get createNow;
/// No description provided for @saveAndApply.
///
/// In zh, this message translates to:
/// **'保存并应用'**
String get saveAndApply;
/// No description provided for @taskNameRequired.
///
/// In zh, this message translates to:
/// **'任务名称 *'**
String get taskNameRequired;
/// No description provided for @taskNameHint.
///
/// In zh, this message translates to:
/// **'如: 编译并运行 Debug'**
String get taskNameHint;
/// No description provided for @taskNameEmptyError.
///
/// In zh, this message translates to:
/// **'请输入任务名称'**
String get taskNameEmptyError;
/// No description provided for @shellCommandRequired.
///
/// In zh, this message translates to:
/// **'Shell 执行指令 *'**
String get shellCommandRequired;
/// No description provided for @shellCommandHint.
///
/// In zh, this message translates to:
/// **'如: cmake -B build && cmake --build build'**
String get shellCommandHint;
/// No description provided for @shellCommandEmptyError.
///
/// In zh, this message translates to:
/// **'请输入执行指令'**
String get shellCommandEmptyError;
/// No description provided for @taskDescOptional.
///
/// In zh, this message translates to:
/// **'任务描述(选填)'**
String get taskDescOptional;
/// No description provided for @taskDescHint.
///
/// In zh, this message translates to:
/// **'简要说明此任务的用途'**
String get taskDescHint;
/// No description provided for @clearBeforeRun.
///
/// In zh, this message translates to:
/// **'执行前清屏 (clear)'**
String get clearBeforeRun;
/// No description provided for @clearBeforeRunSubtitle.
///
/// In zh, this message translates to:
/// **'在终端输出任务结果前清理历史屏幕'**
String get clearBeforeRunSubtitle;
/// No description provided for @runTasksUpdated.
///
/// In zh, this message translates to:
/// **'运行任务配置已更新'**
String get runTasksUpdated;
/// No description provided for @detectCompletedMessage.
///
/// In zh, this message translates to:
/// **'探测完成,发现 {count} 个可用任务'**
String detectCompletedMessage(int count);
/// No description provided for @pleaseOpenProjectFirst.
///
/// In zh, this message translates to:
/// **'请先打开一个项目'**
String get pleaseOpenProjectFirst;
/// No description provided for @deleteTaskConfirmMessage.
///
/// In zh, this message translates to:
/// **'确定要删除任务 \"{name}\" 吗?'**
String deleteTaskConfirmMessage(String name);
/// No description provided for @deleteSelectedTasksConfirmMessage.
///
/// In zh, this message translates to:
/// **'确定要删除选中的 {count} 个任务吗?'**
String deleteSelectedTasksConfirmMessage(int count);
/// No description provided for @deleteSelected.
///
/// In zh, this message translates to:
/// **'删除选中'**
String get deleteSelected;
/// No description provided for @selectTasksToDelete.
///
/// In zh, this message translates to:
/// **'选择要删除的任务'**
String get selectTasksToDelete;
/// No description provided for @selectedCount.
///
/// In zh, this message translates to:
/// **'已选 {count} 项'**
String selectedCount(int count);
/// No description provided for @unsavedTaskChangesTitle.
///
/// In zh, this message translates to:
/// **'未保存的任务更改'**
String get unsavedTaskChangesTitle;
/// No description provided for @unsavedTaskChangesMessage.
///
/// In zh, this message translates to:
/// **'当前任务内容已被修改,是否放弃未保存的修改并返回?'**
String get unsavedTaskChangesMessage;
}
class _AppLocalizationsDelegate
+381 -9
View File
@@ -241,6 +241,62 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get codeFontSize => 'Font Size';
@override
String get uiFont => 'Interface Font';
@override
String get selectUiFont => 'Select Interface Font';
@override
String get themeColor => 'Theme Color';
@override
String get selectThemeColor => 'Select Theme Color';
@override
String get terminalBackgroundColor => 'Terminal Background';
@override
String get selectTerminalBackgroundColor => 'Select Terminal Background';
@override
String get uiFontPreview => 'Code Editor interface font preview 123';
@override
String get codeFont => 'Code Font';
@override
String get selectCodeFont => 'Select Code Font';
@override
String get codeFontPreview => 'const app = \"Code Editor\"; // code preview';
@override
String get terminalFont => 'Terminal Font';
@override
String get selectTerminalFont => 'Select Terminal Font';
@override
String get terminalFontPreview => '\$ git status -s # terminal font preview';
@override
String fontName(String font) {
String _temp0 = intl.Intl.selectLogic(font, {
'system_default': 'System Default',
'sans_serif': 'Sans-Serif',
'serif': 'Serif (Songti)',
'monospace': 'System Monospace',
'consolas': 'Consolas',
'courier_new': 'Courier New',
'menlo': 'Menlo / Monaco',
'jetbrains_mono': 'JetBrains Mono',
'fira_code': 'Fira Code',
'other': '$font',
});
return '$_temp0';
}
@override
String get decreaseFontSize => 'Decrease font size';
@@ -281,6 +337,21 @@ class AppLocalizationsEn extends AppLocalizations {
String get editVirtualKeyboardConfigSubtitle =>
'Customize keyboard layout and shortcuts';
@override
String get terminalVirtualKeyboard => 'Terminal Accessory Keyboard';
@override
String get terminalVirtualKeyboardSubtitle =>
'Show special keys and command shortcuts below the terminal';
@override
String get editTerminalVirtualKeyboardConfig =>
'Edit Terminal Keyboard Config';
@override
String get editTerminalVirtualKeyboardConfigSubtitle =>
'Customize Esc / Tab / Ctrl combos and other terminal keys';
@override
String get virtualKeyboardDialogTitle => 'Keyboard Config (JSON)';
@@ -683,6 +754,44 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get keyboardIconFormField => 'Icon (Optional)';
@override
String keyboardIconName(String icon) {
String _temp0 = intl.Intl.selectLogic(icon, {
'undo': 'Undo',
'redo': 'Redo',
'tab': 'Indent',
'untab': 'Outdent',
'outdent': 'Decrease Indent',
'arrow_left': 'Left Arrow',
'arrow_right': 'Right Arrow',
'arrow_up': 'Up Arrow',
'arrow_down': 'Down Arrow',
'home': 'Line Start',
'end': 'Line End',
'first_page': 'Document Start',
'last_page': 'Document End',
'page_up': 'Page Up',
'page_down': 'Page Down',
'enter': 'Enter',
'space': 'Space',
'escape': 'Escape',
'insert': 'Insert',
'clear': 'Clear',
'keyboard': 'Keyboard',
'backspace': 'Backspace',
'delete': 'Delete',
'copy': 'Copy',
'cut': 'Cut',
'paste': 'Paste',
'save': 'Save',
'search': 'Search',
'select_all': 'Select All',
'keyboard_hide': 'Hide Keyboard',
'other': '$icon',
});
return '$_temp0';
}
@override
String get keyboardNoIconOption => 'No icon (Use text)';
@@ -690,7 +799,84 @@ class AppLocalizationsEn extends AppLocalizations {
String get keyboardActionFormField => 'Action';
@override
String get keyboardValueFormField => 'Input Text (Value)';
String keyboardActionName(String action) {
String _temp0 = intl.Intl.selectLogic(action, {
'input': 'Plain Text',
'pair': 'Pair Symbols',
'command': 'Editor Command',
'modifier': 'Modifier Key',
'key': 'Special Key',
'other': '$action',
});
return '$_temp0';
}
@override
String get keyboardActionInputTerminal => 'Command Shortcut';
@override
String get keyboardKeyFormField => 'Special Key';
@override
String get keyboardKeyGroupNavigation => 'Navigation';
@override
String get keyboardKeyGroupEditing => 'Editing';
@override
String get keyboardKeyGroupFunctionKeys => 'Function Keys';
@override
String get keyboardKeyGroupLetters => 'Letters';
@override
String get keyboardAutoEnter => 'Send Enter after';
@override
String keyboardKeyName(String key) {
String _temp0 = intl.Intl.selectLogic(key, {
'escape': 'Escape',
'tab': 'Tab',
'backtab': 'Backtab',
'returnKey': 'Return',
'enter': 'Enter',
'numpadEnter': 'Keypad Enter',
'backspace': 'Backspace',
'delete': 'Delete',
'insert': 'Insert',
'space': 'Space',
'numpadClear': 'Clear',
'arrowUp': 'Up',
'arrowDown': 'Down',
'arrowLeft': 'Left',
'arrowRight': 'Right',
'home': 'Home',
'end': 'End',
'pageUp': 'Page Up',
'pageDown': 'Page Down',
'f1': 'F1',
'f2': 'F2',
'f3': 'F3',
'f4': 'F4',
'f5': 'F5',
'f6': 'F6',
'f7': 'F7',
'f8': 'F8',
'f9': 'F9',
'f10': 'F10',
'f11': 'F11',
'f12': 'F12',
'other': '$key',
});
return '$_temp0';
}
@override
String get keyboardKeyInvalidError =>
'This key produces no output in the terminal; please pick a listed special key';
@override
String get keyboardValueFormField => 'Input Text';
@override
String get keyboardValueFormFieldHint =>
@@ -700,24 +886,63 @@ class AppLocalizationsEn extends AppLocalizations {
String get keyboardValueRequiredError => 'Input text cannot be empty';
@override
String get keyboardPairPresetFormField => 'Pair Symbols Preset (Value)';
String get keyboardPairValueFormField => 'Pair Symbols';
@override
String get keyboardCommandPresetFormField => 'Editor Command Preset (Value)';
String get keyboardPairValueFormFieldHint => 'e.g. (), [], \"\", <>';
@override
String get keyboardModifierPresetFormField => 'Terminal Modifier (Value)';
String get keyboardPairValueRequiredError => 'Please enter the pair symbols';
@override
String get keyboardTerminalKeyPresetFormField => 'Terminal Key (Value)';
String get keyboardPairValueInvalidError =>
'Enter at least 2 characters with different halves, e.g. (), []';
@override
String get keyboardCursorOffsetFormField =>
'Cursor Relative Offset (cursorOffset)';
String get keyboardCommandPresetFormField => 'Editor Command';
@override
String get keyboardCursorOffsetHelper =>
'e.g. For () cursor in center should move left by 1, enter -1';
String keyboardCommandName(String command) {
String _temp0 = intl.Intl.selectLogic(command, {
'tab': 'Indent',
'untab': 'Outdent',
'undo': 'Undo',
'redo': 'Redo',
'cursor_left': 'Cursor Left',
'cursor_right': 'Cursor Right',
'cursor_up': 'Cursor Up',
'cursor_down': 'Cursor Down',
'line_start': 'Move to Line Start',
'line_end': 'Move to Line End',
'page_start': 'Move to Document Start',
'page_end': 'Move to Document End',
'copy': 'Copy',
'cut': 'Cut',
'paste': 'Paste',
'delete': 'Delete',
'select_all': 'Select All',
'keyboard_hide': 'Hide Keyboard',
'other': '$command',
});
return '$_temp0';
}
@override
String get keyboardModifierPresetFormField => 'Terminal Modifier';
@override
String keyboardModifierName(String modifier) {
String _temp0 = intl.Intl.selectLogic(modifier, {
'ctrl': 'Ctrl Key',
'alt': 'Alt Key',
'shift': 'Shift Key',
'other': '$modifier',
});
return '$_temp0';
}
@override
String get keyboardCursorOffsetFormField => 'Cursor Relative Offset';
@override
String get keyboardCursorOffsetRequiredError =>
@@ -725,4 +950,151 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get keyboardCursorOffsetIntegerError => 'Offset must be an integer';
@override
String get recommended => 'Recommended';
@override
String get presetColors => 'Preset Colors';
@override
String get hexColor => 'Hex Color';
@override
String get currentColor => 'Current';
@override
String get newColor => 'Preview';
@override
String get runTasks => 'Run Tasks';
@override
String get projectDetect => 'Detect Project';
@override
String get projectDetecting => 'Detecting project...';
@override
String get editRunTasks => 'Edit Run Tasks';
@override
String get projectSection => 'Project';
@override
String get showHiddenFiles => 'Show Hidden Files';
@override
String get showHiddenFilesSubtitle =>
'Show hidden files and folders starting with dot (.) in file tree';
@override
String get searchTasksHint => 'Search tasks...';
@override
String get noTasksAvailable => 'No executable tasks available';
@override
String get noMatchingTasks => 'No matching tasks found';
@override
String get userCustomTasks => 'User Custom Tasks';
@override
String get systemDetectedTasks => 'System Detected Tasks';
@override
String get editCustomTasksTooltip => 'Edit Custom Tasks';
@override
String get runTasksConfig => 'Run Tasks Configuration';
@override
String get editTask => 'Edit Task';
@override
String get addTask => 'Add Task';
@override
String get runTasksConfigSubtitle =>
'Configuration will be saved to .code_editor/run_tasks.json in project root';
@override
String get noCustomTasksInProject => 'No custom tasks in current project';
@override
String get createNow => 'Create Now';
@override
String get saveAndApply => 'Save & Apply';
@override
String get taskNameRequired => 'Task Name *';
@override
String get taskNameHint => 'e.g. Build & Run Debug';
@override
String get taskNameEmptyError => 'Please enter task name';
@override
String get shellCommandRequired => 'Shell Command *';
@override
String get shellCommandHint => 'e.g. cmake -B build && cmake --build build';
@override
String get shellCommandEmptyError => 'Please enter command';
@override
String get taskDescOptional => 'Description (Optional)';
@override
String get taskDescHint => 'Briefly describe the task purpose';
@override
String get clearBeforeRun => 'Clear Screen (clear)';
@override
String get clearBeforeRunSubtitle =>
'Clear terminal output before executing task';
@override
String get runTasksUpdated => 'Run tasks configuration updated';
@override
String detectCompletedMessage(int count) {
return 'Detection completed, found $count tasks';
}
@override
String get pleaseOpenProjectFirst => 'Please open a project first';
@override
String deleteTaskConfirmMessage(String name) {
return 'Are you sure you want to delete task \"$name\"?';
}
@override
String deleteSelectedTasksConfirmMessage(int count) {
return 'Are you sure you want to delete the selected $count tasks?';
}
@override
String get deleteSelected => 'Delete Selected';
@override
String get selectTasksToDelete => 'Select Tasks to Delete';
@override
String selectedCount(int count) {
return '$count selected';
}
@override
String get unsavedTaskChangesTitle => 'Unsaved Task Changes';
@override
String get unsavedTaskChangesMessage =>
'The task has been modified. Do you want to discard unsaved changes and leave?';
}
+377 -10
View File
@@ -237,6 +237,62 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get codeFontSize => '代码字号缩放';
@override
String get uiFont => '界面字体';
@override
String get selectUiFont => '选择界面字体';
@override
String get themeColor => '主题颜色';
@override
String get selectThemeColor => '选择主题颜色';
@override
String get terminalBackgroundColor => '终端背景颜色';
@override
String get selectTerminalBackgroundColor => '选择终端背景颜色';
@override
String get uiFontPreview => '代码编辑器界面字体预览 Code Editor 123';
@override
String get codeFont => '代码字体';
@override
String get selectCodeFont => '选择代码字体';
@override
String get codeFontPreview => 'const app = \"Code Editor\"; // 代码预览';
@override
String get terminalFont => '终端字体';
@override
String get selectTerminalFont => '选择终端字体';
@override
String get terminalFontPreview => '\$ git status -s # 终端字体预览';
@override
String fontName(String font) {
String _temp0 = intl.Intl.selectLogic(font, {
'system_default': '系统默认',
'sans_serif': '无衬线体',
'serif': '衬线体(宋体)',
'monospace': '系统等宽',
'consolas': 'Consolas',
'courier_new': 'Courier New',
'menlo': 'Menlo / Monaco',
'jetbrains_mono': 'JetBrains Mono',
'fira_code': 'Fira Code',
'other': '$font',
});
return '$_temp0';
}
@override
String get decreaseFontSize => '减小字号';
@@ -275,6 +331,19 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get editVirtualKeyboardConfigSubtitle => '自定义小键盘按键布局与快捷键';
@override
String get terminalVirtualKeyboard => '终端小键盘';
@override
String get terminalVirtualKeyboardSubtitle => '在终端下方显示常用特殊键与指令快捷键';
@override
String get editTerminalVirtualKeyboardConfig => '编辑终端键盘配置';
@override
String get editTerminalVirtualKeyboardConfigSubtitle =>
'自定义 Esc / Tab / Ctrl 组合等终端专用按键';
@override
String get virtualKeyboardDialogTitle => '小键盘配置 (JSON)';
@@ -655,7 +724,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get keyboardEditKeyTitle => '编辑按键';
@override
String get keyboardLabelFormField => '显示文本 (Label)';
String get keyboardLabelFormField => '显示文本';
@override
String get keyboardLabelFormFieldHint => '按键上显示的文本,如 Tab、()、A';
@@ -664,16 +733,130 @@ class AppLocalizationsZh extends AppLocalizations {
String get keyboardLabelOrIconRequiredError => '请输入显示文本或选择图标';
@override
String get keyboardIconFormField => '图标 (Icon, 可选)';
String get keyboardIconFormField => '图标 (可选)';
@override
String keyboardIconName(String icon) {
String _temp0 = intl.Intl.selectLogic(icon, {
'undo': '撤销',
'redo': '重做',
'tab': '向右缩进',
'untab': '向左缩进',
'outdent': '减少缩进',
'arrow_left': '左箭头',
'arrow_right': '右箭头',
'arrow_up': '上箭头',
'arrow_down': '下箭头',
'home': '移至行首',
'end': '移至行尾',
'first_page': '移至文首',
'last_page': '移至文末',
'page_up': '上翻页',
'page_down': '下翻页',
'enter': '回车',
'space': '空格',
'escape': '退出',
'insert': '插入',
'clear': '清除',
'keyboard': '键盘',
'backspace': '退格',
'delete': '删除',
'copy': '复制',
'cut': '剪切',
'paste': '粘贴',
'save': '保存',
'search': '搜索',
'select_all': '全选',
'keyboard_hide': '收起小键盘',
'other': '$icon',
});
return '$_temp0';
}
@override
String get keyboardNoIconOption => '无图标 (使用文本显示)';
@override
String get keyboardActionFormField => '动作类型 (Action)';
String get keyboardActionFormField => '动作类型';
@override
String get keyboardValueFormField => '输入文本内容 (Value)';
String keyboardActionName(String action) {
String _temp0 = intl.Intl.selectLogic(action, {
'input': '普通文本',
'pair': '成对符号',
'command': '编辑器命令',
'modifier': '修饰键',
'key': '特殊键',
'other': '$action',
});
return '$_temp0';
}
@override
String get keyboardActionInputTerminal => '指令快捷键';
@override
String get keyboardKeyFormField => '特殊键';
@override
String get keyboardKeyGroupNavigation => '导航键';
@override
String get keyboardKeyGroupEditing => '编辑键';
@override
String get keyboardKeyGroupFunctionKeys => '功能键';
@override
String get keyboardKeyGroupLetters => '字母键';
@override
String get keyboardAutoEnter => '发送后自动回车';
@override
String keyboardKeyName(String key) {
String _temp0 = intl.Intl.selectLogic(key, {
'escape': '退出',
'tab': 'Tab',
'backtab': '反向制表',
'returnKey': '回车',
'enter': '回车',
'numpadEnter': '小键盘回车',
'backspace': '退格',
'delete': '删除',
'insert': '插入',
'space': '空格',
'numpadClear': '清除',
'arrowUp': '上',
'arrowDown': '下',
'arrowLeft': '左',
'arrowRight': '右',
'home': '行首',
'end': '行尾',
'pageUp': '上翻页',
'pageDown': '下翻页',
'f1': 'F1',
'f2': 'F2',
'f3': 'F3',
'f4': 'F4',
'f5': 'F5',
'f6': 'F6',
'f7': 'F7',
'f8': 'F8',
'f9': 'F9',
'f10': 'F10',
'f11': 'F11',
'f12': 'F12',
'other': '$key',
});
return '$_temp0';
}
@override
String get keyboardKeyInvalidError => '该键在终端中不会产生任何输出,请选择列表中的特殊键';
@override
String get keyboardValueFormField => '输入文本内容';
@override
String get keyboardValueFormFieldHint => '点击后直接插入的文本,如 ;、=、->';
@@ -682,26 +865,210 @@ class AppLocalizationsZh extends AppLocalizations {
String get keyboardValueRequiredError => '输入文本不能为空';
@override
String get keyboardPairPresetFormField => '成对符号预设 (Value)';
String get keyboardPairValueFormField => '成对符号';
@override
String get keyboardCommandPresetFormField => '预设编辑器命令 (Value)';
String get keyboardPairValueFormFieldHint => '例如 ()、[]、\"\"、<>';
@override
String get keyboardModifierPresetFormField => '终端修饰键 (Value)';
String get keyboardPairValueRequiredError => '请输入成对符号';
@override
String get keyboardTerminalKeyPresetFormField => '终端按键 (Value)';
String get keyboardPairValueInvalidError => '请输入至少 2 个字符且左右不同的成对符号,如 ()、[]';
@override
String get keyboardCursorOffsetFormField => '光标相对偏移 (cursorOffset)';
String get keyboardCommandPresetFormField => '编辑器命令';
@override
String get keyboardCursorOffsetHelper => '例如 () 插入后光标居中需向左偏移 1 位,填写 -1';
String keyboardCommandName(String command) {
String _temp0 = intl.Intl.selectLogic(command, {
'tab': '向右缩进',
'untab': '向左缩进',
'undo': '撤销',
'redo': '重做',
'cursor_left': '光标左移',
'cursor_right': '光标右移',
'cursor_up': '光标上移',
'cursor_down': '光标下移',
'line_start': '移动至行首',
'line_end': '移动至行尾',
'page_start': '移动至文首',
'page_end': '移动至文末',
'copy': '复制',
'cut': '剪切',
'paste': '粘贴',
'delete': '删除',
'select_all': '全选',
'keyboard_hide': '收起小键盘',
'other': '$command',
});
return '$_temp0';
}
@override
String get keyboardModifierPresetFormField => '终端修饰键';
@override
String keyboardModifierName(String modifier) {
String _temp0 = intl.Intl.selectLogic(modifier, {
'ctrl': 'Ctrl 键',
'alt': 'Alt 键',
'shift': 'Shift 键',
'other': '$modifier',
});
return '$_temp0';
}
@override
String get keyboardCursorOffsetFormField => '光标相对偏移';
@override
String get keyboardCursorOffsetRequiredError => '请输入光标偏移(通常为 -1)';
@override
String get keyboardCursorOffsetIntegerError => '偏移量必须为整数';
@override
String get recommended => '推荐';
@override
String get presetColors => '预设颜色';
@override
String get hexColor => '十六进制颜色';
@override
String get currentColor => '当前';
@override
String get newColor => '预览';
@override
String get runTasks => '运行任务';
@override
String get projectDetect => '项目探测';
@override
String get projectDetecting => '正在探测项目...';
@override
String get editRunTasks => '运行任务编辑';
@override
String get projectSection => '项目';
@override
String get showHiddenFiles => '显示隐藏文件';
@override
String get showHiddenFilesSubtitle => '在文件树中展示以点 (.) 开头的隐藏文件与文件夹';
@override
String get searchTasksHint => '搜索指定任务...';
@override
String get noTasksAvailable => '暂无可执行任务';
@override
String get noMatchingTasks => '无匹配的任务';
@override
String get userCustomTasks => '用户自定义任务';
@override
String get systemDetectedTasks => '系统动态探测任务';
@override
String get editCustomTasksTooltip => '编辑自定义任务';
@override
String get runTasksConfig => '运行任务配置';
@override
String get editTask => '编辑任务';
@override
String get addTask => '新增任务';
@override
String get runTasksConfigSubtitle =>
'配置将自动保存至项目根目录下的 .code_editor/run_tasks.json';
@override
String get noCustomTasksInProject => '当前项目暂无自定义任务';
@override
String get createNow => '立即创建';
@override
String get saveAndApply => '保存并应用';
@override
String get taskNameRequired => '任务名称 *';
@override
String get taskNameHint => '如: 编译并运行 Debug';
@override
String get taskNameEmptyError => '请输入任务名称';
@override
String get shellCommandRequired => 'Shell 执行指令 *';
@override
String get shellCommandHint => '如: cmake -B build && cmake --build build';
@override
String get shellCommandEmptyError => '请输入执行指令';
@override
String get taskDescOptional => '任务描述(选填)';
@override
String get taskDescHint => '简要说明此任务的用途';
@override
String get clearBeforeRun => '执行前清屏 (clear)';
@override
String get clearBeforeRunSubtitle => '在终端输出任务结果前清理历史屏幕';
@override
String get runTasksUpdated => '运行任务配置已更新';
@override
String detectCompletedMessage(int count) {
return '探测完成,发现 $count 个可用任务';
}
@override
String get pleaseOpenProjectFirst => '请先打开一个项目';
@override
String deleteTaskConfirmMessage(String name) {
return '确定要删除任务 \"$name\" 吗?';
}
@override
String deleteSelectedTasksConfirmMessage(int count) {
return '确定要删除选中的 $count 个任务吗?';
}
@override
String get deleteSelected => '删除选中';
@override
String get selectTasksToDelete => '选择要删除的任务';
@override
String selectedCount(int count) {
return '已选 $count 项';
}
@override
String get unsavedTaskChangesTitle => '未保存的任务更改';
@override
String get unsavedTaskChangesMessage => '当前任务内容已被修改,是否放弃未保存的修改并返回?';
}
+158 -11
View File
@@ -71,6 +71,27 @@
"darkThemeCategory": "暗色系",
"lightThemeCategory": "浅色系",
"codeFontSize": "代码字号缩放",
"uiFont": "界面字体",
"selectUiFont": "选择界面字体",
"themeColor": "主题颜色",
"selectThemeColor": "选择主题颜色",
"terminalBackgroundColor": "终端背景颜色",
"selectTerminalBackgroundColor": "选择终端背景颜色",
"uiFontPreview": "代码编辑器界面字体预览 Code Editor 123",
"codeFont": "代码字体",
"selectCodeFont": "选择代码字体",
"codeFontPreview": "const app = \"Code Editor\"; // 代码预览",
"terminalFont": "终端字体",
"selectTerminalFont": "选择终端字体",
"terminalFontPreview": "$ git status -s # 终端字体预览",
"fontName": "{font, select, system_default{系统默认} sans_serif{无衬线体} serif{衬线体(宋体)} monospace{系统等宽} consolas{Consolas} courier_new{Courier New} menlo{Menlo / Monaco} jetbrains_mono{JetBrains Mono} fira_code{Fira Code} other{{font}}}",
"@fontName": {
"placeholders": {
"font": {
"type": "String"
}
}
},
"decreaseFontSize": "减小字号",
"increaseFontSize": "增大字号",
"fontSizeDialogTitle": "代码字号",
@@ -91,6 +112,10 @@
"virtualKeyboardSubtitle": "在代码编辑区底部显示辅助符号与快捷键",
"editVirtualKeyboardConfig": "编辑键盘配置",
"editVirtualKeyboardConfigSubtitle": "自定义小键盘按键布局与快捷键",
"terminalVirtualKeyboard": "终端小键盘",
"terminalVirtualKeyboardSubtitle": "在终端下方显示常用特殊键与指令快捷键",
"editTerminalVirtualKeyboardConfig": "编辑终端键盘配置",
"editTerminalVirtualKeyboardConfigSubtitle": "自定义 Esc / Tab / Ctrl 组合等终端专用按键",
"virtualKeyboardDialogTitle": "小键盘配置 (JSON)",
"resetDefault": "恢复默认",
"configFormatError": "配置格式错误",
@@ -357,21 +382,143 @@
},
"keyboardAddKeyTitle": "添加按键",
"keyboardEditKeyTitle": "编辑按键",
"keyboardLabelFormField": "显示文本 (Label)",
"keyboardLabelFormField": "显示文本",
"keyboardLabelFormFieldHint": "按键上显示的文本,如 Tab、()、A",
"keyboardLabelOrIconRequiredError": "请输入显示文本或选择图标",
"keyboardIconFormField": "图标 (Icon, 可选)",
"keyboardIconFormField": "图标 (可选)",
"keyboardIconName": "{icon, select, undo{撤销} redo{重做} tab{向右缩进} untab{向左缩进} outdent{减少缩进} arrow_left{左箭头} arrow_right{右箭头} arrow_up{上箭头} arrow_down{下箭头} home{移至行首} end{移至行尾} first_page{移至文首} last_page{移至文末} page_up{上翻页} page_down{下翻页} enter{回车} space{空格} escape{退出} insert{插入} clear{清除} keyboard{键盘} backspace{退格} delete{删除} copy{复制} cut{剪切} paste{粘贴} save{保存} search{搜索} select_all{全选} keyboard_hide{收起小键盘} other{{icon}}}",
"@keyboardIconName": {
"placeholders": {
"icon": {
"type": "String"
}
}
},
"keyboardNoIconOption": "无图标 (使用文本显示)",
"keyboardActionFormField": "动作类型 (Action)",
"keyboardValueFormField": "输入文本内容 (Value)",
"keyboardActionFormField": "动作类型",
"keyboardActionName": "{action, select, input{普通文本} pair{成对符号} command{编辑器命令} modifier{修饰键} key{特殊键} other{{action}}}",
"@keyboardActionName": {
"placeholders": {
"action": {
"type": "String"
}
}
},
"keyboardActionInputTerminal": "指令快捷键",
"keyboardKeyFormField": "特殊键",
"keyboardKeyGroupNavigation": "导航键",
"keyboardKeyGroupEditing": "编辑键",
"keyboardKeyGroupFunctionKeys": "功能键",
"keyboardKeyGroupLetters": "字母键",
"keyboardAutoEnter": "发送后自动回车",
"keyboardKeyName": "{key, select, escape{退出} tab{Tab} backtab{反向制表} returnKey{回车} enter{回车} numpadEnter{小键盘回车} backspace{退格} delete{删除} insert{插入} space{空格} numpadClear{清除} arrowUp{上} arrowDown{下} arrowLeft{左} arrowRight{右} home{行首} end{行尾} pageUp{上翻页} pageDown{下翻页} f1{F1} f2{F2} f3{F3} f4{F4} f5{F5} f6{F6} f7{F7} f8{F8} f9{F9} f10{F10} f11{F11} f12{F12} other{{key}}}",
"@keyboardKeyName": {
"placeholders": {
"key": {
"type": "String"
}
}
},
"keyboardKeyInvalidError": "该键在终端中不会产生任何输出,请选择列表中的特殊键",
"keyboardValueFormField": "输入文本内容",
"keyboardValueFormFieldHint": "点击后直接插入的文本,如 ;、=、->",
"keyboardValueRequiredError": "输入文本不能为空",
"keyboardPairPresetFormField": "成对符号预设 (Value)",
"keyboardCommandPresetFormField": "预设编辑器命令 (Value)",
"keyboardModifierPresetFormField": "终端修饰键 (Value)",
"keyboardTerminalKeyPresetFormField": "终端按键 (Value)",
"keyboardCursorOffsetFormField": "光标相对偏移 (cursorOffset)",
"keyboardCursorOffsetHelper": "例如 () 插入后光标居中需向左偏移 1 位,填写 -1",
"keyboardPairValueFormField": "成对符号",
"keyboardPairValueFormFieldHint": "例如 ()、[]、\"\"、<>",
"keyboardPairValueRequiredError": "请输入成对符号",
"keyboardPairValueInvalidError": "请输入至少 2 个字符且左右不同的成对符号,如 ()、[]",
"keyboardCommandPresetFormField": "编辑器命令",
"keyboardCommandName": "{command, select, tab{向右缩进} untab{向左缩进} undo{撤销} redo{重做} cursor_left{光标左移} cursor_right{光标右移} cursor_up{光标上移} cursor_down{光标下移} line_start{移动至行首} line_end{移动至行尾} page_start{移动至文首} page_end{移动至文末} copy{复制} cut{剪切} paste{粘贴} delete{删除} select_all{全选} keyboard_hide{收起小键盘} other{{command}}}",
"@keyboardCommandName": {
"placeholders": {
"command": {
"type": "String"
}
}
},
"keyboardModifierPresetFormField": "终端修饰键",
"keyboardModifierName": "{modifier, select, ctrl{Ctrl 键} alt{Alt 键} shift{Shift 键} other{{modifier}}}",
"@keyboardModifierName": {
"placeholders": {
"modifier": {
"type": "String"
}
}
},
"keyboardCursorOffsetFormField": "光标相对偏移",
"keyboardCursorOffsetRequiredError": "请输入光标偏移(通常为 -1)",
"keyboardCursorOffsetIntegerError": "偏移量必须为整数"
"keyboardCursorOffsetIntegerError": "偏移量必须为整数",
"recommended": "推荐",
"presetColors": "预设颜色",
"hexColor": "十六进制颜色",
"currentColor": "当前",
"newColor": "预览",
"runTasks": "运行任务",
"projectDetect": "项目探测",
"projectDetecting": "正在探测项目...",
"editRunTasks": "运行任务编辑",
"projectSection": "项目",
"showHiddenFiles": "显示隐藏文件",
"showHiddenFilesSubtitle": "在文件树中展示以点 (.) 开头的隐藏文件与文件夹",
"searchTasksHint": "搜索指定任务...",
"noTasksAvailable": "暂无可执行任务",
"noMatchingTasks": "无匹配的任务",
"userCustomTasks": "用户自定义任务",
"systemDetectedTasks": "系统动态探测任务",
"editCustomTasksTooltip": "编辑自定义任务",
"runTasksConfig": "运行任务配置",
"editTask": "编辑任务",
"addTask": "新增任务",
"runTasksConfigSubtitle": "配置将自动保存至项目根目录下的 .code_editor/run_tasks.json",
"noCustomTasksInProject": "当前项目暂无自定义任务",
"createNow": "立即创建",
"saveAndApply": "保存并应用",
"taskNameRequired": "任务名称 *",
"taskNameHint": "如: 编译并运行 Debug",
"taskNameEmptyError": "请输入任务名称",
"shellCommandRequired": "Shell 执行指令 *",
"shellCommandHint": "如: cmake -B build && cmake --build build",
"shellCommandEmptyError": "请输入执行指令",
"taskDescOptional": "任务描述(选填)",
"taskDescHint": "简要说明此任务的用途",
"clearBeforeRun": "执行前清屏 (clear)",
"clearBeforeRunSubtitle": "在终端输出任务结果前清理历史屏幕",
"runTasksUpdated": "运行任务配置已更新",
"detectCompletedMessage": "探测完成,发现 {count} 个可用任务",
"@detectCompletedMessage": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"pleaseOpenProjectFirst": "请先打开一个项目",
"deleteTaskConfirmMessage": "确定要删除任务 \"{name}\" 吗?",
"@deleteTaskConfirmMessage": {
"placeholders": {
"name": {
"type": "String"
}
}
},
"deleteSelectedTasksConfirmMessage": "确定要删除选中的 {count} 个任务吗?",
"@deleteSelectedTasksConfirmMessage": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"deleteSelected": "删除选中",
"selectTasksToDelete": "选择要删除的任务",
"selectedCount": "已选 {count} 项",
"@selectedCount": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"unsavedTaskChangesTitle": "未保存的任务更改",
"unsavedTaskChangesMessage": "当前任务内容已被修改,是否放弃未保存的修改并返回?"
}