Skip to content

Commit

Permalink
MC-13900: Email to a Friend updates
Browse files Browse the repository at this point in the history
- add translation
  • Loading branch information
anthoula committed May 2, 2019
1 parent 99435dd commit 18907a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/code/Magento/SendFriend/etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@
<resource>Magento_Config::sendfriend</resource>
<group id="email" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Email Templates</label>
<field id="enabled" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
<field id="enabled" translate="label comment" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
<label>Enabled</label>
<comment>
<![CDATA[We strongly recommend to enable a <a href="https://devdocs.magento.com/guides/v2.2/security/google-recaptcha.html" target="_blank">CAPTCHA solution</a> alongside enabling "Email to a Friend" to ensure abuse of this feature does not occur.]]>
</comment>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
<field id="template" translate="label comment" type="select" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/SendFriend/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ Enabled,Enabled
"Max Recipients","Max Recipients"
"Max Products Sent in 1 Hour","Max Products Sent in 1 Hour"
"Limit Sending By","Limit Sending By"
"We strongly recommend to enable a <a href=""%1"" target="_blank">CAPTCHA solution</a> alongside enabling ""Email to a Friend"" to ensure abuse of this feature does not occur.","We strongly recommend to enable a <a href=""%1"" target="_blank">CAPTCHA solution</a> alongside enabling ""Email to a Friend"" to ensure abuse of this feature does not occur."

0 comments on commit 18907a6

Please sign in to comment.