diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php index 4f7b975..0e3e0a7 100644 --- a/common/messages/ru/app.php +++ b/common/messages/ru/app.php @@ -320,4 +320,8 @@ return [ 'copylink' => 'Создание сайтов', 'get_consult' => 'Получить консультацию специалиста', 'Photo' => "Фото", + 'error1' => 'К сожалению,', + 'error2' => 'этой страницы больше нет', + 'error3' => 'Вернуться', + 'error4' => 'на главную', ]; \ No newline at end of file diff --git a/common/messages/ua/app.php b/common/messages/ua/app.php index 88fe389..4b35de1 100644 --- a/common/messages/ua/app.php +++ b/common/messages/ua/app.php @@ -321,4 +321,8 @@ return [ 'city_short' => 'м', 'copylink' => 'Створення сайтів', 'get_consult' => 'Отримати консультацію спеціаліста', + 'error1' => 'Нажаль, ця сторінка', + 'error2' => 'більше не існує', + 'error3' => 'Повернутись', + 'error4' => 'на головну', ]; \ No newline at end of file diff --git a/frontend/views/site/error.php b/frontend/views/site/error.php index 50eda6e..e3afe33 100644 --- a/frontend/views/site/error.php +++ b/frontend/views/site/error.php @@ -22,10 +22,10 @@ use yii\helpers\Html;
К сожалению,
этой страницы больше нет
=\Yii::t('app', 'error1')?>
=\Yii::t('app', 'error2')?>