Skip to content

feat: --keyword / --keyword-plural for xgotext #124

@decentral1se

Description

@decentral1se

In xgettext-go you have several additional flags like this invocation (pulled from the incus project):

xgettext-go -o po/$(DOMAIN).pot --add-comments-tag=TRANSLATORS: --sort-output --package-name=$(DOMAIN) --msgid-bugs-address=lxc-devel@lists.linuxcontainers.org --keyword=i18n.G --keyword-plural=i18n.NG cmd/incus/*.go shared/cliconfig/*.go

I'd like to add the --keyword=... / --keyword-plural=... to xgotext which I personally need for a project.

Just creating this in case there are objections, PR incoming when I get time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions