Commit 50cf76a28157b71e0485913b492052b151a59d02
1 parent
ef5aec9d
translates
Showing
3 changed files
with
11 additions
and
3 deletions
Show diff stats
common/messages/ru/app.php
| ... | ... | @@ -291,4 +291,8 @@ return [ |
| 291 | 291 | 'error_sorry' => 'We are sorry - this page is not here anymore', |
| 292 | 292 | 'error_404' => 'Error 404 - Page not found', |
| 293 | 293 | 'gohomepage' => 'Go to Homepage', |
| 294 | + | |
| 295 | + 'formname' => 'Имя', | |
| 296 | + 'formtheme' => 'Тема', | |
| 297 | + 'formmess' => 'Сообщение', | |
| 294 | 298 | ]; |
| 295 | 299 | \ No newline at end of file | ... | ... |
common/messages/ua/app.php
| ... | ... | @@ -292,4 +292,8 @@ return [ |
| 292 | 292 | 'error_sorry' => 'Просимо вибачення, даної сторінки не існує', |
| 293 | 293 | 'error_404' => 'Помилка 404 - Сторінку не знайдено', |
| 294 | 294 | 'gohomepage' => 'На головну', |
| 295 | + | |
| 296 | + 'formname' => 'Ім\'я', | |
| 297 | + 'formtheme' => 'Тема', | |
| 298 | + 'formmess' => 'Повідомлення', | |
| 295 | 299 | ]; |
| 296 | 300 | \ No newline at end of file | ... | ... |
frontend/views/site/contact.php
| ... | ... | @@ -148,7 +148,7 @@ JS; |
| 148 | 148 | <div class="row"> |
| 149 | 149 | <div class="col-sm-12"> |
| 150 | 150 | <?= $form->field($contact, 'name') |
| 151 | - ->textInput()->label('Имя'); ?> | |
| 151 | + ->textInput()->label(\Yii::t('app', 'formname')); ?> | |
| 152 | 152 | </div> |
| 153 | 153 | |
| 154 | 154 | <div class="col-sm-6"> |
| ... | ... | @@ -157,7 +157,7 @@ JS; |
| 157 | 157 | </div> |
| 158 | 158 | <div class="col-sm-6"> |
| 159 | 159 | <?= $form->field($contact, 'phone') |
| 160 | - ->textInput()->label('Тема'); ?> | |
| 160 | + ->textInput()->label(\Yii::t('app', 'formtheme')); ?> | |
| 161 | 161 | </div> |
| 162 | 162 | <div class="col-sm-12"> |
| 163 | 163 | <?= $form->field($contact, 'message') |
| ... | ... | @@ -165,7 +165,7 @@ JS; |
| 165 | 165 | [ |
| 166 | 166 | 'rows' => 3, |
| 167 | 167 | ] |
| 168 | - )->label('Сообщение'); ?> | |
| 168 | + )->label(\Yii::t('app', 'formmess')); ?> | |
| 169 | 169 | </div> |
| 170 | 170 | |
| 171 | 171 | <div class="col-sm-12 text-center"> | ... | ... |