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

BUG: Translations are ignored if the same variable is in the formatstring twice #249

Closed
kevinlul opened this issue Aug 4, 2022 · 1 comment

Comments

@kevinlul
Copy link

kevinlul commented Aug 4, 2022

Simplified example based on a bug we found while testing.

t`**Pendulum Scale**: ${card.pendulum_scale}/${card.pendulum_scale}

PO file

msgid "**Pendulum Scale**: ${ card.pendulum_scale }/${ card.pendulum_scale }"
msgstr "**펜듈럼 스케일**: ${ card.pendulum_scale }/${ card.pendulum_scale }"

No matter what the locale is set to, the default English value will be returned.

@kevinlul
Copy link
Author

kevinlul commented Aug 4, 2022

Duplicate of #212

@kevinlul kevinlul closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2022
kevinlul added a commit to DawnbrandBots/bastion-bot that referenced this issue Aug 7, 2022
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