Which finishes in 1/3 of a second vs. the 10+ minutes or so it takes xgotext. You can grab it with: go install -v -x github.com/snapcore/snapd/i18n/xgettext-go@2.57.1 Coming from https://github.com/lxc/incus/blob/8a2598a524bbe5581e0ce62d2ae99262199a4717/Makefile#L270-L291. I'm pretty convinced this tool is reliable since incus is a huge project which has existed for years...
It probably makes sense to wait till the dust settles in toolshed/abra#608 before making the switch here...
@3wordchant from the WIP rabbit hole of https://git.coopcloud.tech/toolshed/abra/pulls/608...
I'll spare you the gory details (unless you care) but I am now running:
```bash
xgettext-go \
-o pkg/i18n/locales/abra.pot \
--keyword=i18n.G \
--sort-output \
$(find . -name "*.go" -not -path "*vendor*")
```
Which finishes in 1/3 of a second vs. the 10+ minutes or so it takes `xgotext`. You can grab it with: `go install -v -x github.com/snapcore/snapd/i18n/xgettext-go@2.57.1` Coming from https://github.com/lxc/incus/blob/8a2598a524bbe5581e0ce62d2ae99262199a4717/Makefile#L270-L291. I'm pretty convinced this tool is reliable since `incus` is a huge project which has existed for years...
It probably makes sense to wait till the dust settles in https://git.coopcloud.tech/toolshed/abra/pulls/608 before making the switch here...
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
@3wordchant from the WIP rabbit hole of toolshed/abra#608...
I'll spare you the gory details (unless you care) but I am now running:
Which finishes in 1/3 of a second vs. the 10+ minutes or so it takes
xgotext. You can grab it with:go install -v -x github.com/snapcore/snapd/i18n/xgettext-go@2.57.1Coming from https://github.com/lxc/incus/blob/8a2598a524bbe5581e0ce62d2ae99262199a4717/Makefile#L270-L291. I'm pretty convinced this tool is reliable sinceincusis a huge project which has existed for years...It probably makes sense to wait till the dust settles in toolshed/abra#608 before making the switch here...
make i18nis pretty damn fast now 👇It's here 🤘