From 6877f8a473616fffbf7e3183a8d782dde169cf1f Mon Sep 17 00:00:00 2001 From: MarekBenjamin <117765478+MarekBenjamin@users.noreply.github.com> Date: Mon, 28 Nov 2022 01:06:40 +0100 Subject: [PATCH] Update src/Module/Admin/Site.php Co-authored-by: Hypolite Petovan --- src/Module/Admin/Site.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Module/Admin/Site.php b/src/Module/Admin/Site.php index 0c627894b..35f5887ea 100644 --- a/src/Module/Admin/Site.php +++ b/src/Module/Admin/Site.php @@ -468,9 +468,9 @@ class Site extends BaseAdmin '$show_help' => ['show_help', DI::l10n()->t('Show help entry from navigation menu'), !DI::config()->get('system', 'hide_help'), DI::l10n()->t('Displays the menu entry for the Help pages from the navigation menu. It is always accessible by calling /help directly.')], '$singleuser' => ['singleuser', DI::l10n()->t('Single user instance'), DI::config()->get('system', 'singleuser', '---'), DI::l10n()->t('Make this instance multi-user or single-user for the named user'), $user_names], - '$maximagesize' => ['maximagesize', DI::l10n()->t('Maximum image size'), DI::config()->get('system', 'maximagesize'), DI::l10n()->t('Maximum size in bytes of uploaded images. Default is 0, which means no limits.') . - DI::l10n()->t('The value of upload_max_filesize in your PHP.ini needs be set to at least the desired limit. ') . - DI::l10n()->t('Currently upload_max_filesize is set to ' . Strings::getBytesFromShorthand(ini_get('upload_max_filesize')) . ' (' . ini_get('upload_max_filesize') . 'B). '), + '$maximagesize' => ['maximagesize', DI::l10n()->t('Maximum image size'), DI::config()->get('system', 'maximagesize'), DI::l10n()->t('Maximum size in bytes of uploaded images. Default is 0, which means no limits. + The value of upload_max_filesize in your PHP.ini needs be set to at least the desired limit. + Currently upload_max_filesize is set to %s (%sB)', Strings::getBytesFromShorthand(ini_get('upload_max_filesize'), ini_get('upload_max_filesize')), '1 kB = 1 KiB = 1024 Bytes'], '$maximagelength' => ['maximagelength', DI::l10n()->t('Maximum image length'), DI::config()->get('system', 'max_image_length'), DI::l10n()->t('Maximum length in pixels of the longest side of uploaded images. Default is -1, which means no limits.')], '$jpegimagequality' => ['jpegimagequality', DI::l10n()->t('JPEG image quality'), DI::config()->get('system', 'jpeg_quality'), DI::l10n()->t('Uploaded JPEGS will be saved at this quality setting [0-100]. Default is 100, which is full quality.')],