Commit dd8af2ad5ae9c24257ef9ed4abab2389f69d0056
1 parent
90104afa
translates 2
Showing
3 changed files
with
5 additions
and
5 deletions
Show diff stats
frontend/views/layouts/main.php
@@ -657,7 +657,7 @@ _________________________________________________________ --> | @@ -657,7 +657,7 @@ _________________________________________________________ --> | ||
657 | <div class="container"> | 657 | <div class="container"> |
658 | <div class="row"> | 658 | <div class="row"> |
659 | <div class="col-md-7"> | 659 | <div class="col-md-7"> |
660 | - <h1><?= $seo->h1 ?></h1> | 660 | + <h1><?= \Yii::t('app', $seo->h1) ?></h1> |
661 | </div> | 661 | </div> |
662 | <div class="col-md-5"> | 662 | <div class="col-md-5"> |
663 | <?= SeoBreadcrumbs::widget( | 663 | <?= SeoBreadcrumbs::widget( |
@@ -691,7 +691,7 @@ _________________________________________________________ --> | @@ -691,7 +691,7 @@ _________________________________________________________ --> | ||
691 | <?php | 691 | <?php |
692 | } | 692 | } |
693 | ?> | 693 | ?> |
694 | - <a href="#" class="btn btn-template-transparent-primary modal-link" data-form="feedback-modal" data-modalname="Обратная связь"><?=\Yii::t('app', 'Написать нам')?></a> | 694 | + <a href="#" class="btn btn-template-transparent-primary modal-link" data-form="feedback-modal" data-modalname="<?=\Yii::t('app', 'Обратная связь')?>"><?=\Yii::t('app', 'Написать нам')?></a> |
695 | </div> | 695 | </div> |
696 | 696 | ||
697 | <div class="col-md-4 col-sm-12 col-md-offset-2"> | 697 | <div class="col-md-4 col-sm-12 col-md-offset-2"> |
frontend/views/site/index.php
@@ -32,7 +32,7 @@ _________________________________________________________ --> | @@ -32,7 +32,7 @@ _________________________________________________________ --> | ||
32 | <div class="col-sm-6 text-center-xs mtop90"> | 32 | <div class="col-sm-6 text-center-xs mtop90"> |
33 | <p><?=\Yii::t('app', 'Приглашаем на диагностику.')?><br /><?=\Yii::t('app', 'Первая консультация — бесплатно.')?></p> | 33 | <p><?=\Yii::t('app', 'Приглашаем на диагностику.')?><br /><?=\Yii::t('app', 'Первая консультация — бесплатно.')?></p> |
34 | <p> | 34 | <p> |
35 | - <a href="#" class="btn btn-template-transparent-black modal-link" data-form="appointment-modal" data-modalname="Записаться на приём"><?=\Yii::t('app', 'Записаться')?></a> | 35 | + <a href="#" class="btn btn-template-transparent-black modal-link" data-form="appointment-modal" data-modalname="<?=\Yii::t('app', 'Записаться на приём')?>"><?=\Yii::t('app', 'Записаться')?></a> |
36 | </p> | 36 | </p> |
37 | 37 | ||
38 | </div> | 38 | </div> |
frontend/widgets/SeoBreadcrumbs.php
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | public $encodeLabels = false; | 25 | public $encodeLabels = false; |
26 | public $itemTemplate = "<li itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\">{link}<meta itemprop=\"position\" content=\"{number}\" /></li>\n"; | 26 | public $itemTemplate = "<li itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\">{link}<meta itemprop=\"position\" content=\"{number}\" /></li>\n"; |
27 | public $homeLink = [ | 27 | public $homeLink = [ |
28 | - 'label' => '<span itemprop="name">Главная</span>', | 28 | + 'label' => "<span itemprop='name'>Главная</span>", |
29 | 'url' => '/', | 29 | 'url' => '/', |
30 | 'itemprop' => 'item', | 30 | 'itemprop' => 'item', |
31 | ]; | 31 | ]; |
@@ -40,7 +40,7 @@ | @@ -40,7 +40,7 @@ | ||
40 | $links = []; | 40 | $links = []; |
41 | if ($this->homeLink === null) { | 41 | if ($this->homeLink === null) { |
42 | $links[] = $this->renderItem_([ | 42 | $links[] = $this->renderItem_([ |
43 | - 'label' => Yii::t('yii', 'Home'), | 43 | + 'label' => Yii::t('app', 'Home'), |
44 | 'url' => Yii::$app->homeUrl, | 44 | 'url' => Yii::$app->homeUrl, |
45 | ], $this->itemTemplate,1); | 45 | ], $this->itemTemplate,1); |
46 | } elseif ($this->homeLink !== false) { | 46 | } elseif ($this->homeLink !== false) { |