Improve handling and language vars for module images

This commit is contained in:
Marc Alexander
2023-03-15 17:16:47 +01:00
parent b634c3cad8
commit 140ac8761d
14 changed files with 30 additions and 27 deletions

View File

@@ -62,13 +62,13 @@ $lang = array_merge($lang, array(
'MODULE_NAME' => 'Module name',
'MODULE_NAME_EXP' => 'Enter the name of the Module that should be displayed in the Module configuration.',
'MODULE_IMAGE' => 'Module image',
'MODULE_IMAGE_EXP' => 'Enter the filename of the module image. Images need to be in the styles/all/theme/images//portal/ folders',
'MODULE_IMAGE_EXP' => 'Enter the filename of the module image. Images need to be in the styles/all/theme/images//portal/ folder.',
'MODULE_PERMISSIONS' => 'Module permissions',
'MODULE_PERMISSIONS_EXP' => 'Select the groups that should be authorized to view the module. If you want all users to be able to view the module, dont select anything.<br />Select/Deselect multiple groups by holding <samp>CTRL</samp> and clicking.',
'MODULE_IMAGE_WIDTH' => 'Module image width',
'MODULE_IMAGE_WIDTH_EXP' => 'Enter the width of the module image in pixels',
'MODULE_IMAGE_WIDTH_EXP' => 'Enter the width of the module image in pixels.<br>If you do not want a module image, enter <strong>0</strong> as the value.',
'MODULE_IMAGE_HEIGHT' => 'Module image height',
'MODULE_IMAGE_HEIGHT_EXP' => 'Enter the height of the module image in pixels',
'MODULE_IMAGE_HEIGHT_EXP' => 'Enter the height of the module image in pixels.',
'MODULE_RESET' => 'Reset module configuration',
'MODULE_RESET_EXP' => 'This will reset all settings to the default!<br>Due to technical reason, Font Awesome Icons will have to be set manually again after the reset!<br>Fitting icons can be selected from the <a href="https://github.com/board3/Board3-Portal/wiki#empfohlene-fa-icons--recommended-fa-icons" target="_blank" rel="noopener noreferrer"><strong>list of recommended FA icons</strong></a>.',
'MODULE_STATUS' => 'Enable module',