summaryrefslogtreecommitdiff
path: root/locales/help_docs/en.yml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-11-26 13:33:27 +0800
committer魏曹先生 <1992414357@qq.com>2025-11-26 13:33:27 +0800
commit4015ac6d594f971f83e9ff70578eb08fea390c80 (patch)
tree7524639a860f72b57bffa609c0ab447c5474787a /locales/help_docs/en.yml
parentd1e3c62072f3ab816a8f6fc71424a022f320f373 (diff)
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
Diffstat (limited to 'locales/help_docs/en.yml')
-rw-r--r--locales/help_docs/en.yml41
1 files changed, 41 insertions, 0 deletions
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 <upstream_address>` 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!