From 796ebd26ac1ab27a8cbd5f82eeb0b26b5b06c798 Mon Sep 17 00:00:00 2001 From: dozer111 Date: Fri, 31 Aug 2018 12:38:28 +0300 Subject: [PATCH] full translate --- common/messages/en/app.php | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ common/messages/fr/app.php | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ common/messages/ru/app.php | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ common/messages/ua/app.php | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ frontend/assets/AppAsset.php | 1 + frontend/views/blog/_article.php | 6 ++++-- frontend/views/blog/category.php | 2 +- frontend/views/blog/index.php | 14 ++++++++++---- frontend/views/blog/tag.php | 10 +++++++--- frontend/views/blog/view.php | 10 +++++++--- frontend/views/layouts/main.php | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------- frontend/views/site/error.php | 13 ++++++++++--- frontend/views/site/index.php | 18 ++++++++++++------ frontend/views/site/login.php | 8 ++++++-- frontend/views/site/requestPasswordResetToken.php | 4 +++- frontend/views/site/resetPassword.php | 4 +++- frontend/views/site/signup.php | 22 ++++++++++++++-------- frontend/web/css/changes.css | 7 +++++++ 18 files changed, 433 insertions(+), 92 deletions(-) create mode 100644 common/messages/fr/app.php create mode 100644 common/messages/ru/app.php create mode 100644 common/messages/ua/app.php create mode 100644 frontend/web/css/changes.css diff --git a/common/messages/en/app.php b/common/messages/en/app.php index 15c5adc..43d0cb8 100644 --- a/common/messages/en/app.php +++ b/common/messages/en/app.php @@ -1,3 +1,68 @@ 'Name', + 'Secondname' => 'Surname', + 'Dignity' => 'Title', + 'Gender' => 'Gender', + 'Birth' => 'Date of birth', + 'Citizenship' => 'Nationality', + 'Passport' => 'Series and passport number', + 'Email' => 'E-mail', + 'Organization' => 'Place of work, position', + + 'Participation in events' => 'Participation in events', + 'mark required' => 'mark required', + + 'Conference' => 'Ministerial conference', + 'Geee' => 'Group of Experts on Energy Efficiency (GEEE)', + 'Gere' => 'Group of Experts on Renewal Energetics(GERE)', + + 'Register!' => 'REGISTRATION', + '12-18' => 'November 12-18, 2018 Kiev, Ukraine', + 'About' => 'About the event', + + 'Orgs' => 'Organizers', + 'Prog z' => 'PROGRAM OF THE EVENT', + 'Planning' => 'PLAN YOUR TRIP ', + '9F' => 'Ninth International Forum
on Energy for Sustainable Development', + 'Contacts' => 'CONTACTS', + 'Speakers' => 'Speakers', + "We in socials" => 'We are in social networks', + 'All rights reserved' => 'All rights reserved', + 'Callback' => 'Back call', + 'Phone' => 'Phone number', + 'Message' => 'Message', + 'Send' => 'Send', + 'Thanks for request' => 'Thank you for your inquiry!', + 'We call you later' => 'We will contact you shortly.', + 'Without category' => 'Unassigned', + 'Continue reading' => 'Continue reading', + 'Blog' => 'Blog', + 'Company blog' => 'Company Blog', + 'Categories' => 'Categories', + 'Search by tags' => 'Поиск по тегам', + 'Sorry1' => 'We are sorry - this page is not here anymore', + '404' => 'Error 404 - Page not found', + 'Go to Homepage' => 'Go to Homepage', + 'Fill1' => 'Please fill out the following fields to login:', + 'Forgot1' => 'If you forgot your password you can ', + 'reset it' => 'reset it', + 'Fill2' => 'Please fill out your email. A link to reset password will be sent there.', + 'Choose new pass' => 'Please choose your new password:', + 'Add photo' => 'attach photo', + 'Reqs1' => 'images in jpeg, gif, png format size not more than 2Mb', + + + + + + + + + + + +]; ?> \ No newline at end of file diff --git a/common/messages/fr/app.php b/common/messages/fr/app.php new file mode 100644 index 0000000..819a084 --- /dev/null +++ b/common/messages/fr/app.php @@ -0,0 +1,78 @@ + 'Prénom', + 'Secondname' => 'Nom', + 'Dignity' => 'Le titre', + 'Gender' => 'Devenir', + 'Birth' => 'Date de naissance', + 'Citizenship' => 'La citoyenneté', + 'Passport' => 'Série et numéro de passeport', + 'Email' => 'E-mail', + 'Organization' => 'Lieu de travail, la position', + + + 'Conference' => 'Conférence ministérielle', + 'Geee' => 'Groupe d\'experts sur l\'efficacité énergétique', + 'Gere' => 'Groupe d\'experts sur l’énergie renouvelable', + + + 'Participation in events' => 'Participation à des événements', + 'mark required' => 'marque requise', + + + 'Register!' => 'INSCRIPTION', + '12-18' => '12-18 novembre 2018 Kiev, Ukraine', + 'About' => 'A propos de l\'événement', + + 'Orgs' => 'Les organisateurs ', + 'Prog z' => 'PROGRAMME DE L\'EVENEMENT', + 'Planning' => 'PLANIFIEZ VOTRE VOYAGE', + '9F' => 'Le neuvième Forum international
de l\'énergie pour le développement durable', + 'Contacts' => 'CONTACTS', + 'Speakers' => 'Haut-parleurs', + "We in socials" => 'Nous sommes dans les réseaux sociaux', + 'All rights reserved' => 'Tous droits réservés', + 'Callback' => 'Rappel', + 'Phone' => 'Numéro de téléphone', + 'Message' => 'Votre message', + 'Send' => 'Envoyer', + 'Thanks for request' => 'Merci pour votre demande!', + 'We call you later' => 'Nous vous recontacterons dès que possible.', + 'Without category' => 'Non affecté', + 'Continue reading' => 'Continuer la lecture', + 'Blog' => 'Blog', + 'Company blog' => 'Blog de l\'entreprise', + 'Categories' => 'Catégories', + 'Search by tags' => 'Recherche par tag', + 'Sorry1' => 'Nous sommes désolés - cette page n\'est plus là', + '404' => 'Erreur 404 - Page non trouvée', + 'Go to Homepage' => 'Aller à la page d\'accueil', + 'Fill1' => 'Veuillez remplir les champs suivants pour vous connecter:', + 'Forgot1' => 'Si vous avez oublié votre mot de passe, vous pouvez', + 'reset it' => 'le réinitialiser', + 'Fill2' => 'S\'il vous plaît remplir votre email. Un lien pour réinitialiser le mot de passe y sera envoyé.', + 'Choose new pass' => 'Veuillez choisir votre nouveau mot de passe:', + 'Add photo' => 'joindre la photo', + 'Reqs1' => 'images au format JPEG, GIF, format PNG pas plus de 2 Mo', + + + + + + + + + + + + + + + + + + +]; \ No newline at end of file diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php new file mode 100644 index 0000000..b748872 --- /dev/null +++ b/common/messages/ru/app.php @@ -0,0 +1,66 @@ + 'Имя', + 'Secondname' => 'Фамилия', + 'Dignity' => 'Титул', + 'Gender' => 'Пол', + 'Birth' => 'Дата рождения', + 'Citizenship' => 'Гражданство', + 'Passport' => 'Серия и номер паспорта', + 'Email' => 'Е-мейл', + 'Organization' => 'Место работы, должность', + + 'Conference' => 'Министерская конференция', + 'Geee' => 'Группа експертов по энергоэффективности (GEEE)', + 'Gere' => 'Группа експертов по возобновляемой енергетике (GERE)', + + 'Participation in events' => 'Участие в мероприятиях', + 'mark required' => 'отметить необходимое)', + + + 'Register!' => 'РЕГИСТРАЦИЯ', + '12-18' => '12-18 ноября 2018 года Киев, Украина', + 'About' => 'Про Форум', + 'Orgs' => 'Организаторы', + 'Prog z' => 'Программа Форума', + 'Planning' => 'Планирование поездки', + '9F' => '9й Международный Форум
по Энергетике для устойчивого развития', + 'Contacts' => 'КОНТАКТЫ', + 'Speakers' => 'Спикеры', + "We in socials" => 'Мы в социальных сетях', + 'All rights reserved' => 'Все права защищены', + 'Callback' => 'Обратный звонок', + 'Phone' => 'Номер телефона', + 'Message' => 'Сообщение', + 'Send' => 'Отправить', + 'Thanks for request' => 'Спасибо за Ваш запрос!', + 'We call you later' => 'Мы свяжемся с вами в ближайшее время.', + 'Without category' => 'Без категории', + 'Continue reading' => 'Продолжить чтение', + 'Blog' => 'Блог', + 'Company blog' => 'Блог компании', + 'Categories' => 'Категории', + 'Search by tags' => 'Поиск по тегам', + 'Sorry1' => 'К сожалению, этой страницы больше нет', + '404' => 'Ошибка 404 - Страница не найдена', + 'Go to Homepage' => 'Вернуться на домашнюю страницу', + 'Fill1' => 'Пожалуйста, заполните следующие поля для входа:', + 'Forgot1' => 'Если вы забыли свой пароль, вы можете', + 'reset it' => 'сбросить его', + 'Fill2' => 'Пожалуйста, заполните свой адрес электронной почты. На неё будет отправлена ​​ссылка на сброс пароля.', + 'Choose new pass' => 'Пожалуйста выберите новый пароль:', + 'Add photo' => 'прикрепить фото', + 'Reqs1' => 'изображение в формате jpeg, gif, png размер не более 2Мб', + + + + + + + + + +]; \ No newline at end of file diff --git a/common/messages/ua/app.php b/common/messages/ua/app.php new file mode 100644 index 0000000..42d9264 --- /dev/null +++ b/common/messages/ua/app.php @@ -0,0 +1,69 @@ + 'Ім\'я', + 'Secondname' => 'Прізвище', + 'Dignity' => 'Титул', + 'Gender' => 'Стать', + 'Birth' => 'Дата народження', + 'Citizenship' => 'Громадянство', + 'Passport' => 'Серія та номер паспорта', + 'Email' => 'Е-мейл', + 'Organization' => 'Місце роботи, посада', + + 'Conference' => 'Міністерська конференція', + 'Geee' => 'Група експертів з енергоефективності(GEEE)', + 'Gere' => 'Група експертів з відновлювальної ененргетики (GERE)', + + 'Participation in events' => 'Участь у заходах', + 'mark required' => 'відмітити необхідне', + + 'Register!' => 'РЕЄСТРАЦІЯ', + '12-18' => '12-18 листопада 2018 року, Київ, Україна', + 'About' => 'Про захід', + 'Orgs' => 'Організатори', + 'Prog z' => 'ПРОГРАМА ЗАХОДУ', + 'Planning' => 'ПЛАНУВАННЯ', + '9F' => '9й Міжнародний Форум
з енергетики для сталого розвитку', + 'Contacts' => 'КОНТАКТИ', + 'Speakers' => 'Cпікери', + "We in socials" => 'Ми у соцмережах', + 'All rights reserved' => 'Всі права захищені', + 'Callback' => 'Зворотний дзвінок', + 'Phone' => 'Номер телефона', + 'Message' => 'Повідомлення', + 'Send' => 'Відправити', + 'Thanks for request' => 'Дякуємо за ваш запит!', + 'We call you later' => 'Ми зв\'яжемося з вами найближчим часом.', + 'Without category' => 'Без категорії', + 'Continue reading' => 'Продовжити читання', + 'Blog' => 'Блог', + 'Company blog' => 'Блог компанії', + 'Categories' => 'Категорії', + 'Search by tags' => 'Пошук по тегам', + 'Sorry1' => 'Ця сторінка недоступна', + '404' => 'Помилка 404 - Сторінку не знайдено', + 'Go to Homepage' => 'Перейти на домашню сторінку', + 'Fill1' => 'Будь ласка, заповніть наступні поля для входу:', + 'Forgot1' => 'Якщо ви забули свій пароль,ви можете ', + 'reset it' => 'вiдновити його', + 'Fill2' => 'Будь ласка, заповніть свою електронну пошту. На неї прийде посилання на скидання пароля.', + 'Choose new pass' => 'Будь ласка виберіть новий пароль:', + 'Add photo' => 'приєднати фото', + 'Reqs1' => 'зображення у форматі jpeg, gif, png розмір не більше 2Мб', + + + + + + + + + + + + + +]; \ No newline at end of file diff --git a/frontend/assets/AppAsset.php b/frontend/assets/AppAsset.php index ade81cf..14ec417 100755 --- a/frontend/assets/AppAsset.php +++ b/frontend/assets/AppAsset.php @@ -13,6 +13,7 @@ public $baseUrl = '@web'; public $css = [ 'css/style.css', + 'css/changes.css' ]; public $js = [ 'js/script.js', diff --git a/frontend/views/blog/_article.php b/frontend/views/blog/_article.php index e811949..a15bf36 100755 --- a/frontend/views/blog/_article.php +++ b/frontend/views/blog/_article.php @@ -38,7 +38,9 @@ ) ?>">title; ?>
categories)) { ?> -

Без категории

+

+ +

categories as $category) { @@ -65,7 +67,7 @@

body_preview; ?>

$model->alias ], diff --git a/frontend/views/blog/category.php b/frontend/views/blog/category.php index 23b831d..f536bbd 100755 --- a/frontend/views/blog/category.php +++ b/frontend/views/blog/category.php @@ -17,7 +17,7 @@ $seo = \Yii::$app->get('seo'); $this->params[ 'breadcrumbs' ][] = [ - 'label' => \Yii::t('app', 'Блог'), + 'label' => \Yii::t('app', 'Blog'), 'url' => [ 'blog/index' ], ]; diff --git a/frontend/views/blog/index.php b/frontend/views/blog/index.php index 195f9e7..1068ebc 100755 --- a/frontend/views/blog/index.php +++ b/frontend/views/blog/index.php @@ -15,7 +15,7 @@ */ $seo = \Yii::$app->get('seo'); - $this->params[ 'breadcrumbs' ][] = \Yii::t('app', 'Блог'); + $this->params[ 'breadcrumbs' ][] = \Yii::t('app', 'Blog'); ?> @@ -61,7 +61,9 @@ _________________________________________________________ -->