Commit d7ffa422311eb9640b05a7549c41e05b2c008119

Authored by Eugeny Galkovskiy
1 parent 226de2e6

-translated form labels

frontend/views/comment/artbox_comment_form.php
@@ -51,12 +51,12 @@ @@ -51,12 +51,12 @@
51 } 51 }
52 if (\Yii::$app->user->isGuest) { 52 if (\Yii::$app->user->isGuest) {
53 echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) 53 echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ])
54 - ->textInput()->label('Ваше имя'); 54 + ->textInput()->label('Имя');
55 echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) 55 echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ])
56 ->textInput([ 'options' => [ 'class' => 'form-control' ] ])->label('Email'); 56 ->textInput([ 'options' => [ 'class' => 'form-control' ] ])->label('Email');
57 } 57 }
58 echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) 58 echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ])
59 - ->textarea()->label('Текст сообщения'); 59 + ->textarea()->label('Сообщения');
60 echo Html::tag( 60 echo Html::tag(
61 'div', 61 'div',
62 Html::submitButton( 62 Html::submitButton(
frontend/views/site/comment/artbox_comment_form.php
@@ -50,12 +50,12 @@ @@ -50,12 +50,12 @@
50 } 50 }
51 if (\Yii::$app->user->isGuest) { 51 if (\Yii::$app->user->isGuest) {
52 echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) 52 echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ])
53 - ->textInput()->label('Ваше имя'); 53 + ->textInput()->label('Имя');
54 echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) 54 echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ])
55 ->textInput()->label('Email'); 55 ->textInput()->label('Email');
56 } 56 }
57 echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) 57 echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ])
58 - ->textarea()->label('Текст сообщения'); 58 + ->textarea()->label('Сообщение');
59 echo Html::tag( 59 echo Html::tag(
60 'div', 60 'div',
61 Html::submitButton( 61 Html::submitButton(