diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f55ef50..9f6ec44f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ if(CMAKE_HOST_WIN32 AND DEFINED CMAKE_TOOLCHAIN_FILE AND CMAKE_TOOLCHAIN_FILE MA set(VCPKG_TARGET_TRIPLET "x64-windows-static" CACHE STRING "Vcpkg target triplet" FORCE) endif() -project(acecode VERSION 0.9.26 LANGUAGES C CXX) +project(acecode VERSION 0.9.27 LANGUAGES C CXX) option(ACECODE_TUI_INPUT_TRACE "Enable verbose TUI input event trace logging." OFF) option(ACECODE_DEEPIN "Build the dedicated UOS/Deepin Linux variant." OFF) diff --git a/vcpkg.json b/vcpkg.json index 8a500ac2..d9235ad3 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,20 +1,20 @@ { - "name": "acecode", - "version-semver": "0.9.26", - "dependencies": [ - "cpr", - "crow", - "ftxui", - "libzip", - "nlohmann-json", - "sqlite3" - ], - "features": { - "tests": { - "description": "Dependencies required only by ACECode unit tests", - "dependencies": [ - "gtest" - ] - } - } + "name": "acecode", + "version-semver": "0.9.27", + "dependencies": [ + "cpr", + "crow", + "ftxui", + "libzip", + "nlohmann-json", + "sqlite3" + ], + "features": { + "tests": { + "description": "Dependencies required only by ACECode unit tests", + "dependencies": [ + "gtest" + ] + } + } } diff --git a/web/src/i18n/sourceCatalog.generated.js b/web/src/i18n/sourceCatalog.generated.js index b5be2a9b..89a042f6 100644 --- a/web/src/i18n/sourceCatalog.generated.js +++ b/web/src/i18n/sourceCatalog.generated.js @@ -1871,7 +1871,6 @@ export const sourceCatalogs = { "s_ce5b1bb1da5e76f1": "正在解压安装包", "s_ce99adb25bdca08b": "下次退出时将停止后台进程", "s_cea5fddb03aa0275": "来自升级服务的历次版本说明", - "s_cea8e44bc69cefb0": "置顶任务", "s_cec844f175819030": "读取审计日志失败", "s_ced8c6c946146849": "可先在专家组件页面创建。", "s_cef224a7c8f1afe1": "问题过长,请缩短后重试。", @@ -4211,7 +4210,6 @@ export const sourceCatalogs = { "s_ce5b1bb1da5e76f1": "Unzipping the installation package", "s_ce99adb25bdca08b": "The background process will be stopped the next time you exit", "s_cea5fddb03aa0275": "Previous version notes from the upgrade service", - "s_cea8e44bc69cefb0": "Pinned tasks", "s_cec844f175819030": "Could not read the audit log", "s_ced8c6c946146849": "It can be created on the expert component page first.", "s_cef224a7c8f1afe1": "Your question is too long. Shorten it and try again.", diff --git a/web/src/i18n/sourceCatalog.test.js b/web/src/i18n/sourceCatalog.test.js index 85e00330..062a206b 100644 --- a/web/src/i18n/sourceCatalog.test.js +++ b/web/src/i18n/sourceCatalog.test.js @@ -148,7 +148,7 @@ const moduleScopeFixtures = [ }, { file: 'lib/sidebarNavigation.js', - copy: ['新建任务', '扩展', '定时任务', '置顶任务', '任务', '工作区', '模型', 'MCP 服务器', '技能', '专家组件'], + copy: ['新建任务', '扩展', '定时任务', '置顶', '任务', '工作区', '模型', 'MCP 服务器', '技能', '专家组件'], }, { file: 'lib/permissionMode.js', diff --git a/web/src/lib/sidebarNavigation.js b/web/src/lib/sidebarNavigation.js index 2bc1390f..c3a097f7 100644 --- a/web/src/lib/sidebarNavigation.js +++ b/web/src/lib/sidebarNavigation.js @@ -102,7 +102,7 @@ export const SIDEBAR_SECTION_IDS = Object.freeze({ }); export const SIDEBAR_SECTION_LABELS = Object.freeze({ - [SIDEBAR_SECTION_IDS.PINNED]: '置顶任务', + [SIDEBAR_SECTION_IDS.PINNED]: '置顶', [SIDEBAR_SECTION_IDS.TASKS]: '任务', [SIDEBAR_SECTION_IDS.WORKSPACES]: '工作区', }); diff --git a/web/src/lib/sidebarNavigation.test.js b/web/src/lib/sidebarNavigation.test.js index 109161f4..432cbeb8 100644 --- a/web/src/lib/sidebarNavigation.test.js +++ b/web/src/lib/sidebarNavigation.test.js @@ -112,7 +112,7 @@ test('drop index counts the other rows whose midpoint is above the pointer', () test('sidebar sections use confirmed labels and default expanded state', () => { assert.deepEqual(SIDEBAR_SECTION_LABELS, { - pinned: '置顶任务', + pinned: '置顶', tasks: '任务', workspaces: '工作区', }); @@ -133,7 +133,7 @@ test('sidebar section counts separate pinned tasks, no-workspace tasks, and work workspaces: [{ hash: 'w1' }, { hash: 'w2' }, { hash: 'w3' }], }); assert.deepEqual(counts, { pinned: 2, tasks: 1, workspaces: 3 }); - assert.equal(sidebarSectionTitle(SIDEBAR_SECTION_IDS.PINNED, counts.pinned), '置顶任务 (2)'); + assert.equal(sidebarSectionTitle(SIDEBAR_SECTION_IDS.PINNED, counts.pinned), '置顶 (2)'); assert.equal(sidebarSectionTitle(SIDEBAR_SECTION_IDS.TASKS, counts.tasks), '任务 (1)'); assert.equal(sidebarSectionTitle(SIDEBAR_SECTION_IDS.WORKSPACES, counts.workspaces), '工作区 (3)'); assert.deepEqual(sidebarSectionCounts(), { pinned: 0, tasks: 0, workspaces: 0 });