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