Commit facb6c13a3ba7898b5323f8a0eea2a868dae92d5

Authored by Alexey Boroda
1 parent b2f4bd83

-Translations

Showing 2 changed files with 10 additions and 0 deletions   Show diff stats
models/Order.php
... ... @@ -228,6 +228,9 @@
228 228 'manager_id' => Yii::t('app', 'Менеджер'),
229 229 'delivery_cost' => Yii::t('app', 'Стоимость доставки'),
230 230 'published' => Yii::t('app', 'Опубликован'),
  231 + 'label' => Yii::t('app', 'Метка'),
  232 + 'declaration' => Yii::t('app', 'Номер декларации'),
  233 + 'delivery' => Yii::t('app', 'Способ доставки'),
231 234 ];
232 235 }
233 236  
... ...
models/OrderSearch.php
... ... @@ -190,4 +190,11 @@
190 190  
191 191 return $dataProvider;
192 192 }
  193 +
  194 + public function attributeLabels()
  195 + {
  196 + return [
  197 + 'sku' => \Yii::t('app', 'Артикул'),
  198 + ];
  199 + }
193 200 }
... ...