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

IG selection phrase should use polyglot interpolation #101

Closed
dotasek opened this issue Oct 18, 2022 · 0 comments
Closed

IG selection phrase should use polyglot interpolation #101

dotasek opened this issue Oct 18, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dotasek
Copy link
Collaborator

dotasek commented Oct 18, 2022

options_ig_selected could be a polyglot interpolation instead of a concatenation within kotlin.

+ (props.polyglot.t("options_ig_selected") + " (${props.selectedIgSet.size})" + if (props.selectedIgSet.isEmpty()) { "" } else { ":"})

This is a minor change to a best practice so future devs can see an example interpolation in the codebase.

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

Successfully merging a pull request may close this issue.

2 participants