Closed jalalawqati closed 8 months ago
Hi @jalalawqati, thank you very much for integrating this feature on stringslint! I'm surely interested in having these changes merged. Let me check the PR content ๐
@jalalawqati stringslint 0.1.6 is out now. Thanks for your contribution! https://github.com/dral3x/StringsLint/releases/tag/0.1.6
@dral3x Thanks for the quick review and for the release ๐
I have a convenient extension around
NSLocalizedString
:To make
SwiftParser
recognize this pattern I need to pass it a custom regex. This branch does exactly that. The configuration yml.stringslint.yml
could then have:The match index indicates which index of the regex matches represents the localization key.
Please let me know if this is something you'd like to merge, otherwise I can move this to my fork. Thanks for the nice tool!