diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-23 09:42:09 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-23 09:42:09 +0800 |
| commit | f9fa7d65d775959efbc9609ccafd1fdce76129e4 (patch) | |
| tree | 111fc1933cfbe4bdc4e82207f53b6c1b74cc35e3 /resources/locales/jvn/cmds | |
| parent | aee17b68b2b213553cd06406a3a5713ec91f374d (diff) | |
Add localization and refactor status command output
Diffstat (limited to 'resources/locales/jvn/cmds')
| -rw-r--r-- | resources/locales/jvn/cmds/status/en.yml | 59 | ||||
| -rw-r--r-- | resources/locales/jvn/cmds/status/zh-CN.yml | 59 |
2 files changed, 118 insertions, 0 deletions
diff --git a/resources/locales/jvn/cmds/status/en.yml b/resources/locales/jvn/cmds/status/en.yml new file mode 100644 index 0000000..df0de19 --- /dev/null +++ b/resources/locales/jvn/cmds/status/en.yml @@ -0,0 +1,59 @@ +status: + header: | + You are viewing the status of `%{account}/%{sheet}` + + current_mode: + structural: | + Use `jv align <item> <plan>` to align or confirm moved, erased, or lost items + %{info} + content: | + Use `jv track <mapping>` to track your changes + %{info} + clean: | + No changes, clean workspace + + info_display: + moved: + header: | + [[yellow]]> MOVED:[[/]] + left: | + [[yellow]]> %{left}[[/]] + right: | + [[yellow]]-> %{right}[[/]] + created: + header: | + [[green]]+ CREATED:[[/]] + item: | + [[green]]+ %{item}[[/]] + lost: + header: | + [[red]]? LOST:[[/]] + item: | + [[red]]? %{item}[[/]] + erased: + header: | + [[magenta]]& ERASED:[[/]] + item: | + [[magenta]]& %{item}[[/]] + modified: + header: | + [[cyan]]* MODIFIED:[[/]] + item: | + [[cyan]]* %{item}[[/]] + item_wrong: | + [[red]]X %{item}[[/]] + [[red]] \____ %{reason}[[/]] + reason: + base_version_mismatch: Edited based on version `%{base_version}`, but the latest version is `%{latest_version}` + modified_but_not_held: Edited and held by @%{holder} + no_holder: Not held by anyone + + hints: + outdate: | + [[yellow]]Note: Workspace information is from %{h}:%{m}:%{s} ago. Please use `jv update` to refresh the status.[[/]] + + readonly: | + [[yellow]]Note: You are accessing the reference sheet as a guest. You cannot perform any version advancement or structural edits![[/]] + + host: | + [[yellow]]Note: You are accessing this sheet in HOST mode. You can now directly operate on mappings and content![[/]] diff --git a/resources/locales/jvn/cmds/status/zh-CN.yml b/resources/locales/jvn/cmds/status/zh-CN.yml new file mode 100644 index 0000000..9136ab3 --- /dev/null +++ b/resources/locales/jvn/cmds/status/zh-CN.yml @@ -0,0 +1,59 @@ +status: + header: | + 正在查看表:`%{account}/%{sheet}` + + current_mode: + structural: | + 使用 `jv align <项> <方案>` 以对齐或确认移动、擦除或丢失项 + %{info} + content: | + 使用 `jv track <映射>` 来追踪您的变更 + %{info} + clean: | + 当前无任何变化,干净的工作区 + + info_display: + moved: + header: | + [[yellow]]> 移动:[[/]] + left: | + [[yellow]]> %{left}[[/]] + right: | + [[yellow]]-> %{right}[[/]] + created: + header: | + [[green]]+ 新增:[[/]] + item: | + [[green]]+ %{item}[[/]] + lost: + header: | + [[red]]? 丢失:[[/]] + item: | + [[red]]? %{item}[[/]] + erased: + header: | + [[magenta]]& 擦除:[[/]] + item: | + [[magenta]]& %{item}[[/]] + modified: + header: | + [[cyan]]* 修改:[[/]] + item: | + [[cyan]]* %{item}[[/]] + item_wrong: | + [[red]]X %{item}[[/]] + [[red]] \____ %{reason}[[/]] + reason: + base_version_mismatch: 基于 `%{base_version}` 版本编辑,但最新版本为 `%{latest_version}` + modified_but_not_held: 由 @%{holder} 持有并编辑 + no_holder: 无人持有 + + hints: + outdate: | + [[yellow]]注意:工作区信息基于 %{h}:%{m}:%{s} 前,请使用 `jv update` 刷新状态[[/]] + + readonly: | + [[yellow]]注意:您正在以访客身份访问参考表,无法进行任何版本推进和结构编辑![[/]] + + host: | + [[yellow]]注意:您正在使用 HOST 模式访问该表,现可直接操作映射和内容![[/]] |
