From 60a5d461ebcbaa197aac589f76138364192c809a Mon Sep 17 00:00:00 2001 From: eZees Date: Mon, 19 May 2014 19:43:41 +0400 Subject: [PATCH] Adding new rows in the language files Moving text from _ warnings.htm in language file lang.php. --- modules/backend/controllers/index/_warnings.htm | 16 ++++++++-------- modules/backend/lang/en/lang.php | 8 +++++++- modules/backend/lang/ru/lang.php | 10 ++++++++-- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/modules/backend/controllers/index/_warnings.htm b/modules/backend/controllers/index/_warnings.htm index ef7f50d92..3c89eb60e 100644 --- a/modules/backend/controllers/index/_warnings.htm +++ b/modules/backend/controllers/index/_warnings.htm @@ -12,28 +12,28 @@ $showTips = (!$uploadsWritable || !$themesWritable || !$curlInstalled || !$gdIns
-

System configuration tips

-

There are issues you need to pay attention to in order to configure the system properly.

+

+

    -
  • Directory /uploads or its subdirectories is not writable for PHP. Please set corresponding permissions for the webserver on this directory.
  • +
  • '/uploads']); ?>
  • -
  • Directory /themes or its subdirectories is not writable for PHP. Please set corresponding permissions for the webserver on this directory.
  • +
  • '/themes']); ?>
  • -
  • The PHP extension cURL is not installed. Please install this library and activate the extension.
  • +
  • 'cURL']); ?>
  • -
  • The PHP extension GD is not installed. Please install this library and activate the extension.
  • +
  • 'GD']); ?>
  • -
  • The PHP extension Zip is not installed. Please install this library and activate the extension.
  • +
  • 'Zip']); ?>
- \ No newline at end of file + diff --git a/modules/backend/lang/en/lang.php b/modules/backend/lang/en/lang.php index c206c881d..fdb4447b0 100644 --- a/modules/backend/lang/en/lang.php +++ b/modules/backend/lang/en/lang.php @@ -136,4 +136,10 @@ return [ 'missing_relation' => "Model ':class' does not contain a definition for ':relation'.", 'invalid_class' => "Model :model used in :class is not valid, it must inherit the \Model class.", ], -]; \ No newline at end of file + 'warnings' => [ + 'tips' => 'System configuration tips', + 'tips_description' => 'There are issues you need to pay attention to in order to configure the system properly.', + 'permissions' => 'Directory :name or its subdirectories is not writable for PHP. Please set corresponding permissions for the webserver on this directory.', + 'extension' => 'The PHP extension :name is not installed. Please install this library and activate the extension.' + ], +]; diff --git a/modules/backend/lang/ru/lang.php b/modules/backend/lang/ru/lang.php index cc7275960..d91f783d6 100644 --- a/modules/backend/lang/ru/lang.php +++ b/modules/backend/lang/ru/lang.php @@ -60,8 +60,8 @@ return [ 'superuser_comment' => "Установите этот флажок, чтобы позволить пользователю получать доступ ко всем областям.", 'send_invite' => 'Отправить приглашение по электронной почте', 'send_invite_comment' => 'Используйте эту опцию, чтобы отправить приглашение пользователю по электронной почте', - 'delete_confirm' => 'Do you really want to delete this administrator?', - 'return' => 'Return to the administrator list', + 'delete_confirm' => 'Вы действительно хотите удалить этого администратора?', + 'return' => 'Вернуться к списку администраторов', 'group' => [ 'name' => 'Группы', 'name_field' => 'Название', @@ -136,4 +136,10 @@ return [ 'missing_relation' => "Модель ':class' не содержит определения для ':relation'", 'invalid_class' => "Модель :model используемая в :class не допустима, она должна наследовать класс \Model.", ], + 'warnings' => [ + 'tips' => 'Подсказки по конфигурации системы', + 'tips_description' => 'Есть проблемы, на которые стоит обратить внимание, чтобы правильно настроить систему.', + 'permissions' => 'Каталог :name или его подкаталоги недоступны для записи. Укажите соответствующие разрешения для веб-сервера.', + 'extension' => 'Расширение PHP :name не установлено. Установите эту библиотеку и активируйте расширение.' + ], ];