Skip to content

Commit 21d429f

Browse files
Added language translation for message string
1 parent 9644572 commit 21d429f

File tree

1 file changed

+4
-2
lines changed
  • app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message

1 file changed

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

0 commit comments

Comments
 (0)