joedixon / laravel-translation

Translation management for your Laravel application.
MIT License
694 stars 230 forks source link

File scanner: Ignore escaped quotes when detecting end of string (`\'`) #299

Open q-- opened 4 months ago

q-- commented 4 months ago

So, for __('\'Hello\', World!') it previously detected the string 'Hello\; after this fix, it'll properly detect 'Hello', World!

This happened for \' both when followed by a comma , or a closing parenthesis ).