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