[ticket/16019] Short array syntax and tabulation

PHPBB3-16019
This commit is contained in:
3D-I 2019-08-14 05:28:18 +02:00
parent 6a79083c43
commit a8f2b461d4

View file

@ -21,7 +21,7 @@ if (!defined('IN_PHPBB'))
if (empty($lang) || !is_array($lang)) if (empty($lang) || !is_array($lang))
{ {
$lang = array(); $lang = [];
} }
// DEVELOPERS PLEASE NOTE // DEVELOPERS PLEASE NOTE
@ -36,7 +36,7 @@ if (empty($lang) || !is_array($lang))
// equally where a string contains only two placeholders which are used to wrap text // equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
$lang = array_merge($lang, array( $lang = array_merge($lang, [
'ACP_STYLES_EXPLAIN' => 'Here you can manage the styles available on your board. You can delete, deactivate, activate or reactivate them or install new ones. Please <strong>note</strong> that for obvious reasons like provide proper board operation you cannot uninstall the “<strong><em>prosilver</em></strong>” style. You can also see what a style will look like by using the preview function. Also listed is the total user count for each style, note that overwritten user styles will not be reflected here.', 'ACP_STYLES_EXPLAIN' => 'Here you can manage the styles available on your board. You can delete, deactivate, activate or reactivate them or install new ones. Please <strong>note</strong> that for obvious reasons like provide proper board operation you cannot uninstall the “<strong><em>prosilver</em></strong>” style. You can also see what a style will look like by using the preview function. Also listed is the total user count for each style, note that overwritten user styles will not be reflected here.',
'CANNOT_BE_INSTALLED' => 'Cannot be installed', 'CANNOT_BE_INSTALLED' => 'Cannot be installed',
@ -88,4 +88,4 @@ $lang = array_merge($lang, array(
'UNINSTALL_DEFAULT' => 'You cannot uninstall the default style.', 'UNINSTALL_DEFAULT' => 'You cannot uninstall the default style.',
'BROWSE_STYLES_DATABASE' => 'Browse styles database', 'BROWSE_STYLES_DATABASE' => 'Browse styles database',
)); ]);