You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first string ("One") is not extracted to "locales/en-US/out.gotext.json" and won't be in your translations file. The second string is extracted correctly.
What did you expect to see?
Both strings are extracted to "locales/en-US/out.gotext.json"
The text was updated successfully, but these errors were encountered:
Go version
go version go1.23.1 linux/amd64
Output of
go env
in your module/workspace:What did you do?
Put the following MWE in a module and run
go generate
(Playground: https://go.dev/play/p/uBxxYhGtldB)
What did you see happen?
The first string ("One") is not extracted to "locales/en-US/out.gotext.json" and won't be in your translations file. The second string is extracted correctly.
What did you expect to see?
Both strings are extracted to "locales/en-US/out.gotext.json"
The text was updated successfully, but these errors were encountered: