From fa0f7f7f6f558e55aea99205abc6df6a4fed9694 Mon Sep 17 00:00:00 2001
From: zhegal
Date: Mon, 5 Feb 2018 16:12:36 +0200
Subject: [PATCH] translates
---
frontend/views/blog/_article_item.php | 4 ++--
frontend/views/blog/index.php | 8 ++++----
frontend/views/blog/view.php | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/frontend/views/blog/_article_item.php b/frontend/views/blog/_article_item.php
index 84584b0..7e13986 100644
--- a/frontend/views/blog/_article_item.php
+++ b/frontend/views/blog/_article_item.php
@@ -48,7 +48,7 @@
>
= $model->getCommentsCount() ?>
- = \Yii::t('blog', 'blog_comments') ?>
+ = \Yii::t('app', 'blog_comments') ?>
@@ -82,7 +82,7 @@
)?>"
class="btn btn-template-main"
>
- = \Yii::t('blog', 'readmore') ?>
+ = \Yii::t('app', 'readmore') ?>
diff --git a/frontend/views/blog/index.php b/frontend/views/blog/index.php
index a280e46..112dcd1 100644
--- a/frontend/views/blog/index.php
+++ b/frontend/views/blog/index.php
@@ -22,16 +22,16 @@
switch (Yii::$app->controller->action->id){
case "search":
- $this->params['h1'] = \Yii::t('blog', 'Blog Search');
+ $this->params['h1'] = \Yii::t('app', 'Blog Search');
break;
case "category":
- $this->params['h1'] = \Yii::t('blog', 'Blog Category');
+ $this->params['h1'] = \Yii::t('app', 'Blog Category');
break;
case "tag":
- $this->params['h1'] = \Yii::t('blog', 'Blog Tag');
+ $this->params['h1'] = \Yii::t('app', 'Blog Tag');
break;
default:
- $this->params['h1'] = \Yii::t('blog', 'menu-blog');
+ $this->params['h1'] = \Yii::t('app', 'menu-blog');
break;
}
diff --git a/frontend/views/blog/view.php b/frontend/views/blog/view.php
index c437a65..3803b93 100644
--- a/frontend/views/blog/view.php
+++ b/frontend/views/blog/view.php
@@ -61,7 +61,7 @@
-
= \Yii::t('blog', 'leavecomment') ?>
+ = \Yii::t('app', 'leavecomment') ?>
= CommentWidget::widget(
[
--
libgit2 0.21.4