summaryrefslogtreecommitdiff
path: root/locales/help_docs/en.yml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-11-05 16:43:03 +0800
committer魏曹先生 <1992414357@qq.com>2025-11-05 16:43:03 +0800
commit81103c096c6709937b430c53d32f91b9a73c6355 (patch)
tree783921f0abf7a289baee6c3fb347572c5259b16d /locales/help_docs/en.yml
parentac6dd5db0c3a0880f7dd3d5c303c19d078c2ad3b (diff)
Add sheet drop functionality and improve sheet listing
- Implement `jv sheet drop` command with confirmation and error handling - Add restore confirmation when creating sheets that already exist as orphaned sheets - Enhance `jv sheet list` with --others and --all flags to show different sheet views - Update help text and localization files for new functionality
Diffstat (limited to 'locales/help_docs/en.yml')
-rw-r--r--locales/help_docs/en.yml44
1 files changed, 41 insertions, 3 deletions
diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml
index b899cdf..9bc5806 100644
--- a/locales/help_docs/en.yml
+++ b/locales/help_docs/en.yml
@@ -371,6 +371,16 @@ jv:
direct: |
Do you want to direct the current local workspace to the upstream vault %{upstream}?
+ sheet:
+ make:
+ restore: |
+ Sheet `%{sheet_name}` is no holder. Take ownership?
+ If not, use a different name to create a sheet.
+
+ drop: |
+ Are you sure you want to drop sheet `%{sheet_name}`?
+ After this, you will not be able to work in the sheet!
+
fail:
path_not_found: |
The directory `%{path}` cannot be found!
@@ -393,6 +403,7 @@ jv:
remove: Failed to remove account `%{account}`, please check if the account exists.
list: Failed to get account list!
not_found: Cannot find account `%{account}`!
+ as: Failed to set current account, please ensure the current sheet has been exited
init_create_dir_not_empty: |
The current directory is not empty!
@@ -457,10 +468,9 @@ jv:
other_sheet_item_no_holder: |
%{number}. %{name} (NO HOLDER)
tip_has_sheet: |
- You can use `jv use <SHEET_NAME>` to start working
+ You are not on any sheet, you can use `jv use <SHEET_NAME>` to use a sheet
tip_no_sheet: |
- **YOU HAVE NO SHEETS**
- You can use `jv sheet make <SHEET_NAME>` to create a new sheet
+ You don't have any sheets, you can use `jv make <SHEET_NAME>` to create a new sheet
result:
common:
@@ -496,7 +506,35 @@ jv:
success: |
Successfully created sheet `%{name}`!
Upstream changed,use `jv update` to get the latest information
+
+ success_restore: |
+ Successfully restored sheet `%{name}`!
+ Upstream changed,use `jv update` to get the latest information
+
sheet_already_exists: |
Sheet `%{name}` already exists!
+
sheet_creation_failed: |
Sheet creation failed: `%{error}`
+
+ drop:
+ success: |
+ Successfully dropped sheet `%{name}`!
+ Upstream changed, use `jv update` to sync to latest information
+ **Tip**: You can use `jv make %{name}` to restore this sheet
+
+ sheet_in_use: |
+ Sheet `%{name}` is in use, cannot drop!
+ **Tip**: Please use `jv exit` to exit current sheet first
+
+ sheet_not_exists: |
+ Sheet `%{name}` does not exist!
+
+ sheet_drop_failed: |
+ Failed to drop sheet: %{err}
+
+ no_holder: |
+ Sheet `%{name}` has no holder!
+
+ not_owner: |
+ You are not the holder of sheet `%{name}`, cannot drop it!