Skip to content

Commit 64134a1

Browse files
ENGCOM-1649: [Backport] Added language translation for message string #15444
- Merge Pull Request #15444 from Yogeshks/magento2:2.1-develop - Merged commits: 1. d2a3b1c 2. 9d01d76 3. 8efc333 4. 002a7c0 5. 0613e58
2 parents 3085bda + 0613e58 commit 64134a1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
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
@@ -61,8 +61,10 @@ public function execute()
6161
if (empty($result)) {
6262
$result[] = [
6363
'severity' => (string)\Magento\Framework\Notification\MessageInterface::SEVERITY_NOTICE,
64-
'text' => 'You have viewed and resolved all recent system notices. '
65-
. 'Please refresh the web page to clear the notice alert.',
64+
'text' => __(
65+
'You have viewed and resolved all recent system notices. '
66+
. 'Please refresh the web page to clear the notice alert.'
67+
)
6668
];
6769
}
6870
$this->getResponse()->representJson($this->jsonHelper->jsonEncode($result));

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ Severity,Severity
4949
"Date Added","Date Added"
5050
Message,Message
5151
Actions,Actions
52+
"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."

0 commit comments

Comments
 (0)