Improve handling and language vars for module images
This commit is contained in:
@@ -33,4 +33,5 @@ if (empty($lang) || !is_array($lang))
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_FORUMLIST' => 'Forumliste',
|
||||
'PORTAL_FORUMLIST_EXP' => '<span style="color: #BC2A4D;">In diesem Modul kann auf der Portal Seite kein Modul Bild oder Font Awesome Icon angezeigt werden!</span>',
|
||||
));
|
||||
|
||||
@@ -67,9 +67,9 @@ $lang = array_merge($lang, array(
|
||||
'MODULE_PERMISSIONS' => 'Modul Berechtigungen',
|
||||
'MODULE_PERMISSIONS_EXP' => 'Wähle die Gruppen aus, die berechtigt sein sollen, das Modul zu sehen. Sollen alle Benutzer das Modul sehen können, wähle nichts aus.<br />An- / abwählen mehrerer Gruppen indem man <samp>Strg</samp> gedrückt hält und klickt.',
|
||||
'MODULE_IMAGE_WIDTH' => 'Modul Bild Breite',
|
||||
'MODULE_IMAGE_WIDTH_EXP' => 'Gebe die breite des Modul Bildes in Pixeln ein',
|
||||
'MODULE_IMAGE_WIDTH_EXP' => 'Gebe die breite des Modul Bildes in Pixeln ein.<br>Wenn kein Modul Bild gewünscht, gebe <strong>0</strong> als Wert ein.',
|
||||
'MODULE_IMAGE_HEIGHT' => 'Modul Bild Höhe',
|
||||
'MODULE_IMAGE_HEIGHT_EXP' => 'Gebe die Höhe des Modul Bildes in Pixeln ein',
|
||||
'MODULE_IMAGE_HEIGHT_EXP' => 'Gebe die Höhe des Modul Bildes in Pixeln ein.',
|
||||
'MODULE_RESET' => 'Modul Einstellungen zurücksetzen',
|
||||
'MODULE_RESET_EXP' => 'Dies wird alle Einstellungen des Moduls auf die Standardeinstellungen zurücksetzen!<br>Aus technischen Gründen muss nach dem Zurücksetzen auf die Standardeinstellungen, das FA Icon erneut eingeben werden!<br>Passende Icons können der <a href="https://github.com/board3/Board3-Portal/wiki#empfohlene-fa-icons--recommended-fa-icons" target="_blank" rel="noopener noreferrer"><strong>Liste empfohlener FA-Icons</strong></a> entnommen werden.',
|
||||
'MODULE_STATUS' => 'Aktiviere Modul',
|
||||
|
||||
@@ -33,4 +33,5 @@ if (empty($lang) || !is_array($lang))
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, [
|
||||
'PORTAL_FORUMLIST' => 'Forumliste',
|
||||
'PORTAL_FORUMLIST_EXP' => '<span style="color: #BC2A4D;">In diesem Modul kann auf der Portal Seite kein Modul Bild oder Font Awesome Icon angezeigt werden!</span>',
|
||||
]);
|
||||
|
||||
@@ -67,9 +67,9 @@ $lang = array_merge($lang, [
|
||||
'MODULE_PERMISSIONS' => 'Modul Berechtigungen',
|
||||
'MODULE_PERMISSIONS_EXP' => 'Wählen Sie die Gruppen aus, die berechtigt sein sollen, das Modul zu sehen. Sollen alle Benutzer das Modul sehen können, wählen Sie nichts aus.<br />An- / abwählen mehrerer Gruppen indem man <samp>Strg</samp> gedrückt hält und klickt.',
|
||||
'MODULE_IMAGE_WIDTH' => 'Modul Bild Breite',
|
||||
'MODULE_IMAGE_WIDTH_EXP' => 'Geben Sie hier die Breite des Modul Bildes in Pixeln ein',
|
||||
'MODULE_IMAGE_WIDTH_EXP' => 'Geben Sie hier die Breite des Modul Bildes in Pixeln ein.<br>Wenn kein Modul Bild gewünscht, geben Sie <strong>0</strong> als Wert ein.',
|
||||
'MODULE_IMAGE_HEIGHT' => 'Modul Bild Höhe',
|
||||
'MODULE_IMAGE_HEIGHT_EXP' => 'Geben Sie hier die Höhe des Modul Bildes in Pixeln ein',
|
||||
'MODULE_IMAGE_HEIGHT_EXP' => 'Geben Sie hier die Höhe des Modul Bildes in Pixeln ein.',
|
||||
'MODULE_RESET' => 'Modul Einstellungen zurücksetzen',
|
||||
'MODULE_RESET_EXP' => 'Dies wird alle Einstellungen des Moduls auf die Standardeinstellungen zurücksetzen!<br>Aus technischen Gründen muss nach dem Zurücksetzen auf die Standardeinstellungen, das FA Icon erneut eingeben werden!<br>Passende Icons können der <a href="https://github.com/board3/Board3-Portal/wiki#empfohlene-fa-icons--recommended-fa-icons" target="_blank" rel="noopener noreferrer"><strong>Liste empfohlener FA-Icons</strong></a> entnommen werden.',
|
||||
'MODULE_STATUS' => 'Aktiviere Modul',
|
||||
|
||||
@@ -33,4 +33,5 @@ if (empty($lang) || !is_array($lang))
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_FORUMLIST' => 'Forumlist',
|
||||
'PORTAL_FORUMLIST_EXP' => '<span style="color: #BC2A4D;">A module image or font awesome icon can<61>t be displayed in this module!</span>',
|
||||
));
|
||||
|
||||
@@ -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, don’t 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',
|
||||
|
||||
Reference in New Issue
Block a user