Skip to content

Commit

Permalink
MAGETWO-87575: Fix for #12081: missing translations in the js-transla…
Browse files Browse the repository at this point in the history
…tions.json #13528

 - Merge Pull Request #13528 from mattijv/magento2:2.2-develop
 - Merged commits:
   1. 9c35c45
  • Loading branch information
Oleksii Korshenko committed Feb 7, 2018
2 parents 6bdc08a + 9c35c45 commit b23ae19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/Translation/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<item name="translate_wrapping" xsi:type="string"><![CDATA[~translate\=("')([^\'].*?)\'\"~]]></item>
<item name="mage_translation_widget" xsi:type="string"><![CDATA[~(?:\$|jQuery)\.mage\.__\((?s)[^'"]*?(['"])(.+?)(?<!\\)\1(?s).*?\)~]]></item>
<item name="mage_translation_static" xsi:type="string"><![CDATA[~\$t\((?s)[^'"]*?(["'])(.+?)\1(?s).*?\)~]]></item>
<item name="translate_args" xsi:type="string"><![CDATA[~translate args\=("|'|"')([^\'].*?)('"|'|")~]]></item>
</argument>
</arguments>
</type>
Expand Down

0 comments on commit b23ae19

Please sign in to comment.