diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-02-04 00:27:16 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-02-04 00:27:16 +0800 |
| commit | d19e5d84ee21502fd3440511d4ffb1ee1f49d3b2 (patch) | |
| tree | fb8efef6f8e9a26c5b60d4ac220b11d6c6f0775e /resources | |
| parent | 7ee0d3f20c875e7405bb8442c5eb0228d1599a03 (diff) | |
Refactor build system and implement complete renderer system
- Split monolithic build.rs into modular async generators
- Add renderer override system with type-safe dispatch
- Implement command template macro for consistent command definitions
- Add proc-macro crates for command and renderer systems
- Reorganize directory structure for better separation of concerns
- Update documentation to reflect new architecture
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/locales/jvn/en.yml | 22 | ||||
| -rw-r--r-- | resources/locales/jvn/zh-CN.yml | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/resources/locales/jvn/en.yml b/resources/locales/jvn/en.yml index ee386f2..8768e6a 100644 --- a/resources/locales/jvn/en.yml +++ b/resources/locales/jvn/en.yml @@ -28,9 +28,24 @@ process_error: An error occurred while parsing your command arguments! Please use `jv <command> --help` to view help + renderer_override_but_request_help: | + Renderer override mode is enabled, but help output was requested. + This is not expected. + + Tips: When using `--renderer` to specify a renderer, do not use `--help`. + If you wish to suppress all output when an error occurs, use the `--no-error-logs` flag. + other: | %{error} + downcast_failed: | + Type conversion failed! + + This is usually a compilation-phase issue, not a user input error. + Please use `jv -v -C` to get detailed version traceback and contact the developers. + + github: https://github.com/JustEnoughVCS/CommandLine/ + prepare_error: io: | I/O error in preparation phase! @@ -95,3 +110,10 @@ render_error: renderer_not_found: | Renderer `%{renderer_name}` not found! + + type_mismatch: | + Render type mismatch! + This is usually a compilation-phase issue, not a user input error. + Please use `jv -v -C` to get detailed version traceback and contact the developers. + + github: https://github.com/JustEnoughVCS/CommandLine/ diff --git a/resources/locales/jvn/zh-CN.yml b/resources/locales/jvn/zh-CN.yml index f62ffb7..455ca90 100644 --- a/resources/locales/jvn/zh-CN.yml +++ b/resources/locales/jvn/zh-CN.yml @@ -27,9 +27,24 @@ process_error: 在将您的命令参数进行解析时出现错误! 请使用 `jv <命令> --help` 查看帮助 + renderer_override_but_request_help: | + 启用渲染器覆盖模式,但请求输出帮助信息 + 这不符合预期 + + 请在使用 `--renderer` 指定渲染器时,不要使用 `--help` + 若您希望在出现错误时,不输出任何内容,请使用 `--no-error-logs` 标识 + other: | %{error} + downcast_failed: | + 类型转换失败! + + 这通常是编译期造成的问题,而非用户的错误输入 + 请使用 `jv -v -C` 获得详细的版本追溯,并联系开发人员 + + github: https://github.com/JustEnoughVCS/CommandLine/ + prepare_error: io: | 命令在准备阶段发生了 I/O 错误! @@ -93,3 +108,10 @@ render_error: renderer_not_found: | 无法找到渲染器 `%{renderer_name}`! + + type_mismatch: | + 渲染类型不匹配! + 这通常是编译期造成的问题,而非用户的错误输入 + 请使用 `jv -v -C` 获得详细的版本追溯,并联系开发人员 + + github: https://github.com/JustEnoughVCS/CommandLine/ |
