Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,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.'
)
];
}
$this->getResponse()->representJson($this->jsonHelper->jsonEncode($result));
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/AdminNotification/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,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."