diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-14 21:39:30 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-14 21:39:30 +0800 |
| commit | 54b5567d6f1b1adaa6ada6a26faba0c5c492b7f3 (patch) | |
| tree | 407940ef4697e4b5eb2bf7384f26b6ec5e570a80 /resources/locales/jvn/cmds | |
| parent | 17e7b28f162b3ed75683948144237ee17f81f7a5 (diff) | |
Add version command with banner and compile info display
Diffstat (limited to 'resources/locales/jvn/cmds')
| -rw-r--r-- | resources/locales/jvn/cmds/version/en.yml | 20 | ||||
| -rw-r--r-- | resources/locales/jvn/cmds/version/zh-CN.yml | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/resources/locales/jvn/cmds/version/en.yml b/resources/locales/jvn/cmds/version/en.yml new file mode 100644 index 0000000..2f48936 --- /dev/null +++ b/resources/locales/jvn/cmds/version/en.yml @@ -0,0 +1,20 @@ +version: + banner_title_line: JustEnoughVCS + banner_cmd_version: | + CORE: %{cli_version} (%{build_time}) + banner_core_version: | + CLI: %{core_version} + no_banner_output: | + %{version} + no_banner_output_with_compile_info: | + VERSION: %{version} + + compile_info: + info: | + COMPILE_INFO: + __ Date: [[cyan]]%{build_time}[[/]] + __ Target: [[cyan]]%{target}[[/]] + __ Platform:[[cyan]]%{platform} - %{toolchain}[[/]] + + __ CORE:[[cyan]]%{core_branch}[[/]] (Commit: %{core_commit}) + __ CLI:[[cyan]]%{cli_branch}[[/]] (Commit: %{cli_commit}) diff --git a/resources/locales/jvn/cmds/version/zh-CN.yml b/resources/locales/jvn/cmds/version/zh-CN.yml new file mode 100644 index 0000000..0afd168 --- /dev/null +++ b/resources/locales/jvn/cmds/version/zh-CN.yml @@ -0,0 +1,20 @@ +version: + banner_title_line: JustEnoughVCS + banner_cmd_version: | + 命令行版本: %{cli_version} (%{build_time}) + banner_core_version: | + 核心库版本: %{core_version} + no_banner_output: | + %{version} + no_banner_output_with_compile_info: | + 版本: %{version} + + compile_info: + info: | + 编译信息: + __ 时间: [[cyan]]%{build_time}[[/]] + __ 目标: [[cyan]]%{target}[[/]] + __ 平台:[[cyan]]%{platform} - %{toolchain}[[/]] + + __ 核心库:[[cyan]]%{core_branch}[[/]] (Commit: %{core_commit}) + __ 命令行:[[cyan]]%{cli_branch}[[/]] (Commit: %{cli_commit}) |
