diff --git a/common/config/main.php b/common/config/main.php
index 1e146bf..88c6f11 100644
--- a/common/config/main.php
+++ b/common/config/main.php
@@ -53,6 +53,7 @@
],
],
],
+
'filedb' => [
'class' => 'yii2tech\filedb\Connection',
'path' => '@common/config',
diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php
new file mode 100644
index 0000000..786beba
--- /dev/null
+++ b/common/messages/ru/app.php
@@ -0,0 +1,109 @@
+ то, что я не хочу привязывать к словарю, тк информация несуразна
+ */
+
+
+return [
+
+ 'Signup' =>'Авторизация',
+ 'Signup!' =>'Авторизироватся',
+
+ 'Blog' =>'Блог',
+
+
+ 'Reset password' =>'Восстановление пароля',
+ 'reset it' =>'восстановить его',
+ 'Yours question' =>'Ваш вопрос',
+ 'Yours feedback' =>'Ваш отзыв',
+ 'Second thing' =>'Второе мнение',
+ 'Quest/Answer' =>'Вопрос-ответ',
+ 'Choosing department' =>'Выбор отделения',
+ 'All rights reserved' =>'Все права защищены',
+ 'All callbacks' =>'Все отзывы',
+ 'All questions' =>'Все вопросы',
+ 'All categories' =>'Все рубрики',
+
+
+
+ 'Ua short valute' =>'грн',
+
+
+
+ 'Add to contacts' =>'Добавить в контакты',
+ 'Sorry h3' =>'Данной страницы не существует',
+
+
+
+ 'More by theme' =>'Ещё по теме',
+ 'If u forgot pass u can' =>'Если вы забыли пароль, вы можете',
+
+
+
+ 'Make an appointment' =>'Записаться на прием',
+ 'Login' =>'Зарегистрироватся',
+ 'Asc question' =>'Задать вопрос',
+ 'Request password reset' =>'Запрос на восстановление пароля',
+
+
+ 'Buy' =>'Купить',
+ 'Contacts' =>'Контакты',
+
+
+
+ 'ours clients' =>'наших клиентов',
+
+
+
+ 'Send' =>'Отправить',
+ 'Send SMS' =>'Отправить SMS',
+ 'Send question' =>'Отправить вопрос',
+ 'Department' =>'отделение',
+ 'General issues' =>'Общие вопросы',
+ 'Give feedback' =>'Оставить отзыв',
+ 'Callbacks' =>'Отзывы',
+ 'Callback' =>'Обратная связь',
+ 'Callback phone' =>'Обратный звонок',
+ '404 short description' =>'Ошибка 404 - страница не найдена',
+
+
+
+ 'Package offerings' =>'Пакетные предложения',
+ 'Login ==> fill all fields!'=>'Пожалуста, заполните все указанные поля для регистрации',
+ 'Please choose your new password:'=>'Пожалуйста, выберите себе новый пароль',
+ 'Please fill out the following fields to signup:'=>'Пожалуйста, заполните все указанные поля для авторизации',
+ 'RPRT short' =>'Пожалуйста, введите Ваш email.На него будет выслана ссылка для восстановления',
+ 'More info' =>'подробнее',
+ 'Follow to news on FB' =>' Подписывайтесь на наши новости на канале FACEBOOK',
+ 'Follow' =>'Подписаться',
+
+
+ 'Slide Up' =>'развернуть',
+
+
+
+ 'Creating sites' =>'Создание сайтов',
+ 'Minimize a window' =>'Свернуть окно',
+ 'Thanks for request' =>'Спасибо за Ваш запрос!',
+ 'We`ll call you later' =>'Мы свяжемся с вами в ближайшее время',
+ 'Slide Down' =>'свернуть',
+ 'Save' =>'Сохранить',
+
+ 'Services' =>'Услуги',
+
+
+ 'Price' =>'Цена',
+ 'Prices' =>'Цены',
+ 'Price list description' =>'Цены на услуги медицинской клиники ABClinik',
+
+
+
+
+
+ 'FIO' =>'ФИО',
+ 'Email' =>'Email',
+ 'Office address' =>'Украина, Киев, ул. Кудрявская, 31/33',
+ 'Go to Homepage' =>'На главную',
+ 'ABC short' =>'ABClinic — медицинский центр',
+];
\ No newline at end of file
diff --git a/frontend/views/blog/_article.php b/frontend/views/blog/_article.php
index 66387a4..6f23624 100755
--- a/frontend/views/blog/_article.php
+++ b/frontend/views/blog/_article.php
@@ -26,7 +26,8 @@
=$model->views?>
-
+
tags)){?>
tags as $tag){?>
diff --git a/frontend/views/blog/category.php b/frontend/views/blog/category.php
index e4295ba..49f194f 100755
--- a/frontend/views/blog/category.php
+++ b/frontend/views/blog/category.php
@@ -19,7 +19,7 @@
$seo = \Yii::$app->get('seo');
$this->params[ 'breadcrumbs' ][] = [
- 'label' => \Yii::t('app', 'Блог'),
+ 'label' => \Yii::t('app','Blog'),
'url' => Url::to(['blog/index'])
];
$this->params['breadcrumbs'][] = $model->title;
@@ -30,21 +30,20 @@
-
Блог
+
=\Yii::t('app','Blog');?>
- Подписывайтесь на наши новости
- на канале FACEBOOK
+ =\Yii::t('app','Follow to news on FB');?>
@@ -58,7 +57,8 @@
- =Html::dropDownList('categories', $model->language->alias->value, ['' => 'Все рубрики']+$categories, [
+ =Html::dropDownList('categories', $model->language->alias->value,
+ ['' => \Yii::t('app','All categories')]+$categories, [
'id' => 'blog-categories'
])?>
diff --git a/frontend/views/blog/index.php b/frontend/views/blog/index.php
index c20137a..fcc135f 100755
--- a/frontend/views/blog/index.php
+++ b/frontend/views/blog/index.php
@@ -16,7 +16,7 @@
*/
$seo = \Yii::$app->get('seo');
- $this->params[ 'breadcrumbs' ][] = \Yii::t('app', 'Блог');
+ $this->params[ 'breadcrumbs' ][] = \Yii::t('app', 'Blog');
?>
@@ -24,21 +24,20 @@
-
Блог
+
=\Yii::t('app', 'Blog');?>
- Подписывайтесь на наши новости
- на канале FACEBOOK
+ =\Yii::t('app','Follow to news on FB');?>
@@ -52,7 +51,8 @@
- =Html::dropDownList('categories', null, ['' => 'Все рубрики']+$categories, [
+ =Html::dropDownList('categories', null,
+ ['' => \Yii::t('app','All categories')]+$categories, [
'id' => 'blog-categories'
])?>
diff --git a/frontend/views/blog/tag.php b/frontend/views/blog/tag.php
index 8d6669c..8894554 100755
--- a/frontend/views/blog/tag.php
+++ b/frontend/views/blog/tag.php
@@ -19,7 +19,7 @@
$seo = \Yii::$app->get('seo');
$this->params[ 'breadcrumbs' ][] = [
- 'label' => \Yii::t('app', 'Блог'),
+ 'label' => \Yii::t('app', 'Blog'),
'url' => Url::to(['blog/index'])
];
$this->params['breadcrumbs'][] = $model->title;
@@ -30,21 +30,20 @@
-
Блог
+
=\Yii::t('app', 'Blog');?>
- Подписывайтесь на наши новости
- на канале FACEBOOK
+ =\Yii::t('app','Follow to news on FB');?>
@@ -58,7 +57,8 @@
- =Html::dropDownList('categories', null, ['' => 'Все рубрики']+$categories, [
+ =Html::dropDownList('categories', null,
+ ['' => \Yii::t('app','All categories')]+$categories, [
'id' => 'blog-categories'
])?>
diff --git a/frontend/views/blog/view.php b/frontend/views/blog/view.php
index e7d80a3..941ade5 100755
--- a/frontend/views/blog/view.php
+++ b/frontend/views/blog/view.php
@@ -14,7 +14,7 @@
*/
$this->params[ 'breadcrumbs' ][] = [
- 'label' => \Yii::t('app', 'Блог'),
+ 'label' => \Yii::t('app', 'Blog'),
'url' => [ 'blog/index' ],
];
@@ -88,7 +88,7 @@
-
Отзывы
+
=\Yii::t('app','Callbacks');?>
comments)){?>
-
@@ -399,7 +401,7 @@
'titleTagOptions' => [
'class' => 'style form-title'
],
- 'headerText' => \Yii::t('app', 'Обратный звонок'),
+ 'headerText' => \Yii::t('app', 'Callback'),
'closeTagButton' => 'span',
'closeTagContent' => '',
'closeButtonOptions' => [
@@ -433,7 +435,7 @@
'titleTagOptions' => [
'class' => 'style form-title'
],
- 'headerText' => \Yii::t('app', 'Записаться на прием'),
+ 'headerText' => \Yii::t('app', 'Make an appointment'),
'closeTagButton' => 'span',
'closeTagContent' => '',
'closeButtonOptions' => [
@@ -448,8 +450,8 @@
diff --git a/frontend/views/package/index.php b/frontend/views/package/index.php
index 964ccbe..b53a840 100644
--- a/frontend/views/package/index.php
+++ b/frontend/views/package/index.php
@@ -7,14 +7,14 @@
use artbox\core\helpers\ImageHelper;
use artbox\core\helpers\Url;
- $this->params[ 'breadcrumbs'][] = \Yii::t('app', 'Пакетные предложения');
+ $this->params[ 'breadcrumbs'][] = \Yii::t('app','Package offerings');
?>
-
Пакетные предолжения
+ =\Yii::t('app','Package offerings');?>
@@ -38,7 +38,7 @@
- подробнее
+ =\Yii::t('app','More info');?>
|
diff --git a/frontend/views/package/view.php b/frontend/views/package/view.php
index b156d1d..4dc3510 100644
--- a/frontend/views/package/view.php
+++ b/frontend/views/package/view.php
@@ -25,7 +25,8 @@
=$package->body?>
- Записаться на прием
+
+ =\Yii::t('app','Make an appointment');?>
diff --git a/frontend/views/service/_prices.php b/frontend/views/service/_prices.php
index 2e6baa6..8fa1995 100644
--- a/frontend/views/service/_prices.php
+++ b/frontend/views/service/_prices.php
@@ -7,20 +7,21 @@
- Услуги |
- Цена |
+ =\Yii::t('app','Services');?> |
+ =\Yii::t('app','Price');?> |
=$price->title?> |
- =$price->price?> грн. |
+ =$price->price?> =\Yii::t('app','Ua short valute');?>. |
- Записаться на прием
+
+ =\Yii::t('app','Make an appointment');?>
diff --git a/frontend/views/service/view.php b/frontend/views/service/view.php
index fe4c5d3..1fe216a 100644
--- a/frontend/views/service/view.php
+++ b/frontend/views/service/view.php
@@ -39,7 +39,10 @@
-- Второе мнение
- - Вопрос-ответ
- - Отзывы
+ - =\Yii::t('app','Second thing')?>
+ - =\Yii::t('app','Quest/Answer')?>
+ - =\Yii::t('app','Callbacks')?>
-- = \Yii::t('app', 'Контакты') ?>
- - = \Yii::t('app', 'Второе мнение') ?>
- - = \Yii::t('app', 'Вопрос-ответ') ?>
- - = \Yii::t('app', 'Отзывы') ?>
+ - = \Yii::t('app', 'Contacts') ?>
+ - = \Yii::t('app', 'Second thing') ?>
+ - = \Yii::t('app', 'Quest/Answer') ?>
+ - = \Yii::t('app', 'Callbacks') ?>
= $settings->phone ?>
- обратный звонок + =\Yii::t('app','Callback');?>-- Контакты
- - Второе мнение
- - Вопрос-ответ
- - Отзывы
+ - =\Yii::t('app','Contacts')?>
+ - =\Yii::t('app','Make an appointment');?>
+ - =\Yii::t('app','Quest/Answer');?>
+ - =\Yii::t('app','Callbacks');?>