From 10d6a9a0dff6d6dab3410641f4c231f44f267245 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Wed, 17 Dec 2025 12:19:22 +0800 Subject: Add workspace root directory validation for sheet commands - Add new error message for non-root directory execution - Validate current directory in sheet use/exit commands - Add directory correction helper for other commands - Return Result from jv_sheet_exit to handle validation failures --- locales/help_docs/zh-CN.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'locales/help_docs/zh-CN.yml') diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml index 5173daf..606f260 100644 --- a/locales/help_docs/zh-CN.yml +++ b/locales/help_docs/zh-CN.yml @@ -505,6 +505,8 @@ jv: current_dir_name: 无法获得当前目录的名称 set_current_dir: 无法设置到目录 %{dir} + not_root_dir: 该命令需要在工作区根目录运行! + move: rename_failed: | **警告**:移动本地文件 `%{from}` 至 `%{to}` 失败:%{error} -- cgit