Commit 9b5711906ac054c39425f41848166d110a624dc8
1 parent
522563d2
translates 1.5
Showing
11 changed files
with
36 additions
and
26 deletions
Show diff stats
common/messages/ua/app.php
| @@ -66,4 +66,14 @@ | @@ -66,4 +66,14 @@ | ||
| 66 | 'Офис {office}' => 'Офіс {office}', | 66 | 'Офис {office}' => 'Офіс {office}', |
| 67 | 'На страницу контактов' => 'На сторінку контактів', | 67 | 'На страницу контактов' => 'На сторінку контактів', |
| 68 | 'Создание сайтов' => 'Створення сайтів', | 68 | 'Создание сайтов' => 'Створення сайтів', |
| 69 | + "Записаться на приём" => 'Записатися на прийом', | ||
| 70 | + 'Ждем Вас в нашей клинике!' => 'Чекаємо на Вас у нашій клініці!', | ||
| 71 | + 'Стоматология' => 'Стоматологія', | ||
| 72 | + 'Косметология' => 'Косметологія', | ||
| 73 | + 'ОШИБКА 404' => 'ПОМИЛКА 404', | ||
| 74 | + 'Похоже, мы не можем найти нужную вам страницу.' => 'Схоже, що ми не можемо знайти потрібну вам сторінку.', | ||
| 75 | + 'Попробуйте ещё раз' => 'Спробуйте ще раз', | ||
| 76 | + 'На главную' => 'На головну', | ||
| 77 | + 'Адрес' => 'Адреса', | ||
| 78 | + "Оставить отзыв" => 'Залишити відгук', | ||
| 69 | ]; | 79 | ]; |
| 70 | \ No newline at end of file | 80 | \ No newline at end of file |
frontend/views/page/view.php
| @@ -130,7 +130,7 @@ _________________________________________________________ --> | @@ -130,7 +130,7 @@ _________________________________________________________ --> | ||
| 130 | <div id="get-it" class="pages"> | 130 | <div id="get-it" class="pages"> |
| 131 | <div class="container"> | 131 | <div class="container"> |
| 132 | <div class="col-md-12 col-sm-12" style="text-align: center;"> | 132 | <div class="col-md-12 col-sm-12" style="text-align: center;"> |
| 133 | - <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="Записаться на приём">Записаться на прием</a> | 133 | + <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="<?=\Yii::t('app', 'Записаться на приём')?>"><?=\Yii::t('app', 'Записаться на приём')?></a> |
| 134 | </div> | 134 | </div> |
| 135 | </div> | 135 | </div> |
| 136 | </div> | 136 | </div> |
| 137 | \ No newline at end of file | 137 | \ No newline at end of file |
frontend/views/persone/index.php
| @@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
| 21 | <div class="row"> | 21 | <div class="row"> |
| 22 | <div class="col-md-12"> | 22 | <div class="col-md-12"> |
| 23 | <div class="heading"> | 23 | <div class="heading"> |
| 24 | - <h2>Персонал</h2> | 24 | + <h2><?=\Yii::t('app', 'Персонал')?></h2> |
| 25 | </div> | 25 | </div> |
| 26 | </div> | 26 | </div> |
| 27 | </div> | 27 | </div> |
| @@ -62,7 +62,7 @@ | @@ -62,7 +62,7 @@ | ||
| 62 | <div id="get-it" class="pages"> | 62 | <div id="get-it" class="pages"> |
| 63 | <div class="container"> | 63 | <div class="container"> |
| 64 | <div class="col-md-12 col-sm-12" style="text-align: center;"> | 64 | <div class="col-md-12 col-sm-12" style="text-align: center;"> |
| 65 | - <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="Записаться на приём">Записаться на прием</a> | 65 | + <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="<?=\Yii::t('app', 'Записаться на приём')?>"><?=\Yii::t('app', 'Записаться на приём')?></a> |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | </div> | 68 | </div> |
| 69 | \ No newline at end of file | 69 | \ No newline at end of file |
frontend/views/persone/view.php
| @@ -67,7 +67,7 @@ | @@ -67,7 +67,7 @@ | ||
| 67 | <div id="get-it" class="pages"> | 67 | <div id="get-it" class="pages"> |
| 68 | <div class="container"> | 68 | <div class="container"> |
| 69 | <div class="col-md-12 col-sm-12" style="text-align: center;"> | 69 | <div class="col-md-12 col-sm-12" style="text-align: center;"> |
| 70 | - <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="Записаться на приём">Записаться на прием</a> | 70 | + <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="<?=\Yii::t('app', 'Записаться на приём')?>"><?=\Yii::t('app', 'Записаться на приём')?></a> |
| 71 | </div> | 71 | </div> |
| 72 | </div> | 72 | </div> |
| 73 | </div> | 73 | </div> |
| 74 | \ No newline at end of file | 74 | \ No newline at end of file |
frontend/views/site/about.php
| @@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
| 32 | <div id="get-it" class="pages"> | 32 | <div id="get-it" class="pages"> |
| 33 | <div class="container"> | 33 | <div class="container"> |
| 34 | <div class="col-md-12 col-sm-12" style="text-align: center;"> | 34 | <div class="col-md-12 col-sm-12" style="text-align: center;"> |
| 35 | - <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="Записаться на приём">Записаться на прием</a> | 35 | + <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="<?=\Yii::t('app', 'Записаться на приём')?>"><?=\Yii::t('app', 'Записаться на приём')?></a> |
| 36 | </div> | 36 | </div> |
| 37 | </div> | 37 | </div> |
| 38 | </div> | 38 | </div> |
frontend/views/site/appment.php
| @@ -25,21 +25,21 @@ $this->params[ 'breadcrumbs' ][] = $this->title; | @@ -25,21 +25,21 @@ $this->params[ 'breadcrumbs' ][] = $this->title; | ||
| 25 | <form id="appointment-form" action="/site/appointment" method="POST" role="form"> | 25 | <form id="appointment-form" action="/site/appointment" method="POST" role="form"> |
| 26 | <div class="form-group field-appointment-name"> | 26 | <div class="form-group field-appointment-name"> |
| 27 | <div class="on_input_"></div> | 27 | <div class="on_input_"></div> |
| 28 | - <label class="control-label" for="appointment-name">Имя</label> | 28 | + <label class="control-label" for="appointment-name"><?=\Yii::t('app', 'Имя')?></label> |
| 29 | <input type="text" id="appointment-name" class="form-control" name="Appointment[name]" aria-invalid="false"> | 29 | <input type="text" id="appointment-name" class="form-control" name="Appointment[name]" aria-invalid="false"> |
| 30 | 30 | ||
| 31 | <p class="help-block help-block-error"></p> | 31 | <p class="help-block help-block-error"></p> |
| 32 | </div> | 32 | </div> |
| 33 | <div class="form-group field-appointment-name required"> | 33 | <div class="form-group field-appointment-name required"> |
| 34 | <div class="on_input_"></div> | 34 | <div class="on_input_"></div> |
| 35 | - <label class="control-label" for="appointment-name">Номер телефона</label> | 35 | + <label class="control-label" for="appointment-name"><?=\Yii::t('app', 'Номер телефона')?></label> |
| 36 | <input type="text" id="appointment-phone" class="form-control" name="Appointment[phone]"> | 36 | <input type="text" id="appointment-phone" class="form-control" name="Appointment[phone]"> |
| 37 | 37 | ||
| 38 | <p class="help-block help-block-error"></p> | 38 | <p class="help-block help-block-error"></p> |
| 39 | </div> | 39 | </div> |
| 40 | <div class="form-group field-appointment-date required has-datepicker2"> | 40 | <div class="form-group field-appointment-date required has-datepicker2"> |
| 41 | <div class="on_input_"></div> | 41 | <div class="on_input_"></div> |
| 42 | - <label class="control-label" for="appointment-date">Дата</label> | 42 | + <label class="control-label" for="appointment-date"><?=\Yii::t('app', 'Дата')?></label> |
| 43 | <input type="text" id="appointment-date" class="form-control" name="Appointment[date]"> | 43 | <input type="text" id="appointment-date" class="form-control" name="Appointment[date]"> |
| 44 | 44 | ||
| 45 | <p class="help-block help-block-error"></p> | 45 | <p class="help-block help-block-error"></p> |
| @@ -49,20 +49,20 @@ $this->params[ 'breadcrumbs' ][] = $this->title; | @@ -49,20 +49,20 @@ $this->params[ 'breadcrumbs' ][] = $this->title; | ||
| 49 | </div> | 49 | </div> |
| 50 | <div class="form-group field-appointment-time"> | 50 | <div class="form-group field-appointment-time"> |
| 51 | <div class="on_input_"></div> | 51 | <div class="on_input_"></div> |
| 52 | - <label class="control-label" for="appointment-service">Время</label> | 52 | + <label class="control-label" for="appointment-service"><?=\Yii::t('app', 'Время')?></label> |
| 53 | <input type="text" id="appointment-time" class="form-control" name="Appointment[time]"> | 53 | <input type="text" id="appointment-time" class="form-control" name="Appointment[time]"> |
| 54 | 54 | ||
| 55 | <p class="help-block help-block-error"></p> | 55 | <p class="help-block help-block-error"></p> |
| 56 | </div> | 56 | </div> |
| 57 | <div class="form-group field-appointment-service"> | 57 | <div class="form-group field-appointment-service"> |
| 58 | <div class="on_input_"></div> | 58 | <div class="on_input_"></div> |
| 59 | - <label class="control-label" for="appointment-service">Услуга</label> | 59 | + <label class="control-label" for="appointment-service"><?=\Yii::t('app', 'Услуга')?></label> |
| 60 | <input type="text" id="appointment-service" class="form-control" name="Appointment[service]"> | 60 | <input type="text" id="appointment-service" class="form-control" name="Appointment[service]"> |
| 61 | 61 | ||
| 62 | <p class="help-block help-block-error"></p> | 62 | <p class="help-block help-block-error"></p> |
| 63 | </div> | 63 | </div> |
| 64 | <p class="text-center"> | 64 | <p class="text-center"> |
| 65 | - <button type="submit" class="send-form btn btn-lg btn-template-primary">Отправить</button> | 65 | + <button type="submit" class="send-form btn btn-lg btn-template-primary"><?=\Yii::t('app', 'Отправить')?></button> |
| 66 | </p> | 66 | </p> |
| 67 | </form> | 67 | </form> |
| 68 | 68 |
frontend/views/site/comments.php
| @@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
| 21 | 'display_name' => 'name', | 21 | 'display_name' => 'name', |
| 22 | 'entityIdAttribute' => 'id', | 22 | 'entityIdAttribute' => 'id', |
| 23 | 'reply' => true, | 23 | 'reply' => true, |
| 24 | - 'layout' => "{list} {reply_form}<div class='comments-border'></div><h4 class='text-uppercase title-comment'>Оставить отзыв</h4>{form}", | 24 | + 'layout' => "{list} {reply_form}<div class='comments-border'></div><h4 class='text-uppercase title-comment'>".\Yii::t('app', 'Оставить отзыв')."</h4>{form}", |
| 25 | 'delete' => false, | 25 | 'delete' => false, |
| 26 | 'more' => [ | 26 | 'more' => [ |
| 27 | 'show_' => true, | 27 | 'show_' => true, |
frontend/views/site/contact.php
| @@ -63,7 +63,7 @@ JS; | @@ -63,7 +63,7 @@ JS; | ||
| 63 | <div class="icon"> | 63 | <div class="icon"> |
| 64 | <i class="fa fa-map-marker"></i> | 64 | <i class="fa fa-map-marker"></i> |
| 65 | </div> | 65 | </div> |
| 66 | - <h3>Адрес</h3> | 66 | + <h3><?=\Yii::t('app', 'Адрес')?></h3> |
| 67 | <p> | 67 | <p> |
| 68 | <?php | 68 | <?php |
| 69 | if (!empty( $settings->street )) { | 69 | if (!empty( $settings->street )) { |
| @@ -151,7 +151,7 @@ JS; | @@ -151,7 +151,7 @@ JS; | ||
| 151 | 151 | ||
| 152 | <div class="col-md-12"> | 152 | <div class="col-md-12"> |
| 153 | <div class="heading"> | 153 | <div class="heading"> |
| 154 | - <h2> Связаться с нами </h2> | 154 | + <h2> <?=\Yii::t('app', 'Связаться с нами')?> </h2> |
| 155 | </div> | 155 | </div> |
| 156 | </div> | 156 | </div> |
| 157 | 157 | ||
| @@ -170,7 +170,7 @@ JS; | @@ -170,7 +170,7 @@ JS; | ||
| 170 | <div class="col-sm-12"> | 170 | <div class="col-sm-12"> |
| 171 | <?= $form->field($contact, 'name') | 171 | <?= $form->field($contact, 'name') |
| 172 | ->textInput() | 172 | ->textInput() |
| 173 | - ->label('Имя'); ?> | 173 | + ->label(\Yii::t('app', 'Имя')); ?> |
| 174 | </div> | 174 | </div> |
| 175 | 175 | ||
| 176 | <div class="col-sm-6"> | 176 | <div class="col-sm-6"> |
| @@ -190,12 +190,12 @@ JS; | @@ -190,12 +190,12 @@ JS; | ||
| 190 | 'rows' => 3, | 190 | 'rows' => 3, |
| 191 | ] | 191 | ] |
| 192 | ) | 192 | ) |
| 193 | - ->label('Сообщение'); ?> | 193 | + ->label(\Yii::t('app', 'Сообщение')); ?> |
| 194 | </div> | 194 | </div> |
| 195 | 195 | ||
| 196 | <div class="col-sm-12 text-center"> | 196 | <div class="col-sm-12 text-center"> |
| 197 | <?= Html::submitButton( | 197 | <?= Html::submitButton( |
| 198 | - '<i class="fa fa-envelope-o"></i> Отправить', | 198 | + '<i class="fa fa-envelope-o"></i> '.\Yii::t('app', 'Сообщение'), |
| 199 | [ | 199 | [ |
| 200 | 'class' => 'btn btn-template-main', | 200 | 'class' => 'btn btn-template-main', |
| 201 | ] | 201 | ] |
frontend/views/site/error.php
| @@ -19,11 +19,11 @@ $this->title = $name; | @@ -19,11 +19,11 @@ $this->title = $name; | ||
| 19 | 19 | ||
| 20 | <h3 class="text-center"><a href="/"> | 20 | <h3 class="text-center"><a href="/"> |
| 21 | <img src="/storage/helper/2_foVnxLKJg55xhicvmRBNct25J28UyJ0N_h_42.jpg" alt=""> </a></h3> | 21 | <img src="/storage/helper/2_foVnxLKJg55xhicvmRBNct25J28UyJ0N_h_42.jpg" alt=""> </a></h3> |
| 22 | - <h3 class="text-center">ОШИБКА 404</h3> | ||
| 23 | - <h3>Похоже, мы не можем найти нужную вам страницу.</h3> | ||
| 24 | - <h4 class="text-muted">Попробуйте ещё раз</h4> | 22 | + <h3 class="text-center"><?=\Yii::t('app', 'ОШИБКА 404')?></h3> |
| 23 | + <h3><?=\Yii::t('app', 'Похоже, мы не можем найти нужную вам страницу.')?></h3> | ||
| 24 | + <h4 class="text-muted"><?=\Yii::t('app', 'Попробуйте ещё раз')?></h4> | ||
| 25 | 25 | ||
| 26 | - <p class="buttons"><a href="/" class="btn btn-template-main"><i class="fa fa-home"></i> На главную</a> | 26 | + <p class="buttons"><a href="/" class="btn btn-template-main"><i class="fa fa-home"></i> <?=\Yii::t('app', 'На главную')?></a> |
| 27 | </p> | 27 | </p> |
| 28 | </div> | 28 | </div> |
| 29 | 29 |
frontend/views/site/index.php
| @@ -204,10 +204,10 @@ _________________________________________________________ --> | @@ -204,10 +204,10 @@ _________________________________________________________ --> | ||
| 204 | <div id="get-it" class="kristal-cont"> | 204 | <div id="get-it" class="kristal-cont"> |
| 205 | <div class="container"> | 205 | <div class="container"> |
| 206 | <div class="col-md-8 col-sm-12"> | 206 | <div class="col-md-8 col-sm-12"> |
| 207 | - <h3>Ждем Вас в нашей клинике!</h3> | 207 | + <h3><?=\Yii::t('app', 'Ждем Вас в нашей клинике!')?></h3> |
| 208 | </div> | 208 | </div> |
| 209 | <div class="col-md-4 col-sm-12"> | 209 | <div class="col-md-4 col-sm-12"> |
| 210 | - <a href="#" class="btn btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="Записаться на приём">Записаться на прием</a> | 210 | + <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="<?=\Yii::t('app', 'Записаться на приём')?>"><?=\Yii::t('app', 'Записаться на приём')?></a> |
| 211 | </div> | 211 | </div> |
| 212 | </div> | 212 | </div> |
| 213 | </div> | 213 | </div> |
| 214 | \ No newline at end of file | 214 | \ No newline at end of file |
frontend/views/site/price.php
| @@ -27,9 +27,9 @@ $this->params[ 'breadcrumbs' ][] = $this->title; | @@ -27,9 +27,9 @@ $this->params[ 'breadcrumbs' ][] = $this->title; | ||
| 27 | <div class="tabs"> | 27 | <div class="tabs"> |
| 28 | <ul class="nav nav-tabs nav-justified"> | 28 | <ul class="nav nav-tabs nav-justified"> |
| 29 | <li class="active"> | 29 | <li class="active"> |
| 30 | - <a href="#tab1" data-toggle="tab" aria-expanded="true">Стоматология</a> | 30 | + <a href="#tab1" data-toggle="tab" aria-expanded="true"><?=\Yii::t('app', 'Стоматология')?></a> |
| 31 | </li> | 31 | </li> |
| 32 | - <li class=""><a href="#tab2" data-toggle="tab" aria-expanded="false">Косметология</a> | 32 | + <li class=""><a href="#tab2" data-toggle="tab" aria-expanded="false"><?=\Yii::t('app', 'Косметология')?></a> |
| 33 | </li> | 33 | </li> |
| 34 | </ul> | 34 | </ul> |
| 35 | <div class="tab-content"> | 35 | <div class="tab-content"> |
| @@ -67,7 +67,7 @@ $this->params[ 'breadcrumbs' ][] = $this->title; | @@ -67,7 +67,7 @@ $this->params[ 'breadcrumbs' ][] = $this->title; | ||
| 67 | <div id="get-it" class="pages"> | 67 | <div id="get-it" class="pages"> |
| 68 | <div class="container"> | 68 | <div class="container"> |
| 69 | <div class="col-md-12 col-sm-12" style="text-align: center;"> | 69 | <div class="col-md-12 col-sm-12" style="text-align: center;"> |
| 70 | - <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="Записаться на приём">Записаться на прием</a> | 70 | + <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="<?=\Yii::t('app', 'Записаться на приём')?>"><?=\Yii::t('app', 'Записаться на приём')?></a> |
| 71 | </div> | 71 | </div> |
| 72 | </div> | 72 | </div> |
| 73 | </div> | 73 | </div> |
| 74 | \ No newline at end of file | 74 | \ No newline at end of file |