From 4015ac6d594f971f83e9ff70578eb08fea390c80 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 26 Nov 2025 13:33:27 +0800 Subject: Add hold and throw commands for file edit rights - Implement `jv hold` and `jv throw` commands with file selection - Add pre-check validation for file existence, mapping, and edit rights - Support --details and --skip-failed flags for error handling - Add localization strings for both English and Chinese --- locales/help_docs/en.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'locales/help_docs/en.yml') diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml index 548ce0f..af6cea3 100644 --- a/locales/help_docs/en.yml +++ b/locales/help_docs/en.yml @@ -542,6 +542,31 @@ jv: The current workspace is not stained, cannot perform the next operation! **Tip**: Please first use `jv direct ` to direct to an upstream vault + change_edit_right: + no_selection: No files selected! + check_failed: | + In the %{num} selected files, there are items that failed pre-check! + Add `--details` after the command to view specific details + + **Tip**: Add `--skip-failed` after the command to skip the current failed items and proceed with the operation + + check_failed_details: + In the %{num} selected files, %{failed} files failed pre-check! + %{items} + + check_fail_item: | + %{path} (%{reason}) + + check_fail_reason: + not_found_in_local: File Not Found + not_found_in_sheet: Mapping Not Found In Sheet + not_a_tracked_file: File Not Tracked + base_version_unmatch: Version Mismatch + not_holder: Not Holder + has_holder: Held by %{holder} + already_held: Already Held + already_modified: Already Modified + docs: not_found: Doc `%{docs_name}` not found! no_doc_dir: | @@ -809,6 +834,22 @@ jv: not_owner: | You are not the holder of sheet `%{name}`, cannot drop it! + change_edit_right: + failed: + none: | + Do nothing! + + success: + hold: | + Held %{num} files! + + throw: | + Threw %{num} files! + + mixed: | + Successfully modified edit rights for %{num} files! + Held %{num_hold}, Threw %{num_throw} + track: done: | Tracked %{count} files to latest! -- cgit