Skip to content

fix: use positional placeholders in multi-arg strings#163

Open
cizra wants to merge 1 commit into
Myzel394:masterfrom
cizra:alibi/fix-resource-warnings
Open

fix: use positional placeholders in multi-arg strings#163
cizra wants to merge 1 commit into
Myzel394:masterfrom
cizra:alibi/fix-resource-warnings

Conversation

@cizra
Copy link
Copy Markdown

@cizra cizra commented May 25, 2026

Resource merging warned for every locale whose strings used multiple non-positional %s placeholders. Android format strings with more than one substitution need explicit argument positions, otherwise translators can reorder them and runtime formatting silently swaps values.

Convert the affected strings across all locales to %1$s / %2$s form.

Resource merging warned for every locale whose strings used multiple
non-positional %s placeholders. Android format strings with more than
one substitution need explicit argument positions, otherwise
translators can reorder them and runtime formatting silently swaps
values.

Convert the affected strings across all locales to %1$s / %2$s form.
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

Successfully merging this pull request may close these issues.

1 participant