Semi-automated mass string commenting

This commit is contained in:
3wc
2025-08-27 12:42:50 -04:00
parent 5b6254a243
commit db5da1656a
45 changed files with 61 additions and 0 deletions

View File

@ -32,6 +32,7 @@ const SERVER = "localhost"
// NotifyCommand checks for available upgrades.
var NotifyCommand = &cobra.Command{
// translators: `notify` command
Use: i18n.G("notify [flags]"),
Aliases: []string{i18n.G("n")},
Short: i18n.G("Check for available upgrades"),
@ -71,6 +72,7 @@ Use "--major/-m" to include new major versions.`),
// UpgradeCommand upgrades apps.
var UpgradeCommand = &cobra.Command{
// translators: `app upgrade` command
Use: i18n.G("upgrade [[stack] [recipe] | --all] [flags]"),
Aliases: []string{i18n.G("u")},
Short: i18n.G("Upgrade apps"),
@ -468,6 +470,7 @@ func upgrade(cl *dockerclient.Client, stackName, recipeName, upgradeVersion stri
func newKadabraApp(version, commit string) *cobra.Command {
rootCmd := &cobra.Command{
// translators: `kadabra` binary name
Use: i18n.G("kadabra [cmd] [flags]"),
Version: fmt.Sprintf("%s-%s", version, commit[:7]),
Short: i18n.G("The Co-op Cloud auto-updater 🤖 🚀"),