Commit ebd016c8ab38cf169e6dcce27e91e1b4a6d5ace7

Authored by Administrator
1 parent 743513db

add create_item to translate

models/Customer.php
@@ -15,9 +15,7 @@ @@ -15,9 +15,7 @@
15 * @property string $surname 15 * @property string $surname
16 * @property string $phone 16 * @property string $phone
17 * @property string $gender 17 * @property string $gender
18 - * @property integer $birth_day  
19 - * @property integer $birth_month  
20 - * @property integer $birth_year 18 + * @property integer $birthday
21 * @property string $body 19 * @property string $body
22 * @property integer $group_id 20 * @property integer $group_id
23 * @property string $email 21 * @property string $email
models/CustomerSearch.php
@@ -20,9 +20,7 @@ @@ -20,9 +20,7 @@
20 [ 20 [
21 [ 21 [
22 'id', 22 'id',
23 - 'birth_day',  
24 - 'birth_month',  
25 - 'birth_year', 23 + 'birthday',
26 'group_id', 24 'group_id',
27 ], 25 ],
28 'integer', 26 'integer',
@@ -80,9 +78,7 @@ @@ -80,9 +78,7 @@
80 $query->andFilterWhere( 78 $query->andFilterWhere(
81 [ 79 [
82 'id' => $this->id, 80 'id' => $this->id,
83 - 'birth_day' => $this->birth_day,  
84 - 'birth_month' => $this->birth_month,  
85 - 'birth_year' => $this->birth_year, 81 + 'birthday' => $this->birthday,
86 'group_id' => $this->group_id, 82 'group_id' => $this->group_id,
87 ] 83 ]
88 ); 84 );
translation/ru/app.php
1 <?php 1 <?php
2 return [ 2 return [
  3 + 'Are you sure you want to delete this item?' => 'Вы точно хотите это удалить ?',
3 'id' => 'ID', 4 'id' => 'ID',
4 'username' => 'Логин', 5 'username' => 'Логин',
5 'cname' => 'Имя', 6 'cname' => 'Имя',
@@ -173,4 +174,5 @@ @@ -173,4 +174,5 @@
173 'Поиск' => 'Поиск', 174 'Поиск' => 'Поиск',
174 'Результаты поиска для' => 'Результаты поиска для', 175 'Результаты поиска для' => 'Результаты поиска для',
175 'certs' => 'Сертификаты', 176 'certs' => 'Сертификаты',
  177 + 'create_item' => 'Создать {item}',
176 ]; 178 ];
177 \ No newline at end of file 179 \ No newline at end of file