From a718941ec9acab6f1a5a2c31edb41a35ea7cef7a Mon Sep 17 00:00:00 2001 From: samorai Date: Tue, 1 Aug 2017 15:38:03 +0300 Subject: [PATCH] Added translation for pageTitle into MailBrandSettings --- modules/system/controllers/MailBrandSettings.php | 2 +- modules/system/lang/en/lang.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/system/controllers/MailBrandSettings.php b/modules/system/controllers/MailBrandSettings.php index 3a1181509..488ca9879 100644 --- a/modules/system/controllers/MailBrandSettings.php +++ b/modules/system/controllers/MailBrandSettings.php @@ -54,7 +54,7 @@ class MailBrandSettings extends Controller { parent::__construct(); - $this->pageTitle = 'Customize mail appearance'; + $this->pageTitle = 'system::lang.mail_brand.page_title'; BackendMenu::setContext('October.System', 'system', 'settings'); SettingsManager::setContext('October.System', 'mail_brand_settings'); diff --git a/modules/system/lang/en/lang.php b/modules/system/lang/en/lang.php index 8dd22edca..02d464918 100644 --- a/modules/system/lang/en/lang.php +++ b/modules/system/lang/en/lang.php @@ -227,6 +227,7 @@ return [ 'mail_brand' => [ 'menu_label' => 'Mail branding', 'menu_description' => 'Modify the colors and appearance of mail templates.', + 'page_title' => 'Customize mail appearance' ], 'install' => [ 'project_label' => 'Attach to Project',