summaryrefslogtreecommitdiff
path: root/locales/help_docs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-11-22 20:19:20 +0800
committer魏曹先生 <1992414357@qq.com>2025-11-22 20:19:20 +0800
commite579a2e9ffc1e24d30cd117966079c4a6a805fbf (patch)
tree7c7ff05e535b77a2a4bf4b4b0af9cd691341e43f /locales/help_docs
parentfcff43f38ea3b83a554452ed8c11b0d295ad9dba (diff)
Update sheet align command structure and add completion
Diffstat (limited to 'locales/help_docs')
-rw-r--r--locales/help_docs/en.yml40
-rw-r--r--locales/help_docs/zh-CN.yml38
2 files changed, 69 insertions, 9 deletions
diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml
index f46b6ab..70e8044 100644
--- a/locales/help_docs/en.yml
+++ b/locales/help_docs/en.yml
@@ -266,11 +266,19 @@ jv:
jv sheet make <SHEET_NAME> - Create a new sheet for yourself
jv sheet drop <SHEET_NAME> - Drop the sheet for others to use
- **Align struct**:
- jv sheet align --list - View all items that need alignment
- jv sheet align [local/remote] - All based on local or remote location
- jv sheet align <ALIGN_TASK> [local/remote] - Choose based on local or remote location
- jv sheet align - Manually specify alignment method
+ **Align**:
+ jv sheet align - View all items that need alignment
+
+ For moved items:
+ jv sheet align <ITEM> [local/remote] - Align specified moved item
+ jv sheet align moved [local/remote] - Align all moved items
+
+ For lost items:
+ jv sheet align <ITEM> <CREATED_ITEM> - Point to created item to confirm move
+ jv sheet align <ITEM> confirm - Confirm this file is lost
+ jv sheet align lost confirm - Confirm all lost items
+
+ jv sheet align --work - Use editor mode to align files
Sheets are core concepts in JustEnoughVCS, each sheet represents an independent file collection.
You can switch work between different sheets, or export files from one sheet to another.
@@ -483,6 +491,16 @@ jv:
from_core: |
**Error**: `%{err}` (This error is from core call)
+ sheet:
+ align:
+ no_direction: |
+ Cannot confirm alignment direction!
+ **Tip**: Use local or remote to indicate whether you want to keep local or remote paths
+
+ align_item_not_found: |
+ Cannot find this alignment item!
+ **Tip**: Use `jv align` to view available alignment items
+
account:
no_user_dir: Cannot find user directory!
add: Failed to add account `%{account}`, please check if the account already exists.
@@ -595,6 +613,18 @@ jv:
tip_no_sheet: |
You don't have any sheets, you can use `jv make <SHEET_NAME>` to create a new sheet
+ align:
+ list: |
+ Your local workspace has the following alignment tasks pending:
+ %{tasks}
+
+ task_name: TASK
+ local_path: LOCAL_FILE
+ remote_path: REMOTE_FILE
+
+ no_changes: |
+ Great, there are no struct changes in the local workspace!
+
docs:
list:
header: |
diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml
index 4a7daf4..fab838d 100644
--- a/locales/help_docs/zh-CN.yml
+++ b/locales/help_docs/zh-CN.yml
@@ -258,10 +258,18 @@ jv:
jv sheet drop <表名称> - 将表抛弃,以供其他人使用
**对齐**:
- jv sheet align --list - 查看所有需要对齐的项目
- jv sheet align [local/remote] - 全部基于本地位置或远程位置
- jv sheet align <对齐任务> [local/remote] - 选择基于本地位置或远程位置
- jv sheet align - 手动指定对齐方式
+ jv sheet align tasks - 查看所有需要对齐的项
+
+ 对于移动项:
+ jv sheet align <项> [local/remote] - 对齐指定移动项
+ jv sheet align moved [local/remote] - 对齐所有移动项
+
+ 对于丢失项:
+ jv sheet align <项> <创建项> - 指向创建项,以确认移动
+ jv sheet align <项> confirm - 确认该文件已丢失
+ jv sheet align lost confirm - 确认所有丢失项
+
+ jv sheet align --work - 使用编辑器模式对齐文件
表是 JustEnoughVCS 中的核心概念,每个表代表一块独立的文件集合
您可以在不同的表之间切换工作,或者将文件从一张表导出到另一张表
@@ -484,6 +492,16 @@ jv:
from_core: |
**错误**:`%{err}`(该错误来自核心调用)
+ sheet:
+ align:
+ no_direction: |
+ 无法确认对齐的方向!
+ **提示**:使用 local 或 remote 来表示您要保留本地或远程的路径
+
+ align_item_not_found: |
+ 无法找到该对齐项!
+ **提示**:使用 `jv align` 查看可用对齐项
+
account:
no_user_dir: 无法找到用户目录!
add: 添加账户 `%{account}` 失败,请检查账户是否已存在。
@@ -602,6 +620,18 @@ jv:
**没有可以编辑的表!**
您没有任何一张表,可使用 `jv make <表名>` 创建一张新表
+ align:
+ list: |
+ 您的本地工作区有如下变更待处理:
+ %{tasks}
+
+ task_name: 项名称
+ local_path: 本地文件
+ remote_path: 远程文件
+
+ no_changes: |
+ 很好,本地工作区并没有结构变更!
+
docs:
list:
header: |