diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-10-19 18:46:48 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-10-19 18:46:48 +0800 |
| commit | 4cf8ce106c2cfdadb4830d6df1d5198215b023fe (patch) | |
| tree | 61ee3d8b7b718023091b4ac6d2023175a9897bdb | |
| parent | 4342fd2e93fc3c08c91c631c67dc7b29dbf4a380 (diff) | |
Update localization files
Optimize the expression of some semantics to make it more precise
| -rw-r--r-- | locales/help_docs/en.yml | 34 | ||||
| -rw-r--r-- | locales/help_docs/zh-CN.yml | 36 |
2 files changed, 41 insertions, 29 deletions
diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml index 4c35584..df6ee2b 100644 --- a/locales/help_docs/en.yml +++ b/locales/help_docs/en.yml @@ -10,7 +10,7 @@ jvv: jvv init - Create a vault in the current directory **Query**: - jvv here - Query information about the current directory + jvv here - Query information about the current vault jvv member list - Query all members **Member Management**: @@ -22,13 +22,7 @@ jvv: Additionally, you can use jvv <CMD_NAME> --help to query more detailed help! here: | - **Query Vault Information Here** - Displays different information based on the current directory: - - Root *(./)*: Basic vault information - - Members *(./members/)*: Members and key registrations - - Storage *(./storage/)*: File count and total size - - Sheets *(./sheets/)*: Tables and their managers - + **Display Vault Information Here** **Example**: cd ./target_dir/ && jvv here create: | @@ -81,7 +75,15 @@ jvv: set_current_dir: Failed to set current directory to %{dir} here: - cfg_not_found: Could not find vault configuration! + cfg_not_found: + Could not find vault configuration! + 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! + + member_ids_failed: Failed to get member IDs! + + ref_sheet_not_found: Reference sheet `ref` not found, but it should exist! create: not_empty: Operation denied! The specified directory already exists. @@ -95,9 +97,11 @@ jvv: success: here: - root: | - Found vault `%{name}`! - **Tip**: You can use jvv here --help to learn how to view vault details + info: | + Found vault *`%{name}`*! (%{num_mem} Members, %{num_pk} registered PubKeys) + Managing %{num_sheets} Sheets, %{num_vf} VirtualFiles, total %{total_size_gb} GB + + **Tip**: To start the server, run jvv service listen create: Successfully created vault at `%{name}`! @@ -110,10 +114,12 @@ jvv: (or they were never here?) list: header: | - **Members in the vault:** + **There are %{num} member(s) in the current vault:** footer: | - Total %{num} member(s) + **Among them, %{num} members have registered PubKeys.** + + status_key_registered: (PubKey Exists) service: listen: Listening for client connections in vault `%{path}` ... diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml index 893ea39..792d9c8 100644 --- a/locales/help_docs/zh-CN.yml +++ b/locales/help_docs/zh-CN.yml @@ -9,7 +9,7 @@ jvv: jvv init - 在当前目录中创建库 **查询**: - jvv here - 查询当前目录的信息 + jvv here - 查询当前库的信息 jvv member list - 查询所有成员 **成员管理**: @@ -21,14 +21,8 @@ jvv: 另外,你可以使用 jvv <命令名称> --help 来查询更详细的帮助! here: | - **查询此处库的信息** - 在不同目录执行该命令时会查询不同的信息: - 1. 当根目录 *(./)* 时:查询库的基本信息 - 2. 当成员目录 *(./members/)* 时:查询库的成员和密钥注册信息 - 3. 当存储目录 *(./storage/)* 时:查询库托管的文件总数量、总大小 - 4. 当表目录 *(./sheets/)* 时:查询库中所有的表和其管理者 - - **例如**:cd ./你需要查询的目录/ && jvv here + **显示此处库的信息** + **例如**:cd ./你需要查询的库/ && jvv here create: | **在给定的目录名称中创建库** @@ -79,7 +73,15 @@ jvv: set_current_dir: 无法设置到目录 %{dir} here: - cfg_not_found: 无法找到库的配置! + cfg_not_found: | + 无法找到库的配置! + 若您希望将该目录作为库,请使用 jvv init --help 查看相关帮助 + + vault_init_failed: 初始化库失败! + + member_ids_failed: 获得成员 ID 失败! + + ref_sheet_not_found: 未找到参照表 `ref`,该参照表理应存在! create: not_empty: 禁止的操作!指定的目录已经存在。 @@ -93,9 +95,11 @@ jvv: success: here: - root: | - 找到库 `%{name}`! - **提示**:你可以使用 jvv here --help 去了解如何查看库的详细信息 + info: | + 找到库 *`%{name}`*!(%{num_mem} 成员,%{num_pk} 位已注册公钥) + 其中,管理着 %{num_sheets} 张表,%{num_vf} 个虚拟文件,总共 %{total_size_gb} GB + + **提示**:若要启动服务端,请运行 jvv service listen create: 成功在 `%{name}` 创建库! @@ -106,10 +110,12 @@ jvv: remove: 好的, `%{member}` 已不再存在于库中(或本就不在?)! list: header: | - **当前库中的成员:** + **当前库中有 %{num} 名成员:** footer: | - 共 %{num} 个成员 + **其中,有 %{num} 名成员注册了公钥** + + status_key_registered: (公钥存在) service: listen: 正在库 `%{path}` 监听来自客户端的连接 ... |
