summaryrefslogtreecommitdiff
path: root/locales
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-12-09 12:30:42 +0800
committer魏曹先生 <1992414357@qq.com>2025-12-09 12:30:42 +0800
commitc740e28bd851221f32dc3f48cd94ee78352bba93 (patch)
tree2c8f8d068c39375e56d7621b47e115e1ee5096c4 /locales
parent1d1a1009ba795d70c0c06a2ffcc607c5704bf675 (diff)
Fix `jvv here` display for vault size calculation
Add timeout handling and proper file counting for virtual files Display progress message when calculation takes too long Add error message for size calculation failures
Diffstat (limited to 'locales')
-rw-r--r--locales/help_docs/en.yml11
-rw-r--r--locales/help_docs/zh-CN.yml5
2 files changed, 13 insertions, 3 deletions
diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml
index 80facb0..780e0d4 100644
--- a/locales/help_docs/en.yml
+++ b/locales/help_docs/en.yml
@@ -79,6 +79,10 @@ jvv:
You can use --port to set the listening port,
use --no-log to disable log output
+ info:
+ here:
+ analyzing_size: Analyzing vault storage size...
+
fail:
jvcs: "JustEnoughVCS Error: %{err}"
no_vault_here: No vault found here
@@ -99,6 +103,7 @@ jvv:
If you wish to use this directory as a vault, please use jvv init --help to view related help
vault_init_failed: Failed to initialize vault!
+ size_calc_error: Failed to calculate vault storage size!
member_ids_failed: Failed to get member IDs!
ref_sheet_not_found: Reference sheet `ref` not found, but it should exist!
@@ -943,7 +948,7 @@ jv:
jvii:
hints: |
[^S WRITE] [ESC EXIT]
-
+
errors:
no_file_path: "Error: No file path provided"
editor_error: "Editor error: %{error}"
@@ -955,12 +960,12 @@ jvii:
alternate_screen_error: "Failed to enter alternate screen: %{error}"
save_error: "Failed to save file: %{error}"
render_error: "Render error: %{error}"
-
+
messages:
file_saved: "File saved successfully"
unsaved_changes: "Unsaved changes! Press Ctrl+S to save or Esc again to exit"
modified: " *"
-
+
status:
lines: " lines"
diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml
index 3059283..2eb8bd4 100644
--- a/locales/help_docs/zh-CN.yml
+++ b/locales/help_docs/zh-CN.yml
@@ -76,6 +76,10 @@ jvv:
jvv service listen - 在当前库中启动服务器,以接受客户端连接
您可以使用 --port 来设定监听的端口,使用 --no-log 禁用日志输出
+ info:
+ here:
+ analyzing_size: 正在分析库存储大小...
+
fail:
jvcs: JustEnoughVCS 错误:%{err}
no_vault_here: 此处并没有找到库文件
@@ -96,6 +100,7 @@ jvv:
若您希望将该目录作为库,请使用 jvv init --help 查看相关帮助
vault_init_failed: 初始化库失败!
+ size_calc_error: 计算库存储大小失败!
member_ids_failed: 获得成员 ID 失败!
ref_sheet_not_found: 未找到参照表 `ref`,该参照表理应存在!