You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When translating the following test-strings: {{__('This is a "Test", followed by some text')}} {{__("This is another \"Test\", followed by more text")}}
They both result in wrong keys. They keys are as follows: "This is a \"Test": "", "This is another \"Test": "",
I was about to do a pull request but i cant seem to figure out the regexp rules in the parser... Its not my strong suit....
Anyway here is a link to the regepx rules and tester, would really appreciate some help :)
The text was updated successfully, but these errors were encountered:
Thank you for reporting. I've had a similar issues with quotes that I fixed a few months ago. I'll see what can I do. I'm certain I need to improve the regex.
It solves the issue i posted but it does not manage to escape double quotation marks if the string is created using double quotation marks. See this tester: https://regex101.com/r/94oA7o/1
When translating the following test-strings:
{{__('This is a "Test", followed by some text')}}
{{__("This is another \"Test\", followed by more text")}}
They both result in wrong keys. They keys are as follows:
"This is a \"Test": "",
"This is another \"Test": "",
I was about to do a pull request but i cant seem to figure out the regexp rules in the parser... Its not my strong suit....
Anyway here is a link to the regepx rules and tester, would really appreciate some help :)
The text was updated successfully, but these errors were encountered: