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 64
64
<type name =" Magento\Translation\Model\Js\Config" >
65
65
<arguments >
66
66
<argument name =" patterns" xsi : type =" array" >
67
- <item name =" i18n_translation" xsi : type =" string" ><![CDATA[ ~i18n\:\s*(["'])(.*?)(?<!\\)\1~]]> </item >
67
+ <item name =" i18n_translation" xsi : type =" string" ><![CDATA[ ~(?: i18n\:|_\.i18n\() \s*(["'])(.*?)(?<!\\)\1~]]> </item >
68
68
<item name =" translate_wrapping" xsi : type =" string" ><![CDATA[ ~translate\=("')([^\'].*?)\'\"~]]> </item >
69
69
<item name =" mage_translation_widget" xsi : type =" string" ><![CDATA[ ~(?s)(?:\$|jQuery)\.mage\.__\(\s*(['"])(?<translate>.+?)(?<!\\)\1\s*(*SKIP)\)\s*(?s)~]]> </item >
70
70
<item name =" mage_translation_static" xsi : type =" string" ><![CDATA[ ~(?s)\$t\(\s*(['"])(?<translate>.+?)(?<!\\)\1\s*(*SKIP)\)(?s)~]]> </item >
You can’t perform that action at this time.
0 commit comments