From b5feecc4b3886c570094f79ed47ec03a76d0b580 Mon Sep 17 00:00:00 2001 From: Yogesh Suhagiya Date: Sat, 26 May 2018 11:21:58 +0530 Subject: [PATCH 1/2] Added language translation for message string --- .../Controller/Adminhtml/System/Message/ListAction.php | 6 ++++-- app/code/Magento/AdminNotification/i18n/en_US.csv | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message/ListAction.php b/app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message/ListAction.php index 303675b968256..d58a7ec31f77d 100644 --- a/app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message/ListAction.php +++ b/app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message/ListAction.php @@ -62,8 +62,10 @@ public function execute() if (empty($result)) { $result[] = [ 'severity' => (string)\Magento\Framework\Notification\MessageInterface::SEVERITY_NOTICE, - 'text' => 'You have viewed and resolved all recent system notices. ' - . 'Please refresh the web page to clear the notice alert.', + 'text' => __( + 'You have viewed and resolved all recent system notices. ' + . 'Please refresh the web page to clear the notice alert.' + ) ]; } /** @var \Magento\Framework\Controller\Result\Json $resultJson */ diff --git a/app/code/Magento/AdminNotification/i18n/en_US.csv b/app/code/Magento/AdminNotification/i18n/en_US.csv index 16c5abb9db0d2..db5a4c9254814 100644 --- a/app/code/Magento/AdminNotification/i18n/en_US.csv +++ b/app/code/Magento/AdminNotification/i18n/en_US.csv @@ -48,3 +48,4 @@ Severity,Severity "Date Added","Date Added" Message,Message Actions,Actions +"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." From 60bc9a814ccd0268dd3649e798a7ec3e0bb01350 Mon Sep 17 00:00:00 2001 From: Yogesh Suhagiya Date: Sat, 19 May 2018 15:22:57 +0530 Subject: [PATCH 2/2] Added language translation for comment tag --- app/code/Magento/Signifyd/etc/adminhtml/system.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/Signifyd/etc/adminhtml/system.xml b/app/code/Magento/Signifyd/etc/adminhtml/system.xml index d9ba2f7ffdff2..71f5916ca5325 100644 --- a/app/code/Magento/Signifyd/etc/adminhtml/system.xml +++ b/app/code/Magento/Signifyd/etc/adminhtml/system.xml @@ -13,7 +13,7 @@ Magento_Sales::fraud_protection signifyd-logo-header - + Magento\Signifyd\Block\Adminhtml\System\Config\Fieldset\Info signifyd-about-header @@ -26,12 +26,12 @@ https://www.signifyd.com/magento-guaranteed-fraud-protection - + signifyd-about-header View our setup guide for step-by-step instructions on how to integrate Signifyd with Magento.
For support contact support@signifyd.com.]]>
- + Magento\Config\Model\Config\Source\Yesno fraud_protection/signifyd/active