Skip to content

Commit cffef6f

Browse files
author
Stanislav Idolov
authored
ENGCOM-1649: [Backport] Added language translation for message string #15444
2 parents 2d515af + 64134a1 commit cffef6f

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)