diff --git a/backend/views/certificate/create.php b/backend/views/certificate/create.php index 734b760..24627ad 100755 --- a/backend/views/certificate/create.php +++ b/backend/views/certificate/create.php @@ -6,8 +6,8 @@ use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\Certificate */ -$this->title = 'Create Certificate'; -$this->params['breadcrumbs'][] = ['label' => 'Certificates', 'url' => ['index']]; +$this->title = Yii::t('app', 'certcreate'); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'certs'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>
diff --git a/common/models/ArticleToRating.php b/common/models/ArticleToRating.php index 44b3be6..264cdfc 100755 --- a/common/models/ArticleToRating.php +++ b/common/models/ArticleToRating.php @@ -42,9 +42,9 @@ class ArticleToRating extends \yii\db\ActiveRecord public function attributeLabels() { return [ - 'article_to_rating_id' => 'Article To Rating ID', - 'articles_id' => 'Articles ID', - 'value' => 'Value', + 'article_to_rating_id' => Yii::t('app', 'Article To Rating ID'), + 'articles_id' => Yii::t('app', 'Articles ID'), + 'value' => Yii::t('app', 'Value'), ]; } diff --git a/common/translation/ru/app.php b/common/translation/ru/app.php index d45a328..534aace 100755 --- a/common/translation/ru/app.php +++ b/common/translation/ru/app.php @@ -138,10 +138,10 @@ return [ 'meta' => 'Meta', 'date_time'=>'Дата', 'template_location_id' => 'Template Location ID', - 'template_location_name' => 'Template Location Name', - 'template_location_title' => 'Template Location Title', - 'is_slider' => 'Is Slider', - 'is_banner' => 'Is Banner', + 'template_location_name' => 'Template Location Имя', + 'template_location_title' => 'Template Location Заголовок', + 'is_slider' => 'Слайдер', + 'is_banner' => 'Баннер', 'orders_delivery_id' => 'Orders Delivery ID', 'text' => 'Text', 'emailis' => 'Такой email уже есть.', @@ -287,4 +287,7 @@ return [ 'you_sure' => 'Вы уверены, что хотите удалить этот элемент?', 'Lang_Image_Url' => 'Url языковой картинки', 'Title' => 'Заголовок', + 'Value' => 'Значение', + 'Articles ID' => 'ID статей', + 'Article To Rating ID' => 'Article To Rating ID', ]; \ No newline at end of file -- libgit2 0.21.4