Commit fd77e918b603b9586991bf3a336e57781473c8a5

Authored by Eugeny Galkovskiy
1 parent 9c523fed

Переводы админки

backend/controllers/AjaxController.php
@@ -50,11 +50,11 @@ @@ -50,11 +50,11 @@
50 'plot' => $data[ 'plot' ], 50 'plot' => $data[ 'plot' ],
51 'pie' => [ 51 'pie' => [
52 [ 52 [
53 - "category" => "New Visitor", 53 + "category" => "Новый посетитель",
54 "column-1" => round(intval($data[ 'new' ]), 2), 54 "column-1" => round(intval($data[ 'new' ]), 2),
55 ], 55 ],
56 [ 56 [
57 - "category" => "Returning Visitor", 57 + "category" => "Вернувшийся посетитель",
58 "column-1" => 100 - round(intval($data[ 'new' ]), 2), 58 "column-1" => 100 - round(intval($data[ 'new' ]), 2),
59 ], 59 ],
60 ], 60 ],
@@ -62,21 +62,21 @@ @@ -62,21 +62,21 @@
62 '_table', 62 '_table',
63 [ 63 [
64 'data' => $browsers, 64 'data' => $browsers,
65 - 'name' => 'Browser', 65 + 'name' => 'Браузер',
66 ] 66 ]
67 ), 67 ),
68 'cityes' => $this->renderPartial( 68 'cityes' => $this->renderPartial(
69 '_table', 69 '_table',
70 [ 70 [
71 'data' => $cityes, 71 'data' => $cityes,
72 - 'name' => 'City', 72 + 'name' => 'Город',
73 ] 73 ]
74 ), 74 ),
75 'countries' => $this->renderPartial( 75 'countries' => $this->renderPartial(
76 '_table', 76 '_table',
77 [ 77 [
78 'data' => $countries, 78 'data' => $countries,
79 - 'name' => 'Country', 79 + 'name' => 'Страна',
80 ] 80 ]
81 ), 81 ),
82 'sessions' => (int) $data[ 'sessions' ], 82 'sessions' => (int) $data[ 'sessions' ],
backend/controllers/SettingsController.php
@@ -119,7 +119,7 @@ @@ -119,7 +119,7 @@
119 ) { 119 ) {
120 return $model; 120 return $model;
121 } else { 121 } else {
122 - throw new InvalidConfigException('Settings file not found'); 122 + throw new InvalidConfigException('Файл настроек не найден');
123 } 123 }
124 } 124 }
125 } 125 }
backend/controllers/SitemapController.php
@@ -127,7 +127,7 @@ @@ -127,7 +127,7 @@
127 'success', 127 'success',
128 \Yii::t( 128 \Yii::t(
129 'core', 129 'core',
130 - 'Sitemap generated to ' . \Yii::getAlias( 130 + 'Карта сайта сгенерированна в ' . \Yii::getAlias(
131 $sitemap->path . '.' 131 $sitemap->path . '.'
132 ) 132 )
133 ) 133 )
backend/views/layouts/main.php
@@ -206,7 +206,7 @@ @@ -206,7 +206,7 @@
206 <div class="input-group"> 206 <div class="input-group">
207 <input type="text" class="form-control" placeholder="Поиск..."> 207 <input type="text" class="form-control" placeholder="Поиск...">
208 <span class="input-group-btn"> 208 <span class="input-group-btn">
209 - <button class="btn btn-default" type="button">Вперёд!</button> 209 + <button class="btn btn-default" type="button">Найти</button>
210 </span> 210 </span>
211 </div> 211 </div>
212 </div> 212 </div>
backend/views/site/index.php
@@ -24,7 +24,7 @@ @@ -24,7 +24,7 @@
24 <div class="count" id="sessions">0</div> 24 <div class="count" id="sessions">0</div>
25 25
26 <h3>Сессий</h3> 26 <h3>Сессий</h3>
27 - <p>Lorem ipsum psdea itgum rixt.</p> 27 + <p>Задача организации, в особенности же укрепление и развитие.</p>
28 </div> 28 </div>
29 </div> 29 </div>
30 <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12"> 30 <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 <div class="count" id="users">0</div> 35 <div class="count" id="users">0</div>
36 36
37 <h3>Пользователей</h3> 37 <h3>Пользователей</h3>
38 - <p>Lorem ipsum psdea itgum rixt.</p> 38 + <p>Задача организации, в особенности же укрепление и развитие.</p>
39 </div> 39 </div>
40 </div> 40 </div>
41 <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12"> 41 <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
@@ -46,7 +46,7 @@ @@ -46,7 +46,7 @@
46 <div class="count" id="views">0</div> 46 <div class="count" id="views">0</div>
47 47
48 <h3>Просмотров</h3> 48 <h3>Просмотров</h3>
49 - <p>Lorem ipsum psdea itgum rixt.</p> 49 + <p>Задача организации, в особенности же укрепление и развитие.</p>
50 </div> 50 </div>
51 </div> 51 </div>
52 <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12"> 52 <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
@@ -57,7 +57,7 @@ @@ -57,7 +57,7 @@
57 <div class="count" id="newusers">0</div> 57 <div class="count" id="newusers">0</div>
58 58
59 <h3>Сессий</h3> 59 <h3>Сессий</h3>
60 - <p>Lorem ipsum psdea itgum rixt.</p> 60 + <p>Задача организации, в особенности же укрепление и развитие.</p>
61 </div> 61 </div>
62 </div> 62 </div>
63 </div> 63 </div>
backend/views/sitemap/update.php
@@ -51,13 +51,13 @@ @@ -51,13 +51,13 @@
51 ) 51 )
52 ->dropDownList( 52 ->dropDownList(
53 [ 53 [
54 - 'always' => 'always',  
55 - 'hourly' => 'hourly',  
56 - 'daily' => 'daily',  
57 - 'weekly' => 'weekly',  
58 - 'monthly' => 'monthly',  
59 - 'yearly' => 'yearly',  
60 - 'never' => 'never', 54 + 'always' => 'постоянно',
  55 + 'hourly' => 'ежечасно',
  56 + 'daily' => 'ежедневно',
  57 + 'weekly' => 'еженедельно',
  58 + 'monthly' => 'ежемесячно',
  59 + 'yearly' => 'ежегодно',
  60 + 'never' => 'никогда',
61 ] 61 ]
62 ) . $form->field( 62 ) . $form->field(
63 $model, 63 $model,
@@ -141,13 +141,13 @@ @@ -141,13 +141,13 @@
141 ->label(false) 141 ->label(false)
142 ->dropDownList( 142 ->dropDownList(
143 [ 143 [
144 - 'always' => 'always',  
145 - 'hourly' => 'hourly',  
146 - 'daily' => 'daily',  
147 - 'weekly' => 'weekly',  
148 - 'monthly' => 'monthly',  
149 - 'yearly' => 'yearly',  
150 - 'never' => 'never', 144 + 'always' => 'постоянно',
  145 + 'hourly' => 'ежечасно',
  146 + 'daily' => 'ежедневно',
  147 + 'weekly' => 'еженедельно',
  148 + 'monthly' => 'ежемесячно',
  149 + 'yearly' => 'ежегодно',
  150 + 'never' => 'никогда',
151 ] 151 ]
152 ); 152 );
153 ?> 153 ?>
common/messages/ru/app.php
@@ -28,5 +28,10 @@ @@ -28,5 +28,10 @@
28 'Write text to search for.' => 'Введиите текст для поиска.', 28 'Write text to search for.' => 'Введиите текст для поиска.',
29 'Write at least 3 symbols.' => 'Введите минимум 3 символа', 29 'Write at least 3 symbols.' => 'Введите минимум 3 символа',
30 'Save' => 'Сохранить', 30 'Save' => 'Сохранить',
31 - 31 + 'Title' => 'Заголовок',
  32 + 'Select color ...' => 'Выберите цвет ...',
  33 + 'Create' => 'Создать',
  34 + 'Update' => 'Обновить',
  35 + 'Search' => 'Найти',
  36 + 'Reset' => 'Сбросить',
32 ]; 37 ];
33 \ No newline at end of file 38 \ No newline at end of file
frontend/web/sitemap.xml
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">  
3 - <url>  
4 - <loc>http://www.artbox.dev/</loc>  
5 - <lastmod>2017-03-30</lastmod>  
6 - <changefreq>monthly</changefreq>  
7 - <priority>1</priority>  
8 - </url>  
9 - <url>  
10 - <loc>http://www.artbox.dev/site/contacts</loc>  
11 - <lastmod>2017-03-30</lastmod>  
12 - <changefreq>monthly</changefreq>  
13 - <priority>0.7</priority>  
14 - </url>  
15 - <url>  
16 - <loc>http://www.artbox.dev/en/text-en</loc>  
17 - <lastmod>2017-03-30</lastmod>  
18 - <changefreq>hourly</changefreq>  
19 - <priority>0.7</priority>  
20 - </url>  
21 -</urlset>  
22 \ No newline at end of file 1 \ No newline at end of file
  2 +<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"></urlset>
23 \ No newline at end of file 3 \ No newline at end of file