Version 2.1.0
This commit is contained in:
@@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
@@ -34,30 +34,40 @@ if (empty($lang) || !is_array($lang))
|
||||
// Some characters for use
|
||||
// ’ » “ ” …
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
$lang = array_merge($lang, [
|
||||
'MCHAT_TITLE' => 'mChat',
|
||||
'MCHAT_TITLE_COUNT' => 'mChat [<strong>%1$d</strong>]',
|
||||
'MCHAT_TITLE_COUNT' => [
|
||||
0 => 'mChat',
|
||||
1 => 'mChat [<strong>%1$d</strong>]',
|
||||
],
|
||||
'MCHAT_NAVBAR_CUSTOM_PAGE' => 'mChat page',
|
||||
'MCHAT_NAVBAR_ARCHIVE' => 'Archive',
|
||||
'MCHAT_NAVBAR_RULES' => 'Rules',
|
||||
|
||||
// Who is chatting
|
||||
'MCHAT_WHO_IS_CHATTING' => 'Who is chatting',
|
||||
'MCHAT_ONLINE_USERS_TOTAL' => array(
|
||||
'MCHAT_ONLINE_USERS_TOTAL' => [
|
||||
0 => 'No one is chatting',
|
||||
1 => '<strong>%1$d</strong> user is chatting',
|
||||
2 => '<strong>%1$d</strong> users are chatting',
|
||||
),
|
||||
],
|
||||
'MCHAT_ONLINE_EXPLAIN' => 'based on users active over the past %1$s',
|
||||
'MCHAT_HOURS' => array(
|
||||
'MCHAT_HOURS' => [
|
||||
1 => '%1$d hour',
|
||||
2 => '%1$d hours',
|
||||
),
|
||||
'MCHAT_MINUTES' => array(
|
||||
],
|
||||
'MCHAT_MINUTES' => [
|
||||
1 => '%1$d minute',
|
||||
2 => '%1$d minutes',
|
||||
),
|
||||
'MCHAT_SECONDS' => array(
|
||||
],
|
||||
'MCHAT_SECONDS' => [
|
||||
1 => '%1$d second',
|
||||
2 => '%1$d seconds',
|
||||
),
|
||||
],
|
||||
|
||||
// Custom translations for administrators
|
||||
'MCHAT_RULES_MESSAGE' => '',
|
||||
'MCHAT_STATIC_MESSAGE' => '',
|
||||
|
||||
// Post notification messages (%1$s is replaced with a link to the new/edited post, %2$s is replaced with a link to the forum)
|
||||
'MCHAT_NEW_POST' => 'posted a new topic: %1$s in %2$s',
|
||||
@@ -69,4 +79,4 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_NEW_EDIT' => 'edited a post: %1$s in %2$s',
|
||||
'MCHAT_NEW_EDIT_DELETED' => 'edited a post that was deleted',
|
||||
'MCHAT_NEW_LOGIN' => 'just logged in',
|
||||
));
|
||||
]);
|
||||
|
||||
@@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
@@ -34,7 +34,7 @@ if (empty($lang) || !is_array($lang))
|
||||
// Some characters for use
|
||||
// ’ » “ ” …
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
$lang = array_merge($lang, [
|
||||
// Module titles
|
||||
'ACP_CAT_MCHAT' => 'mChat',
|
||||
'ACP_CAT_MCHAT_USER_CONFIG' => 'mChat in UCP',
|
||||
@@ -47,4 +47,4 @@ $lang = array_merge($lang, array(
|
||||
'LOG_MCHAT_TABLE_PURGED' => '<strong>mChat messages purged</strong><br>» %1$s',
|
||||
'LOG_DELETED_MCHAT' => '<strong>mChat message deleted</strong><br>» %1$s',
|
||||
'LOG_EDITED_MCHAT' => '<strong>mChat message edited</strong><br>» %1$s',
|
||||
));
|
||||
]);
|
||||
|
||||
@@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
@@ -34,6 +34,6 @@ if (empty($lang) || !is_array($lang))
|
||||
// Some characters for use
|
||||
// ’ » “ ” …
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
$lang = array_merge($lang, [
|
||||
'UCP_MCHAT_CONFIG' => 'mChat',
|
||||
));
|
||||
]);
|
||||
|
||||
@@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
@@ -34,7 +34,7 @@ if (empty($lang) || !is_array($lang))
|
||||
// Some characters for use
|
||||
// ’ » “ ” …
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
$lang = array_merge($lang, [
|
||||
'MCHAT_ADD' => 'Send',
|
||||
'MCHAT_ARCHIVE' => 'Archive',
|
||||
'MCHAT_ARCHIVE_PAGE' => 'mChat Archive',
|
||||
@@ -53,7 +53,7 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_RULES' => 'Rules',
|
||||
'MCHAT_WHOIS_USER' => 'IP whois for %1$s',
|
||||
'MCHAT_MESS_LONG' => 'Your message is too long. Please limit it to %1$d characters.',
|
||||
'MCHAT_NO_CUSTOM_PAGE' => 'The mChat custom page is not activated at this time.',
|
||||
'MCHAT_NO_CUSTOM_PAGE' => 'The mChat page is not activated at this time.',
|
||||
'MCHAT_NO_RULES' => 'The mChat rules page is not activated at this time.',
|
||||
'MCHAT_NOACCESS_ARCHIVE' => 'You don’t have permission to view the archive.',
|
||||
'MCHAT_NOJAVASCRIPT' => 'Please enable JavaScript to use mChat.',
|
||||
@@ -64,29 +64,25 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_PAUSE' => 'Paused',
|
||||
'MCHAT_PERMISSIONS' => 'Change user’s permissions',
|
||||
'MCHAT_REFRESHING' => 'Refreshing…',
|
||||
'MCHAT_REFRESH_NO' => 'Update is off',
|
||||
'MCHAT_REFRESH_YES' => 'Updates every <strong>%1$d</strong> seconds',
|
||||
'MCHAT_RESPOND' => 'Respond to user',
|
||||
'MCHAT_SESSION_ENDS' => 'Chat session ends in %1$s',
|
||||
'MCHAT_SESSION_OUT' => 'Chat session has expired',
|
||||
'MCHAT_SMILES' => 'Smilies',
|
||||
'MCHAT_TOTALMESSAGES' => 'Total messages: <strong>%1$d</strong>',
|
||||
'MCHAT_USESOUND' => 'Play sound',
|
||||
'MCHAT_SOUND_ON' => 'Sound is on',
|
||||
'MCHAT_SOUND_OFF' => 'Sound is off',
|
||||
'MCHAT_ENTER' => 'Use Ctrl/Cmd + Enter for the alternative action',
|
||||
'MCHAT_ENTER_SUBMIT' => 'Enter sends the message',
|
||||
'MCHAT_ENTER_LINEBREAK' => 'Enter adds a new line',
|
||||
'MCHAT_COLLAPSE_TITLE' => 'Toggle visibility of mChat',
|
||||
'MCHAT_WHO_IS_REFRESH_EXPLAIN' => 'Refreshes every <strong>%1$d</strong> seconds',
|
||||
'MCHAT_MINUTES_AGO' => array(
|
||||
'MCHAT_MINUTES_AGO' => [
|
||||
0 => 'just now',
|
||||
1 => '%1$d minute ago',
|
||||
2 => '%1$d minutes ago',
|
||||
),
|
||||
],
|
||||
|
||||
// These messages are formatted with JavaScript, hence {} and no %d
|
||||
'MCHAT_CHARACTER_COUNT' => '<strong>{current}</strong> characters',
|
||||
'MCHAT_CHARACTER_COUNT_LIMIT' => '<strong>{current}</strong> out of {max} characters',
|
||||
'MCHAT_SESSION_ENDS_JS' => 'Chat session ends in {timeleft}',
|
||||
'MCHAT_MENTION' => ' @{username} ',
|
||||
|
||||
// Custom translations for administrators
|
||||
'MCHAT_RULES_MESSAGE' => '',
|
||||
'MCHAT_STATIC_MESSAGE' => '',
|
||||
));
|
||||
]);
|
||||
|
||||
@@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
@@ -34,17 +34,18 @@ if (empty($lang) || !is_array($lang))
|
||||
// Some characters for use
|
||||
// ’ » “ ” …
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
$lang = array_merge($lang, [
|
||||
// ACP Configuration sections
|
||||
'MCHAT_SETTINGS_INDEX' => 'Index page settings',
|
||||
'MCHAT_SETTINGS_CUSTOM' => 'Custom page settings',
|
||||
'MCHAT_SETTINGS_CUSTOM' => 'mChat page settings',
|
||||
'MCHAT_SETTINGS_ARCHIVE' => 'Archive page settings',
|
||||
'MCHAT_SETTINGS_POSTS' => 'New posts settings',
|
||||
'MCHAT_SETTINGS_MESSAGES' => 'Message settings',
|
||||
'MCHAT_SETTINGS_PRUNE' => 'Pruning settings (adjustable for founders only)',
|
||||
'MCHAT_SETTINGS_LOG' => 'Log settings (adjustable for founders only)',
|
||||
'MCHAT_SETTINGS_STATS' => 'Who is chatting settings',
|
||||
|
||||
'MCHAT_GLOBALUSERSETTINGS_EXPLAIN' => 'Settings for which a user does <strong>not</strong> have permission to customise are applied as configured below.<br>New user accounts will have initial settings as configured below.<br><br>Go to the <em>mChat in UCP</em> tab of the user permissions section to adjust customisation permissions.<br>Go to the <em>Preferences</em> form in the <em>user management</em> section to see the status of each user’s settings.',
|
||||
'MCHAT_GLOBALUSERSETTINGS_EXPLAIN' => 'Settings for which a user does <strong>not</strong> have permission to customise are applied as configured below.<br>New user accounts will have initial settings as configured below.<br><br>Go to the <em>mChat in UCP</em> tab of the user permissions section to adjust customisation permissions.<br>Go to the <em>Preferences</em> form in the <em>user management</em> section to adjust individual user settings.',
|
||||
'MCHAT_GLOBALUSERSETTINGS_OVERWRITE' => 'Overwrite settings for all users',
|
||||
'MCHAT_GLOBALUSERSETTINGS_OVERWRITE_EXPLAIN' => 'Applies the settings as defined above to <em>all</em> user accounts.',
|
||||
'MCHAT_GLOBALUSERSETTINGS_OVERWRITE_CONFIRM' => 'Confirm overwriting mChat settings for all users',
|
||||
@@ -72,7 +73,7 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_TOP_OF_FORUM' => 'Top',
|
||||
'MCHAT_BOTTOM_OF_FORUM' => 'Bottom',
|
||||
'MCHAT_REFRESH' => 'Refresh interval',
|
||||
'MCHAT_REFRESH_EXPLAIN' => 'Number of seconds before the chat refreshes.<br><em>You are limited from 5 to 60 seconds. Default is 10.</em>',
|
||||
'MCHAT_REFRESH_EXPLAIN' => 'Number of seconds between refreshing messages.<br><em>You are limited from 5 to 60 seconds. Default is 10.</em>',
|
||||
'MCHAT_LIVE_UPDATES' => 'Live updates of edited and deleted messages',
|
||||
'MCHAT_LIVE_UPDATES_EXPLAIN' => 'When a user edits or deletes messages, the changes are updated live for all others, without them having to refresh the page. Disable this if you experience performance issues.',
|
||||
'MCHAT_PRUNE' => 'Enable message pruning',
|
||||
@@ -83,9 +84,8 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_PRUNE_NOW' => 'Prune messages now',
|
||||
'MCHAT_PRUNE_NOW_CONFIRM' => 'Confirm pruning messages',
|
||||
'MCHAT_PRUNED' => '%1$d mChat messages have been pruned',
|
||||
'MCHAT_NAVBAR_LINK' => 'Display link to the custom page in the navbar',
|
||||
'MCHAT_NAVBAR_LINK_COUNT' => 'Display number of active chat sessions in navbar link',
|
||||
'MCHAT_MESSAGE_NUM_CUSTOM' => 'Initial number of messages to display on the custom page',
|
||||
'MCHAT_NAVBAR_LINK_COUNT' => 'Display number of active chat sessions in the navbar link',
|
||||
'MCHAT_MESSAGE_NUM_CUSTOM' => 'Initial number of messages to display on the mChat page',
|
||||
'MCHAT_MESSAGE_NUM_CUSTOM_EXPLAIN' => '<em>You are limited from 5 to 50. Default is 10.</em>',
|
||||
'MCHAT_MESSAGE_NUM_INDEX' => 'Initial number of messages to display on the index page',
|
||||
'MCHAT_MESSAGE_NUM_INDEX_EXPLAIN' => '<em>You are limited from 5 to 50. Default is 10.</em>',
|
||||
@@ -101,9 +101,11 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_EDIT_DELETE_LIMIT_EXPLAIN' => 'Messages older than the specified number of seconds cannot be edited or deleted by the author any more.<br>Users who have <em>edit/delete permission as well as moderator permission are exempt</em> from this time limit.<br>Set to 0 to allow unlimited editing and deleting.',
|
||||
'MCHAT_MAX_MESSAGE_LENGTH' => 'Maximum message length',
|
||||
'MCHAT_MAX_MESSAGE_LENGTH_EXPLAIN' => 'Maximum number of characters allowed per message posted.<br><em>You are limited from 0 to 1000. Default is 500. Set to 0 to disable.</em>',
|
||||
'MCHAT_CUSTOM_PAGE' => 'Enable custom page',
|
||||
'MCHAT_CUSTOM_HEIGHT' => 'Custom page height',
|
||||
'MCHAT_CUSTOM_HEIGHT_EXPLAIN' => 'The height of the chat box in pixels on the custom page.<br><em>You are limited from 50 to 1000. Default is 350.</em>',
|
||||
'MCHAT_MAX_INPUT_HEIGHT' => 'Maximum input field height',
|
||||
'MCHAT_MAX_INPUT_HEIGHT_EXPLAIN' => 'The input field will not expand beyond this number of pixels.<br><em>You are limited from 0 to 1000. Default is 150. Set to 0 to not allow multi-line messages.</em>',
|
||||
'MCHAT_CUSTOM_PAGE' => 'Enable mChat page',
|
||||
'MCHAT_CUSTOM_HEIGHT' => 'mChat page height',
|
||||
'MCHAT_CUSTOM_HEIGHT_EXPLAIN' => 'The height of the chat box in pixels on the mChat page.<br><em>You are limited from 50 to 1000. Default is 350.</em>',
|
||||
'MCHAT_BBCODES_DISALLOWED' => 'Disallowed bbcodes',
|
||||
'MCHAT_BBCODES_DISALLOWED_EXPLAIN' => 'Here you can input the bbcodes that are <strong>not</strong> to be used in a message.<br>Separate bbcodes with a vertical bar, for example:<br>b|i|u|code|list|list=|flash|quote and/or a %1$scustom bbcode tag name%2$s',
|
||||
'MCHAT_STATIC_MESSAGE' => 'Static message',
|
||||
@@ -114,6 +116,8 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_OVERRIDE_SMILIE_LIMIT_EXPLAIN' => 'Set to yes to override the forums smilie limit setting for chat messages',
|
||||
'MCHAT_OVERRIDE_MIN_POST_CHARS' => 'Override minimum characters limit',
|
||||
'MCHAT_OVERRIDE_MIN_POST_CHARS_EXPLAIN' => 'Set to yes to override the forums minimum characters setting for chat messages',
|
||||
'MCHAT_LOG_ENABLED' => 'Add entries to the admin log',
|
||||
'MCHAT_LOG_ENABLED_EXPLAIN' => 'This affects message editing, deleting, pruning and purging.',
|
||||
|
||||
'MCHAT_POSTS_AUTH_CHECK' => 'Require user permission',
|
||||
'MCHAT_POSTS_AUTH_CHECK_EXPLAIN' => 'If set to yes, users who can not use mChat will not generate any post/login notification messages.',
|
||||
@@ -131,29 +135,27 @@ $lang = array_merge($lang, array(
|
||||
|
||||
// Error reporting
|
||||
'TOO_LONG_MCHAT_BBCODE_DISALLOWED' => 'The disallowed bbcodes value is too long.',
|
||||
'TOO_SMALL_MCHAT_CUSTOM_HEIGHT' => 'The custom height value is too small.',
|
||||
'TOO_LARGE_MCHAT_CUSTOM_HEIGHT' => 'The custom height value is too large.',
|
||||
'TOO_SMALL_MCHAT_CUSTOM_HEIGHT' => 'The mChat page height value is too small.',
|
||||
'TOO_LARGE_MCHAT_CUSTOM_HEIGHT' => 'The mChat page height value is too large.',
|
||||
'TOO_LONG_MCHAT_DATE' => 'The date format you entered is too long.',
|
||||
'TOO_SHORT_MCHAT_DATE' => 'The date format you entered is too short.',
|
||||
'TOO_SMALL_MCHAT_FLOOD_TIME' => 'The flood time value is too small.',
|
||||
'TOO_LARGE_MCHAT_FLOOD_TIME' => 'The flood time value is too large.',
|
||||
'TOO_SMALL_MCHAT_INDEX_HEIGHT' => 'The index height value is too small.',
|
||||
'TOO_LARGE_MCHAT_INDEX_HEIGHT' => 'The index height value is too large.',
|
||||
'TOO_SMALL_MCHAT_MAX_MESSAGE_LNGTH' => 'The max message length value is too small.',
|
||||
'TOO_LARGE_MCHAT_MAX_MESSAGE_LNGTH' => 'The max message length value is too large.',
|
||||
'TOO_SMALL_MCHAT_MESSAGE_NUM_CUSTOM' => 'The number of message to display on the custom page is too small.',
|
||||
'TOO_LARGE_MCHAT_MESSAGE_NUM_CUSTOM' => 'The number of message to display on the custom page is too large.',
|
||||
'TOO_LARGE_MCHAT_MAX_INPUT_HEIGHT' => 'The max input height value is too large.',
|
||||
'TOO_SMALL_MCHAT_MESSAGE_NUM_CUSTOM' => 'The number of messages to display on the mChat page is too small.',
|
||||
'TOO_LARGE_MCHAT_MESSAGE_NUM_CUSTOM' => 'The number of messages to display on the mChat page is too large.',
|
||||
'TOO_SMALL_MCHAT_MESSAGE_NUM_INDEX' => 'The number of messages to display on the index page is too small.',
|
||||
'TOO_LARGE_MCHAT_MESSAGE_NUM_INDEX' => 'The number of messages to display on the index page is too large.',
|
||||
'TOO_SMALL_MCHAT_MESSAGE_NUM_ARCHIVE' => 'The number of message to display on the archive page is too small.',
|
||||
'TOO_LARGE_MCHAT_MESSAGE_NUM_ARCHIVE' => 'The number of message to display on the archive page is too large.',
|
||||
'TOO_SMALL_MCHAT_MESSAGE_NUM_ARCHIVE' => 'The number of messages to display on the archive page is too small.',
|
||||
'TOO_LARGE_MCHAT_MESSAGE_NUM_ARCHIVE' => 'The number of messages to display on the archive page is too large.',
|
||||
'TOO_SMALL_MCHAT_REFRESH' => 'The refresh value is too small.',
|
||||
'TOO_LARGE_MCHAT_REFRESH' => 'The refresh value is too large.',
|
||||
'TOO_LONG_MCHAT_STATIC_MESSAGE' => 'The static message value is too long.',
|
||||
'TOO_SMALL_MCHAT_TIMEOUT' => 'The user timeout value is too small.',
|
||||
'TOO_LARGE_MCHAT_TIMEOUT' => 'The user timeout value is too large.',
|
||||
'TOO_SMALL_MCHAT_WHOIS_REFRESH' => 'The whois refresh value is too small.',
|
||||
'TOO_LARGE_MCHAT_WHOIS_REFRESH' => 'The whois refresh value is too large.',
|
||||
|
||||
'MCHAT_30X_REMNANTS' => 'The installation has been aborted.<br>There are remnant modules from the mChat MOD for phpBB 3.0.x in the database. The mChat extension does not work correctly with these modules present.<br>You need to entirely uninstall the mChat MOD before being able to install the mChat extension. Specifically, the modules with the following IDs need to be deleted from the %1$smodules table: %2$s',
|
||||
));
|
||||
]);
|
||||
|
||||
@@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
@@ -34,7 +34,7 @@ if (empty($lang) || !is_array($lang))
|
||||
// Some characters for use
|
||||
// ’ » “ ” …
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
$lang = array_merge($lang, [
|
||||
'MCHAT_PREFERENCES' => 'mChat preferences',
|
||||
'MCHAT_NO_SETTINGS' => 'You are not authorised to customise any settings.',
|
||||
|
||||
@@ -52,8 +52,6 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_DISPLAY_CHARACTER_COUNT' => 'Display number of characters when typing a message',
|
||||
'MCHAT_RELATIVE_TIME' => 'Display relative time for new messages',
|
||||
'MCHAT_RELATIVE_TIME_EXPLAIN' => 'Displays “just now”, “1 minute ago” and so on for each message. Set to <em>No</em> to always display the full date.',
|
||||
'MCHAT_PAUSE_ON_INPUT' => 'Pause on input',
|
||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Do not update mChat upon entering a message',
|
||||
'MCHAT_MESSAGE_TOP' => 'Location of new chat messages',
|
||||
'MCHAT_MESSAGE_TOP_EXPLAIN' => 'New messages will appear at the top or at the bottom in the chat.',
|
||||
'MCHAT_LOCATION' => 'Location on the index page',
|
||||
@@ -69,4 +67,4 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_DATE_FORMAT' => 'Date format',
|
||||
'MCHAT_DATE_FORMAT_EXPLAIN' => 'The syntax used is identical to the PHP <a href="http://www.php.net/date">date()</a> function.',
|
||||
'MCHAT_CUSTOM_DATEFORMAT' => 'Custom…',
|
||||
));
|
||||
]);
|
||||
|
||||
@@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
@@ -34,7 +34,7 @@ if (empty($lang) || !is_array($lang))
|
||||
// Some characters for use
|
||||
// ’ » “ ” …
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
$lang = array_merge($lang, [
|
||||
'ACL_U_MCHAT_USE' => 'Can use mChat',
|
||||
'ACL_U_MCHAT_VIEW' => 'Can view mChat',
|
||||
'ACL_U_MCHAT_EDIT' => 'Can edit own messages',
|
||||
@@ -43,8 +43,8 @@ $lang = array_merge($lang, array(
|
||||
'ACL_U_MCHAT_MODERATOR_DELETE' => 'Can delete anyone’s messages',
|
||||
'ACL_U_MCHAT_IP' => 'Can view IP addresses',
|
||||
'ACL_U_MCHAT_PM' => 'Can use private message',
|
||||
'ACL_U_MCHAT_LIKE' => 'Can like messages',
|
||||
'ACL_U_MCHAT_QUOTE' => 'Can quote messages',
|
||||
'ACL_U_MCHAT_LIKE' => 'Can see like icon (requires BBCode permission)',
|
||||
'ACL_U_MCHAT_QUOTE' => 'Can see quote icon (requires BBCode permission)',
|
||||
'ACL_U_MCHAT_FLOOD_IGNORE' => 'Can ignore flood limit',
|
||||
'ACL_U_MCHAT_ARCHIVE' => 'Can view the archive',
|
||||
'ACL_U_MCHAT_BBCODE' => 'Can use BBCodes',
|
||||
@@ -59,7 +59,6 @@ $lang = array_merge($lang, array(
|
||||
'ACL_U_MCHAT_INPUT_AREA' => 'Can customise <em>Input type</em>',
|
||||
'ACL_U_MCHAT_LOCATION' => 'Can customise <em>Location of mChat on the index page</em>',
|
||||
'ACL_U_MCHAT_MESSAGE_TOP' => 'Can customise <em>Location of new chat messages</em>',
|
||||
'ACL_U_MCHAT_PAUSE_ON_INPUT' => 'Can customise <em>Pause on input</em>',
|
||||
'ACL_U_MCHAT_POSTS' => 'Can customise <em>Display new posts</em>',
|
||||
'ACL_U_MCHAT_RELATIVE_TIME' => 'Can customise <em>Display relative time</em>',
|
||||
'ACL_U_MCHAT_SOUND' => 'Can customise <em>Play sounds</em>',
|
||||
@@ -67,4 +66,4 @@ $lang = array_merge($lang, array(
|
||||
'ACL_U_MCHAT_STATS_INDEX' => 'Can customise <em>Display who is chatting in the stats section</em>',
|
||||
|
||||
'ACL_A_MCHAT' => 'Can manage mChat settings',
|
||||
));
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user