Skip to content

Commit e2ab38c

Browse files
ENGCOM-1609: Added language translation for message string #15333
- Merge Pull Request #15333 from Yogeshks/magento2:yogeshks-patch-1 - Merged commits: 1. 21d429f 2. b4d1fd4 3. b176413 4. 0dc700b
2 parents 9a28908 + 0dc700b commit e2ab38c

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
@@ -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));

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

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