diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-10-24 18:26:22 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-10-24 18:26:22 +0800 |
| commit | 77d162ad9974752c0caa3340b20c91049c69feba (patch) | |
| tree | f32b2d8f934a0d938c5413687d1b4f2320ae07c3 /locales/help_docs | |
| parent | 1dd3c4abec5a84ae1bd8dd0a93670a5bef601ab3 (diff) | |
Update locales files
Diffstat (limited to 'locales/help_docs')
| -rw-r--r-- | locales/help_docs/en.yml | 55 | ||||
| -rw-r--r-- | locales/help_docs/zh-CN.yml | 44 |
2 files changed, 89 insertions, 10 deletions
diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml index db190e0..c72754c 100644 --- a/locales/help_docs/en.yml +++ b/locales/help_docs/en.yml @@ -119,7 +119,7 @@ jvv: footer: | **Among them, %{num} members have registered PubKeys.** - status_key_registered: (PubKey Exists) + status_key_registered: (Registered) service: listen: Listening for client connections in vault `%{path}` ... @@ -147,7 +147,7 @@ jv: jv account as <ACCOUNT_NAME> - Switch current account jv account add <ACCOUNT_NAME> - Add an account to this computer jv account remove <ACCOUNT_NAME> - Delete this account - jv account mvkey <ACCOUNT_NAME> <PRIVATE_KEY_FILE> - Move private key to specified account + jv account movekey <ACCOUNT_NAME> <PRIVATE_KEY_FILE> - Move private key to specified account **Information Synchronization**: jv update - Download latest information from upstream workspace @@ -183,7 +183,7 @@ jv: jv account as <ACCOUNT_NAME> - Switch current account jv account add <ACCOUNT_NAME> - Add an account to this computer jv account remove <ACCOUNT_NAME> - Delete this account - jv account mvkey <ACCOUNT_NAME> <PRIVATE_KEY_FILE> - Move private key to specified account + jv account movekey <ACCOUNT_NAME> <PRIVATE_KEY_FILE> - Move private key to specified account Accounts are identity identifiers on the local computer, each account can be associated with different private keys. You need to set up accounts before interacting with upstream vaults. @@ -329,11 +329,14 @@ jv: Built-in documentation includes JustEnoughVCS usage guides, collaboration paradigms, and best practices. - fail: - parse: - str_to_sockaddr: | - Could not recognize *`%{str}`* as an IP address - This is a problem with your input syntax! Please check **the content you entered** + fail: + path_not_found: | + The directory `%{path}` cannot be found! + + parse: + str_to_sockaddr: | + Could not recognize *`%{str}`* as an IP address + This is a problem with your input syntax! Please check **the content you entered** action_operation_fail: main: | @@ -374,3 +377,39 @@ jv: If you are the **administrator** and confirm this issue affects server operation, please: 1. Check if your JustEnoughVCS server is up to date 2. Submit an Issue at the JustEnoughVCS Git Repository + + account: + no_user_dir: Cannot find user directory! + add: Failed to add account `%{account}`, please check if the account already exists. + remove: Failed to remove account `%{account}`, please check if the account exists. + list: Failed to get account list! + not_found: Cannot find account `%{account}`! + + init_create_dir_not_empty: | + The current directory is not empty! + If you are certain you want to create here, please use --force to force execution! + + create: Failed to create local workspace! + init: Failed to create workspace here! + get_current_dir: Failed to get current directory! + + workspace_not_found: | + Local workspace not found! Please use this command within a local workspace + If you wish to use this directory as a local workspace, please use jv init + + read_cfg: Failed to read local workspace configuration file! + write_cfg: Failed to write changes to local workspace configuration file! + + success: + account: + as: Successfully switched this workspace's account to `%{account}` + add: Successfully added account `%{account}`! + remove: Successfully removed account `%{account}`! + list: + header: | + **There are %{num} account(s) on this computer:** + + status_has_key: (Registered) + move_key: Successfully moved the private key to the account directory! + create: Successfully created local workspace! + init: Successfully created workspace here! diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml index ea66095..442e7f9 100644 --- a/locales/help_docs/zh-CN.yml +++ b/locales/help_docs/zh-CN.yml @@ -143,7 +143,7 @@ jv: jv account as <账户名称> - 切换当前账户 jv account add <账户名称> - 为当前计算机添加账户 jv account remove <账户名称> - 删除该账户 - jv account mvkey <账户名称> <私钥文件> - 移动私钥到指定账户 + jv account movekey <账户名称> <私钥文件> - 移动私钥到指定账户 **信息同步**: jv update - 从上游工作区下载最新的信息 @@ -179,7 +179,7 @@ jv: jv account as <账户名称> - 切换当前账户 jv account add <账户名称> - 为当前计算机添加账户 jv account remove <账户名称> - 删除该账户 - jv account mvkey <账户名称> <私钥文件> - 移动私钥到指定账户 + jv account movekey <账户名称> <私钥文件> - 移动私钥到指定账户 账户是本地计算机上的身份标识,每个账户可以关联不同的私钥 您需要先设置账户才能与上游库进行交互 @@ -340,6 +340,9 @@ jv: 内建文档包含 JustEnoughVCS 的使用指南、协作范式和最佳实践 fail: + path_not_found: | + 您给出的目录 `%{path}` 无法找到! + parse: str_to_sockaddr: | 无法将 *`%{str}`* 识别为IP地址 @@ -383,3 +386,40 @@ jv: 若您作为 **管理员**,在确认该问题影响服务器运作,请 1. 检查您的 JustEnoughVCS 服务端是否最新 2. 前往 JustEnoughVCS 所在的 Git 版本库提交 Issue + + account: + no_user_dir: 无法找到用户目录! + add: 添加账户 `%{account}` 失败,请检查账户是否已存在。 + remove: 删除账户 `%{account}` 失败,请检查账户是否存在。 + list: 获取账户列表失败! + move_key: 将该私钥移动至账户目录失败! + not_found: 无法找到账户 `%{account}`! + + init_create_dir_not_empty: | + 当前目录并不是空的! + 若您确实确定在此处创建,请使用 --force 来强制执行! + + create: 创建本地工作区失败! + init: 在此处创建本地工作区失败! + get_current_dir: 无法获得当前目录! + + workspace_not_found: | + 无法找到本地工作区!请在本地工作区内使用该命令 + 若您希望将该目录作为本地工作区,请使用 jv init + + read_cfg: 无法读取本地工作区的配置文件! + write_cfg: 无法将修改写入本地工作区的配置文件! + + success: + account: + as: 成功将此工作区的账户切换至 `%{account}` + add: 成功添加账户 `%{account}`! + remove: 成功删除账户 `%{account}`! + list: + header: | + **当前计算机上有 %{num} 个账户:** + + status_has_key: (已注册私钥) + move_key: 成功将该私钥移动至账户目录! + create: 成功创建本地工作区! + init: 成功在此处创建工作区! |
