diff --git a/common/messages/en/app.php b/common/messages/en/app.php
index cc47cd3..06497b5 100644
--- a/common/messages/en/app.php
+++ b/common/messages/en/app.php
@@ -14,22 +14,23 @@ return [
'Gallery' =>'Gallery',
'Go to contact page' => 'Go to contact page',
'Our clients' =>'Our clients',
- 'No results found' =>'No results found',
- 'Home' =>'Home',
- 'Search' =>'Search',
- 'Search by tag' => 'Search by tag',
- "Search by article" => 'Search by article',
- 'Send' => 'Send',
- 'Send message' => 'Send message',
- 'Events' => 'Events',
- 'You question' => 'You question',
- 'News' => 'News',
- 'Media' => 'Media',
- 'More' => 'More',
- 'Form sends success' => 'Form sends success',
- 'Message' => 'Message',
- 'Name' => 'Name',
- 'Phone' => 'Phone',
+ 'No results found' =>'No results found',
+ 'Home' =>'Home',
+ 'Search' =>'Search',
+ 'Search by tag' => 'Search by tag',
+ "Search by article" => 'Search by article',
+ 'Send' => 'Send',
+ 'Send message' => 'Send message',
+ 'Events' => 'Events',
+ 'You question' => 'You question',
+ 'News' => 'News',
+ 'Media' => 'Media',
+ 'More' => 'More',
+ 'Form sends success' => 'Form sends success',
+ #'Message' => 'Message',
+ 'Message' => 'Messag as dflkasd;fk asp dok',
+ 'Name' => 'Name',
+ 'Phone' => 'Phone',
'Form sends success Header' => 'Success',
'Empty field' => 'This field is required.Please fill it',
'Wrong email' => 'Field Email is not valid',
@@ -37,6 +38,6 @@ return [
'Without category' =>'Without category',
'Our advantages' => 'Our advantages',
'Читать далее' => 'Read more',
-
+ 'Send Message' => 'tes st s',
];
\ No newline at end of file
diff --git a/common/messages/en/core.php b/common/messages/en/core.php
index 23234ff..497c4aa 100644
--- a/common/messages/en/core.php
+++ b/common/messages/en/core.php
@@ -1,9 +1,9 @@
'Name',
- 'email'=>'Email',
- 'phone'=>'Phone',
- 'message'=>'Message',
-
+ 'name' =>'Name',
+ 'email' =>'Email',
+ 'phone' =>'Phone',
+ 'message' =>'Message',
+ 'Message' => 'forntrend message',
];
\ No newline at end of file
diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php
index b475fbb..9340afa 100644
--- a/common/messages/ru/app.php
+++ b/common/messages/ru/app.php
@@ -14,7 +14,7 @@ return [
'Media' => 'Медиа',
'More' => 'Подробнее',
'Company Blog' => 'Блог компании',
- 'Message' => 'Сообщения',
+
'Name' => 'Имя',
'Phone' => 'Телефон',
'blog-txt' => ' Мы собираем полезные материалы по тематике бытовой техники и электроники',
@@ -35,6 +35,7 @@ return [
'Search by tag' => 'Поиск по тегам',
"Search by article" => 'Поиск по статьям',
'Wrong email' => 'Поле Email не валидное',
+ 'Message' => 'Сообщение',
];
\ No newline at end of file
diff --git a/frontend/config/main.php b/frontend/config/main.php
index 667140d..3404013 100755
--- a/frontend/config/main.php
+++ b/frontend/config/main.php
@@ -2,6 +2,8 @@
use artbox\core\components\SeoComponent;
use frontend\components\UrlManager;
+ $a = \Yii::t('app', 'Message');
+
$params = array_merge(
require( __DIR__ . '/../../common/config/params.php' ),
require( __DIR__ . '/../../common/config/params-local.php' ),
@@ -12,14 +14,18 @@
'id' => 'app-frontend',
'homeUrl' => '/',
'basePath' => dirname(__DIR__),
- 'bootstrap' => [ 'log' ],
+ 'bootstrap' => [
+ 'log',
+ 'i18n',
+ 'contact',
+ ],
'controllerNamespace' => 'frontend\controllers',
- 'container' => [
+ 'container' => [
'singletons' => [
'artbox\core\services\Languages' =>'artbox\core\services\Languages',
]
],
-
+
'components' => [
'request' => [
'csrfParam' => '_csrf-frontend',
@@ -111,7 +117,7 @@
'options' => [],
],
],
- 'buttonContent' => \Yii::t('app','Send'),
+ 'buttonContent' => \Yii::t('app', 'Send'),
'scenario' => 'feedback',
'sendEmail' => false,
'formId' => 'feedback-form',
@@ -177,7 +183,7 @@
'buttonOptions' => [
'class' => 'btn btn-template-main',
],
- 'buttonContent' => '' . \Yii::t('app', 'Message'),
+ 'buttonContent' => '' . \Yii::t('app', 'Send Message'),
'sendEmail' => false,
'ajax' => true,
'formId' => 'contact-form',
--
libgit2 0.21.4