Commit fd77e918b603b9586991bf3a336e57781473c8a5
1 parent
9c523fed
Переводы админки
Showing
8 changed files
with
33 additions
and
48 deletions
Show diff stats
backend/controllers/AjaxController.php
| ... | ... | @@ -50,11 +50,11 @@ |
| 50 | 50 | 'plot' => $data[ 'plot' ], |
| 51 | 51 | 'pie' => [ |
| 52 | 52 | [ |
| 53 | - "category" => "New Visitor", | |
| 53 | + "category" => "Новый посетитель", | |
| 54 | 54 | "column-1" => round(intval($data[ 'new' ]), 2), |
| 55 | 55 | ], |
| 56 | 56 | [ |
| 57 | - "category" => "Returning Visitor", | |
| 57 | + "category" => "Вернувшийся посетитель", | |
| 58 | 58 | "column-1" => 100 - round(intval($data[ 'new' ]), 2), |
| 59 | 59 | ], |
| 60 | 60 | ], |
| ... | ... | @@ -62,21 +62,21 @@ |
| 62 | 62 | '_table', |
| 63 | 63 | [ |
| 64 | 64 | 'data' => $browsers, |
| 65 | - 'name' => 'Browser', | |
| 65 | + 'name' => 'Браузер', | |
| 66 | 66 | ] |
| 67 | 67 | ), |
| 68 | 68 | 'cityes' => $this->renderPartial( |
| 69 | 69 | '_table', |
| 70 | 70 | [ |
| 71 | 71 | 'data' => $cityes, |
| 72 | - 'name' => 'City', | |
| 72 | + 'name' => 'Город', | |
| 73 | 73 | ] |
| 74 | 74 | ), |
| 75 | 75 | 'countries' => $this->renderPartial( |
| 76 | 76 | '_table', |
| 77 | 77 | [ |
| 78 | 78 | 'data' => $countries, |
| 79 | - 'name' => 'Country', | |
| 79 | + 'name' => 'Страна', | |
| 80 | 80 | ] |
| 81 | 81 | ), |
| 82 | 82 | 'sessions' => (int) $data[ 'sessions' ], | ... | ... |
backend/controllers/SettingsController.php
backend/controllers/SitemapController.php
backend/views/layouts/main.php
| ... | ... | @@ -206,7 +206,7 @@ |
| 206 | 206 | <div class="input-group"> |
| 207 | 207 | <input type="text" class="form-control" placeholder="Поиск..."> |
| 208 | 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 | 210 | </span> |
| 211 | 211 | </div> |
| 212 | 212 | </div> | ... | ... |
backend/views/site/index.php
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | <div class="count" id="sessions">0</div> |
| 25 | 25 | |
| 26 | 26 | <h3>Сессий</h3> |
| 27 | - <p>Lorem ipsum psdea itgum rixt.</p> | |
| 27 | + <p>Задача организации, в особенности же укрепление и развитие.</p> | |
| 28 | 28 | </div> |
| 29 | 29 | </div> |
| 30 | 30 | <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12"> |
| ... | ... | @@ -35,7 +35,7 @@ |
| 35 | 35 | <div class="count" id="users">0</div> |
| 36 | 36 | |
| 37 | 37 | <h3>Пользователей</h3> |
| 38 | - <p>Lorem ipsum psdea itgum rixt.</p> | |
| 38 | + <p>Задача организации, в особенности же укрепление и развитие.</p> | |
| 39 | 39 | </div> |
| 40 | 40 | </div> |
| 41 | 41 | <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12"> |
| ... | ... | @@ -46,7 +46,7 @@ |
| 46 | 46 | <div class="count" id="views">0</div> |
| 47 | 47 | |
| 48 | 48 | <h3>Просмотров</h3> |
| 49 | - <p>Lorem ipsum psdea itgum rixt.</p> | |
| 49 | + <p>Задача организации, в особенности же укрепление и развитие.</p> | |
| 50 | 50 | </div> |
| 51 | 51 | </div> |
| 52 | 52 | <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12"> |
| ... | ... | @@ -57,7 +57,7 @@ |
| 57 | 57 | <div class="count" id="newusers">0</div> |
| 58 | 58 | |
| 59 | 59 | <h3>Сессий</h3> |
| 60 | - <p>Lorem ipsum psdea itgum rixt.</p> | |
| 60 | + <p>Задача организации, в особенности же укрепление и развитие.</p> | |
| 61 | 61 | </div> |
| 62 | 62 | </div> |
| 63 | 63 | </div> | ... | ... |
backend/views/sitemap/update.php
| ... | ... | @@ -51,13 +51,13 @@ |
| 51 | 51 | ) |
| 52 | 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 | 62 | ) . $form->field( |
| 63 | 63 | $model, |
| ... | ... | @@ -141,13 +141,13 @@ |
| 141 | 141 | ->label(false) |
| 142 | 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 | 28 | 'Write text to search for.' => 'Введиите текст для поиска.', |
| 29 | 29 | 'Write at least 3 symbols.' => 'Введите минимум 3 символа', |
| 30 | 30 | 'Save' => 'Сохранить', |
| 31 | - | |
| 31 | + 'Title' => 'Заголовок', | |
| 32 | + 'Select color ...' => 'Выберите цвет ...', | |
| 33 | + 'Create' => 'Создать', | |
| 34 | + 'Update' => 'Обновить', | |
| 35 | + 'Search' => 'Найти', | |
| 36 | + 'Reset' => 'Сбросить', | |
| 32 | 37 | ]; |
| 33 | 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 | 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 | 3 | \ No newline at end of file | ... | ... |