summaryrefslogtreecommitdiff
path: root/locales
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-12-25 16:14:13 +0800
committer魏曹先生 <1992414357@qq.com>2025-12-25 16:19:33 +0800
commitb00e3e750d118c35b0949b78c1a59242aeb43082 (patch)
tree6e36249835983adc3d6256f7a65664b963dc179d /locales
parentcc4bef746adda6cc48ddf93f113847b88a4e185d (diff)
Replace import/export commands with share command
Diffstat (limited to 'locales')
-rw-r--r--locales/help_docs/en.yml36
-rw-r--r--locales/help_docs/zh-CN.yml68
2 files changed, 50 insertions, 54 deletions
diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml
index a5a9fb0..e7e049d 100644
--- a/locales/help_docs/en.yml
+++ b/locales/help_docs/en.yml
@@ -263,9 +263,9 @@ jv:
info - Display individual file status
**FILE TRANSFER**:
- import <PACKAGE_NAME> - Import files from import area [[cyan]][REMOTE][[/]]
- import <REFERENCE_SHEET_PATH> - Import files from reference sheet [[cyan]][REMOTE][[/]]
- export <FILE> <SHEET_NAME> - Export files to other sheets [[cyan]][REMOTE][[/]]
+ share <FILE> <SHEET> <DESC> - Share files to other sheet [[cyan]][REMOTE][[/]]
+ share import <SHARE_ID> - Import share to current sheet [[cyan]][REMOTE][[/]]
+ share status - Display current sheet's share status
**FILE OPERATIONS**:
move <FILE> <TO> - Safely rename files [[cyan]][REMOTE][[/]]
@@ -418,26 +418,24 @@ jv:
The move mapping operation modifies the upstream mapping and synchronizes the local structure (use `--only-remote` to cancel local modification)
After moving, you usually need `jv align moved remote` to synchronize the local structure to the upstream
- export: |
- **Export Files to Import Area of Other Sheets**
- **Usage**: jv export <FILE> <TARGET_SHEET> -m <DESCRIPTION> -n <PACKAGE_NAME>
-
- **Example**: jv export data.csv analytics -m "Export analysis data" -n "analysis_data"
- This operation packages the specified files and sends them to the import area of the target sheet.
+ share: |
+ **Share File Visibility**
+ **Usage**:
+ jv share <file> <sheet> <description> - Share mapping to other sheets
+ jv share --work - Share files in editor mode
- Other collaborators can use the jv import command in the target sheet to import these files.
+ jv share status - View incoming shares
- import: |
- **Import Files to Current Sheet**
- **Usage**:
- jv import <PACKAGE_NAME> - Import files from import area
- jv import <REFERENCE_SHEET_PATH> - Import files from reference sheet
+ jv share import <share_id> - Import share to current sheet
+ jv share import <ref_mapping> - Import mapping from `ref` sheet
- **Example**:
- jv import Player_Import - From import area defined name
- jv import ref@Data/Player.csv - From reference sheet path
+ **Tip**: The import command can use the following parameters
+ --only-remote - Only import mapping into the sheet, do not modify local structure
+ --strict - Strict import mode, reject all conflicts, this is the default scheme
+ --skip - Skip conflicting items
+ --overwrite - Force overwrite conflicting mappings, dangerous operation
- Import operation copies files from other sheets or import areas to the current workspace.
+ **Sharing** is the simplest way to give file visibility to others
direct: |
**Direct to Specified Upstream Vault and Stain This Workspace**
diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml
index dc00606..c5e17ce 100644
--- a/locales/help_docs/zh-CN.yml
+++ b/locales/help_docs/zh-CN.yml
@@ -242,33 +242,33 @@ jv:
**表操作**:
sheet [list|use|exit|make|drop|align]
- list - 列出所有表
- use - 使用表,并开始工作
- exit - 退出表,清除当前修改
- make - 创建新表以供自己使用 [[cyan]][远程][[/]]
- drop - 抛弃表以供他人使用 [[cyan]][远程][[/]]
- align - 对齐文件结构到表 [[cyan]][远程][[/]]
+ list - 列出所有表
+ use - 使用表,并开始工作
+ exit - 退出表,清除当前修改
+ make - 创建新表以供自己使用 [[cyan]][远程][[/]]
+ drop - 抛弃表以供他人使用 [[cyan]][远程][[/]]
+ align - 对齐文件结构到表 [[cyan]][远程][[/]]
**上下文查询**:
- here - 显示当前路径的相关信息
- status - 显示当前表的状态信息
- info - 显示单个文件的状态
+ here - 显示当前路径的相关信息
+ status - 显示当前表的状态信息
+ info - 显示单个文件的状态
**文件传递**:
- import <文件包名称> - 从导入区导入文件 [[cyan]][远程][[/]]
- import <参照表中目录> - 从参照表导入文件 [[cyan]][远程][[/]]
- export <文件> <表名称> - 导出文件到其他表 [[cyan]][远程][[/]]
+ share <文件> <表> <描述> - 分享当前上下文的文件至其他表 [[cyan]][远程][[/]]
+ share import <分享ID> - 将分享导入到当前表 [[cyan]][远程][[/]]
+ share status - 显示当前表的分享状态
**文件操作**:
- move <文件> <到> - 安全地重命名文件 [[cyan]][远程][[/]]
- track <文件> - 追踪文件内容到最新版本 [[cyan]][远程][[/]]
- hold <文件> - 拿取文件,同步版本并获得编辑权 [[cyan]][远程][[/]]
- throw <文件> - 丢弃文件,同步版本并放弃编辑权 [[cyan]][远程][[/]]
- jump <文件> <版本> - 将文件的版本跳转至其他版本 [[cyan]][远程][[/]]
+ move <文件> <到> - 安全地重命名文件 [[cyan]][远程][[/]]
+ track <文件> - 追踪文件内容到最新版本 [[cyan]][远程][[/]]
+ hold <文件> - 拿取文件,同步版本并获得编辑权 [[cyan]][远程][[/]]
+ throw <文件> - 丢弃文件,同步版本并放弃编辑权 [[cyan]][远程][[/]]
+ jump <文件> <版本> - 将文件的版本跳转至其他版本 [[cyan]][远程][[/]]
**内建文档**:
- docs list - 列出所有可用的文档
- docs <文档名称> - 查看指定文档的内容
+ docs list - 列出所有可用的文档
+ docs <文档名称> - 查看指定文档的内容
您可以使用 jv <命令名称> --help 来查询更详细的帮助!
@@ -407,26 +407,24 @@ jv:
移动映射操作会修改上游的映射,并同步修改本地结构(使用 `--only-remote` 取消同步修改)
在移动完成后,通常需要 `jv align moved remote` 将本地结构同步至上游
- export: |
- **将文件导出至其他表的待导入区**
- **用法**:jv export <文件> <目标表> -m <描述> -n <文件包名称>
-
- **例如**:jv export data.csv analytics -m "导出分析数据" -n "analysis_data"
- 该操作会将指定的文件打包并发送到目标表的导入区
+ share: |
+ **分享文件的可见性**
+ **用法**:
+ jv share <文件> <表> <描述> - 分享映射到其他表
+ jv share --work - 编辑器模式下分享文件
- 其他协作者可以在目标表中使用 jv import 命令来导入这些文件
+ jv share status - 查看传入的分享
- import: |
- **导入文件到当前表**
- **用法**:
- jv import <文件包名称> - 从导入区导入文件
- jv import <参照表中目录> - 从参照表导入文件
+ jv share import <分享ID> - 将分享导入到当前表
+ jv share import <REF映射> - 从 `ref` 表中导入映射
- **例如**:
- jv import Player_Import - 来自导入区定义的名称
- jv import ref@Data/Player.csv - 来自参照表的路径
+ **提示**:import 命令可使用如下参数
+ --only-remote - 只在表中导入映射,不修改本地结构
+ --strict - 严格的导入模式,拒绝所有冲突,这是默认的方案
+ --skip - 跳过冲突项
+ --overwrite - 强制覆盖冲突的映射,危险的操作
- 导入操作会将文件从其他表或导入区复制到当前工作区
+ **分享** 是将文件可见性交由其他人的最简途径
direct: |
**定向到指定上游库,并染色该工作区**