Commit fa0f7f7f6f558e55aea99205abc6df6a4fed9694
1 parent
f3c84328
translates
Showing
3 changed files
with
7 additions
and
7 deletions
Show diff stats
frontend/views/blog/_article_item.php
| ... | ... | @@ -48,7 +48,7 @@ |
| 48 | 48 | > |
| 49 | 49 | <i class="fa fa-comment-o"></i> |
| 50 | 50 | <?= $model->getCommentsCount() ?> |
| 51 | - <?= \Yii::t('blog', 'blog_comments') ?> | |
| 51 | + <?= \Yii::t('app', 'blog_comments') ?> | |
| 52 | 52 | </a> |
| 53 | 53 | </p> |
| 54 | 54 | </div> |
| ... | ... | @@ -82,7 +82,7 @@ |
| 82 | 82 | )?>" |
| 83 | 83 | class="btn btn-template-main" |
| 84 | 84 | > |
| 85 | - <?= \Yii::t('blog', 'readmore') ?> | |
| 85 | + <?= \Yii::t('app', 'readmore') ?> | |
| 86 | 86 | </a> |
| 87 | 87 | </p> |
| 88 | 88 | </section> | ... | ... |
frontend/views/blog/index.php
| ... | ... | @@ -22,16 +22,16 @@ |
| 22 | 22 | switch (Yii::$app->controller->action->id){ |
| 23 | 23 | |
| 24 | 24 | case "search": |
| 25 | - $this->params['h1'] = \Yii::t('blog', 'Blog Search'); | |
| 25 | + $this->params['h1'] = \Yii::t('app', 'Blog Search'); | |
| 26 | 26 | break; |
| 27 | 27 | case "category": |
| 28 | - $this->params['h1'] = \Yii::t('blog', 'Blog Category'); | |
| 28 | + $this->params['h1'] = \Yii::t('app', 'Blog Category'); | |
| 29 | 29 | break; |
| 30 | 30 | case "tag": |
| 31 | - $this->params['h1'] = \Yii::t('blog', 'Blog Tag'); | |
| 31 | + $this->params['h1'] = \Yii::t('app', 'Blog Tag'); | |
| 32 | 32 | break; |
| 33 | 33 | default: |
| 34 | - $this->params['h1'] = \Yii::t('blog', 'menu-blog'); | |
| 34 | + $this->params['h1'] = \Yii::t('app', 'menu-blog'); | |
| 35 | 35 | break; |
| 36 | 36 | |
| 37 | 37 | } | ... | ... |
frontend/views/blog/view.php
| ... | ... | @@ -61,7 +61,7 @@ |
| 61 | 61 | <div class="row"> |
| 62 | 62 | <div class="col-md-12"> |
| 63 | 63 | <div class="panel-heading"> |
| 64 | - <h3 class="panel-title"><?= \Yii::t('blog', 'leavecomment') ?></h3> | |
| 64 | + <h3 class="panel-title"><?= \Yii::t('app', 'leavecomment') ?></h3> | |
| 65 | 65 | </div> |
| 66 | 66 | <?= CommentWidget::widget( |
| 67 | 67 | [ | ... | ... |