Guest User

Untitled

a guest
Feb 28th, 2015
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.27 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. *
  5. * @package - mChat
  6. * @version $Id: info_acp_mchat.php
  7. * @copyright (c) 2010 RMcGirr83 ( http://www.rmcgirr83.org/ )
  8. * @copyright (c) 2009 phpbb3bbcodes.com
  9. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  10. *
  11. */
  12. if (!defined('IN_PHPBB'))
  13. {
  14. exit;
  15. }
  16. if (empty($lang) || !is_array($lang))
  17. {
  18. $lang = array();
  19. }
  20.  
  21. // DEVELOPERS PLEASE NOTE
  22. //
  23. // All language files should use UTF-8 as their encoding and the files must not contain a BOM.
  24. //
  25. // Placeholders can now contain order information, e.g. instead of
  26. // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
  27. // translators to re-order the output of data while ensuring it remains correct
  28. //
  29. // You do not need this where single placeholders are used, e.g. 'Message %d' is fine
  30. // equally where a string contains only two placeholders which are used to wrap text
  31. // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
  32. //
  33. // Some characters for use
  34. // ’ » “ ” …
  35.  
  36.  
  37. $lang = array_merge($lang, array(
  38.  
  39. // UMIL stuff
  40. 'ACP_MCHAT_CONFIG' => 'Configuration',
  41. 'ACP_CAT_MCHAT' => 'mChat',
  42. 'ACP_MCHAT_TITLE' => 'Mini-Chat',
  43. 'ACP_MCHAT_TITLE_EXPLAIN' => 'A mini chat (aka “shout box”) for your forum',
  44. 'MCHAT_TABLE_DELETED' => 'The mChat table was successfully deleted',
  45. 'MCHAT_TABLE_CREATED' => 'The mChat table was successfully created',
  46. 'MCHAT_TABLE_UPDATED' => 'The mChat table was successfully updated',
  47. 'MCHAT_NOTHING_TO_UPDATE' => 'Nothing to do....continuing',
  48. 'UCP_CAT_MCHAT' => 'mChat Prefs',
  49. 'UCP_MCHAT_CONFIG' => 'User mChat Prefs',
  50.  
  51. // ACP entries
  52. 'ACP_MCHAT_RULES' => 'Rules',
  53. 'ACP_MCHAT_RULES_EXPLAIN' => 'Enter the rules of the forum here. Each rule on a new line.<br />You are limited to 255 characters.<br /><strong>This message can be translated.</strong> (you must edit the mchat_lang.php file and read the instructions).',
  54. 'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Updated mChat config </strong>',
  55. 'MCHAT_CONFIG_SAVED' => 'Mini Chat configuration has been updated',
  56. 'MCHAT_TITLE' => 'Mini-Chat',
  57. 'MCHAT_VERSION' => 'Version:',
  58. 'MCHAT_ENABLE' => 'Enable mChat MOD',
  59. 'MCHAT_ENABLE_EXPLAIN' => 'Enable or disable the mod globally.',
  60. 'MCHAT_AVATARS' => 'Display avatars',
  61. 'MCHAT_AVATARS_EXPLAIN' => 'If set yes, resized user avatars will be displayed',
  62. 'MCHAT_ON_INDEX' => 'mChat On Index',
  63. 'MCHAT_ON_INDEX_EXPLAIN' => 'Allow the display of the mChat on the index page.',
  64. 'MCHAT_INDEX_HEIGHT' => 'Index Page Height',
  65. 'MCHAT_INDEX_HEIGHT_EXPLAIN' => 'The height of the chat box in pixels on the index page of the forum.<br /><em>You are limited from 50 to 1000</em>.',
  66. 'MCHAT_LOCATION' => 'Location on Forum',
  67. 'MCHAT_LOCATION_EXPLAIN' => 'Choose the location of the mChat on the index page.',
  68. 'MCHAT_TOP_OF_FORUM' => 'Top of Forum',
  69. 'MCHAT_BOTTOM_OF_FORUM' => 'Bottom of Forum',
  70. 'MCHAT_REFRESH' => 'Refresh',
  71. 'MCHAT_REFRESH_EXPLAIN' => 'Number of seconds before chat automatically refreshes.<br /><em>You are limited from 5 to 60 seconds</em>.',
  72. 'MCHAT_PRUNE' => 'Enable Prune',
  73. 'MCHAT_PRUNE_EXPLAIN' => 'Set to yes to enable the prune feature.<br /><em>Only occurs if a user views the custom or archive pages</em>.',
  74. 'MCHAT_PRUNE_NUM' => 'Prune Number',
  75. 'MCHAT_PRUNE_NUM_EXPLAIN' => 'The number of messages to retain in the chat.',
  76. 'MCHAT_MESSAGE_LIMIT' => 'Message limit',
  77. 'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'The maximum number of messages to show in the chat area.<br /><em>Recommended from 10 to 30</em>.',
  78. 'MCHAT_MESSAGE_NUM' => 'Index page message limit',
  79. 'MCHAT_MESSAGE_NUM_EXPLAIN' => 'The maximum number of messages to show in the chat area on the index page.<br /><em>Recommended from 10 to 50</em>.',
  80. 'MCHAT_ARCHIVE_LIMIT' => 'Archive limit',
  81. 'MCHAT_ARCHIVE_LIMIT_EXPLAIN' => 'The maximum number of messages to show per page on the archive page.<br /> <em>Recommended from 25 to 50</em>.',
  82. 'MCHAT_FLOOD_TIME' => 'Flood time',
  83. 'MCHAT_FLOOD_TIME_EXPLAIN' => 'The number of seconds a user must wait before posting another message in the chat.<br /><em>Recommended 5 to 30, set to 0 to disable</em>.',
  84. 'MCHAT_MAX_MESSAGE_LENGTH' => 'Max message length',
  85. 'MCHAT_MAX_MESSAGE_LENGTH_EXPLAIN' => 'Max number of characters allowed per message posted.<br /><em>Recommended from 100 to 500, set to 0 to disable</em>.',
  86. 'MCHAT_CUSTOM_PAGE' => 'Custom Page',
  87. 'MCHAT_CUSTOM_PAGE_EXPLAIN' => 'Allow the use of the custom page',
  88. 'MCHAT_CUSTOM_HEIGHT' => 'Custom Page Height',
  89. 'MCHAT_CUSTOM_HEIGHT_EXPLAIN' => 'The height of the chat box in pixels on the seperate mChat page.<br /><em>You are limited from 50 to 1000</em>.',
  90. 'MCHAT_DATE_FORMAT' => 'Date format',
  91. 'MCHAT_DATE_FORMAT_EXPLAIN' => 'The syntax used is identical to the PHP <a href="http://www.php.net/date">date()</a> function.',
  92. 'MCHAT_CUSTOM_DATEFORMAT' => 'Custom…',
  93. 'MCHAT_WHOIS' => 'Whois',
  94. 'MCHAT_WHOIS_EXPLAIN' => 'Allow a display of users who are chatting',
  95. 'MCHAT_WHOIS_REFRESH' => 'Whois refresh',
  96. 'MCHAT_WHOIS_REFRESH_EXPLAIN' => 'Number of seconds before whois stats refreshes.<br /><em>You are limited from 30 to 300 seconds</em>.',
  97. 'MCHAT_BBCODES_DISALLOWED' => 'Disallowed bbcodes',
  98. '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 %scustom bbcode tag name%s',
  99. 'MCHAT_STATIC_MESSAGE' => 'Static Message',
  100. 'MCHAT_STATIC_MESSAGE_EXPLAIN' => 'Here you can define a static message to display to users of the chat. HTML code is allowed.<br />Set to empty to disable the display. You are limited to 255 characters.<br /><strong>This message can be translated.</strong> (you must edit the mchat_lang.php file and read the instructions).',
  101. 'MCHAT_USER_TIMEOUT' => 'User Timeout',
  102. 'MCHAT_USER_TIMEOUT_EXPLAIN' => 'Set the amount of time, in seconds, until a users session in the chat ends. Set to 0 for no timeout.<br /><em>You are limited to the %sforum config setting for sessions%s which is currently set to %s seconds</em>',
  103. 'MCHAT_OVERRIDE_SMILIE_LIMIT' => 'Override smilie limit',
  104. 'MCHAT_OVERRIDE_SMILIE_LIMIT_EXPLAIN' => 'Set to yes to override the forums smilie limit setting for chat messages',
  105. 'MCHAT_OVERRIDE_MIN_POST_CHARS' => 'Override minimum characters limit',
  106. 'MCHAT_OVERRIDE_MIN_POST_CHARS_EXPLAIN' => 'Set to yes to override the forums minimum characters setting for chat messages',
  107. 'MCHAT_NEW_POSTS' => 'Display New Posts',
  108. 'MCHAT_NEW_POSTS_EXPLAIN' => 'Set to yes to allow new posts from the forum to be posted into the chat message area<br /><strong>You must have the add-on for new post notifications installed</strong> (within the contrib directory of the mod download).',
  109. 'MCHAT_MAIN' => 'Main Configuration',
  110. 'MCHAT_STATS' => 'Whois Chatting',
  111. 'MCHAT_STATS_INDEX' => 'Stats on Index',
  112. 'MCHAT_STATS_INDEX_EXPLAIN' => 'Show who is chatting with in the stats section of the forum',
  113. 'MCHAT_MESSAGES' => 'Message Settings',
  114. 'MCHAT_PAUSE_ON_INPUT' => 'Pause on input',
  115. 'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'If set Yes, then the chat will not autoupdate upon a user entering a message in the input area',
  116.  
  117. // error reporting
  118. 'MCHAT_NEEDS_UPDATING' => 'The mChat mod needs updating. Please have a forum founder visit this section to run the installer.',
  119. 'MCHAT_WRONG_VERSION' => 'The wrong version of the mod is installed. Please run the %sinstaller%s for the new version of the modification.',
  120. 'WARNING' => 'Warning',
  121. 'TOO_LONG_DATE' => 'The date format you entered is too long.',
  122. 'TOO_SHORT_DATE' => 'The date format you entered is too short.',
  123. 'TOO_SMALL_REFRESH' => 'The refresh value is too small.',
  124. 'TOO_LARGE_REFRESH' => 'The refresh value is too large.',
  125. 'TOO_SMALL_MESSAGE_LIMIT' => 'The message limit value is too small.',
  126. 'TOO_LARGE_MESSAGE_LIMIT' => 'The message limit value is too large.',
  127. 'TOO_SMALL_ARCHIVE_LIMIT' => 'The archive limit value is too small.',
  128. 'TOO_LARGE_ARCHIVE_LIMIT' => 'The archive limit value is too large.',
  129. 'TOO_SMALL_FLOOD_TIME' => 'The flood time value is too small.',
  130. 'TOO_LARGE_FLOOD_TIME' => 'The flood time value is too large.',
  131. 'TOO_SMALL_MAX_MESSAGE_LNGTH' => 'The max message length value is too small.',
  132. 'TOO_LARGE_MAX_MESSAGE_LNGTH' => 'The max message length value is too large.',
  133. 'TOO_SMALL_MAX_WORDS_LNGTH' => 'The max words length value is too small.',
  134. 'TOO_LARGE_MAX_WORDS_LNGTH' => 'The max words length value is too large.',
  135. 'TOO_SMALL_WHOIS_REFRESH' => 'The whois refresh value is too small.',
  136. 'TOO_LARGE_WHOIS_REFRESH' => 'The whois refresh value is too large.',
  137. 'TOO_SMALL_INDEX_HEIGHT' => 'The index height value is too small.',
  138. 'TOO_LARGE_INDEX_HEIGHT' => 'The index height value is too large.',
  139. 'TOO_SMALL_CUSTOM_HEIGHT' => 'The custom height value is too small.',
  140. 'TOO_LARGE_CUSTOM_HEIGHT' => 'The custom height value is too large.',
  141. 'TOO_SHORT_STATIC_MESSAGE' => 'The static message value is too short.',
  142. 'TOO_LONG_STATIC_MESSAGE' => 'The static message value is too long.',
  143. 'TOO_SMALL_TIMEOUT' => 'The user timeout value is too small.',
  144. 'TOO_LARGE_TIMEOUT' => 'The user timeout value is too large.',
  145.  
  146. ));
  147.  
  148. ?>
Advertisement
Add Comment
Please, Sign In to add comment