laravel-translation icon indicating copy to clipboard operation
laravel-translation copied to clipboard

Scanner doesn't allow whitespace before/after a param

Open jmiller42ce opened this issue 2 years ago • 1 comments

__( 'This will also go in the JSON array' )

This pattern will not be detected by the scanner since it contains whitespace surrounding the param.

Expected behavior Scanner should detect translation function with whitespace before/after param

version: 2.0

jmiller42ce avatar Jul 18 '22 14:07 jmiller42ce

Created PR #236 to solve.

jmiller42ce avatar Jul 18 '22 14:07 jmiller42ce

@joedixon friendly bump- our org could use my fork but I'd really prefer to stick with your original repo to stay up-to-date. Thanks!

jmiller42ce avatar Aug 29 '22 21:08 jmiller42ce

Just tagged v2.1.2 with your fix. Thank you!

joedixon avatar Aug 30 '22 09:08 joedixon