Mark command short descriptions with translators: tag

This commit is contained in:
3wc
2025-08-28 11:33:22 -04:00
parent acb6170768
commit 02b520200e
45 changed files with 1406 additions and 1232 deletions

View File

@ -25,6 +25,7 @@ var CatalogueSyncCommand = &cobra.Command{
// translators: `catalogue sync` command
Use: i18n.G("sync [flags]"),
Aliases: []string{i18n.G("g")},
// translators: Short description for `catalogue sync` command
Short: i18n.G("Sync recipe catalogue for latest changes"),
Args: cobra.NoArgs,
Run: func(cmd *cobra.Command, args []string) {
@ -44,6 +45,7 @@ var CatalogueGenerateCommand = &cobra.Command{
// translators: `catalogue generate` command
Use: i18n.G("generate [recipe] [flags]"),
Aliases: []string{i18n.G("g")},
// translators: Short description for `catalogue generate` command
Short: i18n.G("Generate the recipe catalogue"),
Long: i18n.G(`Generate a new copy of the recipe catalogue.
@ -266,6 +268,7 @@ your private key and enter your passphrase beforehand.
var CatalogueCommand = &cobra.Command{
// translators: `catalogue` command group
Use: i18n.G("catalogue [cmd] [args] [flags]"),
// translators: Short description for `catalogue` command group
Short: i18n.G("Manage the recipe catalogue"),
Aliases: []string{"c"},
}