File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
app/code/Magento/Translation/etc Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 65
65
<argument name =" patterns" xsi : type =" array" >
66
66
<item name =" i18n_translation" xsi : type =" string" ><![CDATA[ ~i18n\:\s*(["'])(.*?)(?<!\\)\1~]]> </item >
67
67
<item name =" translate_wrapping" xsi : type =" string" ><![CDATA[ ~translate\=("')([^\'].*?)\'\"~]]> </item >
68
- <item name =" mage_translation_widget" xsi : type =" string" ><![CDATA[ ~\$ \.mage\.__\((?s)[^'"]*?(['"])(.+?)(?<!\\)\1(?s).*?\)~]]> </item >
68
+ <item name =" mage_translation_widget" xsi : type =" string" ><![CDATA[ ~(?:\$|jQuery) \.mage\.__\((?s)[^'"]*?(['"])(.+?)(?<!\\)\1(?s).*?\)~]]> </item >
69
69
<item name =" mage_translation_static" xsi : type =" string" ><![CDATA[ ~\$t\((?s)[^'"]*?(["'])(.+?)\1(?s).*?\)~]]> </item >
70
70
</argument >
71
71
</arguments >
You can’t perform that action at this time.
0 commit comments