feat: msgctxt support
Some checks failed
continuous-integration/drone/push Build is failing

See #647
See toolshed/xgettext-go#1
This commit is contained in:
2025-09-30 19:07:31 +02:00
parent 0db1ee87fc
commit 033c9bfc13
14 changed files with 125 additions and 28 deletions

View File

@ -20,7 +20,7 @@ import (
// translators: `abra server add` aliases. use a comma separated list of
// aliases with no spaces in between
var serverAddAliases = i18n.G("a")
var serverAddAliases = i18n.GC("a", "server add")
var ServerAddCommand = &cobra.Command{
// translators: `server add` command

View File

@ -96,7 +96,7 @@ func init() {
ServerPruneCommand.Flags().BoolVarP(
&allFilter,
i18n.G("all"),
i18n.G("a"),
i18n.GC("a", "server prune"),
false,
i18n.G("remove all unused images"),
)