diff --git a/cli/run.go b/cli/run.go index f96bb4bf..621f596f 100644 --- a/cli/run.go +++ b/cli/run.go @@ -217,12 +217,10 @@ Config: i18n.G("help for abra"), ) - rootCmd.PersistentFlags().BoolVarP( + rootCmd.Flags().BoolVarP( &internal.Version, i18n.G("version"), - // FIXME: temporary workaround for #648 - // i18n.G("v"), - "", + i18n.G("v"), false, i18n.G("version for abra"), ) diff --git a/pkg/i18n/locales/abra.pot b/pkg/i18n/locales/abra.pot index 0dbd4072..84f27786 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-09-05 17:09-0400\n" + "POT-Creation-Date: 2025-09-06 08:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -5374,7 +5374,7 @@ msgstr "" #. translators: `abra recipe versions` aliases. use a comma separated list of aliases #. with no spaces in between -#: ./cli/app/backup.go:311 ./cli/app/restore.go:122 ./cli/recipe/version.go:19 ./cli/server/prune.go:107 +#: ./cli/app/backup.go:311 ./cli/app/restore.go:122 ./cli/recipe/version.go:19 ./cli/run.go:223 ./cli/server/prune.go:107 msgid "v" msgstr "" @@ -5421,7 +5421,7 @@ msgstr "" msgid "version : %s, " msgstr "" -#: ./cli/run.go:227 +#: ./cli/run.go:225 msgid "version for abra" msgstr "" diff --git a/pkg/i18n/locales/es.mo b/pkg/i18n/locales/es.mo index 6310ac20..75ff3f94 100644 Binary files a/pkg/i18n/locales/es.mo and b/pkg/i18n/locales/es.mo differ diff --git a/pkg/i18n/locales/es.po b/pkg/i18n/locales/es.po index b0636007..206e9d5b 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-09-05 17:09-0400\n" +"POT-Creation-Date: 2025-09-06 08:28+0200\n" "PO-Revision-Date: 2025-09-04 08:14+0000\n" "Last-Translator: chasqui \n" "Language-Team: Spanish