From 939453c062bef77644776ff6488b2b0ff56f4ae5 Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Wed, 15 Nov 2017 16:26:55 +0200 Subject: [PATCH] success text translate --- common/messages/ru/app.php | 2 ++ frontend/controllers/SiteController.php | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php index ad20aad..1d1e96a 100755 --- a/common/messages/ru/app.php +++ b/common/messages/ru/app.php @@ -34,4 +34,6 @@ '(подпись для пользователей)' => '', '(подпись для сессий)' => '', '(подпись для приветствия)' => '', + 'Success' => 'Сообщение отправлено!', + 'Success Text' => 'Спасибо, мы свяжемся с вами в ближайшее время.', ]; \ No newline at end of file diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index fec5945..988027f 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -163,10 +163,8 @@ ->send(); $alert = "
-

Success

-

- Success text -

+

".\Yii::t('app', 'Success')."

+

".\Yii::t('app', 'Success Text')."

"; return [ -- libgit2 0.21.4