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

Handle the case where duplicate placeholders are used #10

Open
g-Off opened this issue Jan 23, 2019 · 1 comment
Open

Handle the case where duplicate placeholders are used #10

g-Off opened this issue Jan 23, 2019 · 1 comment

Comments

@g-Off
Copy link
Owner

g-Off commented Jan 23, 2019

For example:
en: "%1$@ mentioned you on %2$@ at %3$@"
fr: "%1$@ mentioné youé oné %1$@ até %1$@"

The FR case should produce a lint error

@g-Off
Copy link
Owner Author

g-Off commented Feb 2, 2019

This situation is currently detected by the MissingPlaceholderLintRule. The output could be better however

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