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 | 657 | <div class="container"> |
658 | 658 | <div class="row"> |
659 | 659 | <div class="col-md-7"> |
660 | - <h1><?= $seo->h1 ?></h1> | |
660 | + <h1><?= \Yii::t('app', $seo->h1) ?></h1> | |
661 | 661 | </div> |
662 | 662 | <div class="col-md-5"> |
663 | 663 | <?= SeoBreadcrumbs::widget( |
... | ... | @@ -691,7 +691,7 @@ _________________________________________________________ --> |
691 | 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 | 695 | </div> |
696 | 696 | |
697 | 697 | <div class="col-md-4 col-sm-12 col-md-offset-2"> | ... | ... |
frontend/views/site/index.php
... | ... | @@ -32,7 +32,7 @@ _________________________________________________________ --> |
32 | 32 | <div class="col-sm-6 text-center-xs mtop90"> |
33 | 33 | <p><?=\Yii::t('app', 'Приглашаем на диагностику.')?><br /><?=\Yii::t('app', 'Первая консультация — бесплатно.')?></p> |
34 | 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 | 36 | </p> |
37 | 37 | |
38 | 38 | </div> | ... | ... |
frontend/widgets/SeoBreadcrumbs.php
... | ... | @@ -25,7 +25,7 @@ |
25 | 25 | public $encodeLabels = false; |
26 | 26 | public $itemTemplate = "<li itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\">{link}<meta itemprop=\"position\" content=\"{number}\" /></li>\n"; |
27 | 27 | public $homeLink = [ |
28 | - 'label' => '<span itemprop="name">Главная</span>', | |
28 | + 'label' => "<span itemprop='name'>Главная</span>", | |
29 | 29 | 'url' => '/', |
30 | 30 | 'itemprop' => 'item', |
31 | 31 | ]; |
... | ... | @@ -40,7 +40,7 @@ |
40 | 40 | $links = []; |
41 | 41 | if ($this->homeLink === null) { |
42 | 42 | $links[] = $this->renderItem_([ |
43 | - 'label' => Yii::t('yii', 'Home'), | |
43 | + 'label' => Yii::t('app', 'Home'), | |
44 | 44 | 'url' => Yii::$app->homeUrl, |
45 | 45 | ], $this->itemTemplate,1); |
46 | 46 | } elseif ($this->homeLink !== false) { | ... | ... |