diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-11-10 09:25:17 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-11-10 09:25:17 +0800 |
| commit | 4a8f272e7c72205707990fa0a9eab4fe57e12c7d (patch) | |
| tree | 2508124eca3acb38b8ac57b0e2c10308ea2b43aa /locales/help_docs | |
| parent | b9e1964bdf75c2e06786a79426d41f0516de68b4 (diff) | |
Add helpful error tips for common workspace issues
Diffstat (limited to 'locales/help_docs')
| -rw-r--r-- | locales/help_docs/en.yml | 16 | ||||
| -rw-r--r-- | locales/help_docs/zh-CN.yml | 14 |
2 files changed, 30 insertions, 0 deletions
diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml index 07ff900..746fe4c 100644 --- a/locales/help_docs/en.yml +++ b/locales/help_docs/en.yml @@ -155,6 +155,22 @@ jv: Target - %{build_target} Platform - %{build_platform} - %{build_toolchain} + tip: + not_workspace: | + Not in workspace directory. + Use `jv create <name>` or `jv init` to create workspace + + no_account: | + No accounts registered on this computer. + Use `jv account add <account_name>` to create account + + no_account_set: | + Current workspace account is `unknown`, meaning no account is set + Use `jv as <account_name>` to set account for workspace + + account_not_exist: | + The account `%{account}` set for the current workspace is not registered on your computer + help: | **JustEnoughVCS** This program connects to upstream vaults to synchronize and commit changes to local workspace files for collaborative work. diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml index 42795d2..a7a5be1 100644 --- a/locales/help_docs/zh-CN.yml +++ b/locales/help_docs/zh-CN.yml @@ -149,6 +149,20 @@ jv: 目标:%{build_target} 平台:%{build_platform} - %{build_toolchain} + tip: + not_workspace: | + 当前不在工作区目录,您可使用 `jv create <名称>` 或 `jv init` 创建工作区 + + no_account: | + 您的计算机没有任何账户注册,可使用 `jv account add <账户名称>` 以创建账户 + + no_account_set: | + 当前工作区的账户为 `unknown`,这意味着您并未设置账户 + 使用 `jv as <账户名称>` 来为工作区指定账户 + + account_not_exist: | + 当前工作区设置的账户 `%{account}` 并未注册至您的计算机 + help: | **JustEnoughVCS 本地工作区命令** 该程序将连接至上游库,用以同步、提交本地工作区文件的变化,以供协同创作 |
