diff --git a/cli/run.go b/cli/run.go index 7a82359d..aafc86e4 100644 --- a/cli/run.go +++ b/cli/run.go @@ -54,7 +54,14 @@ func Run(version, commit string) { // 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 πŸŽ©πŸ‡"), + Short: i18n.G("The Co-op Cloud command-line utility belt πŸŽ©πŸ‡"), + // translators: Long description for `abra` binary. This needs to be + // translated in the same way as the Short description so that everything + // matches up + Long: i18n.G(`The Co-op Cloud command-line utility belt πŸŽ©πŸ‡ + +Config: + $ABRA_DIR: %s`, config.ABRA_DIR), Version: fmt.Sprintf("%s-%s", version, commit[:7]), ValidArgs: []string{ // translators: `abra app` command for autocompletion diff --git a/pkg/i18n/locales/abra.pot b/pkg/i18n/locales/abra.pot index 904e37ff..a51dff21 100644 --- a/pkg/i18n/locales/abra.pot +++ b/pkg/i18n/locales/abra.pot @@ -7,7 +7,7 @@ msgid "" msgstr "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" - "POT-Creation-Date: 2025-08-30 12:02+0200\n" + "POT-Creation-Date: 2025-08-30 12:12+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -43,7 +43,7 @@ msgid " # fetch from recipe catalogue\n" " abra recipe fetch gitea --ssh" msgstr "" -#: ./cli/run.go:129 +#: ./cli/run.go:136 msgid " # generate the man pages into /usr/local/share/man/man1\n" " abra_path=$(which abra) # pass abra absolute path to sudo below\n" " sudo $abra_path man\n" @@ -827,7 +827,7 @@ msgid "Generate labels for the main recipe service.\n" msgstr "" #. translators: Short description for `man` command -#: ./cli/run.go:128 +#: ./cli/run.go:135 msgid "Generate manpage" msgstr "" @@ -1237,6 +1237,17 @@ msgstr "" msgid "The Co-op Cloud command-line utility belt πŸŽ©πŸ‡" msgstr "" +#. translators: Long description for `abra` binary. This needs to be +#. translated in the same way as the Short description so that everything +#. matches up +#: ./cli/run.go:61 +#, c-format +msgid "The Co-op Cloud command-line utility belt πŸŽ©πŸ‡\n" + "\n" + "Config:\n" + " $ABRA_DIR: %s" +msgstr "" + #: ./cli/app/secret.go:163 msgid "This command inserts a secret into an app environment.\n" "\n" @@ -1559,7 +1570,7 @@ msgstr "" msgid "abra app labels 1312.net" msgstr "" -#: ./cli/run.go:107 +#: ./cli/run.go:114 #, c-format msgid "abra version: %s, commit: %s, lang: %s" msgstr "" @@ -1635,7 +1646,7 @@ msgid "ambiguous service list received, prompting for input" msgstr "" #. translators: `abra app` command for autocompletion -#: ./cli/run.go:61 +#: ./cli/run.go:68 msgid "app" msgstr "" @@ -1693,7 +1704,7 @@ msgid "attempting to scale %s to 1" msgstr "" #. translators: `abra autocomplete` command for autocompletion -#: ./cli/run.go:63 +#: ./cli/run.go:70 msgid "autocomplete" msgstr "" @@ -1860,7 +1871,7 @@ msgid "cannot use [version] and --latest together" msgstr "" #. translators: `abra catalogue` command for autocompletion -#: ./cli/run.go:65 +#: ./cli/run.go:72 msgid "catalogue" msgstr "" @@ -2328,7 +2339,7 @@ msgstr "" msgid "domain name for app" msgstr "" -#: ./cli/run.go:153 +#: ./cli/run.go:160 msgid "don't forget to run 'sudo mandb'" msgstr "" @@ -3245,7 +3256,7 @@ msgstr "" #. translators: `abra man` aliases. use a comma separated list of aliases #. with no spaces in between -#: ./cli/app/list.go:318 ./cli/app/ps.go:205 ./cli/app/secret.go:553 ./cli/app/secret.go:649 ./cli/recipe/list.go:104 ./cli/recipe/upgrade.go:376 ./cli/recipe/version.go:139 ./cli/run.go:121 ./cli/server/list.go:106 ./cli/updater/updater.go:560 +#: ./cli/app/list.go:318 ./cli/app/ps.go:205 ./cli/app/secret.go:553 ./cli/app/secret.go:649 ./cli/recipe/list.go:104 ./cli/recipe/upgrade.go:376 ./cli/recipe/version.go:139 ./cli/run.go:128 ./cli/server/list.go:106 ./cli/updater/updater.go:560 msgid "m" msgstr "" @@ -3268,12 +3279,12 @@ msgid "malformed version pin specification: %s" msgstr "" #. translators: `abra man` command for autocompletion -#: ./cli/run.go:67 +#: ./cli/run.go:74 msgid "man" msgstr "" #. translators: `man` command -#: ./cli/run.go:125 +#: ./cli/run.go:132 msgid "man [flags]" msgstr "" @@ -3733,7 +3744,7 @@ msgstr "" msgid "polling undeploy status" msgstr "" -#: ./cli/run.go:178 +#: ./cli/run.go:185 msgid "prefer offline & filesystem access" msgstr "" @@ -3865,7 +3876,7 @@ msgid "readme: %s, " msgstr "" #. translators: `abra recipe` command for autocompletion -#: ./cli/app/list.go:302 ./cli/app/list.go:309 ./cli/run.go:69 +#: ./cli/app/list.go:302 ./cli/app/list.go:309 ./cli/run.go:76 msgid "recipe" msgstr "" @@ -4287,7 +4298,7 @@ msgid "secrets are %s shown again, please save them %s" msgstr "" #. translators: `abra server` command for autocompletion -#: ./cli/app/list.go:325 ./cli/app/list.go:332 ./cli/app/new.go:333 ./cli/app/new.go:340 ./cli/run.go:71 +#: ./cli/app/list.go:325 ./cli/app/list.go:332 ./cli/app/new.go:333 ./cli/app/new.go:340 ./cli/run.go:78 msgid "server" msgstr "" @@ -4403,7 +4414,7 @@ msgstr "" msgid "show apps of a specific server" msgstr "" -#: ./cli/run.go:162 ./cli/updater/updater.go:507 +#: ./cli/run.go:169 ./cli/updater/updater.go:507 msgid "show debug messages" msgstr "" @@ -4679,7 +4690,7 @@ msgstr "" msgid "tmpfs options are incompatible with type volume" msgstr "" -#: ./cli/run.go:170 ./cli/updater/updater.go:515 +#: ./cli/run.go:177 ./cli/updater/updater.go:515 msgid "toggle non-interactive mode" msgstr "" @@ -4763,7 +4774,7 @@ msgstr "" msgid "unable to convert to JSON: %s" msgstr "" -#: ./cli/run.go:87 +#: ./cli/run.go:94 #, c-format msgid "unable to create %s: %s" msgstr "" @@ -4852,7 +4863,7 @@ msgstr "" msgid "unable to parse '%s' value as bool: %s" msgstr "" -#: ./cli/run.go:145 +#: ./cli/run.go:152 #, c-format msgid "unable to proceed, %s does not exist?" msgstr "" @@ -5034,7 +5045,7 @@ msgid "updating %s to %s in %s" msgstr "" #. translators: `abra upgrade` command for autocompletion -#: ./cli/run.go:73 +#: ./cli/run.go:80 msgid "upgrade" msgstr "" diff --git a/pkg/i18n/locales/es.po b/pkg/i18n/locales/es.po index 109fd1e2..a73e4f76 100644 --- a/pkg/i18n/locales/es.po +++ b/pkg/i18n/locales/es.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2025-08-30 12:02+0200\n" +"POT-Creation-Date: 2025-08-30 12:12+0200\n" "PO-Revision-Date: 2025-08-29 21:45+0000\n" "Last-Translator: chasqui \n" "Language-Team: Spanish