Commit 167af58163b2725a7218c33e81b9ea10e9e5e13d
1 parent
bcc6ba2b
MESSAGES !!!! EVGEN!
Showing
3 changed files
with
12 additions
and
9 deletions
Show diff stats
backend/views/certificate/create.php
@@ -6,8 +6,8 @@ use yii\helpers\Html; | @@ -6,8 +6,8 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\Certificate */ | 7 | /* @var $model common\models\Certificate */ |
8 | 8 | ||
9 | -$this->title = 'Create Certificate'; | ||
10 | -$this->params['breadcrumbs'][] = ['label' => 'Certificates', 'url' => ['index']]; | 9 | +$this->title = Yii::t('app', 'certcreate'); |
10 | +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'certs'), 'url' => ['index']]; | ||
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
13 | <div class="certificate-create"> | 13 | <div class="certificate-create"> |
common/models/ArticleToRating.php
@@ -42,9 +42,9 @@ class ArticleToRating extends \yii\db\ActiveRecord | @@ -42,9 +42,9 @@ class ArticleToRating extends \yii\db\ActiveRecord | ||
42 | public function attributeLabels() | 42 | public function attributeLabels() |
43 | { | 43 | { |
44 | return [ | 44 | return [ |
45 | - 'article_to_rating_id' => 'Article To Rating ID', | ||
46 | - 'articles_id' => 'Articles ID', | ||
47 | - 'value' => 'Value', | 45 | + 'article_to_rating_id' => Yii::t('app', 'Article To Rating ID'), |
46 | + 'articles_id' => Yii::t('app', 'Articles ID'), | ||
47 | + 'value' => Yii::t('app', 'Value'), | ||
48 | ]; | 48 | ]; |
49 | } | 49 | } |
50 | 50 |
common/translation/ru/app.php
@@ -138,10 +138,10 @@ return [ | @@ -138,10 +138,10 @@ return [ | ||
138 | 'meta' => 'Meta', | 138 | 'meta' => 'Meta', |
139 | 'date_time'=>'Дата', | 139 | 'date_time'=>'Дата', |
140 | 'template_location_id' => 'Template Location ID', | 140 | 'template_location_id' => 'Template Location ID', |
141 | - 'template_location_name' => 'Template Location Name', | ||
142 | - 'template_location_title' => 'Template Location Title', | ||
143 | - 'is_slider' => 'Is Slider', | ||
144 | - 'is_banner' => 'Is Banner', | 141 | + 'template_location_name' => 'Template Location Имя', |
142 | + 'template_location_title' => 'Template Location Заголовок', | ||
143 | + 'is_slider' => 'Слайдер', | ||
144 | + 'is_banner' => 'Баннер', | ||
145 | 'orders_delivery_id' => 'Orders Delivery ID', | 145 | 'orders_delivery_id' => 'Orders Delivery ID', |
146 | 'text' => 'Text', | 146 | 'text' => 'Text', |
147 | 'emailis' => 'Такой email уже есть.', | 147 | 'emailis' => 'Такой email уже есть.', |
@@ -287,4 +287,7 @@ return [ | @@ -287,4 +287,7 @@ return [ | ||
287 | 'you_sure' => 'Вы уверены, что хотите удалить этот элемент?', | 287 | 'you_sure' => 'Вы уверены, что хотите удалить этот элемент?', |
288 | 'Lang_Image_Url' => 'Url языковой картинки', | 288 | 'Lang_Image_Url' => 'Url языковой картинки', |
289 | 'Title' => 'Заголовок', | 289 | 'Title' => 'Заголовок', |
290 | + 'Value' => 'Значение', | ||
291 | + 'Articles ID' => 'ID статей', | ||
292 | + 'Article To Rating ID' => 'Article To Rating ID', | ||
290 | ]; | 293 | ]; |
291 | \ No newline at end of file | 294 | \ No newline at end of file |