g-Off / stringray

macOS command line tool for manipulating and validating  strings files
MIT License
6 stars 1 forks source link

Handle the case where duplicate placeholders are used #10

Open g-Off opened 5 years ago

g-Off commented 5 years ago

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 commented 5 years ago

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