Commit d7ffa422311eb9640b05a7549c41e05b2c008119
1 parent
226de2e6
-translated form labels
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
frontend/views/comment/artbox_comment_form.php
... | ... | @@ -51,12 +51,12 @@ |
51 | 51 | } |
52 | 52 | if (\Yii::$app->user->isGuest) { |
53 | 53 | echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) |
54 | - ->textInput()->label('Ваше имя'); | |
54 | + ->textInput()->label('Имя'); | |
55 | 55 | echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) |
56 | 56 | ->textInput([ 'options' => [ 'class' => 'form-control' ] ])->label('Email'); |
57 | 57 | } |
58 | 58 | echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) |
59 | - ->textarea()->label('Текст сообщения'); | |
59 | + ->textarea()->label('Сообщения'); | |
60 | 60 | echo Html::tag( |
61 | 61 | 'div', |
62 | 62 | Html::submitButton( | ... | ... |
frontend/views/site/comment/artbox_comment_form.php
... | ... | @@ -50,12 +50,12 @@ |
50 | 50 | } |
51 | 51 | if (\Yii::$app->user->isGuest) { |
52 | 52 | echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) |
53 | - ->textInput()->label('Ваше имя'); | |
53 | + ->textInput()->label('Имя'); | |
54 | 54 | echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) |
55 | 55 | ->textInput()->label('Email'); |
56 | 56 | } |
57 | 57 | echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) |
58 | - ->textarea()->label('Текст сообщения'); | |
58 | + ->textarea()->label('Сообщение'); | |
59 | 59 | echo Html::tag( |
60 | 60 | 'div', |
61 | 61 | Html::submitButton( | ... | ... |