From f5a21352716d73d4b5c4dcccb858e1f9c9f16b3b Mon Sep 17 00:00:00 2001 From: Alexander Steshuk Date: Thu, 2 Apr 2020 14:55:26 +0300 Subject: [PATCH] security-package/issues/182: Update for typo --- NotifierAdminUi/Controller/Adminhtml/Channel/NewAction.php | 2 +- NotifierAdminUi/Ui/Component/Listing/Channel/NewButton.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NotifierAdminUi/Controller/Adminhtml/Channel/NewAction.php b/NotifierAdminUi/Controller/Adminhtml/Channel/NewAction.php index 5364e356..ee6b3bb1 100755 --- a/NotifierAdminUi/Controller/Adminhtml/Channel/NewAction.php +++ b/NotifierAdminUi/Controller/Adminhtml/Channel/NewAction.php @@ -32,7 +32,7 @@ public function execute(): ResultInterface /** @var Page $resultPage */ $resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE); $resultPage->setActiveMenu('Magento_Notifier::channel'); - $resultPage->getConfig()->getTitle()->prepend(__('New channel')); + $resultPage->getConfig()->getTitle()->prepend(__('New Channel')); return $resultPage; } diff --git a/NotifierAdminUi/Ui/Component/Listing/Channel/NewButton.php b/NotifierAdminUi/Ui/Component/Listing/Channel/NewButton.php index 0c0d0ac8..3503f904 100755 --- a/NotifierAdminUi/Ui/Component/Listing/Channel/NewButton.php +++ b/NotifierAdminUi/Ui/Component/Listing/Channel/NewButton.php @@ -43,7 +43,7 @@ public function __construct( public function getButtonData(): array { return [ - 'label' => __('New channel'), + 'label' => __('New Channel'), 'class_name' => Container::SPLIT_BUTTON, 'options' => $this->getOptions(), 'sort_order' => 10