rootstrap / i18n_linter

Rails i18n Linter Gem
https://rootstrap.com
MIT License
44 stars 2 forks source link

Rule for queries #12

Closed f19ps closed 5 years ago

f19ps commented 5 years ago

New rule for query strings

The adopted approach to handle this is find patterns that indicate that a string could be a query. These patterns are located in Query#common_query_patterns

Change in MiddleSpace rule

The rule was changed to support strings like "hi, welcome!" with a non-letter character before a space, and many more.