From b320d9529495c1bb95a960620bff452218b7d4ad Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 15 Dec 2025 21:26:27 +0800 Subject: Implement `jv align` command with move, lost, and erased operations --- locales/help_docs/en.yml | 34 ++++++++++++++++++++++++++++++++++ locales/help_docs/zh-CN.yml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) (limited to 'locales/help_docs') diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml index b133865..3287781 100644 --- a/locales/help_docs/en.yml +++ b/locales/help_docs/en.yml @@ -538,6 +538,40 @@ jv: Cannot find this alignment item! **Tip**: Use `jv align` to view available alignment items + unknown_method: | + Unknown alignment method! + **Tip**: Use local or remote to indicate whether you want to keep local or remote paths + + target_exists: | + Cannot align local file `%{local}` to remote address `%{remote}` + because another file already exists here. Please move that file away and align again! + + move_failed: | + Failed to move local file: %{err} + **Tip**: Please check file permissions or if the path is correct + + remove_mapping_failed: | + Failed to remove local mapping: %{err} + + delete_mapping_failed: | + Failed to delete mapping from local table: %{err} + **Tip**: Please check the local table configuration file + + no_lost_matched: | + No matching lost item found! + + no_created_matched: | + No matching created item found! + + too_many_lost: | + Found multiple lost items! + + too_many_created: | + Found multiple created items! + + calc_hash_failed: | + Failed to calculate hash for file `%{file}` + account: no_user_dir: Cannot find user directory! add: Failed to add account `%{account}`, please check if the account already exists. diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml index 6a36a5d..88aa620 100644 --- a/locales/help_docs/zh-CN.yml +++ b/locales/help_docs/zh-CN.yml @@ -538,6 +538,43 @@ jv: 无法找到该对齐项! **提示**:使用 `jv align` 查看可用对齐项 + unknown_method: | + 未知的对齐方法! + **提示**:使用 local 或 remote 来表示您要保留本地或远程的路径 + + target_exists: | + 无法对齐本地文件 `%{local}` 至远程地址 `%{remote}` + 因为此处已存在其他文件,请移走该文件,并再次对齐! + + move_failed: | + 移动本地文件失败:%{err} + **提示**:请检查文件权限或路径是否正确 + + remove_mapping_failed: | + 移除本地映射失败:%{err} + + delete_mapping_failed: | + 从本地表中删除映射失败:%{err} + **提示**:请检查本地表配置文件 + + no_lost_matched: | + 未找到匹配的丢失项! + + no_created_matched: | + 未找到匹配的创建项! + + too_many_lost: | + 匹配到多个丢失项! + + too_many_created: | + 匹配到多个创建项! + + calc_hash_failed: | + 无法计算文件 `%{file}` 的哈希值 + + mapping_not_found: | + 未找到本地映射 `%{mapping}`! + account: no_user_dir: 无法找到用户目录! add: 添加账户 `%{account}` 失败,请检查账户是否已存在。 -- cgit