Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkup does not capture translation strings in variables that have been reinitialized #136

Open
Aerex opened this issue Jun 3, 2024 · 0 comments

Comments

@Aerex
Copy link
Collaborator

Aerex commented Jun 3, 2024

Context

The checkup command cannot find a string translation in a variable that has been reinitialized.

For example, assume the all.en_US.json translation file contain the message IDs: Hello World and Hello World!! and the following code snippet is given.

message := "Hello World"

fmt.Println(T(message))

message = "Hello World!!"

If a user runs checkup on the code it will state that Hello World!! is found in all.en_US.json but not in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant