mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Merge pull request #177 from mrmlnc/master
Adding new rows in the language files
This commit is contained in:
commit
15590c1d65
@ -12,28 +12,28 @@ $showTips = (!$uploadsWritable || !$themesWritable || !$curlInstalled || !$gdIns
|
||||
<div class="callout callout-warning">
|
||||
<div class="header">
|
||||
<i class="icon-warning"></i>
|
||||
<h3>System configuration tips</h3>
|
||||
<p>There are issues you need to pay attention to in order to configure the system properly.</p>
|
||||
<h3><?= e(trans('backend::lang.warnings.tips')) ?></h3>
|
||||
<p><?= e(trans('backend::lang.warnings.tips_description')) ?></p>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<ul>
|
||||
<?php if (!$uploadsWritable): ?>
|
||||
<li>Directory <strong>/uploads</strong> or its subdirectories is not writable for PHP. Please set corresponding permissions for the webserver on this directory.</li>
|
||||
<li><?= Lang::get('backend::lang.warnings.permissions', ['name' => '<strong>/uploads</strong>']); ?></li>
|
||||
<?php endif ?>
|
||||
<?php if (!$uploadsWritable): ?>
|
||||
<li>Directory <strong>/themes</strong> or its subdirectories is not writable for PHP. Please set corresponding permissions for the webserver on this directory.</li>
|
||||
<li><?= Lang::get('backend::lang.warnings.permissions', ['name' => '<strong>/themes</strong>']); ?></li>
|
||||
<?php endif ?>
|
||||
<?php if (!$curlInstalled): ?>
|
||||
<li>The PHP extension <strong>cURL</strong> is not installed. Please install this library and activate the extension.</li>
|
||||
<li><?= Lang::get('backend::lang.warnings.extension', ['name' => '<strong>cURL</strong>']); ?></li>
|
||||
<?php endif ?>
|
||||
<?php if (!$gdInstalled): ?>
|
||||
<li>The PHP extension <strong>GD</strong> is not installed. Please install this library and activate the extension.</li>
|
||||
<li><?= Lang::get('backend::lang.warnings.extension', ['name' => '<strong>GD</strong>']); ?></li>
|
||||
<?php endif ?>
|
||||
<?php if (!$zipInstalled): ?>
|
||||
<li>The PHP extension <strong>Zip</strong> is not installed. Please install this library and activate the extension.</li>
|
||||
<li><?= Lang::get('backend::lang.warnings.extension', ['name' => '<strong>Zip</strong>']); ?></li>
|
||||
<?php endif ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
|
@ -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.",
|
||||
],
|
||||
];
|
||||
'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.'
|
||||
],
|
||||
];
|
||||
|
@ -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 не установлено. Установите эту библиотеку и активируйте расширение.'
|
||||
],
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user