forked from toolshed/abra
Mark command short descriptions with translators: tag
This commit is contained in:
@ -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"},
|
||||
}
|
||||
|
Reference in New Issue
Block a user