Commit 6443d4c502bbe0ac9af44678796d447846b17da0
1 parent
82c0ed3a
Добавил 2й телефон в контакты + несколько правок по переводу
Showing
7 changed files
with
53 additions
and
46 deletions
 
Show diff stats
common/messages/en/app.php
| @@ -21,22 +21,23 @@ | @@ -21,22 +21,23 @@ | ||
| 21 | "Search by article" => 'Search by article', | 21 | "Search by article" => 'Search by article', | 
| 22 | 'Send' => 'Send', | 22 | 'Send' => 'Send', | 
| 23 | 'Send message' => 'Send message', | 23 | 'Send message' => 'Send message', | 
| 24 | - 'Events' => 'Events', | ||
| 25 | - 'You question' => 'You question', | ||
| 26 | - 'News' => 'News', | ||
| 27 | - 'Media' => 'Media', | ||
| 28 | - 'More' => 'More', | ||
| 29 | - 'Form sends success' => 'Form sends success', | ||
| 30 | - 'Message' => 'Message', | ||
| 31 | - 'Name' => 'Name', | ||
| 32 | - 'Phone' => 'Phone', | 24 | + 'Events' => 'Events', | 
| 25 | + 'You question' => 'You question', | ||
| 26 | + 'News' => 'News', | ||
| 27 | + 'Media' => 'Media', | ||
| 28 | + 'More' => 'More', | ||
| 29 | + 'Form sends success' => 'Form sends success', | ||
| 30 | + 'Message' => 'Message', | ||
| 31 | + 'Name' => 'Name', | ||
| 32 | + 'Phone' => 'Phone', | ||
| 33 | 'Form sends success Header' => 'Success', | 33 | 'Form sends success Header' => 'Success', | 
| 34 | 'Empty field' => 'This field is required.Please fill it', | 34 | 'Empty field' => 'This field is required.Please fill it', | 
| 35 | + 'Empty dataProvider' => 'No results found', | ||
| 35 | 'Wrong email' => 'Field Email is not valid', | 36 | 'Wrong email' => 'Field Email is not valid', | 
| 36 | 'phone' => 'phone', | 37 | 'phone' => 'phone', | 
| 37 | 'Without category' =>'Without category', | 38 | 'Without category' =>'Without category', | 
| 38 | 'Our advantages' => 'Our advantages', | 39 | 'Our advantages' => 'Our advantages', | 
| 39 | 'Читать далее' => 'Read more', | 40 | 'Читать далее' => 'Read more', | 
| 40 | - | 41 | + 'Close' => 'Close', | 
| 41 | 42 | ||
| 42 | ]; | 43 | ]; | 
| 43 | \ No newline at end of file | 44 | \ No newline at end of file | 
common/messages/ru/app.php
| @@ -2,30 +2,30 @@ | @@ -2,30 +2,30 @@ | ||
| 2 | return [ | 2 | return [ | 
| 3 | 'Home' => 'Главная', | 3 | 'Home' => 'Главная', | 
| 4 | 'Contacts' => 'Контакты', | 4 | 'Contacts' => 'Контакты', | 
| 5 | - 'About' => 'О нас', | ||
| 6 | - 'Blog' => 'Блог', | ||
| 7 | - 'Events' => 'Мероприятия', | ||
| 8 | - 'You question' => 'Сообщение', | ||
| 9 | - 'Contact us!' => 'Свяжитесь с нами', | ||
| 10 | - 'Go to contact page' => 'Перейти на страницу контактов', | ||
| 11 | - 'Send message' => 'Отправить сообщение', | ||
| 12 | - 'Contact form' => "Форма для связи", | ||
| 13 | - 'News' => 'Новости', | ||
| 14 | - 'Media' => 'Медиа', | ||
| 15 | - 'More' => 'Подробнее', | ||
| 16 | - 'Company Blog' => 'Блог компании', | ||
| 17 | - | ||
| 18 | - 'Name' => 'Имя', | ||
| 19 | - 'Phone' => 'Телефон', | ||
| 20 | - 'blog-txt' => ' Мы собираем полезные материалы по тематике бытовой техники и электроники', | ||
| 21 | - 'Continue reading' => 'Продолжить чтение', | ||
| 22 | - 'Address' => 'Адрес', | ||
| 23 | - 'phone' => 'Телефон', | ||
| 24 | - 'Form sends success' => 'Форма успешно отправлена', | ||
| 25 | - 'Gallery' =>'Галерея', | ||
| 26 | - 'Categories' => 'Категории', | ||
| 27 | - 'Without category' =>'Без категории', | ||
| 28 | - 'No results found' =>'Ничего не найдено', | 5 | + 'About' => 'О нас', | 
| 6 | + 'Blog' => 'Блог', | ||
| 7 | + 'Events' => 'Мероприятия', | ||
| 8 | + 'You question' => 'Сообщение', | ||
| 9 | + 'Contact us!' => 'Свяжитесь с нами', | ||
| 10 | + 'Go to contact page' => 'Перейти на страницу контактов', | ||
| 11 | + 'Send message' => 'Отправить сообщение', | ||
| 12 | + 'Contact form' => "Форма для связи", | ||
| 13 | + 'News' => 'Новости', | ||
| 14 | + 'Media' => 'Медиа', | ||
| 15 | + 'More' => 'Подробнее', | ||
| 16 | + 'Company Blog' => 'Блог компании', | ||
| 17 | + 'Close' => 'Закрыть', | ||
| 18 | + 'Name' => 'Имя', | ||
| 19 | + 'Phone' => 'Телефон', | ||
| 20 | + 'blog-txt' => ' Мы собираем полезные материалы по тематике бытовой техники и электроники', | ||
| 21 | + 'Continue reading' => 'Продолжить чтение', | ||
| 22 | + 'Address' => 'Адрес', | ||
| 23 | + 'phone' => 'Телефон', | ||
| 24 | + 'Form sends success' => 'Форма успешно отправлена', | ||
| 25 | + 'Gallery' =>'Галерея', | ||
| 26 | + 'Categories' => 'Категории', | ||
| 27 | + 'Without category' =>'Без категории', | ||
| 28 | + 'No results found' =>'Ничего не найдено', | ||
| 29 | 'Form sends success Header' => 'Форма успешно отправлена ', | 29 | 'Form sends success Header' => 'Форма успешно отправлена ', | 
| 30 | 'Our advantages' => 'Наши преимущества', | 30 | 'Our advantages' => 'Наши преимущества', | 
| 31 | 'Our clients' =>'Наши клиенты', | 31 | 'Our clients' =>'Наши клиенты', | 
| @@ -37,5 +37,5 @@ return [ | @@ -37,5 +37,5 @@ return [ | ||
| 37 | 'Wrong email' => 'Поле Email не валидное', | 37 | 'Wrong email' => 'Поле Email не валидное', | 
| 38 | 'Message' => 'Сообщение', | 38 | 'Message' => 'Сообщение', | 
| 39 | '<i class="fa fa-envelope-o"></i>Send Message' => 'Отправить сообщение', | 39 | '<i class="fa fa-envelope-o"></i>Send Message' => 'Отправить сообщение', | 
| 40 | - | 40 | + 'Empty dataProvider' => 'Ничего не найдено', | 
| 41 | ]; | 41 | ]; | 
| 42 | \ No newline at end of file | 42 | \ No newline at end of file | 
common/messages/ua/app.php
| @@ -28,13 +28,13 @@ return [ | @@ -28,13 +28,13 @@ return [ | ||
| 28 | 'Gallery' =>'Галерея', | 28 | 'Gallery' =>'Галерея', | 
| 29 | 'Without category' =>'Без категорії', | 29 | 'Without category' =>'Без категорії', | 
| 30 | 'No results found' =>'Нічого не знайдено', | 30 | 'No results found' =>'Нічого не знайдено', | 
| 31 | - | ||
| 32 | - 'Our advantages' => 'Наші переваги', | ||
| 33 | - 'Our clients'=>'Наші клієнти', | ||
| 34 | - | ||
| 35 | - 'Search'=>'Пошук', | ||
| 36 | - 'Search by tag' => 'Пошук по тегам', | ||
| 37 | - "Search by article"=>'Поиск по статтям', | 31 | + 'Close' => 'Закрити', | 
| 32 | + 'Our advantages' => 'Наші переваги', | ||
| 33 | + 'Our clients' =>'Наші клієнти', | ||
| 34 | + 'Empty dataProvider' => 'Нічого не знайдено', | ||
| 35 | + 'Search' =>'Пошук', | ||
| 36 | + 'Search by tag' => 'Пошук по тегам', | ||
| 37 | + "Search by article" =>'Поиск по статтям', | ||
| 38 | 38 | ||
| 39 | 'Form sends success Header' => 'Форма успішно відправлена', | 39 | 'Form sends success Header' => 'Форма успішно відправлена', | 
| 40 | 'name' => 'Ім\'я', | 40 | 'name' => 'Ім\'я', | 
frontend/views/blog/view.php
| @@ -51,7 +51,8 @@ _________________________________________________________ --> | @@ -51,7 +51,8 @@ _________________________________________________________ --> | ||
| 51 | <?php } ?> | 51 | <?php } ?> | 
| 52 | 52 | ||
| 53 | <p class="text-muted text-uppercase mb-small text-left"><?= \Yii::$app->formatter->asDate( | 53 | <p class="text-muted text-uppercase mb-small text-left"><?= \Yii::$app->formatter->asDate( | 
| 54 | - $model->created_at | 54 | + $model->created_at, | 
| 55 | + 'short' | ||
| 55 | ); ?></p> | 56 | ); ?></p> | 
| 56 | 57 | ||
| 57 | <div id="post-content"> | 58 | <div id="post-content"> | 
frontend/views/event/tag.php
| @@ -51,6 +51,7 @@ _________________________________________________________ --> | @@ -51,6 +51,7 @@ _________________________________________________________ --> | ||
| 51 | 'id' => 'blog-listing-medium', | 51 | 'id' => 'blog-listing-medium', | 
| 52 | ], | 52 | ], | 
| 53 | 'layout' => '{items}{pager}', | 53 | 'layout' => '{items}{pager}', | 
| 54 | + 'emptyText' => \Yii::t('app', 'Empty dataProvider'), | ||
| 54 | ] | 55 | ] | 
| 55 | ); ?> | 56 | ); ?> | 
| 56 | 57 | 
frontend/views/event/view.php
| @@ -50,7 +50,8 @@ _________________________________________________________ --> | @@ -50,7 +50,8 @@ _________________________________________________________ --> | ||
| 50 | <?php } ?> | 50 | <?php } ?> | 
| 51 | 51 | ||
| 52 | <p class="text-muted text-uppercase mb-small text-left"><?= \Yii::$app->formatter->asDate( | 52 | <p class="text-muted text-uppercase mb-small text-left"><?= \Yii::$app->formatter->asDate( | 
| 53 | - $model->created_at | 53 | + $model->created_at, | 
| 54 | + 'short' | ||
| 54 | ); ?></p> | 55 | ); ?></p> | 
| 55 | 56 | ||
| 56 | <div id="post-content"> | 57 | <div id="post-content"> | 
| @@ -173,7 +174,7 @@ _________________________________________________________ --> | @@ -173,7 +174,7 @@ _________________________________________________________ --> | ||
| 173 | 174 | ||
| 174 | <div class="panel sidebar-menu"> | 175 | <div class="panel sidebar-menu"> | 
| 175 | <div class="panel-heading"> | 176 | <div class="panel-heading"> | 
| 176 | - <h3 class="panel-title"><?=\Yii::t('app', 'Поиск по тегам')?></h3> | 177 | + <h3 class="panel-title"><?= \Yii::t('app', 'Search by tag') ?></h3> | 
| 177 | </div> | 178 | </div> | 
| 178 | 179 | ||
| 179 | <div class="panel-body"> | 180 | <div class="panel-body"> | 
frontend/views/layouts/main.php
| @@ -395,7 +395,10 @@ _________________________________________________________ --> | @@ -395,7 +395,10 @@ _________________________________________________________ --> | ||
| 395 | 395 | ||
| 396 | <p><?= \Yii::t('app', 'Form sends success') ?></p> | 396 | <p><?= \Yii::t('app', 'Form sends success') ?></p> | 
| 397 | <p class="text-center"> | 397 | <p class="text-center"> | 
| 398 | - <button type="button" class="btn btn-template-primary" data-dismiss="modal">Close</button> | 398 | + <button type="button" class="btn btn-template-primary" data-dismiss="modal"><?= \Yii::t( | 
| 399 | + 'app', | ||
| 400 | + 'Close' | ||
| 401 | + ); ?></button> | ||
| 399 | </p> | 402 | </p> | 
| 400 | </div> | 403 | </div> | 
| 401 | </div> | 404 | </div> | 
