From 78239d0a42154550d70ea53b5be0eedbbbf6e7f7 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Tue, 22 Nov 2016 03:17:02 +0200 Subject: [PATCH] add create_item to translate --- views/seo-category/create.php | 2 +- views/seo-category/index.php | 2 +- views/seo-dynamic/create.php | 2 +- views/seo-dynamic/index.php | 2 +- views/seo/create.php | 2 +- views/seo/index.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/views/seo-category/create.php b/views/seo-category/create.php index 309dc63..cec036e 100755 --- a/views/seo-category/create.php +++ b/views/seo-category/create.php @@ -11,7 +11,7 @@ * @var SeoCategoryLang[] $modelLangs */ - $this->title = Yii::t('app', 'Create Seo Category'); + $this->title = \Yii::t('app', 'create_item',['item'=>'Seo Category']); $this->params[ 'breadcrumbs' ][] = [ 'label' => Yii::t('app', 'Seo Categories'), 'url' => [ 'index' ], diff --git a/views/seo-category/index.php b/views/seo-category/index.php index c31c1fe..30c8de3 100755 --- a/views/seo-category/index.php +++ b/views/seo-category/index.php @@ -17,7 +17,7 @@

title) ?>

- 'btn btn-success' ]) ?> + 'Seo Category']), [ 'create' ], [ 'class' => 'btn btn-success' ]) ?>

title = Yii::t('app', 'Create Seo Dynamic'); + $this->title = \Yii::t('app', 'create_item',['item'=>'Seo Dynamic']); $this->params[ 'breadcrumbs' ][] = [ 'label' => Yii::t('app', 'Seo Categories'), 'url' => [ '/seo-category/index' ], diff --git a/views/seo-dynamic/index.php b/views/seo-dynamic/index.php index 07cf999..3fdef4f 100755 --- a/views/seo-dynamic/index.php +++ b/views/seo-dynamic/index.php @@ -30,7 +30,7 @@

'Seo Dynamic']), Url::toRoute( [ 'create', diff --git a/views/seo/create.php b/views/seo/create.php index 589c9a3..6f72116 100755 --- a/views/seo/create.php +++ b/views/seo/create.php @@ -11,7 +11,7 @@ * @var SeoLang[] $modelLangs */ - $this->title = Yii::t('app', 'Create Seo'); + $this->title = \Yii::t('app', 'create_item',['item'=>'Seo']); $this->params[ 'breadcrumbs' ][] = [ 'label' => Yii::t('app', 'Seos'), 'url' => [ 'index' ], diff --git a/views/seo/index.php b/views/seo/index.php index 9768a62..0143067 100755 --- a/views/seo/index.php +++ b/views/seo/index.php @@ -16,7 +16,7 @@

title) ?>

- 'btn btn-success' ]) ?> + 'Seo']), [ 'create' ], [ 'class' => 'btn btn-success' ]) ?>