diff --git a/common/messages/en/app.php b/common/messages/en/app.php index 25f1b80..207ea68 100644 --- a/common/messages/en/app.php +++ b/common/messages/en/app.php @@ -21,22 +21,23 @@ "Search by article" => 'Search by article', 'Send' => 'Send', 'Send message' => 'Send message', - 'Events' => 'Events', - 'You question' => 'You question', - 'News' => 'News', - 'Media' => 'Media', - 'More' => 'More', - 'Form sends success' => 'Form sends success', - 'Message' => 'Message', - 'Name' => 'Name', - 'Phone' => 'Phone', + 'Events' => 'Events', + 'You question' => 'You question', + 'News' => 'News', + 'Media' => 'Media', + 'More' => 'More', + 'Form sends success' => 'Form sends success', + 'Message' => 'Message', + 'Name' => 'Name', + 'Phone' => 'Phone', 'Form sends success Header' => 'Success', 'Empty field' => 'This field is required.Please fill it', + 'Empty dataProvider' => 'No results found', 'Wrong email' => 'Field Email is not valid', 'phone' => 'phone', 'Without category' =>'Without category', 'Our advantages' => 'Our advantages', 'Читать далее' => 'Read more', - + 'Close' => 'Close', ]; \ No newline at end of file diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php index 9be71d8..0866943 100644 --- a/common/messages/ru/app.php +++ b/common/messages/ru/app.php @@ -2,30 +2,30 @@ return [ 'Home' => 'Главная', 'Contacts' => 'Контакты', - 'About' => 'О нас', - 'Blog' => 'Блог', - 'Events' => 'Мероприятия', - 'You question' => 'Сообщение', - 'Contact us!' => 'Свяжитесь с нами', - 'Go to contact page' => 'Перейти на страницу контактов', - 'Send message' => 'Отправить сообщение', - 'Contact form' => "Форма для связи", - 'News' => 'Новости', - 'Media' => 'Медиа', - 'More' => 'Подробнее', - 'Company Blog' => 'Блог компании', - - 'Name' => 'Имя', - 'Phone' => 'Телефон', - 'blog-txt' => ' Мы собираем полезные материалы по тематике бытовой техники и электроники', - 'Continue reading' => 'Продолжить чтение', - 'Address' => 'Адрес', - 'phone' => 'Телефон', - 'Form sends success' => 'Форма успешно отправлена', - 'Gallery' =>'Галерея', - 'Categories' => 'Категории', - 'Without category' =>'Без категории', - 'No results found' =>'Ничего не найдено', + 'About' => 'О нас', + 'Blog' => 'Блог', + 'Events' => 'Мероприятия', + 'You question' => 'Сообщение', + 'Contact us!' => 'Свяжитесь с нами', + 'Go to contact page' => 'Перейти на страницу контактов', + 'Send message' => 'Отправить сообщение', + 'Contact form' => "Форма для связи", + 'News' => 'Новости', + 'Media' => 'Медиа', + 'More' => 'Подробнее', + 'Company Blog' => 'Блог компании', + 'Close' => 'Закрыть', + 'Name' => 'Имя', + 'Phone' => 'Телефон', + 'blog-txt' => ' Мы собираем полезные материалы по тематике бытовой техники и электроники', + 'Continue reading' => 'Продолжить чтение', + 'Address' => 'Адрес', + 'phone' => 'Телефон', + 'Form sends success' => 'Форма успешно отправлена', + 'Gallery' =>'Галерея', + 'Categories' => 'Категории', + 'Without category' =>'Без категории', + 'No results found' =>'Ничего не найдено', 'Form sends success Header' => 'Форма успешно отправлена ', 'Our advantages' => 'Наши преимущества', 'Our clients' =>'Наши клиенты', @@ -37,5 +37,5 @@ return [ 'Wrong email' => 'Поле Email не валидное', 'Message' => 'Сообщение', 'Send Message' => 'Отправить сообщение', - + 'Empty dataProvider' => 'Ничего не найдено', ]; \ No newline at end of file diff --git a/common/messages/ua/app.php b/common/messages/ua/app.php index efc64a6..196c16c 100644 --- a/common/messages/ua/app.php +++ b/common/messages/ua/app.php @@ -28,13 +28,13 @@ return [ 'Gallery' =>'Галерея', 'Without category' =>'Без категорії', 'No results found' =>'Нічого не знайдено', - - 'Our advantages' => 'Наші переваги', - 'Our clients'=>'Наші клієнти', - - 'Search'=>'Пошук', - 'Search by tag' => 'Пошук по тегам', - "Search by article"=>'Поиск по статтям', + 'Close' => 'Закрити', + 'Our advantages' => 'Наші переваги', + 'Our clients' =>'Наші клієнти', + 'Empty dataProvider' => 'Нічого не знайдено', + 'Search' =>'Пошук', + 'Search by tag' => 'Пошук по тегам', + "Search by article" =>'Поиск по статтям', 'Form sends success Header' => 'Форма успішно відправлена', 'name' => 'Ім\'я', diff --git a/frontend/views/blog/view.php b/frontend/views/blog/view.php index e5ea3df..924842e 100755 --- a/frontend/views/blog/view.php +++ b/frontend/views/blog/view.php @@ -51,7 +51,8 @@ _________________________________________________________ -->

formatter->asDate( - $model->created_at + $model->created_at, + 'short' ); ?>

diff --git a/frontend/views/event/tag.php b/frontend/views/event/tag.php index 4c78b1e..d86d0c0 100755 --- a/frontend/views/event/tag.php +++ b/frontend/views/event/tag.php @@ -51,6 +51,7 @@ _________________________________________________________ --> 'id' => 'blog-listing-medium', ], 'layout' => '{items}{pager}', + 'emptyText' => \Yii::t('app', 'Empty dataProvider'), ] ); ?> diff --git a/frontend/views/event/view.php b/frontend/views/event/view.php index 6b8a863..4dfde9f 100755 --- a/frontend/views/event/view.php +++ b/frontend/views/event/view.php @@ -50,7 +50,8 @@ _________________________________________________________ -->

formatter->asDate( - $model->created_at + $model->created_at, + 'short' ); ?>

@@ -173,7 +174,7 @@ _________________________________________________________ --> -- libgit2 0.21.4