mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
chore: add i18n about strings for CLI commands
This commit is contained in:
@@ -79,7 +79,10 @@ pub fn registry_api<C: Context>() -> ParentHandler<C> {
|
||||
.with_about("about.list-registry-info-packages")
|
||||
.with_call_remote::<CliContext>(),
|
||||
)
|
||||
.subcommand("info", info::info_api::<C>())
|
||||
.subcommand(
|
||||
"info",
|
||||
info::info_api::<C>().with_about("about.commands-registry-info"),
|
||||
)
|
||||
// set info and categories
|
||||
.subcommand(
|
||||
"os",
|
||||
|
||||
@@ -56,6 +56,7 @@ pub fn category_api<C: Context>() -> ParentHandler<C> {
|
||||
.with_custom_display_fn(|params, categories| {
|
||||
display_categories(params.params, categories)
|
||||
})
|
||||
.with_about("about.list-registry-categories")
|
||||
.with_call_remote::<CliContext>(),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user