diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-26 16:07:14 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-26 16:07:14 +0800 |
| commit | ba08a376182c839479e6e81cc60c5a0d24865f7f (patch) | |
| tree | 588962684261bb4732c747314ec29cfbb63ed3e4 | |
| parent | fb2ffa849a2cf9251cc274ebea5daa9898579787 (diff) | |
Add [GLOBAL] prefix to global flag descriptions in English and Chinesedeploy/nightly
| -rw-r--r-- | resources/locales/jvn/en.yml | 18 | ||||
| -rw-r--r-- | resources/locales/jvn/zh-CN.yml | 18 | ||||
| -rw-r--r-- | src/cmds/comp/workspace_sheet.rs | 2 |
3 files changed, 19 insertions, 19 deletions
diff --git a/resources/locales/jvn/en.yml b/resources/locales/jvn/en.yml index 2805f04..59d2a76 100644 --- a/resources/locales/jvn/en.yml +++ b/resources/locales/jvn/en.yml @@ -384,20 +384,20 @@ verbose: global_flag: confirm: | - Confirm all operations without prompting + [GLOBAL] Confirm all operations without prompting help: | - Show help information + [GLOBAL] Show help information lang: | - Set language + [GLOBAL] Set language no_error_logs: | - Disable error output + [GLOBAL] Disable error output no_progress: | - Disable progress bar + [GLOBAL] Disable progress bar quiet: | - Suppress all non-error output + [GLOBAL] Suppress all non-error output renderer: | - Specify output renderer + [GLOBAL] Specify output renderer verbose: | - Enable verbose output + [GLOBAL] Enable verbose output version: | - Show version information + [GLOBAL] Show version information diff --git a/resources/locales/jvn/zh-CN.yml b/resources/locales/jvn/zh-CN.yml index e7ed8e9..5fa559d 100644 --- a/resources/locales/jvn/zh-CN.yml +++ b/resources/locales/jvn/zh-CN.yml @@ -361,20 +361,20 @@ verbose: global_flag: confirm: | - 确认所有操作,无需提示 + [全局] 确认所有操作,无需提示 help: | - 显示帮助信息 + [全局] 显示帮助信息 lang: | - 设置语言 + [全局] 设置语言 no_error_logs: | - 禁用错误输出 + [全局] 禁用错误输出 no_progress: | - 禁用进度条 + [全局] 禁用进度条 quiet: | - 抑制所有非错误输出 + [全局] 抑制所有非错误输出 renderer: | - 指定输出渲染器 + [全局] 指定输出渲染器 verbose: | - 启用详细输出 + [全局] 启用详细输出 version: | - 显示版本信息 + [全局] 显示版本信息 diff --git a/src/cmds/comp/workspace_sheet.rs b/src/cmds/comp/workspace_sheet.rs index 8318fbe..d74f3c8 100644 --- a/src/cmds/comp/workspace_sheet.rs +++ b/src/cmds/comp/workspace_sheet.rs @@ -10,7 +10,7 @@ pub fn comp(ctx: CompletionContext) -> CompletionResult { "-A" = t!("workspace_sheet.comp.list_all").trim(), "--list-all" = t!("workspace_sheet.comp.list_all").trim(), "-p" = t!("workspace_sheet.comp.print_path").trim(), - "--print-path" = t!("workspace.sheet.comp.print_path").trim(), + "--print-path" = t!("workspace_sheet.comp.print_path").trim(), "-n" = t!("workspace_sheet.comp.new").trim(), "--new" = t!("workspace_sheet.comp.new").trim(), "-d" = t!("workspace_sheet.comp.delete").trim(), |
