Commit 02b1aa33aa4f01b9488a14989faa60c444092122

Authored by Eugeny Galkovskiy
1 parent b3a3f2e6

translates 2

backend/controllers/FeedbackController.php
... ... @@ -134,7 +134,7 @@ class FeedbackController extends Controller
134 134 if (($model = Feedback::findOne($id)) !== null) {
135 135 return $model;
136 136 } else {
137   - throw new NotFoundHttpException('The requested page does not exist.');
  137 + throw new NotFoundHttpException(\Yii::t('core', 'The requested page does not exist.'));
138 138 }
139 139 }
140 140  
... ...
backend/controllers/PersoneController.php
... ... @@ -153,7 +153,7 @@
153 153 if (( $model = Persone::findOne($id) ) !== null) {
154 154 return $model;
155 155 } else {
156   - throw new NotFoundHttpException('The requested page does not exist.');
  156 + throw new NotFoundHttpException(\Yii::t('core', 'The requested page does not exist.'));
157 157 }
158 158 }
159 159 }
... ...
backend/controllers/SettingsController.php
... ... @@ -136,7 +136,7 @@
136 136 ) {
137 137 return $model;
138 138 } else {
139   - throw new InvalidConfigException('Settings file not found');
  139 + throw new InvalidConfigException(\Yii::t('core', 'Settings file not found'));
140 140 }
141 141 }
142 142 }
... ...
common/messages/ru/core.php
... ... @@ -63,4 +63,23 @@ return [
63 63 'date' => 'Дата',
64 64 'service' => 'Услуга',
65 65 'time' => 'Время',
  66 + 'Registered on {date}' => 'Зарегистрирован {date}',
  67 + 'Last update on {date}' => 'Последнее обновление {date}',
  68 + 'Page' => 'страницу',
  69 + 'Settings saved' => 'Настройки сохранены',
  70 + 'Robots saved' => 'Robots сохранены',
  71 + 'Codes saved successfully' => 'Коды успешно сохранены',
  72 + 'Settings file not found' => 'Файл настроек не найден',
  73 + 'The requested page does not exist.' => 'Данной страницы не существует.',
  74 + 'Notification' => 'Уведомление',
  75 + 'Status changed' => 'Статус изменён',
  76 + 'Sitemap generated to ' => 'Карта сайта сгенерирована в ',
  77 + 'Priority' => 'Приоритет',
  78 + 'Frequency' => 'Частота',
  79 + 'Alias' => 'псевдоним',
  80 + 'Description' => 'Описание',
  81 + 'Language' => 'Язык',
  82 + 'Seo text' => 'SEO текст',
  83 + 'Entity' => 'Сущность',
  84 + 'Create' => 'Создать',
66 85 ];
67 86 \ No newline at end of file
... ...
frontend/web/robots.txt
1   -User-agent: *
2   -Disallow: /en/
3   -Disallow: /ua/
4   -Host: https://kristal-estet.com/
5   -Sitemap: https://kristal-estet.com/sitemap.xml