Commit 7b846b9940a2c6a11bb715005c4b04cf7aefb6d3

Authored by Anastasia
2 parents 4aa38690 e38df1a5

Merge remote-tracking branch 'origin/master'

common/messages/en/app.php
1 1 <?php
2 2 return [
3   - 'Читать далее' => 'Read more'
  3 + 'Читать далее' => 'Read more',
  4 + 'blog-txt' => 'We collect useful materials on household appliances and electronics',
  5 +
  6 +
  7 +
  8 +
  9 +
4 10 ];
5 11 \ No newline at end of file
... ...
common/messages/ru/app.php
... ... @@ -16,5 +16,13 @@ return [
16 16 'Contact form' => "Форма для связи",
17 17 'News' => 'Новости',
18 18 'Media' => 'Медиа',
19   - 'More' => 'Подробнее'
  19 + 'More' => 'Подробнее',
  20 + 'Company Blog' => 'Блог компании',
  21 + 'Categories' => 'Категории',
  22 + 'blog-txt' => ' Мы собираем полезные материалы по тематике бытовой техники и электроники',
  23 + 'Search by tag' => 'Поиск по тегам',
  24 + 'Continue reading' => 'Продолжить чтение',
  25 + 'Address' => 'Адрес',
  26 + 'phone' => 'Телефон',
  27 + 'Our advantages' => 'Наши преимущества',
20 28 ];
21 29 \ No newline at end of file
... ...
common/messages/ua/app.php
... ... @@ -17,6 +17,14 @@ return [
17 17 "Contact form" => 'Форма для зв\'язку',
18 18 'News' => 'Новини',
19 19 'Media' => 'Медіа',
20   - 'More' => 'Докладніше'
21   -
  20 + 'More' => 'Докладніше',
  21 + 'Company Blog' => 'Блог компанії',
  22 + 'Categories' => 'Категорії',
  23 + 'blog-txt' => 'Ми збираємо корисні матеріали з тематики побутової техніки та електроніки',
  24 + 'Search by tag' => 'Пошук по тегам',
  25 + 'Continue reading' => 'Продовжити читання',
  26 + 'Address' => 'Адреса',
  27 + 'phone' => 'телефон',
  28 + 'Our advantages' => 'Наші переваги',
  29 +
22 30 ];
23 31 \ No newline at end of file
... ...
frontend/views/blog/_article.php
... ... @@ -65,7 +65,7 @@
65 65 <p class="intro"><?= $model->body_preview; ?></p>
66 66 <p class="read-more">
67 67 <?= Html::a(
68   - 'Продолжить чтение',
  68 + \Yii::t('app', 'Continue reading'),
69 69 [
70 70 '', 'alias' => $model->alias
71 71 ],
... ...
frontend/views/blog/index.php
... ... @@ -61,12 +61,12 @@ _________________________________________________________ --&gt;
61 61 <div class="panel panel-default sidebar-menu">
62 62  
63 63 <div class="panel-heading">
64   - <h3 class="panel-title">Блог компании</h3>
  64 + <h3 class="panel-title"><?=\Yii::t('app', 'Company Blog')?></h3>
65 65 </div>
66 66  
67 67 <div class="panel-body text-widget">
68 68 <p>
69   - Мы собираем полезные материалы по тематике бытовой техники и электроники
  69 + <?=\Yii::t('app', 'blog-txt')?>
70 70 </p>
71 71  
72 72 </div>
... ... @@ -77,7 +77,7 @@ _________________________________________________________ --&gt;
77 77 <div class="panel panel-default sidebar-menu">
78 78  
79 79 <div class="panel-heading">
80   - <h3 class="panel-title">Категории</h3>
  80 + <h3 class="panel-title"><?=\Yii::t('app', 'Categories')?></h3>
81 81 </div>
82 82  
83 83 <div class="panel-body text-widget">
... ... @@ -103,7 +103,7 @@ _________________________________________________________ --&gt;
103 103 ?>
104 104 <div class="panel sidebar-menu">
105 105 <div class="panel-heading">
106   - <h3 class="panel-title">Поиск по тегам</h3>
  106 + <h3 class="panel-title"><?=\Yii::t('app', 'Search by tag')?></h3>
107 107 </div>
108 108  
109 109 <div class="panel-body">
... ...
frontend/views/event/_event.php
... ... @@ -65,7 +65,7 @@
65 65 <p class="intro"><?= $model->body_preview; ?></p>
66 66 <p class="read-more">
67 67 <?= Html::a(
68   - 'Продолжить чтение',
  68 + \Yii::t('app', 'Continue reading'),
69 69 [
70 70 '', 'alias' => $model->alias
71 71 ],
... ...
frontend/views/event/index.php
... ... @@ -53,7 +53,7 @@ _________________________________________________________ --&gt;
53 53 ?>
54 54 <div class="panel sidebar-menu">
55 55 <div class="panel-heading">
56   - <h3 class="panel-title"><?=\Yii::t('app', 'Поиск по тегам')?></h3>
  56 + <h3 class="panel-title"><?=\Yii::t('app', 'Search by tag')?></h3>
57 57 </div>
58 58  
59 59 <div class="panel-body">
... ...
frontend/views/site/contact.php
... ... @@ -29,24 +29,6 @@ JS;
29 29  
30 30 <div id="content">
31 31 <div class="container" id="contact">
32   -
33   - <section>
34   -
35   - <div class="row">
36   - <div class="col-md-12">
37   - <section>
38   - <div class="heading">
39   - <h2>We are here to help you</h2>
40   - </div>
41   -
42   - <p class="lead">Are you curious about something? Do you have some kind of problem with our products? As am hastily invited settled at limited civilly fortune me. Really spring in extent an by. Judge but built gay party world. Of so am
43   - he remember although required. Bachelor unpacked be advanced at. Confined in declared marianne is vicinity.</p>
44   - <p>Please feel free to contact us, our customer service center is working for you 24/7.</p>
45   - </section>
46   - </div>
47   - </div>
48   -
49   - </section>
50 32 <section>
51 33  
52 34 <div class="row">
... ... @@ -55,7 +37,7 @@ JS;
55 37 <div class="icon">
56 38 <i class="fa fa-map-marker"></i>
57 39 </div>
58   - <h3>Address</h3>
  40 + <h3><?=\Yii::t('app', 'Address')?></h3>
59 41 <p>
60 42 <?php
61 43 if (!empty( $settings->address )) {
... ... @@ -76,9 +58,8 @@ JS;
76 58 <div class="icon">
77 59 <i class="fa fa-phone"></i>
78 60 </div>
79   - <h3> Call center </h3>
80   - <p class="text-muted"> This number is toll free if calling from Great Britain otherwise we advise you to use the electronic form of communication .</p>
81   - <p>
  61 + <h3><?=\Yii::t('app', 'phone')?></h3>
  62 + <p>
82 63 <?php
83 64 echo Html::a(Html::tag('strong', $settings->phone), 'tel:' . $settings->phone);
84 65 ?>
... ... @@ -99,8 +80,7 @@ JS;
99 80 <div class="icon">
100 81 <i class="fa fa-envelope"></i>
101 82 </div>
102   - <h3> Electronic support </h3>
103   - <p class="text-muted"> Please feel free to write an email to us or to use our electronic ticketing system .</p>
  83 + <h3>e-mail</h3>
104 84 <ul class="list-style-none">
105 85 <li>
106 86 <?php
... ...
frontend/views/site/index.php
... ... @@ -60,7 +60,7 @@ _________________________________________________________ --&gt;
60 60 <div class="container">
61 61 <div class="col-md-12">
62 62 <div class="heading text-center">
63   - <h2>Our main focus</h2>
  63 + <h2><?=\Yii::t('app', 'Our advantages')?></h2>
64 64 </div>
65 65  
66 66 <div class="row">
... ...