Skip to content

Commit 5ebc47e

Browse files
author
Stanislav Idolov
authored
ENGCOM-1690: [Forwardport] Added language translation for message string #15529
2 parents f52d6f2 + d09ced8 commit 5ebc47e

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message/ListAction.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ public function execute()
6262
if (empty($result)) {
6363
$result[] = [
6464
'severity' => (string)\Magento\Framework\Notification\MessageInterface::SEVERITY_NOTICE,
65-
'text' => 'You have viewed and resolved all recent system notices. '
66-
. 'Please refresh the web page to clear the notice alert.',
65+
'text' => __(
66+
'You have viewed and resolved all recent system notices. '
67+
. 'Please refresh the web page to clear the notice alert.'
68+
)
6769
];
6870
}
6971
/** @var \Magento\Framework\Controller\Result\Json $resultJson */

app/code/Magento/AdminNotification/i18n/en_US.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ Severity,Severity
4848
"Date Added","Date Added"
4949
Message,Message
5050
Actions,Actions
51+
"You have viewed and resolved all recent system notices. Please refresh the web page to clear the notice alert.","You have viewed and resolved all recent system notices. Please refresh the web page to clear the notice alert."

app/code/Magento/Signifyd/etc/adminhtml/system.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<resource>Magento_Sales::fraud_protection</resource>
1414
<group id="signifyd" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0">
1515
<fieldset_css>signifyd-logo-header</fieldset_css>
16-
<group id="about" translate="label" sortOrder="15" showInDefault="1" showInWebsite="1" showInStore="0">
16+
<group id="about" translate="label comment" sortOrder="15" showInDefault="1" showInWebsite="1" showInStore="0">
1717
<frontend_model>Magento\Signifyd\Block\Adminhtml\System\Config\Fieldset\Info</frontend_model>
1818
<fieldset_css>signifyd-about-header</fieldset_css>
1919
<label><![CDATA[Protect your store from fraud with Guaranteed Fraud Protection by Signifyd.]]></label>
@@ -26,12 +26,12 @@
2626
</comment>
2727
<more_url>https://www.signifyd.com/magento-guaranteed-fraud-protection</more_url>
2828
</group>
29-
<group id="config" translate="label" sortOrder="15" showInDefault="1" showInWebsite="1" showInStore="0">
29+
<group id="config" translate="label comment" sortOrder="15" showInDefault="1" showInWebsite="1" showInStore="0">
3030
<fieldset_css>signifyd-about-header</fieldset_css>
3131
<label>Configuration</label>
3232
<comment><![CDATA[<a href="https://www.signifyd.com/resources/manual/magento-2/signifyd-on-magento-integration-guide/" target="_blank">View our setup guide</a> for step-by-step instructions on how to integrate Signifyd with Magento.<br />For support contact <a href="mailto:support@signifyd.com">support@signifyd.com</a>.]]>
3333
</comment>
34-
<field id="active" translate="label comment" type="select" showInDefault="1" showInWebsite="1" showInStore="0">
34+
<field id="active" translate="label" type="select" showInDefault="1" showInWebsite="1" showInStore="0">
3535
<label>Enable this Solution</label>
3636
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
3737
<config_path>fraud_protection/signifyd/active</config_path>

0 commit comments

Comments
 (0)