Mark command short descriptions with translators: tag
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

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

@ -23,6 +23,7 @@ func Run(version, commit string) {
rootCmd := &cobra.Command{
// translators: `abra` binary name
Use: i18n.G("abra [cmd] [args] [flags]"),
// translators: Short description for `abra` binary
Short: i18n.G("The Co-op Cloud command-line utility belt 🎩🐇"),
Version: fmt.Sprintf("%s-%s", version, commit[:7]),
ValidArgs: []string{
@ -82,6 +83,7 @@ func Run(version, commit string) {
// translators: `man` command
Use: i18n.G("man [flags]"),
Aliases: []string{"m"},
// translators: Short description for `man` command
Short: i18n.G("Generate manpage"),
Example: i18n.G(` # generate the man pages into /usr/local/share/man/man1
abra_path=$(which abra) # pass abra absolute path to sudo below