We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f3cdc commit 054c67dCopy full SHA for 054c67d
app/code/Magento/Translation/etc/di.xml
@@ -58,7 +58,7 @@
58
<arguments>
59
<argument name="patterns" xsi:type="array">
60
<item name="i18n_translation" xsi:type="string"><![CDATA[~i18n\:\s*(["'])(.*?)(?<!\\)\1~]]></item>
61
- <item name="mage_translation_widget" xsi:type="string">~\$\.mage\.__\((['"])(.+?)\1\)~</item>
+ <item name="mage_translation_widget" xsi:type="string">~\$\.mage\.__\((?s)[^'"]*?(['"])(.+?)\1(?s).*?\)~</item>
62
<item name="mage_translation_static" xsi:type="string">~\$t\((["'])(.+?)\1\)~</item>
63
</argument>
64
</arguments>
0 commit comments