Skip to content

Commit fe0dcf7

Browse files
committed
i18n: add oma mirror latency clap help translation
1 parent 423b2be commit fe0dcf7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

i18n/en-US/oma.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,3 +430,4 @@ clap-download-only-help = Only download package(s) and dependency(ies) (without
430430
oma-mirror-up-to-date = { $mirror }: up to date
431431
oma-mirror-outdated = { $mirror }: outdated - { $duration }
432432
mirror-latency = Latency
433+
clap-mirror-latency-help = Test mirror synchronization latency

i18n/zh-CN/oma.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,3 +421,4 @@ clap-download-only-help = 只下载软件包和其依赖项,不安装
421421
oma-mirror-up-to-date = { $mirror }: 最新同步
422422
oma-mirror-outdated = { $mirror }: 存在延迟 - { $duration }
423423
mirror-latency = 延迟
424+
clap-mirror-latency-help = 测试镜像同步延迟

src/subcommand/mirror.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ pub enum MirrorSubCmd {
200200
#[arg(long, help = fl!("clap-no-refresh-help"))]
201201
no_refresh: bool,
202202
},
203-
/// Get mirrors latency
203+
/// Test mirror synchronization latency
204204
#[command(help_template = &*HELP_TEMPLATE)]
205205
#[command(next_help_heading = &**crate::args::ARG_HELP_HEADING)]
206206
Latency {

0 commit comments

Comments
 (0)