diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php index 4bc5884..652bc77 100644 --- a/common/messages/ru/app.php +++ b/common/messages/ru/app.php @@ -291,4 +291,8 @@ return [ 'error_sorry' => 'We are sorry - this page is not here anymore', 'error_404' => 'Error 404 - Page not found', 'gohomepage' => 'Go to Homepage', + + 'formname' => 'Имя', + 'formtheme' => 'Тема', + 'formmess' => 'Сообщение', ]; \ No newline at end of file diff --git a/common/messages/ua/app.php b/common/messages/ua/app.php index 8f5a89b..d476ea5 100644 --- a/common/messages/ua/app.php +++ b/common/messages/ua/app.php @@ -292,4 +292,8 @@ return [ 'error_sorry' => 'Просимо вибачення, даної сторінки не існує', 'error_404' => 'Помилка 404 - Сторінку не знайдено', 'gohomepage' => 'На головну', + + 'formname' => 'Ім\'я', + 'formtheme' => 'Тема', + 'formmess' => 'Повідомлення', ]; \ No newline at end of file diff --git a/frontend/views/site/contact.php b/frontend/views/site/contact.php index 45993a4..5497d05 100644 --- a/frontend/views/site/contact.php +++ b/frontend/views/site/contact.php @@ -148,7 +148,7 @@ JS;
field($contact, 'name') - ->textInput()->label('Имя'); ?> + ->textInput()->label(\Yii::t('app', 'formname')); ?>
@@ -157,7 +157,7 @@ JS;
field($contact, 'phone') - ->textInput()->label('Тема'); ?> + ->textInput()->label(\Yii::t('app', 'formtheme')); ?>
field($contact, 'message') @@ -165,7 +165,7 @@ JS; [ 'rows' => 3, ] - )->label('Сообщение'); ?> + )->label(\Yii::t('app', 'formmess')); ?>
-- libgit2 0.21.4