From 31e7d1d3b06e012a2c299cb0f6b3d98d860d7dad Mon Sep 17 00:00:00 2001 From: camer0n Date: Fri, 4 Apr 2025 18:29:07 -0700 Subject: [PATCH] Issue #5465 Core language files converted. (excluding plugins) --- e107_core/templates/email_template.php | 2 +- e107_handlers/e107_class.php | 228 ++-- e107_handlers/e_db_pdo_class.php | 24 +- e107_handlers/form_handler.php | 2 +- e107_handlers/iphandler_class.php | 4 +- e107_handlers/mail.php | 6 +- e107_handlers/message_handler.php | 17 +- e107_languages/English/admin/help/banlist.php | 85 +- e107_languages/English/admin/help/cron.php | 2 +- e107_languages/English/admin/help/mailout.php | 6 +- .../English/admin/help/newspost.php | 2 +- e107_languages/English/admin/lan_admin.php | 1017 +++++++---------- .../English/admin/lan_admin_log.php | 221 ++-- .../English/admin/lan_administrator.php | 92 +- e107_languages/English/admin/lan_banlist.php | 226 ++-- e107_languages/English/admin/lan_cache.php | 59 +- e107_languages/English/admin/lan_cpage.php | 102 +- e107_languages/English/admin/lan_cron.php | 167 ++- e107_languages/English/admin/lan_db.php | 245 ++-- .../English/admin/lan_db_verify.php | 61 +- e107_languages/English/admin/lan_docs.php | 15 +- .../English/admin/lan_e107_update.php | 99 +- e107_languages/English/admin/lan_emoticon.php | 77 +- e107_languages/English/admin/lan_eurl.php | 213 ++-- .../English/admin/lan_fileinspector.php | 169 ++- .../English/admin/lan_filemanager.php | 73 +- e107_languages/English/admin/lan_fla.php | 32 +- e107_languages/English/admin/lan_footer.php | 45 +- .../English/admin/lan_frontpage.php | 48 +- e107_languages/English/admin/lan_header.php | 15 +- e107_languages/English/admin/lan_image.php | 398 +++---- e107_languages/English/admin/lan_lancheck.php | 74 +- e107_languages/English/admin/lan_language.php | 126 +- e107_languages/English/admin/lan_links.php | 97 +- .../English/admin/lan_log_messages.php | 624 ++++------ e107_languages/English/admin/lan_mailout.php | 535 ++++----- e107_languages/English/admin/lan_menus.php | 112 +- e107_languages/English/admin/lan_meta.php | 26 +- e107_languages/English/admin/lan_newspost.php | 367 +++--- e107_languages/English/admin/lan_notify.php | 77 +- e107_languages/English/admin/lan_phpinfo.php | 19 +- e107_languages/English/admin/lan_plugin.php | 565 +++++---- e107_languages/English/admin/lan_prefs.php | 562 +++++---- e107_languages/English/admin/lan_search.php | 86 +- e107_languages/English/admin/lan_theme.php | 247 ++-- e107_languages/English/admin/lan_ugflag.php | 16 +- .../English/admin/lan_updateadmin.php | 17 +- e107_languages/English/admin/lan_upload.php | 128 +-- .../English/admin/lan_userclass2.php | 118 +- e107_languages/English/admin/lan_users.php | 514 ++++----- .../English/admin/lan_users_extended.php | 208 ++-- .../English/admin/lan_validator.php | 60 +- e107_languages/English/admin/lan_wmessage.php | 27 +- e107_languages/English/lan_comment.php | 139 ++- e107_languages/English/lan_contact.php | 54 +- e107_languages/English/lan_date.php | 50 +- e107_languages/English/lan_email.php | 49 +- e107_languages/English/lan_error.php | 111 +- e107_languages/English/lan_form_handler.php | 34 +- e107_languages/English/lan_fpw.php | 84 +- e107_languages/English/lan_installer.php | 280 ++--- .../English/lan_library_manager.php | 53 +- e107_languages/English/lan_login.php | 77 +- e107_languages/English/lan_mail_handler.php | 17 +- e107_languages/English/lan_membersonly.php | 19 +- e107_languages/English/lan_news.php | 71 +- e107_languages/English/lan_notify.php | 41 +- e107_languages/English/lan_np.php | 34 +- e107_languages/English/lan_online.php | 103 +- e107_languages/English/lan_page.php | 33 +- e107_languages/English/lan_print.php | 19 +- e107_languages/English/lan_rate.php | 39 +- e107_languages/English/lan_ren_help.php | 139 ++- e107_languages/English/lan_search.php | 203 ++-- e107_languages/English/lan_signup.php | 270 ++--- e107_languages/English/lan_sitedown.php | 12 +- e107_languages/English/lan_sitelinks.php | 6 +- e107_languages/English/lan_submitnews.php | 50 +- e107_languages/English/lan_top.php | 34 +- e107_languages/English/lan_upload.php | 89 +- e107_languages/English/lan_upload_handler.php | 40 +- e107_languages/English/lan_user.php | 212 ++-- e107_languages/English/lan_user_extended.php | 101 +- e107_languages/English/lan_user_select.php | 15 +- e107_languages/English/lan_userclass.php | 29 +- e107_languages/English/lan_userposts.php | 40 +- e107_languages/English/lan_usersettings.php | 118 +- .../tests/acceptance/0000_InstallCest.php | 11 +- e107_tests/tests/unit/e107Test.php | 224 +++- .../tests/unit/e_parse_shortcodeTest.php | 4 +- e107_tests/tests/unit/e_userpermsTest.php | 8 +- e107_tests/tests/unit/pluginsTest.php | 318 +++--- install.php | 26 +- 93 files changed, 5255 insertions(+), 6358 deletions(-) diff --git a/e107_core/templates/email_template.php b/e107_core/templates/email_template.php index 55c03d26f..58f1543e2 100644 --- a/e107_core/templates/email_template.php +++ b/e107_core/templates/email_template.php @@ -251,7 +251,7 @@ $EMAIL_TEMPLATE['signup']['attachments'] = ""; */ $EMAIL_TEMPLATE['quickadduser']['subject'] = '{SITENAME}: {SUBJECT} '; $EMAIL_TEMPLATE['quickadduser']['header'] = $EMAIL_TEMPLATE['default']['header']; // will use default header above. -$EMAIL_TEMPLATE['quickadduser']['body'] = USRLAN_185.USRLAN_186; +$EMAIL_TEMPLATE['quickadduser']['body'] = USRLAN_185.USRLAN_186; $EMAIL_TEMPLATE['quickadduser']['footer'] = $EMAIL_TEMPLATE['default']['footer']; // will use default footer above. diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index ca809b954..354b888d0 100644 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -3713,132 +3713,138 @@ class e107 return ($ret && is_array($ret) && isset($ret[$key])) ? $ret[$key] : false; } -/** - * Load a language file, serving as a replacement for the legacy include_lan() function. - * - * This method includes a language file and processes it based on its return type. For old-style files using define(), - * it returns the result of the include operation (typically 1 for success). For new-style files returning an array, - * it defines constants from the array and applies an English fallback if the current language is not English. - * - * For modern language loading, consider using e107::lan(), e107::coreLan(), e107::plugLan(), or e107::themeLan() - * as they provide more structured and maintainable options. - * - * @param string $path The full path to the language file (e.g., 'e107_languages/English/lan_admin.php' or 'folder/Spanish/Spanish_global.php'). - * @param bool $force [optional] If true, forces inclusion with include() instead of include_once(). Defaults to false. - * @param string $lang [optional] The language of the file (e.g., 'English', 'Spanish'). If empty, uses e_LANGUAGE or defaults to 'English'. - * @return bool|int|string Returns: - * - false if the file is not readable or no fallback is available, - * - int (typically 1) for successful inclusion of old-style files, - * - true for successful processing of new-style array-based files, - * - string (empty '') if the include result is unset for old-style files. - */ -public static function includeLan($path, $force = false, $lang = '') -{ - if (!is_readable($path)) - { - if ((e_LANGUAGE === 'English') || self::getPref('noLanguageSubs')) - { - return false; - } - self::getDebug()->log("Couldn't load language file: " . $path); - $path = str_replace(e_LANGUAGE, 'English', $path); + /** + * Load a language file, serving as a replacement for the legacy include_lan() function. + * + * This method includes a language file and processes it based on its return type. For old-style files using define(), + * it returns the result of the include operation (typically 1 for success). For new-style files returning an array, + * it defines constants from the array and applies an English fallback if the current language is not English. + * + * For modern language loading, consider using e107::lan(), e107::coreLan(), e107::plugLan(), or e107::themeLan() + * as they provide more structured and maintainable options. + * + * @param string $path The full path to the language file (e.g., 'e107_languages/English/lan_admin.php' or 'folder/Spanish/Spanish_global.php'). + * @param bool $force [optional] If true, forces inclusion with include() instead of include_once(). Defaults to false. + * @param string $lang [optional] The language of the file (e.g., 'English', 'Spanish'). If empty, uses e_LANGUAGE or defaults to 'English'. + * @return bool|int|string Returns: + * - false if the file is not readable or no fallback is available, + * - int (typically 1) for successful inclusion of old-style files, + * - true for successful processing of new-style array-based files, + * - string (empty '') if the include result is unset for old-style files. + */ + public static function includeLan($path, $force = false, $lang = '') + { - self::getDebug()->log("Attempts to load default language file: " . $path); + if(!is_readable($path)) + { + if((e_LANGUAGE === 'English') || self::getPref('noLanguageSubs')) + { + return false; + } - if (!is_readable($path)) - { - self::getDebug()->log("Couldn't load default language file: " . $path); - return false; - } - } + self::getDebug()->log("Couldn't load language file: " . $path); - $adminLanguage = self::getPref('adminlanguage'); + $path = str_replace(e_LANGUAGE, 'English', $path); - if (e_ADMIN_AREA && vartrue($adminLanguage)) - { - $path = str_replace(e_LANGUAGE, $adminLanguage, $path); - } + self::getDebug()->log("Attempts to load default language file: " . $path); - $ret = ($force) ? include($path) : include_once($path); + if(!is_readable($path)) + { + self::getDebug()->log("Couldn't load default language file: " . $path); - // Determine the language: use $lang if provided, otherwise fall back to e_LANGUAGE or 'English' - $effectiveLang = $lang ?: (defined('e_LANGUAGE') ? e_LANGUAGE : 'English'); + return false; + } + } - // If the included file returns an array, process it with the new system - if (is_array($ret)) - { - self::includeLanArray($ret, $path, $effectiveLang); - return true; // New-style success indicator - } + $adminLanguage = self::getPref('adminlanguage'); - // Old-style behavior: return the include result or empty string if unset - return (isset($ret)) ? $ret : ""; -} + if(e_ADMIN_AREA && vartrue($adminLanguage)) + { + $path = str_replace(e_LANGUAGE, $adminLanguage, $path); + } -/** - * Helper method to process array-based language files and apply English fallback. - * - * Defines constants from the provided terms array and, for non-English languages, ensures all English - * constants are defined as a fallback for any missing terms. - * - * @param array $terms The array of language constants returned by the included file (e.g., ['LAN_FOO' => 'Bar']). - * @param string $path The path to the language file, used to determine the English fallback path. - * @param string $lang The language of the current file (e.g., 'Spanish'), used to decide if English fallback is needed. - * @return void - */ -private static function includeLanArray($terms, $path, $lang) -{ - // Use basename of the path as a cache key (e.g., "Spanish_global.php") - $file_key = basename($path); + $ret = ($force) ? include($path) : include_once($path); - static $english_terms = []; // Cache English terms by file key + // Determine the language: use $lang if provided, otherwise fall back to e_LANGUAGE or 'English' + $effectiveLang = $lang ?: (defined('e_LANGUAGE') ? e_LANGUAGE : 'English'); - // Define constants from the current language’s array first - foreach ($terms as $const => $value) - { - if (!defined($const)) - { - define($const, $value); - } - } + // If the included file returns an array, process it with the new system + if(is_array($ret)) + { + self::includeLanArray($ret, $path, $effectiveLang); - // Load English fallback if not cached and not already English - if ($lang !== 'English' && !isset($english_terms[$file_key])) - { - $english_path = preg_replace( - "#/{$lang}/([^/]+)$#i", - '/English/$1', - $path - ); - if (file_exists($english_path)) - { - $english_terms[$file_key] = include($english_path); - if (!is_array($english_terms[$file_key])) - { - $english_terms[$file_key] = []; - } - } - else - { - self::getDebug()->log("No English fallback found for: " . $english_path); - $english_terms[$file_key] = []; - } - } + return true; // New-style success indicator + } - // For non-English, define English constants only if not already defined - if ($lang !== 'English' && !empty($english_terms[$file_key])) - { - foreach ($english_terms[$file_key] as $const => $english_value) - { - if (!defined($const)) - { - define($const, $english_value); - } - } - } -} + // Old-style behavior: return the include result or empty string if unset + return (isset($ret)) ? $ret : ""; + } + + /** + * Helper method to process array-based language files and apply English fallback. + * + * Defines constants from the provided terms array and, for non-English languages, ensures all English + * constants are defined as a fallback for any missing terms. + * + * @param array $terms The array of language constants returned by the included file (e.g., ['LAN_FOO' => 'Bar']). + * @param string $path The path to the language file, used to determine the English fallback path. + * @param string $lang The language of the current file (e.g., 'Spanish'), used to decide if English fallback is needed. + * @return void + */ + private static function includeLanArray($terms, $path, $lang) + { + + // Use basename of the path as a cache key (e.g., "Spanish_global.php") + $file_key = basename($path); + + static $english_terms = []; // Cache English terms by file key + + // Define constants from the current language’s array first + foreach($terms as $const => $value) + { + if(!defined($const)) + { + define($const, $value); + } + } + + // Load English fallback if not cached and not already English + if($lang !== 'English' && !isset($english_terms[$file_key])) + { + $english_path = preg_replace( + "#/{$lang}/([^/]+)$#i", + '/English/$1', + $path + ); + if(file_exists($english_path)) + { + $english_terms[$file_key] = include($english_path); + if(!is_array($english_terms[$file_key])) + { + $english_terms[$file_key] = []; + } + } + else + { + self::getDebug()->log("No English fallback found for: " . $english_path); + $english_terms[$file_key] = []; + } + } + + // For non-English, define English constants only if not already defined + if($lang !== 'English' && !empty($english_terms[$file_key])) + { + foreach($english_terms[$file_key] as $const => $english_value) + { + if(!defined($const)) + { + define($const, $english_value); + } + } + } + } diff --git a/e107_handlers/e_db_pdo_class.php b/e107_handlers/e_db_pdo_class.php index 2705edf3d..71fcc0ac3 100644 --- a/e107_handlers/e_db_pdo_class.php +++ b/e107_handlers/e_db_pdo_class.php @@ -89,10 +89,10 @@ class e_db_pdo implements e_db $config = e107::getMySQLConfig(); - $this->mySQLserver = $config['mySQLserver']; - $this->mySQLuser = $config['mySQLuser']; - $this->mySQLpassword = $config['mySQLpassword']; - $this->mySQLdefaultdb = $config['mySQLdefaultdb']; + $this->mySQLserver = $config['mySQLserver'] ?? ''; + $this->mySQLuser = $config['mySQLuser'] ?? ''; + $this->mySQLpassword = $config['mySQLpassword'] ?? ''; + $this->mySQLdefaultdb = $config['mySQLdefaultdb'] ?? ''; $this->mySQLport = varset($config['port'], 3306); $this->mySQLPrefix = varset($config['mySQLprefix'], 'e107_'); @@ -651,12 +651,12 @@ class e_db_pdo implements e_db * * @param string $table * @param string $fields - * @param string|array $arg; + * @param string|array|false $arg; * * @example e107::getDb()->select("comments", "*", "comment_item_id = '$id' AND comment_type = '1' ORDER BY comment_datestamp"); * @example e107::getDb('sql2')->select("chatbox", "*", "ORDER BY cb_datestamp DESC LIMIT $from, ".$view, true); * @example select('user', 'user_id, user_name', 'user_id=:id OR user_name=:name ORDER BY user_name', array('id' => 999, 'name'=>'e107')); // bind support. - * @return integer Number of rows or false on error + * @return integer|false Number of rows or false on error */ public function select($table, $fields = '*', $arg = '', $noWhere = false, $debug = false, $log_type = '', $log_remark = '') { @@ -1051,9 +1051,9 @@ class e_db_pdo implements e_db /** - * @return int number of affected rows, or false on error + * @return int|false number of affected rows, or false on error * @param string $tableName - Name of table to access, without any language or general DB prefix - * @param array|string $arg (array preferred) + * @param array|string|false $arg (array preferred) * @param bool $debug * @desc Update fields in ONE table of the database corresponding to your $arg variable
*
@@ -1208,7 +1208,7 @@ class e_db_pdo implements e_db * Return a value for use in PDO bindValue() - based on field-type. * @param $type * @param $fieldValue - * @return int|string + * @return int|string|null */ private function _getPDOValue($type, $fieldValue) { @@ -1387,7 +1387,7 @@ class e_db_pdo implements e_db * @param bool $debug * @param string $log_type * @param string $log_remark - * @return int number of affected rows or false on error + * @return int|false number of affected rows or false on error * @desc Count the number of rows in a select
*
* Example:
@@ -1462,7 +1462,7 @@ class e_db_pdo implements e_db /** - * @return int number of affected rows, or false on error + * @return int|false number of affected rows, or false on error * @param string $table * @param string $arg * @desc Delete rows from a table
@@ -2534,7 +2534,7 @@ class e_db_pdo implements e_db /** - * @return string relating to error (empty string if no error) + * @return string|null relating to error (empty string if no error) * @param string $from * @desc Calling method from within this class * @access private diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index 353dc3cb4..d64938ab9 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -90,7 +90,7 @@ class e_form public function __construct($enable_tabindex = false) { e107::loadAdminIcons(); // required below. - e107_include_once(e_LANGUAGEDIR.e_LANGUAGE. '/lan_form_handler.php'); + e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE. '/lan_form_handler.php'); $this->_tabindex_enabled = $enable_tabindex; $this->_uc = e107::getUserClass(); $this->setRequiredString(' *'); diff --git a/e107_handlers/iphandler_class.php b/e107_handlers/iphandler_class.php index 7f5b3fc09..c0b2785be 100644 --- a/e107_handlers/iphandler_class.php +++ b/e107_handlers/iphandler_class.php @@ -664,7 +664,7 @@ class eIPHandler * * @param string $ip encoded IP * @param boolean $IP4Legacy - * @return string decoded IP + * @return string|false decoded IP */ public function ipDecode($ip, $IP4Legacy = TRUE) { @@ -1288,7 +1288,7 @@ class banlistManager public function __construct() { - e107_include_once(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_banlist.php"); + e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_banlist.php"); $this->ourConfigDir = e107::getIPHandler()->getConfigDir(); $this->banTypes = array( // Used in Admin-ui. '-1' => BANLAN_101, // manual diff --git a/e107_handlers/mail.php b/e107_handlers/mail.php index 74230b5ba..d99e11d90 100644 --- a/e107_handlers/mail.php +++ b/e107_handlers/mail.php @@ -761,7 +761,7 @@ class e107Email extends PHPMailer /** * Preview the BODY of an email * @param $eml - array. - * @return string + * @return string|int */ public function preview($eml) { @@ -908,7 +908,7 @@ class e107Email extends PHPMailer if(!empty($eml['template'])) // @see e107_core/templates/email_template.php { - require_once(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_users.php"); // do not use e107::lan etc. + e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_users.php"); // do not use e107::lan etc. if(is_array($eml['template'])) { @@ -1099,7 +1099,7 @@ class e107Email extends PHPMailer * } * * @param boolean $bulkmail - set true if this email is one of a bulk send; false if an isolated email - * @return boolean|string - true if success, error message if failure + * @return boolean|string|int - true if success, error message if failure */ public function sendEmail($send_to, $to_name, $eml = array(), $bulkmail = false) { diff --git a/e107_handlers/message_handler.php b/e107_handlers/message_handler.php index 3a626fba0..5a9489d38 100644 --- a/e107_handlers/message_handler.php +++ b/e107_handlers/message_handler.php @@ -1056,7 +1056,22 @@ function show_emessage($mode, $message, $line = 0, $file = "") { if(is_readable($path)) { - include($path); + $arr = include($path); + if(is_array($arr)) + { + foreach($arr as $key => $value) + { + if(empty($key)) + { + continue; + } + + if(!defined($key)) + { + define($key, $value); + } + } + } } // include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_error.php"); diff --git a/e107_languages/English/admin/help/banlist.php b/e107_languages/English/admin/help/banlist.php index 5dfeb7c33..43c002cf7 100644 --- a/e107_languages/English/admin/help/banlist.php +++ b/e107_languages/English/admin/help/banlist.php @@ -14,35 +14,46 @@ * $Author$ */ -if (!defined('e107_INIT')) { exit; } +if(!defined('e107_INIT')) +{ + exit; +} $caption = "Banning users from your site"; -if (e_QUERY) list($action,$junk) = explode('-',e_QUERY.'-'); else $action = 'list'; // Non-standard separator in query -switch ($action) +if(e_QUERY) { -case 'transfer' : - $text = 'This page allows you to transfer banlist data to and from this site as CSV (Comma Separated Variable) files.

'; - $text .= "Data Export
+ list($action, $junk) = explode('-', e_QUERY . '-'); +} +else +{ + $action = 'list'; +} // Non-standard separator in query + +switch($action) +{ + case 'transfer' : + $text = 'This page allows you to transfer banlist data to and from this site as CSV (Comma Separated Variable) files.

'; + $text .= "Data Export
Select the types of ban to export. The fields will be delimited by the chosen separator, and optionally included within the selected quotation marks.

"; - $text .= "Data Import
+ $text .= "Data Import
You can choose whether the imported bans replace existing imported bans, or whether they add to the list. If the imported data includes an expiry date/time, you can select whether this is used, or whether the value for this site is used.

"; - $text .= "CSV Format
+ $text .= "CSV Format
The format of each line in the file is: IP/email, date, expiry, type, reason, notes.
Date and expiry are in the format YYYYMMDD_HHMMDD, except that a zero value indicates 'unknown' or 'indefinite'
Only the IP or email address is essential; the other fields are imported if present.

Note: You will need to modify filetypes.xml to allow admins to upload the 'CSV' file type."; - break; -case 'times' : - $text = 'This page sets the default behaviour for various types of ban.
- If a message is specified, this will be shown to the user (where appropriate). If the message starts with \'http://\' or \'https://\' control is + break; + case 'times' : + $text = "This page sets the default behaviour for various types of ban.
+ If a message is specified, this will be shown to the user (where appropriate). If the message starts with 'http://' or 'https://' control is passed to the specified URL. Otherwise the user will most likely get a blank screen.
- The ban will be in force for the time specified; after which it will be cleared next time they access the site.'; - break; -case 'options' : - $text = 'Reverse DNS
- If enabled, the user\'s IP address is looked up to obtain the associated domain name. This accesses an external server, so there may + The ban will be in force for the time specified; after which it will be cleared next time they access the site."; + break; + case 'options' : + $text = "Reverse DNS
+ If enabled, the user's IP address is looked up to obtain the associated domain name. This accesses an external server, so there may be a delay before the information is available - and if the server is off-line, there may be a very long delay.

You can choose to look up server names on all site accesses, or only when adding a new ban.

Maximum Access Rate
@@ -52,11 +63,11 @@ case 'options' : Retrigger Ban Period
This option is only relevant if the option to ban users for a specified time, rather than indefinitely, has been used. If enabled, and the user attempts to access the site, the ban period is extended (as if the ban had just started). - '; - break; -case 'edit' : -case 'add' : -$text = "You can ban users from your site at this screen.
+ "; + break; + case 'edit' : + case 'add' : + $text = "You can ban users from your site at this screen.
Either enter their full IP address or use a wildcard to ban a range of IP addresses. You can also enter an email address to stop a user registering as a member on your site.

Banning by IP address:
Entering the IP address 123.123.123.123 will stop the user with that address visiting your site.
@@ -68,24 +79,24 @@ Entering the email address foo@bar.com will stop anyone using that email address Entering the email address *@bar.com will stop anyone using that email domain from registering as a member on your site.

Banning by user name
This is done from the user administration page.

"; - break; -case 'whadd' : -case 'whedit' : - $text = "You can specify IP addresses which you know to be 'friendly' here - generally those for the main site admins, to guarantee that they can + break; + case 'whadd' : + case 'whedit' : + $text = "You can specify IP addresses which you know to be 'friendly' here - generally those for the main site admins, to guarantee that they can always gain access to the site.
You are advised to keep the number of addresses in this list to an absolute minimum; both for security, and to minimise the impact on site performance."; - break; -case 'banlog' : - $text = 'This shows a list of all site accesses involving an address which is in the ban list or the white list. The \'reason\' column shows the outcome.'; - break; -case 'white' : - $text = "This page shows a list of all IP addresses and email addresses which are explicitly permitted.
+ break; + case 'banlog' : + $text = "This shows a list of all site accesses involving an address which is in the ban list or the white list. The 'reason' column shows the outcome."; + break; + case 'white' : + $text = "This page shows a list of all IP addresses and email addresses which are explicitly permitted.
This list takes priority over the ban list - it should not be possible for an address from this list to be banned.
All addresses must be manually entered."; - break; -case 'list' : -default : -$text = 'This page shows a list of all IP addresses, hostnames and email addresses which are banned. + break; + case 'list' : + default : + $text = 'This page shows a list of all IP addresses, hostnames and email addresses which are banned. (Banned users are shown on the user administration page)

Automatic Bans
e107 automatically bans individual IP addresses if they attempt to flood the site, as well as addresses with failed logins.
@@ -95,4 +106,4 @@ You can set an expiry period for each type of ban, in which case the entry is re ban remains until you remove it.
You can modify the ban period from this page - times are calculated from now.'; } -$ns -> tablerender($caption, $text); +e107::getRender()->tablerender($caption, $text); diff --git a/e107_languages/English/admin/help/cron.php b/e107_languages/English/admin/help/cron.php index 4cadd36d1..e64e75241 100644 --- a/e107_languages/English/admin/help/cron.php +++ b/e107_languages/English/admin/help/cron.php @@ -3,7 +3,7 @@ $mes = e107::getMessage(); -$mes->setTitle(LAN_STATUS, 'info'); +$mes->setTitle(defset('LAN_STATUS'), 'info'); echo $mes->render('default','info',false); diff --git a/e107_languages/English/admin/help/mailout.php b/e107_languages/English/admin/help/mailout.php index bcfcd7459..5ca57105a 100644 --- a/e107_languages/English/admin/help/mailout.php +++ b/e107_languages/English/admin/help/mailout.php @@ -51,7 +51,7 @@ $action = e107::getParser()->toDB(varset($_GET['mode'],'makemail')); $text = 'Configure mailshot options.
A test email is sent using the current method and settings. If you are having problems with emails bouncing, try sending a test email to: check-auth@verifier.port25.com to ensure your server MX records are correct. Of course, be sure your site email address is correct before doing so.

'; $text .= 'Emailing Method
- Use SMTP to send mail if possible. The settings will depend on your host\'s mail server.

'; + Use SMTP to send mail if possible. The settings will depend on your host's mail server.

'; $text .= 'Default email format
Emails may be sent either in plain text only, or in HTML format. The latter generally gives a better appearance, but is more prone to being filtered by various security measures. If you select HTML, a separate plain text part is added.

'; @@ -66,8 +66,8 @@ $action = e107::getParser()->toDB(varset($_GET['mode'],'makemail')); $text .= 'Email Address Sources
If you have additional mail-related plugins, you can select which of them may contribute email addresses to the list.

'; $text .= 'Logging
- The logging option creates a text file in the system log directory. This must be deleted periodically. The \'logging - only\' options allow you to see exactly who would receive emails if actually sent. The \'with errors\' option fails every + The logging option creates a text file in the system log directory. This must be deleted periodically. The 'logging + only' options allow you to see exactly who would receive emails if actually sent. The 'with errors' option fails every 7th email, primarily for testing'; break; case 'maint' : diff --git a/e107_languages/English/admin/help/newspost.php b/e107_languages/English/admin/help/newspost.php index ef0a506c2..ebf94b2ce 100644 --- a/e107_languages/English/admin/help/newspost.php +++ b/e107_languages/English/admin/help/newspost.php @@ -51,7 +51,7 @@ If you set a start and/or end date your news item will only be displayed between break; case 'list' : default : - $text = 'List of all news items. To edit or delete, click on one of the icons in the \'options\' column. To view the item, click + $text = 'List of all news items. To edit or delete, click on one of the icons in the 'options' column. To view the item, click on the ID.'; } $ns -> tablerender($caption, $text); diff --git a/e107_languages/English/admin/lan_admin.php b/e107_languages/English/admin/lan_admin.php index ca0f08acc..8e42c9363 100644 --- a/e107_languages/English/admin/lan_admin.php +++ b/e107_languages/English/admin/lan_admin.php @@ -9,598 +9,431 @@ * Admin Language File * */ -define("ADLAN_0", "News"); -define("ADLAN_1", "Manage news items"); -define("ADLAN_2", "Create news item"); -define("ADLAN_3", "News items List"); -define("ADLAN_3a", "News Settings"); -// define("ADLAN_4", "Preferences"); -define("ADLAN_5", "Edit Site Preferences"); -define("ADLAN_6", "Menu Manager"); -define("ADLAN_7", "Alter the order of your menus"); -define("ADLAN_8", "Administrators"); -define("ADLAN_9", "Add/delete site administrators"); -define("ADLAN_10", "Admin password"); -define("ADLAN_11", "Change your password"); -define("ADLAN_12", "Docs"); -define("ADLAN_13", "System documentation"); -//define("ADLAN_14", "Articles"); -//define("ADLAN_15", "Add new/edit/delete articles"); -//define("ADLAN_16", "Content"); -//define("ADLAN_17", "Add new/edit/delete content pages"); -//define("ADLAN_18", "Reviews"); -//define("ADLAN_19", "Add new/edit/delete reviews"); -//define("ADLAN_22", "Link Categories"); -//define("ADLAN_23", "Add new/edit/delete link categories"); -// define("ADLAN_24", "Downloads"); -define("ADLAN_25", "Manage Downloads"); -//define("ADLAN_26", "Download Categories"); -//define("ADLAN_27", "Add new/edit/delete download categories"); -define("ADLAN_28", "Welcome Message"); -define("ADLAN_29", "Set static welcome message"); -define("ADLAN_30", "File Manager"); -define("ADLAN_31", "Manage/upload files"); -//define("ADLAN_32", "Submitted News"); -//define("ADLAN_33", "Review user submitted news items"); -define("ADLAN_34", "Banlist"); -define("ADLAN_35", "Ban visitors"); -define("ADLAN_36", "Users"); -define("ADLAN_37", "Moderate site members"); -define("ADLAN_38", "User Classes"); -define("ADLAN_39", "Create/edit user classes"); -define("ADLAN_40", "Maintenance"); -define("ADLAN_41", "Take site down for maintenance"); -define("ADLAN_42", "Pages/Menus"); -define("ADLAN_43", "Create menu items"); -define("ADLAN_44", "Database"); -define("ADLAN_45", "Database utilities"); -// define("ADLAN_46", "Logout"); -define("ADLAN_47", "Welcome"); -define("ADLAN_48", "Logged in"); -define("ADLAN_49", "main site administrator"); -//define("ADLAN_50", "permissions"); -define("ADLAN_51", "Please log in to gain access to administration area"); -define("ADLAN_52", "Admin Front Page"); -define("ADLAN_53", "Leave Admin"); -// define("ADLAN_54", "Banners"); -// define("ADLAN_55", "Configure banners"); -//define("ADLAN_56", "Chatbox"); -//define("ADLAN_57", "Configure chatbox"); -define("ADLAN_58", "Emoticons"); -define("ADLAN_59", "Configure emoticons"); -define("ADLAN_60", "Front Page"); -define("ADLAN_61", "Configure front page content"); -//define("ADLAN_62", "News Feeds"); -//define("ADLAN_63", "Configure news feeds"); -//define("ADLAN_64", "Log Stats"); -//define("ADLAN_65", "Log stats/counter etc"); -define("ADLAN_66", "Meta Tags"); -define("ADLAN_67", "Add/Edit site meta tags"); -define("ADLAN_68", "PHP Info"); -define("ADLAN_69", "PHP Info page"); -//define("ADLAN_70", "Polls"); -//define("ADLAN_71", "Add/Edit Polls"); -define("ADLAN_72", "Public Uploads"); -define("ADLAN_73", "Configure public file uploads"); -define("ADLAN_74", "Cache"); -define("ADLAN_75", "Set cache status"); -//define("ADLAN_77", "You have had a news item submitted - please click here to check."); -define("ADLAN_78", "Extended User Fields"); -define("ADLAN_79", "Edit extended user fields"); - - -define("ADLAN_86", "Forbidden"); -define("ADLAN_87", "Access denied!"); -//define("ADLAN_88", "Unable to login "); -define("ADLAN_89", "Admin Name "); -define("ADLAN_90", "Admin Password "); -define("ADLAN_91", "Log In"); -define("ADLAN_92", "Please log in to proceed to administration area ..."); -define("ADLAN_93", "Show Admin Functions"); -//define("ADLAN_94", "Show Installed Plugins"); -define("ADLAN_95", "Plugin Management"); -//define("ADLAN_96", "None"); -//define("ADLAN_97", "Click here for FAQ"); -define("ADLAN_98", "Plugin Manager"); -define("ADLAN_99", "Click here to install, maintain and configure plugins which provide additional features on your site."); -// define("ADLAN_100", "Theme Layout"); // required -//define("ADLAN_101", "Template Creator"); -define("ADLAN_102", "It has been more than 30 days since you changed the main administrator password - "); -define("ADLAN_103", "Click here to change it now"); -define("ADLAN_104", "Security"); - -define("ADLAN_105", "Images"); -define("ADLAN_106", "Image Settings"); - -//define("ADLAN_107", "Unchecked submitted news items"); -//define("ADLAN_108", "Unchecked file uploads"); -//define("ADLAN_109", "Information"); -define("ADLAN_110", "Registered members"); -define("ADLAN_111", "Unverified members"); -define("ADLAN_112", "Banned users"); -// define("ADLAN_113", "Forum posts"); // should already be loaded from forum global language file. -// define("ADLAN_114", "Comments"); -// define("ADLAN_115", "Chatbox posts"); -define("ADLAN_116", "Admin log ..."); -define("ADLAN_117", "Show all entries"); -define("ADLAN_118", "Clear log"); - -define("ADLAN_119", "Unchecked submitted links"); - -define("ADLAN_120", "There is a database update available, please click button to install ..."); -define("ADLAN_121", "Install"); -define("ADLAN_122", "A new update is ready to install! Click to unzip and install v [x]"); - -//define("ADLAN_123", "Unchecked submitted articles"); -//define("ADLAN_124", "Unchecked submitted reviews"); - -//define("ADLAN_125", "Unchecked reported forum posts"); - -//define("ADLAN_126", "Main Options"); -//define("ADLAN_127", "Users"); -//define("ADLAN_128", "Content"); -//define("ADLAN_129", "Communication"); -//define("ADLAN_130", "Files Management"); -//define("ADLAN_131", "Other tools"); - -define("ADLAN_132", "Language"); -define("ADLAN_133", "default"); - -define("ADLAN_135", "Admin Log"); - -define("ADLAN_136", "Mail"); -define("ADLAN_137", "Email Settings And Mailout"); - -define("ADLAN_138", "Site Links"); -define("ADLAN_139", "Add/edit/delete links"); - -define("ADLAN_140", "Theme Manager"); -define("ADLAN_141", "Click here to install and configure themes, which control the appearance of your site."); - -// define("ADLAN_142", "Search"); -define("ADLAN_143", "Search Configuration"); -define("ADLAN_144", "You are in simple-view mode, to switch to advanced-view"); -define("ADLAN_145", "click here"); - -define("ADLAN_146", "Failed logins"); -define("ADLAN_147", "File Inspector"); -define("ADLAN_148", "Scan site files"); - -define("ADLAN_149", "Notify"); -define("ADLAN_150", "Admin Email Notifications"); - -define("ADLAN_151", "Main"); -// define("ADLAN_152", "Enter Code"); - -define("ADLAN_153", "Administration Area"); -define("ADLAN_154", "Error contacting Sourceforge to check for new version"); - -define("ADLAN_155", "System Logs"); -define("ADLAN_156", "Admin log, user audit, rolling log"); - -define("ADLAN_157", "Schedule Tasks"); -define("ADLAN_158", "Cron Jobs and Automated Maintenance"); - -define("ADLAN_159", "URL Configuration"); -define("ADLAN_160", "Configure Site URLs"); -define("ADLAN_161", "Custom Fields?"); -define("ADLAN_162", "A newer version of your site-theme is available:"); -define("ADLAN_163", "A newer version of an installed plugin is available:"); -define("ADLAN_164", "Successfully logged in as [x]."); -define("ADLAN_165", "Powered by e107"); -define("ADLAN_166", "Return to Website"); -define("ADLAN_167", "Pending Mailshots"); - -define("ADLAN_168", "Visitors");//infopanel -define("ADLAN_169", "Unique Visitors"); -define("ADLAN_170", "These stats are for demonstration purposes only."); -define("ADLAN_171", "Install Site Stats Plugin"); - -define("ADLAN_185", "Toggle Sidebar"); -define("ADLAN_186", "The following old files can be safely deleted from your system:"); -define("ADLAN_187", "Unable to create [x]. Please check your folder permissions."); -define("ADLAN_188", "Your timezone setting [x] is invalid. It has been reset to UTC. To Modify, please go to Admin -> Preferences -> Date Display Options."); -define("ADLAN_189", "The following plugins are not compatible with this version of e107 and should be uninstalled: "); -define("ADLAN_190", "Need Help?"); -define("ADLAN_191", "Connect with our community for [free support] with any upgrading issues you may encounter."); -define("ADLAN_192", "Connect with our community for [free support] with any e107 issues you may encounter."); -define("ADLAN_193", "The folder [x] is not writable. Please correct before proceeding."); -define("ADLAN_194", "Legacy avatars folder detected. Please make sure [x]avatars/ is writable. Please correct before proceeding."); -define("ADLAN_195", "Old folder moved to backup directory"); - -// define("ADLAN_CL_1", "Settings"); -define("ADLAN_CL_2", "Users"); -define("ADLAN_CL_3", "Content"); -define("ADLAN_CL_4", "Coms"); -define("ADLAN_CL_5", "Files"); -define("ADLAN_CL_6", "Tools"); -define("ADLAN_CL_7", "Plugins"); - -define("ADLAN_CL_8", "Misc"); - -// define("ADLAN_CL_20", "About"); - -define("ADLAN_LAT_1", "Latest"); - -define("ADLAN_LAT_2", "Submitted news items"); -//define("ADLAN_LAT_3", "Submitted articles"); -//define("ADLAN_LAT_4", "Submitted reviews"); -define("ADLAN_LAT_5", "Submitted links"); -define("ADLAN_LAT_6", "Reported forum posts"); -define("ADLAN_LAT_7", "File uploads"); -define("ADLAN_LAT_8", "There are unmoderated administrator messages"); -define("ADLAN_LAT_9", "Comments pending"); - -//LAN_WARNING define("ADLAN_ERR_1", "Warning!"); -//define("ADLAN_ERR_2", "There are files on your server that are known to be exploitable. These must be removed [b]immediately[/b]. The files are related to the older 0.6xx branch of e107. Please delete the following directories and all their contents:"); -define("ADLAN_ERR_3", "There are one or more files in your public upload directories that are not in your allowed upload filetypes list. These may have been placed here by an attacker and if so should be removed [b]immediately[/b]. You should [b]not[/b] open these files as this may execute any malicious code the file might contain; e.g. do not open them with your browser. +return [ + 'ADLAN_0' => "News", + 'ADLAN_1' => "Manage news items", + 'ADLAN_2' => "Create news item", + 'ADLAN_3' => "News items List", + 'ADLAN_3a' => "News Settings", + 'ADLAN_5' => "Edit Site Preferences", + 'ADLAN_6' => "Menu Manager", + 'ADLAN_7' => "Alter the order of your menus", + 'ADLAN_8' => "Administrators", + 'ADLAN_9' => "Add/delete site administrators", + 'ADLAN_10' => "Admin password", + 'ADLAN_11' => "Change your password", + 'ADLAN_12' => "Docs", + 'ADLAN_13' => "System documentation", + 'ADLAN_25' => "Manage Downloads", + 'ADLAN_28' => "Welcome Message", + 'ADLAN_29' => "Set static welcome message", + 'ADLAN_30' => "File Manager", + 'ADLAN_31' => "Manage/upload files", + 'ADLAN_34' => "Banlist", + 'ADLAN_35' => "Ban visitors", + 'ADLAN_36' => "Users", + 'ADLAN_37' => "Moderate site members", + 'ADLAN_38' => "User Classes", + 'ADLAN_39' => "Create/edit user classes", + 'ADLAN_40' => "Maintenance", + 'ADLAN_41' => "Take site down for maintenance", + 'ADLAN_42' => "Pages/Menus", + 'ADLAN_43' => "Create menu items", + 'ADLAN_44' => "Database", + 'ADLAN_45' => "Database utilities", + 'ADLAN_47' => "Welcome", + 'ADLAN_48' => "Logged in", + 'ADLAN_49' => "main site administrator", + 'ADLAN_51' => "Please log in to gain access to administration area", + 'ADLAN_52' => "Admin Front Page", + 'ADLAN_53' => "Leave Admin", + 'ADLAN_58' => "Emoticons", + 'ADLAN_59' => "Configure emoticons", + 'ADLAN_60' => "Front Page", + 'ADLAN_61' => "Configure front page content", + 'ADLAN_66' => "Meta Tags", + 'ADLAN_67' => "Add/Edit site meta tags", + 'ADLAN_68' => "PHP Info", + 'ADLAN_69' => "PHP Info page", + 'ADLAN_72' => "Public Uploads", + 'ADLAN_73' => "Configure public file uploads", + 'ADLAN_74' => "Cache", + 'ADLAN_75' => "Set cache status", + 'ADLAN_78' => "Extended User Fields", + 'ADLAN_79' => "Edit extended user fields", + 'ADLAN_86' => "Forbidden", + 'ADLAN_87' => "Access denied!", + 'ADLAN_89' => "Admin Name", + 'ADLAN_90' => "Admin Password", + 'ADLAN_91' => "Log In", + 'ADLAN_92' => "Please log in to proceed to administration area ...", + 'ADLAN_93' => "Show Admin Functions", + 'ADLAN_95' => "Plugin Management", + 'ADLAN_98' => "Plugin Manager", + 'ADLAN_99' => "Click here to install, maintain and configure plugins which provide additional features on your site.", + 'ADLAN_102' => "It has been more than 30 days since you changed the main administrator password -", + 'ADLAN_103' => "Click here to change it now", + 'ADLAN_104' => "Security", + 'ADLAN_105' => "Images", + 'ADLAN_106' => "Image Settings", + 'ADLAN_110' => "Registered members", + 'ADLAN_111' => "Unverified members", + 'ADLAN_112' => "Banned users", + 'ADLAN_116' => "Admin log ...", + 'ADLAN_117' => "Show all entries", + 'ADLAN_118' => "Clear log", + 'ADLAN_119' => "Unchecked submitted links", + 'ADLAN_120' => "There is a database update available, please click button to install ...", + 'ADLAN_121' => "Install", + 'ADLAN_122' => "A new update is ready to install! Click to unzip and install v [x]", + 'ADLAN_132' => "Language", + 'ADLAN_133' => "default", + 'ADLAN_135' => "Admin Log", + 'ADLAN_136' => "Mail", + 'ADLAN_137' => "Email Settings And Mailout", + 'ADLAN_138' => "Site Links", + 'ADLAN_139' => "Add/edit/delete links", + 'ADLAN_140' => "Theme Manager", + 'ADLAN_141' => "Click here to install and configure themes, which control the appearance of your site.", + 'ADLAN_143' => "Search Configuration", + 'ADLAN_144' => "You are in simple-view mode, to switch to advanced-view", + 'ADLAN_145' => "click here", + 'ADLAN_146' => "Failed logins", + 'ADLAN_147' => "File Inspector", + 'ADLAN_148' => "Scan site files", + 'ADLAN_149' => "Notify", + 'ADLAN_150' => "Admin Email Notifications", + 'ADLAN_151' => "Main", + 'ADLAN_153' => "Administration Area", + 'ADLAN_154' => "Error contacting Sourceforge to check for new version", + 'ADLAN_155' => "System Logs", + 'ADLAN_156' => "Admin log, user audit, rolling log", + 'ADLAN_157' => "Schedule Tasks", + 'ADLAN_158' => "Cron Jobs and Automated Maintenance", + 'ADLAN_159' => "URL Configuration", + 'ADLAN_160' => "Configure Site URLs", + 'ADLAN_161' => "Custom Fields?", + 'ADLAN_162' => "A newer version of your site-theme is available:", + 'ADLAN_163' => "A newer version of an installed plugin is available:", + 'ADLAN_164' => "Successfully logged in as [x].", + 'ADLAN_165' => "Powered by e107", + 'ADLAN_166' => "Return to Website", + 'ADLAN_167' => "Pending Mailshots", + 'ADLAN_168' => "Visitors", + 'ADLAN_169' => "Unique Visitors", + 'ADLAN_170' => "These stats are for demonstration purposes only.", + 'ADLAN_171' => "Install Site Stats Plugin", + 'ADLAN_185' => "Toggle Sidebar", + 'ADLAN_186' => "The following old files can be safely deleted from your system:", + 'ADLAN_187' => "Unable to create [x]. Please check your folder permissions.", + 'ADLAN_188' => "Your timezone setting [x] is invalid. It has been reset to UTC. To Modify, please go to Admin -> Preferences -> Date Display Options.", + 'ADLAN_189' => "The following plugins are not compatible with this version of e107 and should be uninstalled:", + 'ADLAN_190' => "Need Help?", + 'ADLAN_191' => "Connect with our community for [free support] with any upgrading issues you may encounter.", + 'ADLAN_192' => "Connect with our community for [free support] with any e107 issues you may encounter.", + 'ADLAN_193' => "The folder [x] is not writable. Please correct before proceeding.", + 'ADLAN_194' => "Legacy avatars folder detected. Please make sure [x]avatars/ is writable. Please correct before proceeding.", + 'ADLAN_195' => "Old folder moved to backup directory", + 'ADLAN_CL_2' => "Users", + 'ADLAN_CL_3' => "Content", + 'ADLAN_CL_4' => "Coms", + 'ADLAN_CL_5' => "Files", + 'ADLAN_CL_6' => "Tools", + 'ADLAN_CL_7' => "Plugins", + 'ADLAN_CL_8' => "Misc", + 'ADLAN_LAT_1' => "Latest", + 'ADLAN_LAT_2' => "Submitted news items", + 'ADLAN_LAT_5' => "Submitted links", + 'ADLAN_LAT_6' => "Reported forum posts", + 'ADLAN_LAT_7' => "File uploads", + 'ADLAN_LAT_8' => "There are unmoderated administrator messages", + 'ADLAN_LAT_9' => "Comments pending", + 'ADLAN_ERR_3' => "There are one or more files in your public upload directories that are not in your allowed upload filetypes list. These may have been placed here by an attacker and if so should be removed [b]immediately[/b]. You should [b]not[/b] open these files as this may execute any malicious code the file might contain; e.g. do not open them with your browser. If you recognise these files as being legitimate, it is likely that the filetype is no longer in the allowed filetypes list for some reason, and you will need to re-add it (see admin => uploads). You should not allow the upload of .html, .txt, etc as an attacker may upload a file of this type which includes malicious javascript. You should also, of course, not allow the upload of .php files or any other type of executable script. -Below is the list of files that could potentially be malicious:"); -//define("ADLAN_ERR_4", "Deprecated plugin file(s) found"); -//define("ADLAN_ERR_5", "The following files need to be renamed to"); -//define("ADLAN_ERR_6", "Then, click here to re-scan your plugin folders."); - - -// Common Terms - -define("LAN_CREATE","Create"); -define("LAN_MANAGE","Manage"); -define("LAN_UPDATE","Update"); -define("LAN_UPDATES", "Updates"); -define("LAN_INSTALLED","Installed");//TODO elsewhere -define("LAN_LAST_UPDATED","Last Updated"); -define("LAN_UPDATE_AVAILABLE","Update Available"); -define("LAN_ADD", "Add"); -define("LAN_REMOVE", "Remove"); -define("LAN_ADD_MORE", "Add More"); -define("LAN_MULTIPLE_CHOICE", "Multiple Choice"); - -define("LAN_SAVE","Save"); -define("LAN_SAVED","Saved"); -define("LAN_SETSAVED","Your settings have been saved"); -define("LAN_NOCHANGE_NOTSAVED", "Nothing changed - not saved"); -define("LAN_CONFIRMDEL","Please confirm you wish to delete"); -define("LAN_ERRORS", "Errors"); -define("LAN_MESSAGES", "Messages"); -define("LAN_DATA", "Data"); - -define("LAN_OPTIONS", "Options"); -define("LAN_BASIC_OPTIONS", "Basic Options"); -define("LAN_PREFS","Preferences"); -define("LAN_DELETED","Successfully deleted"); -define("LAN_UPDATED","Successfully updated"); -define("LAN_CREATED","Successfully created"); -define("LAN_CREATED_FAILED","Creation Unsuccessful"); -define("LAN_DELETED_FAILED","Deletion Unsuccessful"); -define("LAN_UPDATED_FAILED","Update Unsuccessful"); -define("LAN_NO_CHANGE","Nothing updated as no changes were made."); - -define("LAN_TRY_AGAIN","Please try again."); -define("LAN_NEVER", "Never"); -define("LAN_PRUNE", "Prune"); -define("LAN_RESET","Reset"); -define("LAN_CLEAR","Clear"); -define("LAN_ADD_ALL", "Add All"); -define("LAN_CLEAR_ALL", "Clear All"); -define("LAN_CLICK_HERE", "CLICK HERE"); -define("LAN_UNKNOWN", "Unknown"); -define("LAN_ALL","All"); -define("LAN_IMPORT","Import"); -// define("LAN_OK","OK"); // defined in e107_languages/English/English.php - -// define("LAN_PRESET","Preset"); -// define("LAN_PRESET_SAVED","Preset saved successfully"); - -// define("LAN_PRESET_DELETED","Preset successfully deleted"); -// define("LAN_PRESET_CONFIRMDEL","Are you sure you want to delete this preset?"); -define("LAN_NOTWRITABLE"," is not writable, you need to CHMOD 777 the file or folder first."); -define("LAN_NOTREADABLE", "Not Readable"); -define("LAN_MISSING", "Missing"); -define("LAN_UNUSED", "Unused"); -define("LAN_SESSION", "Session"); -define("LAN_TOOLTIP", "Tooltip"); - -define("LAN_TIME","Time"); -// define("LAN_YES","Yes"); -// define("LAN_NO","No"); // defined in e107_languages/English/English.php -define("LAN_EMPTY","There are no entries in the database yet"); -define("LAN_EXISTING","Existing Entries"); -define("LAN_DEFAULT_TABLE_DATA","Adding default table data to table:"); - -define("LAN_CONFDELETE","Confirm Delete"); -define("LAN_PLUGIN","Plugin"); -define("LAN_PLUGIN_FOLDER","Plugin Folder"); -define("LAN_THEMES","Themes"); -define("LAN_THEME","Theme"); -define("LAN_CORE","Core"); -define("LAN_LATEST_e107_NEWS","Latest e107 News"); -define("LAN_WEBSITE_STATUS","Website Status"); -define("LAN_STATS","Stats"); -define("LAN_ONLINE","Online"); -define("LAN_ORDER","Order"); -define("LAN_ASC","ASC"); -define("LAN_DESC","DESC"); - -define("LAN_SELECT","Select"); -define("LAN_ADMIN","Admin"); -define("LAN_ROOT","Root"); -define("LAN_LINE","Line"); -define("LAN_SHORTCODES","Shortcodes"); -define("LAN_DISPLAYOPT", "Edit Display Options"); -// define("LAN_GOPAGE", "Go to page:"); -// define("LAN_DATESTAMP","Date stamp"); // moved to English.php -define("LAN_TIMESTAMP","Timestamp"); - -define("LAN_PAGE","PAGE"); -define("LAN_AGENT","AGENT"); -define("LAN_LANG","Lang."); -define("LAN_APPROVE","Approve"); -define("LAN_OPTIONAL", "optional"); -define("LAN_INACTIVE","Inactive"); -define("LAN_ACTIVATE","Activate"); -define("LAN_ACCEPT","Accept"); -define("LAN_PASSWORD_WARNING", "It is HIGHLY recommended that you [change your password encoding] to the PHP Default. (Password hashes will be automatically upgraded during user login.)"); -define("LAN_PENDING","Pending"); -define("LAN_SUBMITTED","Submitted"); -define("LAN_POSTED_BY_X","Posted by [x] [y]"); -define("LAN_VIEW_ALL","View All"); - -define("LAN_BAN","Ban"); -define("LAN_PATH", "Path"); - -define("LAN_UPLOAD", "Upload"); -define("LAN_UPLOADS","Uploads"); -define("LAN_UPLOAD_IMAGES","Upload Images"); -define("LAN_UPLOAD_FILES","Upload Files"); -define("LAN_UPLOAD_ADDFILE","Add Another File"); -define("LAN_UPLOAD_CONFIRM","Any unsaved changes to this page will be lost. Continue?"); -define("LAN_UPLOAD_777","Folder is missing or not writable, you need to CHMOD 777 the following folder before uploading:"); -define("LAN_UPLOAD_SERVEROFF", "This option is disabled as file uploading is not enabled on your server"); -define("LAN_WIDTH","Width"); -define("LAN_HEIGHT","Height"); - -define("LAN_ON","On"); -define("LAN_OFF", "Off"); -define("LAN_DISABLE", "Disable"); -define("LAN_DISABLED","Disabled"); -define("LAN_ENABLE", "Enable"); -define("LAN_ENABLED", "Enabled"); -define("LAN_BOOL_REVERSE", "Invert"); - -define("LAN_DETAILS", "Details"); -define("LAN_NOT_AVAILABLE","Not available"); -define("LAN_AUTO_GENERATED","Auto-generated"); -define("LAN_AUTOMATION","Automation"); - -define("LAN_PRESET_CONFIRMSAVE","Save current form values as the default for this page?"); -define("LAN_CONFIGURE", "Configure"); - -// define("LAN_BACK", "Back"); @see e107_languages/English.php - -define("LAN_NOPERMISSION", "no permissions"); -define("LAN_NO_ADMIN_PERMISSION", "You do not have administrator permissions for [x]"); - -define("LAN_CREDITS","Credits"); -define("LAN_NEWVERSION","e107 v[x] is available for download."); - -define("LAN_CHECKALL", "Check All"); -define("LAN_UNCHECKALL", "Uncheck All"); -define("LAN_DELCHECKED", "Delete Checked"); - -define("LAN_USERCLASS", "Userclass"); -define("LAN_MANAGER", "Manager"); - -define("LAN_HELP", "Help"); -define("LAN_CUSTOM", "Custom"); -define("LAN_MENULAYOUT", "Menu Layout"); -define("LAN_MEDIAMANAGER", "Media Manager"); - -define("LAN_MOREINFO","More Information..."); -define("LAN_COMMENTMAN", "Comments Manager"); - -define("LAN_FILTER", "Filter"); -// define("LAN_NO_RECORDS", "No Records Found"); -define("LAN_STATUS", "Status"); -define("LAN_URL", "URL"); - -define("LAN_OWNER", "Owner"); -define("LAN_PURCHASE", "Purchase"); -define("LAN_DOWNLOADING", "Downloading"); - -define("LAN_ID", "ID"); -define("LAN_TEST", "Test"); - - -define("LAN_VISIBILITY", "Visibility"); -define("LAN_VISIBLE_TO", "Visible To"); -define("LAN_PARENT", "Parent"); - -define("LAN_ICON", "Icon"); -define("LAN_LOADING", "Loading..."); - -// define("LAN_GO","Go"); // Not "Execute" -define("LAN_RUN","Run"); -define("LAN_SEFURL","SEF URL"); -define("LAN_COPY","Copy"); -define("LAN_KEYWORDS","Keywords"); - -define("LAN_TEMPLATE","Template"); -define("LAN_TEMPLATES","Templates"); - -// define("LAN_NONE", "None"); -// define("LAN_CATEGORIES", "Categories"); // moved to English.php -define("LAN_DEMO_FORBIDDEN", "Changes on this page are not possible in demo mode."); -define("LAN_COPYRIGHT", "Copyright"); -define("LAN_MANAGEPERMS", "Manage Permissions"); -define("LAN_PING", "Ping"); -define("LAN_START", "Start"); -define("LAN_END", "End"); - -define("LAN_PREVIEW", "Preview"); - -define("LAN_CREATE_CATEGORY", "Create Category"); -define("LAN_CREATE_ITEM", "Create Item"); - - -define("LAN_SECURITYL_0", "Looking for trouble (none)"); -define("LAN_SECURITYL_5", "Balanced"); -define("LAN_SECURITYL_7", "High"); -define("LAN_SECURITYL_9", "Paranoid"); -define("LAN_SECURITYL_10", "Insane"); - -// XXX - move Admin UI related LANS below, add new lan_form.php file (for both front/back-end) -define("LAN_BATCH_LABEL_SELECTED", "With selected..."); // Batch dropdown default option -define("LAN_BATCH_LABEL_PREFIX", "Modify"); -define("LAN_LABEL_LABEL_SELECTED", "Filter"); // Filter dropdown default option -define("LAN_FILTER_LABEL_PREFIX", "Filter by"); -define("LAN_FILTER_LABEL_DISPLAYALL", "Display All"); -define("LAN_FILTER_LABEL_CLEAR", "Clear Filter"); -define("LAN_FILTER_LABEL_TYPED", "(typed)"); - -define("LAN_UI_NOPID_ERROR", "There is no [b]Primary ID[/b] set"); -define("LAN_UI_BATCHDEL_ERROR", "Batch delete not allowed!"); -define("LAN_UI_404_BODY_ERROR", "Requested page was not found!"); -define("LAN_UI_404_TITLE_ERROR", "Page Not Found"); -define("LAN_UI_404_METHOD_ERROR", "Action [x] not found!"); -define("LAN_UI_403_BODY_ERROR", "Access to the requested page is denied."); -define("LAN_UI_403_TITLE_ERROR", "Access denied"); -define("LAN_UI_FORM_METHOD_ERROR", "FATAL ERROR: The field name [x] is not allowed. Please rename the key [x] to something else in your fields array and database table (if required)."); -define("LAN_UNKNOWN_ERROR", "Unknown Error"); -define("LAN_SQL_ERROR", "SQL Error"); - -define("LAN_UI_BATCH_UPDATE_SUCCESS", "[x] set for [y] record(s)."); -define("LAN_UI_BATCH_REVERSED_SUCCESS", "[x] records successfully reversed."); -define("LAN_UI_BATCH_BOOL_SUCCESS", "[x] records successfully updated."); -define("LAN_UI_BATCH_DEATTACH_SUCCESS", "[x] removed from [y] record(s)."); - -define("LAN_UI_EDIT_LABEL", "Update record #[x]"); -define("LAN_UI_CREATE_LABEL", "Create new record"); -define("LAN_UI_PREF_LABEL", "Settings"); -define("LAN_UI_DELETE_LABEL", "Confirm Delete"); -define("LAN_UI_DELETE_WARNING", "You are about to delete [x] records. Please confirm to continue."); -define("LAN_UI_BATCH_CREATELINK", "Create Navigation Link"); -define("LAN_UI_DELETED", "[x] record(s) successfully deleted!"); -define("LAN_UI_DELETED_FAILED", "[x] records not found and not deleted!"); -define("LAN_UI_FILE_DELETED", "[x] file successfully deleted!"); -define("LAN_UI_FILE_DELETED_FAILED", "Unable to delete [x]! Please remove the file manually."); -define("LAN_UI_BATCH_EXPORT", "Export"); - -define("LAN_UI_USING_DATABASE_TABLE", "Using [x] database table"); -define("LAN_UI_TOTAL_RECORDS", "Total Records: [x]"); -define("LAN_UI_FILTER_PAST_HOUR", "Past Hour"); -define("LAN_UI_FILTER_PAST_24_HOURS", "Past 24 hours"); -define("LAN_UI_FILTER_PAST_WEEK", "Past Week"); -define("LAN_UI_FILTER_PAST_MONTH", "Past Month"); -define("LAN_UI_FILTER_PAST_XMONTHS", "Past [x] Months"); -define("LAN_UI_FILTER_PAST_YEAR", "Past Year"); - - -define("LAN_USER_MANAGEALL", "Manage all User, Userclass and Extended User-Field settings"); -define("LAN_USER_LIST", "User List"); -define("LAN_USER_QUICKADD","Quick Add User"); -define("LAN_USER_NOT_FOUND","User Not Found."); -define("LAN_USER_PRUNE", "Prune Users"); -define("LAN_USER_OPTIONS", "User Options"); -define("LAN_USER_RANKS", "User Ranks"); -define("LAN_CONTROL_PANEL", "[x]'s Control Panel"); -define("LAN_CUSTOM_URL", "Custom URL"); -define("LAN_CUSTOM_URL_DISABLED", "Disabled or Enter Custom URL"); - -define("LAN_GENERAL", "General"); -define("LAN_GEN_PW", "Generate a password"); -define("LAN_DISPL_PW", "Display the password"); -define("LAN_WILL_OVERWRITE_SEF", "This will overwrite your existing SEF URL."); - -define("LAN_CAPTION", "Caption"); -define("LAN_LIMIT", "Limit"); -define("LAN_BASIC", "Basic"); -define("LAN_EXTENDED", "Extended"); -define("LAN_ADVANCED", "Advanced"); -define("LAN_DISPLAY", "Display"); -define("LAN_FOLDER", "Folder"); -define("LAN_PERSONALIZE_ICONS", "Personalize Icons"); -define("LAN_PERSONALIZE_MENUS", "Personalize Menus"); -define("LAN_LATEST_COMMENTS", "Latest Comments"); -define("LAN_COMMENTS_ALLOWED", "Comments Allowed"); -define("LAN_PERSONALIZE", "Personalize"); - -define("LAN_SETTINGS_NOT_SAVED_NO_CHANGES_MADE", "Settings not saved as no changes were made."); -define("LAN_DASHBOARD_LAYOUT", "Dashboard Layout"); -define("LAN_UNAVAILABLE", "Unavailable"); -define("LAN_UNINSTALL", "Uninstall"); -define("LAN_NO_LABEL_PROVIDED", "No Label Provided"); -define("LAN_NOT_FOUND", "Not Found!"); -define("LAN_FIELD", "Field"); - -define("LAN_MAINTENANCE", "Maintenance"); -define("LAN_RETURN_TO_FRONT_PANEL", "Return to Front Panel"); -define("LAN_CHANGE_LANGUAGE", "Change Language"); - -define("LAN_NEWER_VERSION_OF_X", "A newer version of the [x] [y] is available for download."); // x= Name y = Theme | Plugin - -// define("LAN_SUBJECT", "Subject"); // moved to English.php -define("LAN_ITEM", "Item"); -define("LAN_LOCK", "Lock"); -define("LAN_SYSTEM_USER", "System user"); -define("LAN_ENGINE", "Engine"); -define("LAN_SOURCE", "Source"); -define("LAN_UPGRADING", "Upgrading?"); -define("LAN_DONT_SHOW_AGAIN", "Don't show again"); - -define("LAN_ERROR_CONNECTION","Unable to connect for updates. Please check firewall and/or internet connection."); - -define("LAN_UI_X_CANT_EQUAL_Y", "[x] cannot be the same as [y]"); -define("LAN_UI_VIEW_GRID_LABEL", "Grid view"); -define("LAN_UI_VIEW_LIST_LABEL", "List view"); -define("LAN_CHECKING_FOR_UPDATES", "Checking for updates"); - -define("LAN_UI_FILTER_NEXT_HOUR", "Next Hour"); -define("LAN_UI_FILTER_NEXT_24_HOURS", "Next 24 hours"); -define("LAN_UI_FILTER_NEXT_WEEK", "Next Week"); -define("LAN_UI_FILTER_NEXT_MONTH", "Next Month"); -define("LAN_UI_FILTER_NEXT_XMONTHS", "Next [x] Months"); -define("LAN_UI_FILTER_NEXT_YEAR", "Next Year"); -define("LAN_UI_FILTER_IS_EMPTY", "Is Empty"); -define("LAN_RECALCULATE_COMMENT_COUNT", "Recalculate comment count"); -define("LAN_SUCC_RECALCULATE_COMMENT_COUNT", "Comment count successfully recalculated!"); -define("LAN_NO_RESULTS_FOUND", "No Results Found."); - -define("LAN_UI_DROPZONE_DROP_FILES", "Drop files here to upload"); - -define("LAN_DOWNLOAD_COMPLETE", "Download Complete!"); - -define("LAN_UI_FILTER_SEARCH_IN_FIELD", "Search in Field"); - -define("LAN_ROBOTS", "Robots"); -define("LAN_ROBOTS_NOINDEX", "Prevent search engines from indexing this item."); -define("LAN_ROBOTS_NOFOLLOW", "Prevent search engines from following links in this item."); -define("LAN_ROBOTS_NOARCHIVE", "Prevent cached copies of this item from appearing in search results."); -define("LAN_ROBOTS_NOIMAGE", "Prevent search engines from indexing images of this item."); - -define("LAN_NAVIGATION", "Navigation"); -define("LAN_NAVIGATION_LINKS", "Navigation Links"); -define("LAN_PAGINATION", "Pagination"); -define("LAN_X_CHARS_REMAINING", "[x] chars. remaining"); -define("LAN_UI_BATCH_NOW", "Current Date/Time"); -define("LAN_RELATIONSHIP", "Relationship"); -define("LAN_RELATIONSHIP_HELP", "Optional 'rel' attribute. Comma separated."); - -define("LAN_NO_SCRIPT_ACCESS", "You don't have permission to use [script] tags."); -define("LAN_NO_SCRIPT_ACCESS_ASK", "If you believe this is an error, please ask the main administrator to grant you script access via [b]Preferences > Content Filters[/b]"); - -define("LAN_UI_FILTER_TODAY", "Today"); -define("LAN_UI_FILTER_THIS_WEEK", "This Week"); -define("LAN_UI_FILTER_THIS_MONTH", "This Month"); -define("LAN_UI_FILTER_THIS_YEAR", "This Year"); - -define("LAN_SEARCH_ENGINES_X_LIMIT", "Read by search engines. Maximum [x] characters."); -define("LAN_META_TITLE", "Meta Title"); -define("LAN_META_DESCRIPTION", "Meta Description"); - -define("LAN_SYSTEM_NOTIFICATIONS_X", "[x] System Notification(s)"); -define("LAN_PHP_OUTDATED", "Your website is currently running an [outdated version of PHP], which may pose a security risk. If your plugins will allow it, we recommend upgrading to [x] to ensure that your website is secure and up-to-date."); -define("LAN_DATABASE_UPDATE", "An update is available for your database. We recommend [running this update] as soon as possible to ensure that your database is secure and up-to-date."); - -define("LAN_HISTORY", "History"); +Below is the list of files that could potentially be malicious:", + 'LAN_CREATE' => "Create", + 'LAN_MANAGE' => "Manage", + 'LAN_UPDATE' => "Update", + 'LAN_UPDATES' => "Updates", + 'LAN_INSTALLED' => "Installed", + 'LAN_LAST_UPDATED' => "Last Updated", + 'LAN_UPDATE_AVAILABLE' => "Update Available", + 'LAN_ADD' => "Add", + 'LAN_REMOVE' => "Remove", + 'LAN_ADD_MORE' => "Add More", + 'LAN_MULTIPLE_CHOICE' => "Multiple Choice", + 'LAN_SAVE' => "Save", + 'LAN_SAVED' => "Saved", + 'LAN_SETSAVED' => "Your settings have been saved", + 'LAN_NOCHANGE_NOTSAVED' => "Nothing changed - not saved", + 'LAN_CONFIRMDEL' => "Please confirm you wish to delete", + 'LAN_ERRORS' => "Errors", + 'LAN_MESSAGES' => "Messages", + 'LAN_DATA' => "Data", + 'LAN_OPTIONS' => "Options", + 'LAN_BASIC_OPTIONS' => "Basic Options", + 'LAN_PREFS' => "Preferences", + 'LAN_DELETED' => "Successfully deleted", + 'LAN_UPDATED' => "Successfully updated", + 'LAN_CREATED' => "Successfully created", + 'LAN_CREATED_FAILED' => "Creation Unsuccessful", + 'LAN_DELETED_FAILED' => "Deletion Unsuccessful", + 'LAN_UPDATED_FAILED' => "Update Unsuccessful", + 'LAN_NO_CHANGE' => "Nothing updated as no changes were made.", + 'LAN_TRY_AGAIN' => "Please try again.", + 'LAN_NEVER' => "Never", + 'LAN_PRUNE' => "Prune", + 'LAN_RESET' => "Reset", + 'LAN_CLEAR' => "Clear", + 'LAN_ADD_ALL' => "Add All", + 'LAN_CLEAR_ALL' => "Clear All", + 'LAN_CLICK_HERE' => "CLICK HERE", + 'LAN_UNKNOWN' => "Unknown", + 'LAN_ALL' => "All", + 'LAN_IMPORT' => "Import", + 'LAN_NOTWRITABLE' => "is not writable, you need to CHMOD 777 the file or folder first.", + 'LAN_NOTREADABLE' => "Not Readable", + 'LAN_MISSING' => "Missing", + 'LAN_UNUSED' => "Unused", + 'LAN_SESSION' => "Session", + 'LAN_TOOLTIP' => "Tooltip", + 'LAN_TIME' => "Time", + 'LAN_EMPTY' => "There are no entries in the database yet", + 'LAN_EXISTING' => "Existing Entries", + 'LAN_DEFAULT_TABLE_DATA' => "Adding default table data to table:", + 'LAN_CONFDELETE' => "Confirm Delete", + 'LAN_PLUGIN' => "Plugin", + 'LAN_PLUGIN_FOLDER' => "Plugin Folder", + 'LAN_THEMES' => "Themes", + 'LAN_THEME' => "Theme", + 'LAN_CORE' => "Core", + 'LAN_LATEST_e107_NEWS' => "Latest e107 News", + 'LAN_WEBSITE_STATUS' => "Website Status", + 'LAN_STATS' => "Stats", + 'LAN_ONLINE' => "Online", + 'LAN_ORDER' => "Order", + 'LAN_ASC' => "ASC", + 'LAN_DESC' => "DESC", + 'LAN_SELECT' => "Select", + 'LAN_ADMIN' => "Admin", + 'LAN_ROOT' => "Root", + 'LAN_LINE' => "Line", + 'LAN_SHORTCODES' => "Shortcodes", + 'LAN_DISPLAYOPT' => "Edit Display Options", + 'LAN_TIMESTAMP' => "Timestamp", + 'LAN_PAGE' => "PAGE", + 'LAN_AGENT' => "AGENT", + 'LAN_LANG' => "Lang.", + 'LAN_APPROVE' => "Approve", + 'LAN_OPTIONAL' => "optional", + 'LAN_INACTIVE' => "Inactive", + 'LAN_ACTIVATE' => "Activate", + 'LAN_ACCEPT' => "Accept", + 'LAN_PASSWORD_WARNING' => "It is HIGHLY recommended that you [change your password encoding] to the PHP Default. (Password hashes will be automatically upgraded during user login.)", + 'LAN_PENDING' => "Pending", + 'LAN_SUBMITTED' => "Submitted", + 'LAN_POSTED_BY_X' => "Posted by [x] [y]", + 'LAN_VIEW_ALL' => "View All", + 'LAN_BAN' => "Ban", + 'LAN_PATH' => "Path", + 'LAN_UPLOAD' => "Upload", + 'LAN_UPLOADS' => "Uploads", + 'LAN_UPLOAD_IMAGES' => "Upload Images", + 'LAN_UPLOAD_FILES' => "Upload Files", + 'LAN_UPLOAD_ADDFILE' => "Add Another File", + 'LAN_UPLOAD_CONFIRM' => "Any unsaved changes to this page will be lost. Continue?", + 'LAN_UPLOAD_777' => "Folder is missing or not writable, you need to CHMOD 777 the following folder before uploading:", + 'LAN_UPLOAD_SERVEROFF' => "This option is disabled as file uploading is not enabled on your server", + 'LAN_WIDTH' => "Width", + 'LAN_HEIGHT' => "Height", + 'LAN_ON' => "On", + 'LAN_OFF' => "Off", + 'LAN_DISABLE' => "Disable", + 'LAN_DISABLED' => "Disabled", + 'LAN_ENABLE' => "Enable", + 'LAN_ENABLED' => "Enabled", + 'LAN_BOOL_REVERSE' => "Invert", + 'LAN_DETAILS' => "Details", + 'LAN_NOT_AVAILABLE' => "Not available", + 'LAN_AUTO_GENERATED' => "Auto-generated", + 'LAN_AUTOMATION' => "Automation", + 'LAN_PRESET_CONFIRMSAVE' => "Save current form values as the default for this page?", + 'LAN_CONFIGURE' => "Configure", + 'LAN_NOPERMISSION' => "no permissions", + 'LAN_NO_ADMIN_PERMISSION' => "You do not have administrator permissions for [x]", + 'LAN_CREDITS' => "Credits", + 'LAN_NEWVERSION' => "e107 v[x] is available for download.", + 'LAN_CHECKALL' => "Check All", + 'LAN_UNCHECKALL' => "Uncheck All", + 'LAN_DELCHECKED' => "Delete Checked", + 'LAN_USERCLASS' => "Userclass", + 'LAN_MANAGER' => "Manager", + 'LAN_HELP' => "Help", + 'LAN_CUSTOM' => "Custom", + 'LAN_MENULAYOUT' => "Menu Layout", + 'LAN_MEDIAMANAGER' => "Media Manager", + 'LAN_MOREINFO' => "More Information...", + 'LAN_COMMENTMAN' => "Comments Manager", + 'LAN_FILTER' => "Filter", + 'LAN_STATUS' => "Status", + 'LAN_URL' => "URL", + 'LAN_OWNER' => "Owner", + 'LAN_PURCHASE' => "Purchase", + 'LAN_DOWNLOADING' => "Downloading", + 'LAN_ID' => "ID", + 'LAN_TEST' => "Test", + 'LAN_VISIBILITY' => "Visibility", + 'LAN_VISIBLE_TO' => "Visible To", + 'LAN_PARENT' => "Parent", + 'LAN_ICON' => "Icon", + 'LAN_LOADING' => "Loading...", + 'LAN_RUN' => "Run", + 'LAN_SEFURL' => "SEF URL", + 'LAN_COPY' => "Copy", + 'LAN_KEYWORDS' => "Keywords", + 'LAN_TEMPLATE' => "Template", + 'LAN_TEMPLATES' => "Templates", + 'LAN_DEMO_FORBIDDEN' => "Changes on this page are not possible in demo mode.", + 'LAN_COPYRIGHT' => "Copyright", + 'LAN_MANAGEPERMS' => "Manage Permissions", + 'LAN_PING' => "Ping", + 'LAN_START' => "Start", + 'LAN_END' => "End", + 'LAN_PREVIEW' => "Preview", + 'LAN_CREATE_CATEGORY' => "Create Category", + 'LAN_CREATE_ITEM' => "Create Item", + 'LAN_SECURITYL_0' => "Looking for trouble (none)", + 'LAN_SECURITYL_5' => "Balanced", + 'LAN_SECURITYL_7' => "High", + 'LAN_SECURITYL_9' => "Paranoid", + 'LAN_SECURITYL_10' => "Insane", + 'LAN_BATCH_LABEL_SELECTED' => "With selected...", + 'LAN_BATCH_LABEL_PREFIX' => "Modify", + 'LAN_LABEL_LABEL_SELECTED' => "Filter", + 'LAN_FILTER_LABEL_PREFIX' => "Filter by", + 'LAN_FILTER_LABEL_DISPLAYALL' => "Display All", + 'LAN_FILTER_LABEL_CLEAR' => "Clear Filter", + 'LAN_FILTER_LABEL_TYPED' => "(typed)", + 'LAN_UI_NOPID_ERROR' => "There is no [b]Primary ID[/b] set", + 'LAN_UI_BATCHDEL_ERROR' => "Batch delete not allowed!", + 'LAN_UI_404_BODY_ERROR' => "Requested page was not found!", + 'LAN_UI_404_TITLE_ERROR' => "Page Not Found", + 'LAN_UI_404_METHOD_ERROR' => "Action [x] not found!", + 'LAN_UI_403_BODY_ERROR' => "Access to the requested page is denied.", + 'LAN_UI_403_TITLE_ERROR' => "Access denied", + 'LAN_UI_FORM_METHOD_ERROR' => "FATAL ERROR: The field name [x] is not allowed. Please rename the key [x] to something else in your fields array and database table (if required).", + 'LAN_UNKNOWN_ERROR' => "Unknown Error", + 'LAN_SQL_ERROR' => "SQL Error", + 'LAN_UI_BATCH_UPDATE_SUCCESS' => "[x] set for [y] record(s).", + 'LAN_UI_BATCH_REVERSED_SUCCESS' => "[x] records successfully reversed.", + 'LAN_UI_BATCH_BOOL_SUCCESS' => "[x] records successfully updated.", + 'LAN_UI_BATCH_DEATTACH_SUCCESS' => "[x] removed from [y] record(s).", + 'LAN_UI_EDIT_LABEL' => "Update record #[x]", + 'LAN_UI_CREATE_LABEL' => "Create new record", + 'LAN_UI_PREF_LABEL' => "Settings", + 'LAN_UI_DELETE_LABEL' => "Confirm Delete", + 'LAN_UI_DELETE_WARNING' => "You are about to delete [x] records. Please confirm to continue.", + 'LAN_UI_BATCH_CREATELINK' => "Create Navigation Link", + 'LAN_UI_DELETED' => "[x] record(s) successfully deleted!", + 'LAN_UI_DELETED_FAILED' => "[x] records not found and not deleted!", + 'LAN_UI_FILE_DELETED' => "[x] file successfully deleted!", + 'LAN_UI_FILE_DELETED_FAILED' => "Unable to delete [x]! Please remove the file manually.", + 'LAN_UI_BATCH_EXPORT' => "Export", + 'LAN_UI_USING_DATABASE_TABLE' => "Using [x] database table", + 'LAN_UI_TOTAL_RECORDS' => "Total Records: [x]", + 'LAN_UI_FILTER_PAST_HOUR' => "Past Hour", + 'LAN_UI_FILTER_PAST_24_HOURS' => "Past 24 hours", + 'LAN_UI_FILTER_PAST_WEEK' => "Past Week", + 'LAN_UI_FILTER_PAST_MONTH' => "Past Month", + 'LAN_UI_FILTER_PAST_XMONTHS' => "Past [x] Months", + 'LAN_UI_FILTER_PAST_YEAR' => "Past Year", + 'LAN_USER_MANAGEALL' => "Manage all User, Userclass and Extended User-Field settings", + 'LAN_USER_LIST' => "User List", + 'LAN_USER_QUICKADD' => "Quick Add User", + 'LAN_USER_NOT_FOUND' => "User Not Found.", + 'LAN_USER_PRUNE' => "Prune Users", + 'LAN_USER_OPTIONS' => "User Options", + 'LAN_USER_RANKS' => "User Ranks", + 'LAN_CONTROL_PANEL' => "[x]'s Control Panel", + 'LAN_CUSTOM_URL' => "Custom URL", + 'LAN_CUSTOM_URL_DISABLED' => "Disabled or Enter Custom URL", + 'LAN_GENERAL' => "General", + 'LAN_GEN_PW' => "Generate a password", + 'LAN_DISPL_PW' => "Display the password", + 'LAN_WILL_OVERWRITE_SEF' => "This will overwrite your existing SEF URL.", + 'LAN_CAPTION' => "Caption", + 'LAN_LIMIT' => "Limit", + 'LAN_BASIC' => "Basic", + 'LAN_EXTENDED' => "Extended", + 'LAN_ADVANCED' => "Advanced", + 'LAN_DISPLAY' => "Display", + 'LAN_FOLDER' => "Folder", + 'LAN_PERSONALIZE_ICONS' => "Personalize Icons", + 'LAN_PERSONALIZE_MENUS' => "Personalize Menus", + 'LAN_LATEST_COMMENTS' => "Latest Comments", + 'LAN_COMMENTS_ALLOWED' => "Comments Allowed", + 'LAN_PERSONALIZE' => "Personalize", + 'LAN_SETTINGS_NOT_SAVED_NO_CHANGES_MADE' => "Settings not saved as no changes were made.", + 'LAN_DASHBOARD_LAYOUT' => "Dashboard Layout", + 'LAN_UNAVAILABLE' => "Unavailable", + 'LAN_UNINSTALL' => "Uninstall", + 'LAN_NO_LABEL_PROVIDED' => "No Label Provided", + 'LAN_NOT_FOUND' => "Not Found!", + 'LAN_FIELD' => "Field", + 'LAN_MAINTENANCE' => "Maintenance", + 'LAN_RETURN_TO_FRONT_PANEL' => "Return to Front Panel", + 'LAN_CHANGE_LANGUAGE' => "Change Language", + 'LAN_NEWER_VERSION_OF_X' => "A newer version of the [x] [y] is available for download.", + 'LAN_ITEM' => "Item", + 'LAN_LOCK' => "Lock", + 'LAN_SYSTEM_USER' => "System user", + 'LAN_ENGINE' => "Engine", + 'LAN_SOURCE' => "Source", + 'LAN_UPGRADING' => "Upgrading?", + 'LAN_DONT_SHOW_AGAIN' => "Don't show again", + 'LAN_ERROR_CONNECTION' => "Unable to connect for updates. Please check firewall and/or internet connection.", + 'LAN_UI_X_CANT_EQUAL_Y' => "[x] cannot be the same as [y]", + 'LAN_UI_VIEW_GRID_LABEL' => "Grid view", + 'LAN_UI_VIEW_LIST_LABEL' => "List view", + 'LAN_CHECKING_FOR_UPDATES' => "Checking for updates", + 'LAN_UI_FILTER_NEXT_HOUR' => "Next Hour", + 'LAN_UI_FILTER_NEXT_24_HOURS' => "Next 24 hours", + 'LAN_UI_FILTER_NEXT_WEEK' => "Next Week", + 'LAN_UI_FILTER_NEXT_MONTH' => "Next Month", + 'LAN_UI_FILTER_NEXT_XMONTHS' => "Next [x] Months", + 'LAN_UI_FILTER_NEXT_YEAR' => "Next Year", + 'LAN_UI_FILTER_IS_EMPTY' => "Is Empty", + 'LAN_RECALCULATE_COMMENT_COUNT' => "Recalculate comment count", + 'LAN_SUCC_RECALCULATE_COMMENT_COUNT' => "Comment count successfully recalculated!", + 'LAN_NO_RESULTS_FOUND' => "No Results Found.", + 'LAN_UI_DROPZONE_DROP_FILES' => "Drop files here to upload", + 'LAN_DOWNLOAD_COMPLETE' => "Download Complete!", + 'LAN_UI_FILTER_SEARCH_IN_FIELD' => "Search in Field", + 'LAN_ROBOTS' => "Robots", + 'LAN_ROBOTS_NOINDEX' => "Prevent search engines from indexing this item.", + 'LAN_ROBOTS_NOFOLLOW' => "Prevent search engines from following links in this item.", + 'LAN_ROBOTS_NOARCHIVE' => "Prevent cached copies of this item from appearing in search results.", + 'LAN_ROBOTS_NOIMAGE' => "Prevent search engines from indexing images of this item.", + 'LAN_NAVIGATION' => "Navigation", + 'LAN_NAVIGATION_LINKS' => "Navigation Links", + 'LAN_PAGINATION' => "Pagination", + 'LAN_X_CHARS_REMAINING' => "[x] chars. remaining", + 'LAN_UI_BATCH_NOW' => "Current Date/Time", + 'LAN_RELATIONSHIP' => "Relationship", + 'LAN_RELATIONSHIP_HELP' => "Optional 'rel' attribute. Comma separated.", + 'LAN_NO_SCRIPT_ACCESS' => "You don't have permission to use [script] tags.", + 'LAN_NO_SCRIPT_ACCESS_ASK' => "If you believe this is an error, please ask the main administrator to grant you script access via [b]Preferences > Content Filters[/b]", + 'LAN_UI_FILTER_TODAY' => "Today", + 'LAN_UI_FILTER_THIS_WEEK' => "This Week", + 'LAN_UI_FILTER_THIS_MONTH' => "This Month", + 'LAN_UI_FILTER_THIS_YEAR' => "This Year", + 'LAN_SEARCH_ENGINES_X_LIMIT' => "Read by search engines. Maximum [x] characters.", + 'LAN_META_TITLE' => "Meta Title", + 'LAN_META_DESCRIPTION' => "Meta Description", + 'LAN_SYSTEM_NOTIFICATIONS_X' => "[x] System Notification(s)", + 'LAN_PHP_OUTDATED' => "Your website is currently running an [outdated version of PHP], which may pose a security risk. If your plugins will allow it, we recommend upgrading to [x] to ensure that your website is secure and up-to-date.", + 'LAN_DATABASE_UPDATE' => "An update is available for your database. We recommend [running this update] as soon as possible to ensure that your database is secure and up-to-date.", + 'LAN_HISTORY' => "History", +]; diff --git a/e107_languages/English/admin/lan_admin_log.php b/e107_languages/English/admin/lan_admin_log.php index 7a8ab0fa7..3ac93ce19 100644 --- a/e107_languages/English/admin/lan_admin_log.php +++ b/e107_languages/English/admin/lan_admin_log.php @@ -1,135 +1,104 @@ "Rolling Log", + 'RL_LAN_005' => "Configure/View system logs", + 'RL_LAN_008' => "Rolling Log is active:", + 'RL_LAN_009' => "Rolling Log History length in days", + 'RL_LAN_012' => "Filter Options", + 'RL_LAN_013' => "Start date/time", + 'RL_LAN_014' => "End date/time", + 'RL_LAN_015' => "User ID filter", + 'RL_LAN_016' => "Blank for none, zero for guest", + 'RL_LAN_017' => "No log entries, or none match filter", + 'RL_LAN_018' => "Refresh log", + 'RL_LAN_019' => "yy-mm-dd hh:mm:ss", + 'RL_LAN_020' => "IP", + 'RL_LAN_023' => "Event Type", + 'RL_LAN_024' => "From", + 'RL_LAN_025' => "Event Title", + 'RL_LAN_026' => "Class for which user actions logged", + 'RL_LAN_028' => "Update Filters", + 'RL_LAN_029' => "Event type filter", + 'RL_LAN_030' => "Admin Log", + 'RL_LAN_031' => "Actions to log", + 'RL_LAN_032' => "Pri", + 'RL_LAN_033' => "Further Information", + 'RL_LAN_044' => "Log events to display per page", + 'RL_LAN_045' => "Delete admin log events older than", + 'RL_LAN_046' => "days", + 'RL_LAN_047' => "Confirm delete admin log events older than", + 'RL_LAN_049' => "Delete old entries", + 'RL_LAN_050' => "Parameter error - nothing deleted", + 'RL_LAN_052' => "Admin log", + 'RL_LAN_053' => "User Audit Log", + 'RL_LAN_054' => "Nothing to delete, or database error", + 'RL_LAN_057' => "- events older than [x] ([y] entries) deleted", + 'RL_LAN_058' => "Priority Filter:", + 'RL_LAN_059' => "Caller Filter:", + 'RL_LAN_060' => "IP Address Filter:", + 'RL_LAN_061' => "Wildcard (*) at end acceptable", + 'RL_LAN_062' => "User Audit Log", + 'RL_LAN_064' => "Applicable to all logs", + 'RL_LAN_065' => "Confirm delete user audit log events older than", + 'RL_LAN_066' => "Delete user audit trail log events older than", + 'RL_LAN_067' => "Download History", + 'RL_LAN_068' => "D/L ID", + 'RL_LAN_069' => "Download Name", + 'RL_LAN_071' => "User registration (ignores class setting above)", + 'RL_LAN_072' => "Signup email acknowledgement (ignores class setting above)", + 'RL_LAN_073' => "Login/Logout", + 'RL_LAN_075' => "Change display name", + 'RL_LAN_076' => "Change password", + 'RL_LAN_077' => "Change email address", + 'RL_LAN_078' => "Password Reset", + 'RL_LAN_079' => "Change other user settings", + 'RL_LAN_080' => "Admin quick add user", + 'RL_LAN_081' => "Mail bounces", + 'RL_LAN_082' => "User bans", + 'RL_LAN_083' => "Mail bounce resets", + 'RL_LAN_084' => "Temporary accounts", + 'RL_LAN_087' => "Details", + 'RL_LAN_090' => "Download ID", + 'RL_LAN_091' => "Detailed timings", + 'RL_LAN_092' => "Time period", + 'RL_LAN_093' => "(mins)", + 'RL_LAN_094' => "Detailed timing analysis", + 'RL_LAN_096' => "Diff (s)", + 'RL_LAN_100' => "CID", + 'RL_LAN_101' => "PID", + 'RL_LAN_103' => "Subject", + 'RL_LAN_104' => "UID", + 'RL_LAN_106' => "Type", + 'RL_LAN_107' => "Comment", + 'RL_LAN_108' => "BK", + 'RL_LAN_109' => "LK", + 'RL_LAN_110' => "Del", + 'RL_LAN_111' => "Delete checked items", + 'RL_LAN_112' => "Deleted --NUMBER-- comments", + 'RL_LAN_113' => "Error deleting comments!", + 'RL_LAN_114' => "Clear Filters", + 'RL_LAN_115' => "Users Admin", + 'RL_LAN_116' => "Location", + 'RL_LAN_117' => "PgCnt", + 'RL_LAN_118' => "Flag", + 'RL_LAN_120' => "Users on-line", + 'RL_LAN_122' => "System Logs Configuration", + 'RL_LAN_123' => "User audit trail class", + 'RL_LAN_124' => "User audit trail actions", + 'RL_LAN_125' => "System Logs Maintenance", + 'RL_LAN_126' => "Total [x] entries matching search condition", + 'RL_LAN_132' => "Informative", + 'RL_LAN_133' => "Notice", + 'RL_LAN_134' => "Warning", + 'RL_LAN_135' => "Fatal", + 'RL_LAN_136' => "User navigation trail", +]; diff --git a/e107_languages/English/admin/lan_administrator.php b/e107_languages/English/admin/lan_administrator.php index 3467d4cb9..a2d84915e 100644 --- a/e107_languages/English/admin/lan_administrator.php +++ b/e107_languages/English/admin/lan_administrator.php @@ -1,6 +1,6 @@ "is the main site administrator and cannot be deleted.", + 'ADMSLAN_13' => "Existing Administrators", + 'ADMSLAN_16' => "Admin Name", + 'ADMSLAN_18' => "Permissions", + 'ADMSLAN_21' => "Modify administrator permissions", + 'ADMSLAN_25' => "Upload /manage files", + 'ADMSLAN_27' => "Oversee link categories", + 'ADMSLAN_41' => "Create/edit custom menus", + 'ADMSLAN_42' => "Post reviews", + 'ADMSLAN_52' => "Update administrator", + 'ADMSLAN_56' => "Site Administrator", + 'ADMSLAN_58' => "Main Site Administrator", + 'ADMSLAN_59' => "Remove Admin Status", + 'ADMSLAN_61' => "Administrator deleted", + 'ADMSLAN_62' => "Plugin Manager", + 'ADMSLAN_71' => "Click here to display privileges", + 'ADMSLAN_72' => "Admin ID: [x] name: [y] new permissions:", + 'ADMSLAN_73' => "Admin ID: [x] name: [y]", +]; diff --git a/e107_languages/English/admin/lan_banlist.php b/e107_languages/English/admin/lan_banlist.php index 6a7522673..ae48d6483 100644 --- a/e107_languages/English/admin/lan_banlist.php +++ b/e107_languages/English/admin/lan_banlist.php @@ -1,6 +1,6 @@ NOTE: This may affect pageload times on some hosts, or if a server isn't responding"); -define("BANLAN_66", "When a ban occurs, this option adds the domain of the banned address to the reason"); -define("BANLAN_67", "Set maximum access rate"); -define("BANLAN_68", "This determines the maximum number of site accesses in a 5-minute period"); -define("BANLAN_69", "for members"); -define("BANLAN_70", "for guests"); -define("BANLAN_71", "Retrigger ban period"); -define("BANLAN_72", "Ban Options"); -define("BANLAN_73", "This will restart the ban period if a banned user accesses the site"); -define("BANLAN_74", "Banlist Maintenance"); -define("BANLAN_75", "Remove expired bans from list"); -define("BANLAN_76", "Execute"); -define("BANLAN_77", "Messages/Ban Periods"); -define("BANLAN_78", "Hit count exceeded ([x] requests within allotted time)"); -define("BANLAN_79", "CSV Export format:"); -define("BANLAN_80", "CSV Import format:"); -define("BANLAN_81", "Ban Action Log"); -define("BANLAN_82", "No entries in Ban Action Log"); -define("BANLAN_83", "Date/Time"); -define("BANLAN_84", "IP Address"); -define("BANLAN_85", "Additional information"); -define("BANLAN_86", "Ban-related events"); -define("BANLAN_87", "Total [y] entries in list"); -define("BANLAN_88", "Empty Ban Action Log"); -define("BANLAN_89", "Log File Deleted"); -define("BANLAN_90", "Error deleting log file"); -define("BANLAN_91", "Date/time format for ban log"); -define("BANLAN_92", "See the strftime function page at php.net"); -define("BANLAN_93", ""); - -// Ban types - block reserved 100-109 -define("BANLAN_100", "Unknown"); -define("BANLAN_101", "Manual"); -define("BANLAN_102", "Flood"); -define("BANLAN_103", "Hit count"); -define("BANLAN_104", "Login failure"); -define("BANLAN_105", "Imported"); -define("BANLAN_106", "User"); -define("BANLAN_107", "Unknown"); -define("BANLAN_108", "Unknown"); -define("BANLAN_109", "Old"); - -// Detailed explanations for ban types - block reserved 110-119 -define("BANLAN_110", "Most likely a ban that was imposed before e107 was upgraded from 0.7.x"); -define("BANLAN_111", "Entered by an admin"); -define("BANLAN_112", "Attempts to update the site too fast"); -define("BANLAN_113", "Attempts to access the site too frequently from the same address"); -define("BANLAN_114", "Multiple failed login attempts from the same user"); -define("BANLAN_115", "Added from an external list"); -define("BANLAN_116", "IP address banned on account of user ban"); -define("BANLAN_117", "Spare reason"); -define("BANLAN_118", "Spare reason"); -define("BANLAN_119", "Indicates an import error - previously imported bans"); - -define("BANLAN_120", "Whitelist entry"); -define("BANLAN_121", "Blacklist entry"); -define("BANLAN_122", "Blacklist"); -define("BANLAN_123", "Add to Blacklist"); -define("BANLAN_124", "Expires"); // not ban_lan_34 -define("BANLAN_125", "Use my IP"); -define("BANLAN_126", "IP / Email"); -define("BANLAN_127", "Delete all [x] failed logins from database"); - +return [ + 'BANLAN_5' => "Enter IP, email address, or host", + 'BANLAN_7' => "Reason", + 'BANLAN_9' => "Ban users from site by email, IP or host address", + 'BANLAN_10' => "IP / Email / Reason", + 'BANLAN_11' => "Auto-ban: More than 10 failed login attempts", + 'BANLAN_15' => "Messages/Ban Periods", + 'BANLAN_16' => "Banning", + 'BANLAN_19' => "Notes", + 'BANLAN_23' => "day(s)", + 'BANLAN_24' => "hours", + 'BANLAN_28' => "Ban type", + 'BANLAN_29' => "Message to show to banned user", + 'BANLAN_30' => "Ban duration", + 'BANLAN_31' => "(Use an empty message if you wish the user to get a blank screen)", + 'BANLAN_32' => "Indefinite", + 'BANLAN_34' => "Expired", + 'BANLAN_35' => "Import/Export", + 'BANLAN_36' => "Export Types", + 'BANLAN_37' => "Field Separator", + 'BANLAN_38' => "Quote (round each value)", + 'BANLAN_40' => "Banlist Export", + 'BANLAN_41' => "Banlist Import", + 'BANLAN_42' => "Import Choices", + 'BANLAN_43' => "Replace all existing imported bans", + 'BANLAN_44' => "Use expiry date/time from import", + 'BANLAN_46' => "Import File:", + 'BANLAN_47' => "File upload error", + 'BANLAN_48' => "Deleted [y] expired ban list entries", + 'BANLAN_49' => "CSV import: Unbalanced quotes in line", + 'BANLAN_50' => "CSV import: Error writing banlist record at line", + 'BANLAN_51' => "CSV import: Success, [y] lines imported from file", + 'BANLAN_52' => "Whitelist", + 'BANLAN_53' => "Add to Whitelist", + 'BANLAN_54' => "No entries in whitelist", + 'BANLAN_55' => "Entry Date", + 'BANLAN_56' => "IP/Email, User", + 'BANLAN_57' => "User", + 'BANLAN_58' => "Add users to the whitelist", + 'BANLAN_59' => "Edit existing whitelist entry", + 'BANLAN_60' => "Edit existing banlist entry", + 'BANLAN_61' => "Existing Whitelist entries", + 'BANLAN_63' => "Use reverse DNS to allow host banning", + 'BANLAN_64' => "Reverse DNS accesses when adding ban", + 'BANLAN_65' => "Turning this option on will allow you to ban users by hostname, rather then just IP or email address.
NOTE: This may affect pageload times on some hosts, or if a server isn't responding", + 'BANLAN_66' => "When a ban occurs, this option adds the domain of the banned address to the reason", + 'BANLAN_67' => "Set maximum access rate", + 'BANLAN_68' => "This determines the maximum number of site accesses in a 5-minute period", + 'BANLAN_69' => "for members", + 'BANLAN_70' => "for guests", + 'BANLAN_71' => "Retrigger ban period", + 'BANLAN_72' => "Ban Options", + 'BANLAN_73' => "This will restart the ban period if a banned user accesses the site", + 'BANLAN_74' => "Banlist Maintenance", + 'BANLAN_75' => "Remove expired bans from list", + 'BANLAN_76' => "Execute", + 'BANLAN_77' => "Messages/Ban Periods", + 'BANLAN_78' => "Hit count exceeded ([x] requests within allotted time)", + 'BANLAN_79' => "CSV Export format:", + 'BANLAN_80' => "CSV Import format:", + 'BANLAN_81' => "Ban Action Log", + 'BANLAN_82' => "No entries in Ban Action Log", + 'BANLAN_83' => "Date/Time", + 'BANLAN_84' => "IP Address", + 'BANLAN_85' => "Additional information", + 'BANLAN_86' => "Ban-related events", + 'BANLAN_87' => "Total [y] entries in list", + 'BANLAN_88' => "Empty Ban Action Log", + 'BANLAN_89' => "Log File Deleted", + 'BANLAN_90' => "Error deleting log file", + 'BANLAN_91' => "Date/time format for ban log", + 'BANLAN_92' => "See the strftime function page at php.net", + 'BANLAN_93' => "", + 'BANLAN_100' => "Unknown", + 'BANLAN_101' => "Manual", + 'BANLAN_102' => "Flood", + 'BANLAN_103' => "Hit count", + 'BANLAN_104' => "Login failure", + 'BANLAN_105' => "Imported", + 'BANLAN_106' => "User", + 'BANLAN_107' => "Unknown", + 'BANLAN_108' => "Unknown", + 'BANLAN_109' => "Old", + 'BANLAN_110' => "Most likely a ban that was imposed before e107 was upgraded from 0.7.x", + 'BANLAN_111' => "Entered by an admin", + 'BANLAN_112' => "Attempts to update the site too fast", + 'BANLAN_113' => "Attempts to access the site too frequently from the same address", + 'BANLAN_114' => "Multiple failed login attempts from the same user", + 'BANLAN_115' => "Added from an external list", + 'BANLAN_116' => "IP address banned on account of user ban", + 'BANLAN_117' => "Spare reason", + 'BANLAN_118' => "Spare reason", + 'BANLAN_119' => "Indicates an import error - previously imported bans", + 'BANLAN_120' => "Whitelist entry", + 'BANLAN_121' => "Blacklist entry", + 'BANLAN_122' => "Blacklist", + 'BANLAN_123' => "Add to Blacklist", + 'BANLAN_124' => "Expires", + 'BANLAN_125' => "Use my IP", + 'BANLAN_126' => "IP / Email", + 'BANLAN_127' => "Delete all [x] failed logins from database", +]; diff --git a/e107_languages/English/admin/lan_cache.php b/e107_languages/English/admin/lan_cache.php index eef115125..4fdc6c125 100644 --- a/e107_languages/English/admin/lan_cache.php +++ b/e107_languages/English/admin/lan_cache.php @@ -1,38 +1,35 @@ "Cache System Status", + 'CACLAN_2' => "Set cache status", + 'CACLAN_3' => "Cache Management", + 'CACLAN_5' => "Empty Content Cache", + 'CACLAN_6' => "Cache Emptied", + 'CACLAN_10' => "The cache directory is not writable. Please ensure this directory is set CHMOD 0777", + 'CACLAN_11' => "Content Cache", + 'CACLAN_12' => "System Cache", + 'CACLAN_13' => "Content cache contains page rendered content. This includes any content (html) that you see rendered on your site.", + 'CACLAN_14' => "System cache contains system config information. This includes site pref, currently active menus, etc. No actual content will be contained here.", + 'CACLAN_16' => "Empty System Cache", + 'CACLAN_17' => "Currently contains", + 'CACLAN_18' => "file", + 'CACLAN_19' => "files", + 'CACLAN_20' => "DB Structure Cache", + 'CACLAN_21' => "Database Structure cache contains system information about database tables structure, needed by various core routines. No actual content will be contained here.", + 'CACLAN_22' => "Thumbnail cache", + 'CACLAN_23' => "Thumbnail cache files contains binary image data. They are there to save a lot of server CPU work.", + 'CACLAN_24' => "Empty DB Structure Cache", + 'CACLAN_25' => "Empty Thumbnail Cache", + 'CACLAN_26' => "Empty All Cache", + 'CACLAN_27' => "Empty Browser Cache", + 'CACLAN_28' => "JS/CSS Cache", + 'CACLAN_29' => "Consolidate and cache javascript files and cascading stylesheet files.", + 'CACLAN_30' => "Empty JS/CSS Cache", +]; diff --git a/e107_languages/English/admin/lan_cpage.php b/e107_languages/English/admin/lan_cpage.php index e82c76acc..510e27344 100644 --- a/e107_languages/English/admin/lan_cpage.php +++ b/e107_languages/English/admin/lan_cpage.php @@ -1,59 +1,59 @@ "Overview", + 'CUSLAN_2' => "Page Title", + 'CUSLAN_3' => "Items per Page", + 'CUSLAN_4' => "Custom Fields", + 'CUSLAN_5' => "(New Book)", + 'CUSLAN_9' => "Text", + 'CUSLAN_12' => "Create Page/Menu", + 'CUSLAN_29' => "List pages if no page selected", + 'CUSLAN_30' => "Expiry time for cookie (in seconds)", + 'CUSLAN_31' => "Create menu", + 'CUSLAN_48' => "Page List", + 'CUSLAN_49' => "Menu List", + 'CUSLAN_50' => "List Books/Chapters", + 'CUSLAN_51' => "Add Book/Chapter", + 'CUSLAN_52' => "Book", + 'CUSLAN_53' => "Book or Chapter Title", + 'CUSLAN_55' => "Can be edited by", + 'CUSLAN_56' => "Parent", + 'CUSLAN_57' => "Please choose a unique SEF URL for this entry.", + 'CUSLAN_58' => "View Pages in this chapter", + 'CUSLAN_59' => "Page", + 'CUSLAN_60' => "Page Options", + 'CUSLAN_61' => "Menu", + 'CUSLAN_62' => "Menu Options", + 'CUSLAN_63' => "Book/Chapter", + 'CUSLAN_64' => "Menu Name", + 'CUSLAN_65' => "Menu Title", + 'CUSLAN_66' => "Menu Body", + 'CUSLAN_67' => "Menu Template", + 'CUSLAN_68' => "Custom Button Text", + 'CUSLAN_69' => "Custom Button URL", + 'CUSLAN_70' => "Menu Icon/Glyph", + 'CUSLAN_71' => "Menu Image/Video", + 'CUSLAN_72' => "List Books/Chapters Template", + 'CUSLAN_73' => "Menu Created", + 'CUSLAN_74' => "Menu Updated", + 'CUSLAN_75' => "Missing Menu-id detected:", + 'CUSLAN_76' => "Menu with path #", + 'CUSLAN_77' => "deleted", + 'CUSLAN_78' => "Couldn't delete menu with path", + 'CUSLAN_79' => "You must enter either a page title or a menu name.", + 'CUSLAN_80' => "Sub Title", + 'CUSLAN_81' => "Meta image", + 'CUSLAN_82' => "Optional. Used by social media when sharing this page.", + 'CUSLAN_83' => "Will be listed in the Menu-Manager under this name or may be called using {CMENU=name} in your theme. Must use ASCII characters only and be all lowercase.", + 'CUSLAN_84' => "Caption displayed on the menu item.", + 'CUSLAN_85' => "Leave blank to use the default", + 'CUSLAN_86' => "Leave blank to use the corresponding page", +]; diff --git a/e107_languages/English/admin/lan_cron.php b/e107_languages/English/admin/lan_cron.php index 3adc68d2b..996c6e300 100644 --- a/e107_languages/English/admin/lan_cron.php +++ b/e107_languages/English/admin/lan_cron.php @@ -8,103 +8,78 @@ * */ -if (!defined("PAGE_NAME")) { define("PAGE_NAME", "Schedule Tasks"); } -// Menu -define("LAN_CRON_M_02", "Refresh"); - -// Table heading - -define("LAN_CRON_2", "Function"); -define("LAN_CRON_3", "Tab"); -define("LAN_CRON_4", "Last-run"); - -// Default crons -define("LAN_CRON_01_1", "Test Email"); -define("LAN_CRON_01_2", "Send a test email to [eml]."); // [eml] is automatically replaced by head admin e-mail address. -define("LAN_CRON_01_3", "Recommended to test the scheduling system."); - -define("LAN_CRON_02_1", "Mail Queue"); -define("LAN_CRON_02_2", "Process mail queue."); - -define("LAN_CRON_03_1", "Mail Bounce Check"); -define("LAN_CRON_03_2", "Check for bounced emails."); - -define("LAN_CRON_04_1", "Ban Retrigger Check"); -define("LAN_CRON_04_2", "Process bounce retriggers."); -define("LAN_CRON_04_3", "Only needed if retriggering of bans enabled."); - -define("LAN_CRON_05_1", "Database Backup"); -define("LAN_CRON_05_2", "Backup the system database to"); - -define('LAN_CRON_06_1', "Process Ban Trigger"); - -// Error and info messages -define("LAN_CRON_6", "Couldn't Import Prefs"); -define("LAN_CRON_7", "Couldn't Import Timing Settings"); -define("LAN_CRON_8", "Imported Timing Settings for"); - -define("LAN_CRON_9", "[x] minutes and [y] seconds ago."); // [x] and [y] are automatically replaced. -define("LAN_CRON_10", "[y] seconds ago."); - -define("LAN_CRON_11", "Active Crons"); -define("LAN_CRON_12", "Last cron refresh"); -define("LAN_CRON_13", "Please be sure cron.php is executable."); -define("LAN_CRON_14", "Please CHMOD /cron.php to 755."); - -define("LAN_CRON_15", "Use the following Cron Command"); -define("LAN_CRON_16", "Using your server control panel (eg. cPanel, DirectAdmin, Plesk etc.) please create a crontab to run this command on your server every minute."); - -// leave some room for additions/changes - -// Info for checkCoreUpdate cron -define("LAN_CRON_20_1", "Check for e107 Update"); -define("LAN_CRON_20_2", "Check e107.org for Core updates"); // [eml] is automatically replaced by head admin e-mail address. -define("LAN_CRON_20_3", "Recommended to keep system up to date."); -define("LAN_CRON_20_4", "Update this Git repository"); -define("LAN_CRON_20_5", "Update this e107 installation with the very latest files from github."); -define("LAN_CRON_20_6", "Recommended for developers only."); -//define("LAN_CRON_20_7", "Warning!");//LAN_WARNING -define("LAN_CRON_20_8", "May cause site instability!"); - -define("LAN_CRON_30", "Every Minute"); -define("LAN_CRON_31", "Every Other Minute"); -define("LAN_CRON_32", "Every 5 Minutes"); -define("LAN_CRON_33", "Every 10 minutes"); -define("LAN_CRON_34", "Every 15 minutes"); -define("LAN_CRON_35", "Every 30 minutes"); - -define("LAN_CRON_36", "Every Hour"); -define("LAN_CRON_37", "Every Other Hour"); -define("LAN_CRON_38", "Every 3 Hours"); -define("LAN_CRON_39", "Every 6 Hours"); - -define("LAN_CRON_40", "Every Day"); -define("LAN_CRON_41", "Every Month"); -define("LAN_CRON_42", "Every Week Day"); - -define("LAN_CRON_50", "Minute(s):"); -define("LAN_CRON_51", "Hour(s):"); -define("LAN_CRON_52", "Day(s):"); -define("LAN_CRON_53", "Month(s):"); -define("LAN_CRON_54", "Weekday(s):"); -define("LAN_CRON_55", "Database Backup Failed"); -define("LAN_CRON_56", "Database Backup Complete"); - -define("LAN_CRON_60", "Go to cPanel"); -define("LAN_CRON_61", "Generate new cron token"); -define("LAN_CRON_62", "Executing config function [b][x][/b]"); -define("LAN_CRON_63", "Config function [b][x][/b] NOT found."); -define("LAN_CRON_64", "An administrator can automate tasks using e107 Schedule Tasks. [br] +return [ + 'PAGE_NAME' => "Schedule Tasks", + 'LAN_CRON_M_02' => "Refresh", + 'LAN_CRON_2' => "Function", + 'LAN_CRON_3' => "Tab", + 'LAN_CRON_4' => "Last-run", + 'LAN_CRON_01_1' => "Test Email", + 'LAN_CRON_01_2' => "Send a test email to [eml].", + 'LAN_CRON_01_3' => "Recommended to test the scheduling system.", + 'LAN_CRON_02_1' => "Mail Queue", + 'LAN_CRON_02_2' => "Process mail queue.", + 'LAN_CRON_03_1' => "Mail Bounce Check", + 'LAN_CRON_03_2' => "Check for bounced emails.", + 'LAN_CRON_04_1' => "Ban Retrigger Check", + 'LAN_CRON_04_2' => "Process bounce retriggers.", + 'LAN_CRON_04_3' => "Only needed if retriggering of bans enabled.", + 'LAN_CRON_05_1' => "Database Backup", + 'LAN_CRON_05_2' => "Backup the system database to", + 'LAN_CRON_06_1' => "Process Ban Trigger", + 'LAN_CRON_6' => "Couldn't Import Prefs", + 'LAN_CRON_7' => "Couldn't Import Timing Settings", + 'LAN_CRON_8' => "Imported Timing Settings for", + 'LAN_CRON_9' => "[x] minutes and [y] seconds ago.", + 'LAN_CRON_10' => "[y] seconds ago.", + 'LAN_CRON_11' => "Active Crons", + 'LAN_CRON_12' => "Last cron refresh", + 'LAN_CRON_13' => "Please be sure cron.php is executable.", + 'LAN_CRON_14' => "Please CHMOD /cron.php to 755.", + 'LAN_CRON_15' => "Use the following Cron Command", + 'LAN_CRON_16' => "Using your server control panel (eg. cPanel, DirectAdmin, Plesk etc.) please create a crontab to run this command on your server every minute.", + 'LAN_CRON_20_1' => "Check for e107 Update", + 'LAN_CRON_20_2' => "Check e107.org for Core updates", + 'LAN_CRON_20_3' => "Recommended to keep system up to date.", + 'LAN_CRON_20_4' => "Update this Git repository", + 'LAN_CRON_20_5' => "Update this e107 installation with the very latest files from github.", + 'LAN_CRON_20_6' => "Recommended for developers only.", + 'LAN_CRON_20_8' => "May cause site instability!", + 'LAN_CRON_30' => "Every Minute", + 'LAN_CRON_31' => "Every Other Minute", + 'LAN_CRON_32' => "Every 5 Minutes", + 'LAN_CRON_33' => "Every 10 minutes", + 'LAN_CRON_34' => "Every 15 minutes", + 'LAN_CRON_35' => "Every 30 minutes", + 'LAN_CRON_36' => "Every Hour", + 'LAN_CRON_37' => "Every Other Hour", + 'LAN_CRON_38' => "Every 3 Hours", + 'LAN_CRON_39' => "Every 6 Hours", + 'LAN_CRON_40' => "Every Day", + 'LAN_CRON_41' => "Every Month", + 'LAN_CRON_42' => "Every Week Day", + 'LAN_CRON_50' => "Minute(s):", + 'LAN_CRON_51' => "Hour(s):", + 'LAN_CRON_52' => "Day(s):", + 'LAN_CRON_53' => "Month(s):", + 'LAN_CRON_54' => "Weekday(s):", + 'LAN_CRON_55' => "Database Backup Failed", + 'LAN_CRON_56' => "Database Backup Complete", + 'LAN_CRON_60' => "Go to cPanel", + 'LAN_CRON_61' => "Generate new cron token", + 'LAN_CRON_62' => "Executing config function [b][x][/b]", + 'LAN_CRON_63' => "Config function [b][x][/b] NOT found.", + 'LAN_CRON_64' => "An administrator can automate tasks using e107 Schedule Tasks. [br] In the Manage Tab, you can edit, delete and run tasks. [br] + When you edit a task you can set the minutes, hours, days, month or day of the week you want the task to run. Use * to run for each period. Use the Active property to Enabled the Task.[br] -Note: You are advised not to delete standard jobs.[br] -"); -define("LAN_CRON_BACKUP", "Backup"); -define("LAN_CRON_LOGGING", "Logging"); -define("LAN_CRON_RUNNING", "Running"); - -define("LAN_CRON_65", "Update git theme repository"); -define("LAN_CRON_66", "No git repo found"); -define("LAN_CRON_67", "No git repo found in theme folder"); +Note: You are advised not to delete standard jobs.[br]", + 'LAN_CRON_BACKUP' => "Backup", + 'LAN_CRON_LOGGING' => "Logging", + 'LAN_CRON_RUNNING' => "Running", + 'LAN_CRON_65' => "Update git theme repository", + 'LAN_CRON_66' => "No git repo found", + 'LAN_CRON_67' => "No git repo found in theme folder", +]; diff --git a/e107_languages/English/admin/lan_db.php b/e107_languages/English/admin/lan_db.php index 18186948d..ad6516fe5 100644 --- a/e107_languages/English/admin/lan_db.php +++ b/e107_languages/English/admin/lan_db.php @@ -1,143 +1,120 @@ LAN_ERROR -define("DBLAN_33", "Inaccessible"); -define("DBLAN_34", "Not checked"); - -define("DBLAN_35", "Select to check validity of e107 database records"); -define("DBLAN_36", "Check database record validity"); -define("DBLAN_37", "Choose table(s) to validate"); -define("DBLAN_38", "Start Verify"); -define("DBLAN_39", "Database Record Validation"); -define("DBLAN_40", "Record Validation : "); -define("DBLAN_41", "table"); -//define("DBLAN_42", "id");//LAN_ID -define("DBLAN_43", "remark"); -// define("DBLAN_44", "options"); -define("DBLAN_45", "Id Not Found!"); -define("DBLAN_46", "Table Not Found!"); -// define("DBLAN_47", "delete"); -// define("DBLAN_48", "Delete Checked"); -define("DBLAN_49", "No records present in the table, so nothing to validate"); -define("DBLAN_50", "Sql Record Validation"); - -define("DBLAN_51", "Execute Selected"); -define("DBLAN_52", "Delete Duplicate"); //plugin scan -define("DBLAN_53", "Please select action."); -define("DBLAN_54", "No Validation errors found."); -define("DBLAN_55", "Select to scan shortcode/override directory for new shortcodes"); -define("DBLAN_56", "Scan override directory"); -define("DBLAN_57", "Shortcode Override list set to"); - -define("DBLAN_58", "Export Site Data"); -define("DBLAN_59", "Import Site Data"); - -define("DBLAN_60", "File backup complete!"); -define("DBLAN_61", "Starting database backup..."); -define("DBLAN_62", "Database backup complete!"); -define("DBLAN_63", "Full site backup completed."); - -define("DBLAN_64", "Check Database Charset"); -define("DBLAN_65", "Check Charset"); -define("DBLAN_66", "Correct File and Directory permissions"); -define("DBLAN_67", "Correct Perms"); -define("DBLAN_68", "Backup Database, Files and Folders"); -define("DBLAN_69", "Backup Site"); - -define("DBLAN_70", "This will create a database dump and a zipped backup of all non-core plugins, your site theme, your media files and system logs"); -define("DBLAN_71", "Please wait..."); -define("DBLAN_72", "Folder and File permissions have been updated"); -define("DBLAN_73", "Correcting File and Directory Permissions"); -define("DBLAN_74", "Connecting to server"); -define("DBLAN_75", "Creating Database"); -define("DBLAN_76", "Selecting database"); -define("DBLAN_77", "Couldn't read core sql file"); - -define("DBLAN_78", "Table"); -define("DBLAN_79", "Engine"); -define("DBLAN_80", "Collation"); -define("DBLAN_81", "Status"); - -define("DBLAN_82", "This function will permanently modify all tables in your database. ([database])"); -define("DBLAN_83", "It is [b]HIGHLY[/b] recommended that you first backup your database and switch your site into maintenance mode."); -define("DBLAN_84", "Please note:"); -define("DBLAN_85", "The conversion process can take up to one minute or much much more depending on the size of your database."); -define("DBLAN_86", "The conversion does not work with serialized arrays."); -define("DBLAN_87", "Be sure that you have followed all steps of the upgrade process first."); -define("DBLAN_88", "Core prefs are ignored during the conversion process due to possibility of corruption."); - -define("DBLAN_89", "Convert Database"); -define("DBLAN_90", "Convert non-UTF8 Tables"); -define("DBLAN_91", "Please wait..."); -define("DBLAN_92", "Your tables are using the correct character set."); -define("DBLAN_93", "Database Converted successfully to UTF-8."); -define("DBLAN_94", "Please make sure you have the following line in your e107_config.php file:"); - -define("DBLAN_95", "Export Options"); -//define("DBLAN_96", "Preferences"); -define("DBLAN_97", "Tables"); -define("DBLAN_98", "Rows"); -define("DBLAN_99", "Table Data:"); -define("DBLAN_100", "Convert paths and package images and xml into:"); -define("DBLAN_101", "Export File"); -define("DBLAN_102", "Export Options"); -define("DBLAN_103", "Inserted"); -define("DBLAN_104", "Failed to Insert"); -define("DBLAN_105", "Batch shortcodes:"); -define("DBLAN_106", "(empty)"); - -define("DBLAN_107", "[folder] is not writable"); -define("DBLAN_108", "Created:"); -define("DBLAN_109", "Copied:"); -define("DBLAN_110", "Couldn't copy:"); -define("DBLAN_111", "Tables appear to be okay!"); - -define("DBLAN_112", "Sync with Github"); -define("DBLAN_113", "Overwrite Files"); -define("DBLAN_114", "Developer Mode Only"); -define("DBLAN_115", "Overwrite local files with the latest from github."); -define("DBLAN_116", "This will download the latest .zip file from github to"); -define("DBLAN_117", "and then unzip it, overwriting any existing files that it finds on your server. It will take into account any custom folders you may have set in e107_config.php."); -define("DBLAN_118", "Couldn't download .zip file"); -define("DBLAN_119", "Backup"); -define("DBLAN_120", "Starting backup...."); -define("DBLAN_121", "Moving [x] to [y]."); +return [ + 'DBLAN_1' => "Core settings backed up in database.", + 'DBLAN_4' => "Select to check validity of e107 database", + 'DBLAN_5' => "Check database validity", + 'DBLAN_6' => "Select to optimize your e107 database", + 'DBLAN_7' => "Optimize SQL database", + 'DBLAN_8' => "Select to backup your core settings", + 'DBLAN_9' => "Backup core", + 'DBLAN_10' => "Database Utilities", + 'DBLAN_11' => "MySQL database [x] optimized", + 'DBLAN_15' => "Select to check for any available db updates", + 'DBLAN_16' => "Check for Updates", + 'DBLAN_17' => "Pref. Name", + 'DBLAN_18' => "Pref. Value", + 'DBLAN_19' => "Select to open the preferences editor (for advanced users only)", + 'DBLAN_20' => "Preferences Editor", + 'DBLAN_22' => "Plugin View and Scan", + 'DBLAN_23' => "Scan Completed", + 'DBLAN_25' => "Directory", + 'DBLAN_26' => "Included add-ons", + 'DBLAN_27' => "Installed", + 'DBLAN_28' => "Select to scan plugin directories for changes", + 'DBLAN_29' => "Scan plugin directories", + 'DBLAN_30' => "If an addon shows an error, check for characters outside the PHP opening/closing tags.", + 'DBLAN_31' => "Pass", + 'DBLAN_33' => "Inaccessible", + 'DBLAN_34' => "Not checked", + 'DBLAN_35' => "Select to check validity of e107 database records", + 'DBLAN_36' => "Check database record validity", + 'DBLAN_37' => "Choose table(s) to validate", + 'DBLAN_38' => "Start Verify", + 'DBLAN_39' => "Database Record Validation", + 'DBLAN_40' => "Record Validation :", + 'DBLAN_41' => "table", + 'DBLAN_43' => "remark", + 'DBLAN_45' => "Id Not Found!", + 'DBLAN_46' => "Table Not Found!", + 'DBLAN_49' => "No records present in the table, so nothing to validate", + 'DBLAN_50' => "Sql Record Validation", + 'DBLAN_51' => "Execute Selected", + 'DBLAN_52' => "Delete Duplicate", + 'DBLAN_53' => "Please select action.", + 'DBLAN_54' => "No Validation errors found.", + 'DBLAN_55' => "Select to scan shortcode/override directory for new shortcodes", + 'DBLAN_56' => "Scan override directory", + 'DBLAN_57' => "Shortcode Override list set to", + 'DBLAN_58' => "Export Site Data", + 'DBLAN_59' => "Import Site Data", + 'DBLAN_60' => "File backup complete!", + 'DBLAN_61' => "Starting database backup...", + 'DBLAN_62' => "Database backup complete!", + 'DBLAN_63' => "Full site backup completed.", + 'DBLAN_64' => "Check Database Charset", + 'DBLAN_65' => "Check Charset", + 'DBLAN_66' => "Correct File and Directory permissions", + 'DBLAN_67' => "Correct Perms", + 'DBLAN_68' => "Backup Database, Files and Folders", + 'DBLAN_69' => "Backup Site", + 'DBLAN_70' => "This will create a database dump and a zipped backup of all non-core plugins, your site theme, your media files and system logs", + 'DBLAN_71' => "Please wait...", + 'DBLAN_72' => "Folder and File permissions have been updated", + 'DBLAN_73' => "Correcting File and Directory Permissions", + 'DBLAN_74' => "Connecting to server", + 'DBLAN_75' => "Creating Database", + 'DBLAN_76' => "Selecting database", + 'DBLAN_77' => "Couldn't read core sql file", + 'DBLAN_78' => "Table", + 'DBLAN_79' => "Engine", + 'DBLAN_80' => "Collation", + 'DBLAN_81' => "Status", + 'DBLAN_82' => "This function will permanently modify all tables in your database. ([database])", + 'DBLAN_83' => "It is [b]HIGHLY[/b] recommended that you first backup your database and switch your site into maintenance mode.", + 'DBLAN_84' => "Please note:", + 'DBLAN_85' => "The conversion process can take up to one minute or much much more depending on the size of your database.", + 'DBLAN_86' => "The conversion does not work with serialized arrays.", + 'DBLAN_87' => "Be sure that you have followed all steps of the upgrade process first.", + 'DBLAN_88' => "Core prefs are ignored during the conversion process due to possibility of corruption.", + 'DBLAN_89' => "Convert Database", + 'DBLAN_90' => "Convert non-UTF8 Tables", + 'DBLAN_91' => "Please wait...", + 'DBLAN_92' => "Your tables are using the correct character set.", + 'DBLAN_93' => "Database Converted successfully to UTF-8.", + 'DBLAN_94' => "Please make sure you have the following line in your e107_config.php file:", + 'DBLAN_95' => "Export Options", + 'DBLAN_97' => "Tables", + 'DBLAN_98' => "Rows", + 'DBLAN_99' => "Table Data:", + 'DBLAN_100' => "Convert paths and package images and xml into:", + 'DBLAN_101' => "Export File", + 'DBLAN_102' => "Export Options", + 'DBLAN_103' => "Inserted", + 'DBLAN_104' => "Failed to Insert", + 'DBLAN_105' => "Batch shortcodes:", + 'DBLAN_106' => "(empty)", + 'DBLAN_107' => "[folder] is not writable", + 'DBLAN_108' => "Created:", + 'DBLAN_109' => "Copied:", + 'DBLAN_110' => "Couldn't copy:", + 'DBLAN_111' => "Tables appear to be okay!", + 'DBLAN_112' => "Sync with Github", + 'DBLAN_113' => "Overwrite Files", + 'DBLAN_114' => "Developer Mode Only", + 'DBLAN_115' => "Overwrite local files with the latest from github.", + 'DBLAN_116' => "This will download the latest .zip file from github to", + 'DBLAN_117' => "and then unzip it, overwriting any existing files that it finds on your server. It will take into account any custom folders you may have set in e107_config.php.", + 'DBLAN_118' => "Couldn't download .zip file", + 'DBLAN_119' => "Backup", + 'DBLAN_120' => "Starting backup....", + 'DBLAN_121' => "Moving [x] to [y].", +]; diff --git a/e107_languages/English/admin/lan_db_verify.php b/e107_languages/English/admin/lan_db_verify.php index e5446a43c..c5431f62a 100644 --- a/e107_languages/English/admin/lan_db_verify.php +++ b/e107_languages/English/admin/lan_db_verify.php @@ -1,41 +1,36 @@
Please ensure the file core_sql.php exists in the /e107_core/sql directory."); -// define("DBLAN_2", "Verifying all"); - -define("DBVLAN_4", "Table"); -define("DBVLAN_5", "Field"); -define("DBVLAN_6", "Status"); -define("DBVLAN_7", "Notes"); -define("DBVLAN_8", "Mismatch"); -define("DBVLAN_9", "Currently"); -define("DBVLAN_10", "should be"); -define("DBVLAN_11", "Field missing!"); -define("DBVLAN_12", "Extra Field!"); -define("DBVLAN_13", "Table missing!"); -define("DBVLAN_14", "Choose table(s) to validate"); -define("DBVLAN_15", "Start Verify"); -define("DBVLAN_16", "SQL Verification"); -define("DBVLAN_17", "Storage engine should be [x] but is [y]"); -define("DBVLAN_18", "Character set should be [x] but is [y]"); - -define("DBVLAN_19", "Attempt to Fix"); - -define("DBVLAN_21", "Fix Selected Items"); -define("DBVLAN_22", "[x] is not readable"); -define("DBVLAN_23", "Database Utilities"); -define("DBVLAN_24", "Please select action."); -define("DBVLAN_25", "Index missing!"); -define("DBVLAN_26", "[x] table(s) have problems."); - -define("DBVLAN_27", "Table inconsistency"); -define("DBVLAN_28", "Not applicable"); - -// IMPORTANT NOTE: DBLAN has been replaced by DBVLAN in this file since 0.7 due to conflicts with db.php +return [ + 'DBVLAN_1' => "Unable to read the sql datafile

Please ensure the file core_sql.php exists in the /e107_core/sql directory.", + 'DBVLAN_4' => "Table", + 'DBVLAN_5' => "Field", + 'DBVLAN_6' => "Status", + 'DBVLAN_7' => "Notes", + 'DBVLAN_8' => "Mismatch", + 'DBVLAN_9' => "Currently", + 'DBVLAN_10' => "should be", + 'DBVLAN_11' => "Field missing!", + 'DBVLAN_12' => "Extra Field!", + 'DBVLAN_13' => "Table missing!", + 'DBVLAN_14' => "Choose table(s) to validate", + 'DBVLAN_15' => "Start Verify", + 'DBVLAN_16' => "SQL Verification", + 'DBVLAN_17' => "Storage engine should be [x] but is [y]", + 'DBVLAN_18' => "Character set should be [x] but is [y]", + 'DBVLAN_19' => "Attempt to Fix", + 'DBVLAN_21' => "Fix Selected Items", + 'DBVLAN_22' => "[x] is not readable", + 'DBVLAN_23' => "Database Utilities", + 'DBVLAN_24' => "Please select action.", + 'DBVLAN_25' => "Index missing!", + 'DBVLAN_26' => "[x] table(s) have problems.", + 'DBVLAN_27' => "Table inconsistency", + 'DBVLAN_28' => "Not applicable", +]; diff --git a/e107_languages/English/admin/lan_docs.php b/e107_languages/English/admin/lan_docs.php index 35ebb1f7b..40664aad4 100644 --- a/e107_languages/English/admin/lan_docs.php +++ b/e107_languages/English/admin/lan_docs.php @@ -1,13 +1,16 @@ "System Docs", + 'LAN_DOCS_SECTIONS' => "Sections", + 'LAN_DOCS_GOTOP' => "Go to top", + 'LAN_DOCS_ANSWER' => "Answer", + 'LAN_DOCS_QUESTION' => "Question", +]; diff --git a/e107_languages/English/admin/lan_e107_update.php b/e107_languages/English/admin/lan_e107_update.php index 43585e31c..5c50e857a 100644 --- a/e107_languages/English/admin/lan_e107_update.php +++ b/e107_languages/English/admin/lan_e107_update.php @@ -1,6 +1,6 @@ "Action", + 'LAN_UPDATE_3' => "Not Needed", + 'LAN_UPDATE_4' => "Update from [x] to [y]", + 'LAN_UPDATE_5' => "Update core database structure", + 'LAN_UPDATE_7' => "Executed [x]", + 'LAN_UPDATE_12' => "One of your tables contains duplicate entries.", + 'LAN_UPDATE_13' => "Add new or missing core settings", + 'LAN_UPDATE_14' => "Start version:", + 'LAN_UPDATE_20' => "Updating Preference(s):", + 'LAN_UPDATE_21' => "Updating Table Structure:", + 'LAN_UPDATE_22' => "Converting Serialized Preference(s):", + 'LAN_UPDATE_23' => "Updating Menu Path:", + 'LAN_UPDATE_24' => "Deleting Deprecated Table Field:", + 'LAN_UPDATE_25' => "Deleting obsolete table:", + 'LAN_UPDATE_26' => "Extending IP address field:", + 'LAN_UPDATE_27' => "Adding Table:", + 'LAN_UPDATE_28' => "[x] saved emails moved", + 'LAN_UPDATE_29' => "Depending on your particular configuration, you may need to run the upgrade process several times.", + 'LAN_UPDATE_37' => "Add index [x] to table [y]", + 'LAN_UPDATE_38' => "Update front page settings", + 'LAN_UPDATE_40' => "Update newsfeeds table", + 'LAN_UPDATE_41' => "User timezone field processed", + 'LAN_UPDATE_42' => "Error transferring user timezone data - aborted", + 'LAN_UPDATE_43' => "Rename dblog table", + 'LAN_UPDATE_44' => "Rename rolling log table", + 'LAN_UPDATE_45' => "Adding new table to database:", + 'LAN_UPDATE_46' => "Error reading table definition:", + 'LAN_UPDATE_50' => "Obsolete prefs deleted:", + 'LAN_UPDATE_51' => "Update plugin table definition:", + 'LAN_UPDATE_52' => "Update downloads table", + 'LAN_UPDATE_53' => "Update download mirror table", + 'LAN_UPDATE_54' => "Missing table [y] - cannot add index [x]", + 'LAN_UPDATE_55' => "Description", + 'LAN_UPDATE_56' => "System Update", + 'LAN_UPDATE_57' => "Before continuing, please manually delete the following outdated folders from your system:", + 'LAN_UPDATE_CAPTION_PLUGIN' => "Plugin Updates", + 'LAN_UPDATE_CAPTION_CORE' => "Core Updates", + 'LAN_UPDATE_58' => "It is highly recommended that you run [File Inspector] after you have completed all the updates, in order to detect any outdated files that need to be removed.", +]; diff --git a/e107_languages/English/admin/lan_emoticon.php b/e107_languages/English/admin/lan_emoticon.php index 39f9cbde9..e8a72bd69 100644 --- a/e107_languages/English/admin/lan_emoticon.php +++ b/e107_languages/English/admin/lan_emoticon.php @@ -1,54 +1,39 @@ "Emote activation", + 'EMOLAN_3' => "Emotes", + 'EMOLAN_4' => "Activate emoticons?", + 'EMOLAN_5' => "Image", + 'EMOLAN_6' => "Emote Code", + 'EMOLAN_7' => "separate multiple entries with spaces", + 'EMOLAN_11' => "Activate pack", + 'EMOLAN_13' => "Installed packs", + 'EMOLAN_17' => "You have an emoticon pack present that contains spaces in the name, which are not allowed!", + 'EMOLAN_18' => "Please rename the instances listed below so they no longer contain spaces", + 'EMOLAN_20' => "Location", + 'EMOLAN_21' => "Read Pack Error", + 'EMOLAN_22' => "New emote pack found", + 'EMOLAN_23' => "New emote xml pack found", + 'EMOLAN_24' => "New emote php pack found", + 'EMOLAN_26' => "Re-scan pack", + 'EMOLAN_27' => "Error occurred processing pack", + 'EMOLAN_28' => "Generate XML", + 'EMOLAN_29' => "XML file generated", + 'EMOLAN_30' => "Error writing XML file", + 'EMOLAN_PAGE_TITLE' => "Emoticons", + 'EMOLAN_31' => "Total [x] files found", + 'EMOLAN_32' => "Unknown Pack detected", + 'EMOLAN_33' => "Unsupported XML File Format", + 'EMOLAN_34' => "Missing files for pack", + 'EMOLAN_35' => "- deleted in database", + 'EMOLAN_37' => "Emote not set", + 'EMOLAN_38' => "Empty emote value", +]; diff --git a/e107_languages/English/admin/lan_eurl.php b/e107_languages/English/admin/lan_eurl.php index 66ea2312d..ebb8f0657 100644 --- a/e107_languages/English/admin/lan_eurl.php +++ b/e107_languages/English/admin/lan_eurl.php @@ -1,136 +1,93 @@ "RewriteBase" Directive if required."); - -// navigation -define("LAN_EURL_MENU", "Site URLs"); -define("LAN_EURL_MENU_CONFIG", "Configurations"); -define("LAN_EURL_MENU_ALIASES", "Profile Aliases"); -define("LAN_EURL_MENU_SETTINGS", "Settings"); -define("LAN_EURL_MENU_HELP", "Help"); -define("LAN_EURL_MENU_PROFILES", "Profiles"); - -define("LAN_EURL_UC", "Under Construction"); - - -define("LAN_EURL_CORE_MAIN", "Site Root Namespace - alias not in use."); - - - -define("LAN_EURL_FRIENDLY", "Friendly"); -define("LAN_EURL_LEGACY", "Legacy direct URLs."); - -define("LAN_EURL_REWRITE_LABEL", "Friendly URLs"); -define("LAN_EURL_REWRITE_DESCR", "Search engine and user friendly URLs."); - - -// News -define("LAN_EURL_CORE_NEWS", "News"); -//define("LAN_EURL_NEWS_DEFAULT_LABEL", "Default"); -//define("LAN_EURL_NEWS_DEFAULT_DESCR", "Legacy direct URLs."); - -define("LAN_EURL_NEWS_REWRITEF_LABEL", "Full Friendly URLs (no performance and most friendly)"); -define("LAN_EURL_NEWS_REWRITEF_DESCR", ""); - -define("LAN_EURL_NEWS_REWRITE_LABEL", "Friendly URLs without ID (no performance, more friendly)"); -define("LAN_EURL_NEWS_REWRITE_DESCR", "Demonstrates manual link parsing and assembling."); - -define("LAN_EURL_NEWS_REWRITEX_LABEL", "Friendly URLs with ID (performance wise)"); -define("LAN_EURL_NEWS_REWRITEX_DESCR", "Demonstrates automated link parsing and assembling based on predefined route rules."); - - -// Downloads -//define("LAN_EURL_CORE_DOWNLOADS", "Downloads"); - -// Users -define("LAN_EURL_CORE_USER", "Users"); -//define("LAN_EURL_USER_DEFAULT_LABEL", "Default"); -//define("LAN_EURL_USER_DEFAULT_DESCR", "Legacy direct URLs."); - -define("LAN_EURL_USER_REWRITE_LABEL", "Friendly URLs"); -define("LAN_EURL_USER_REWRITE_DESCR", "Search engine and user friendly URLs."); - -// Users -define("LAN_EURL_CORE_PAGE", "Custom Pages"); -//define("LAN_EURL_PAGE_DEFAULT_LABEL", "Default"); -//define("LAN_EURL_PAGE_DEFAULT_DESCR", "Legacy direct URLs. "); - -define("LAN_EURL_PAGE_SEF_LABEL", "Friendly URLs with ID (performance)"); -define("LAN_EURL_PAGE_SEF_DESCR", "Search engine and user friendly URLs."); - -define("LAN_EURL_PAGE_SEFNOID_LABEL", "Friendly URLs without ID (no performance, more friendly)"); -define("LAN_EURL_PAGE_SEFNOID_DESCR", "Search engine and user friendly URLs."); - -// Search -define("LAN_EURL_CORE_SEARCH", "Search"); -define("LAN_EURL_SEARCH_DEFAULT_LABEL", "Default Search URL"); -define("LAN_EURL_SEARCH_DEFAULT_DESCR", "Legacy direct URL."); -define("LAN_EURL_SEARCH_REWRITE_LABEL", "Friendly URL"); -define("LAN_EURL_SEARCH_REWRITE_DESCR", ""); - -// System -define("LAN_EURL_CORE_SYSTEM", "System"); -define("LAN_EURL_SYSTEM_DEFAULT_LABEL", "Default System URLs"); -define("LAN_EURL_SYSTEM_DEFAULT_DESCR", "URLs for pages like Not Found, Access denied, etc."); - -define("LAN_EURL_SYSTEM_REWRITE_LABEL", "Friendly System URLs"); -define("LAN_EURL_SYSTEM_REWRITE_DESCR", "URLs for pages like Not Found, Access denied, etc."); - -// System -define("LAN_EURL_CORE_INDEX", "Front Page"); -define("LAN_EURL_CORE_INDEX_INFO", "Front Page can't have an alias."); -define("LAN_EURL_REBUILD", "Rebuild"); -define("LAN_EURL_REGULAR_EXPRESSION", "Regular Expression"); -define("LAN_EURL_KEY", "Key"); -define("LAN_EURL_TABLE", "Table"); +return [ + 'LAN_EURL_NAME' => "Manage Site URLs", + 'LAN_EURL_NAME_CONFIG' => "Profiles", + 'LAN_EURL_NAME_ALIASES' => "Aliases", + 'LAN_EURL_NAME_SETTINGS' => "General settings", + 'LAN_EURL_NAME_HELP' => "Help", + 'LAN_EURL_EMPTY' => "The list is empty", + 'LAN_EURL_LEGEND_CONFIG' => "Choose URL profile per site area", + 'LAN_EURL_LEGEND_ALIASES' => "Configure Base URL aliases per URL Profile", + 'LAN_EURL_DEFAULT' => "Default", + 'LAN_EURL_PROFILE' => "Profile", + 'LAN_EURL_INFOALT' => "Info", + 'LAN_EURL_PROFILE_INFO' => "Profile info not available", + 'LAN_EURL_LOCATION' => "Profile Location", + 'LAN_EURL_LOCATION_NONE' => "Config file not available", + 'LAN_EURL_FORM_HELP_DEFAULT' => "Alias when in default language.", + 'LAN_EURL_FORM_HELP_ALIAS_0' => "Default value is", + 'LAN_EURL_FORM_HELP_ALIAS_1' => "Alias when in", + 'LAN_EURL_FORM_HELP_EXAMPLE' => "Base URL", + 'LAN_EURL_ERR_ALIAS_MODULE' => "Alias "%1\$s" can't be saved - there is a system URL profile with the same name. Please choose another alias value for system URL profile "%2\$s"", + 'LAN_EURL_SURL_UPD' => "  SEF URLs were updated.", + 'LAN_EURL_SURL_NUPD' => "  SEF URLs were NOT updated.", + 'LAN_EURL_SETTINGS_PATHINFO' => "Remove filename from the URL", + 'LAN_EURL_SETTINGS_MAINMODULE' => "Associate Root namespace", + 'LAN_EURL_SETTINGS_MAINMODULE_HELP' => "Choose which site area will be connected with your base site URL. Example: When News is your root namespace https://yoursite.com/News-Item-Title will be associated with news (item view page will be resolved)", + 'LAN_EURL_SETTINGS_REDIRECT' => "Redirect to System not found page", + 'LAN_EURL_SETTINGS_REDIRECT_HELP' => "If set to false, not found page will be direct rendered (without browser redirect)", + 'LAN_EURL_SETTINGS_SEFTRANSLATE' => "Automated SEF string creation type", + 'LAN_EURL_SETTINGS_SEFTRANSLATE_HELP' => "Choose how will be assembled SEF string when it's automatically built from a Title value (e.g. in news, custom pages, etc.)", + 'LAN_EURL_SETTINGS_SEFTRTYPE_NONE' => "Just secure it", + 'LAN_EURL_SETTINGS_SEFTRTYPE_DASHL' => "dasherize-to-lower-case", + 'LAN_EURL_SETTINGS_SEFTRTYPE_DASHC' => "Dasherize-To-Camel-Case", + 'LAN_EURL_SETTINGS_SEFTRTYPE_DASH' => "Dasherize-with-no-case-CHANGE", + 'LAN_EURL_SETTINGS_SEFTRTYPE_UNDERSCOREL' => "underscore_to_lower_case", + 'LAN_EURL_SETTINGS_SEFTRTYPE_UNDERSCOREC' => "Underscore_To_Camel_Case", + 'LAN_EURL_SETTINGS_SEFTRTYPE_UNDERSCORE' => "Underscore_with_no_case_CHANGE", + 'LAN_EURL_SETTINGS_SEFTRTYPE_PLUSL' => "plus+separator+to+lower+case", + 'LAN_EURL_SETTINGS_SEFTRTYPE_PLUSC' => "Plus+Separator+To+Camel+Case", + 'LAN_EURL_SETTINGS_SEFTRTYPE_PLUS' => "Plus+separator+with+no+case+CHANGE", + 'LAN_EURL_MODREWR_DESCR' => "Removes entry script file name (index.php/) from your URLs. You'll need mod_rewrite installed and running on your server (Apache Web Server). After enabling this setting go to your site root folder, rename htaccess.txt to .htaccess and modifgy "RewriteBase" Directive if required.", + 'LAN_EURL_MENU' => "Site URLs", + 'LAN_EURL_MENU_CONFIG' => "Configurations", + 'LAN_EURL_MENU_ALIASES' => "Profile Aliases", + 'LAN_EURL_MENU_SETTINGS' => "Settings", + 'LAN_EURL_MENU_HELP' => "Help", + 'LAN_EURL_MENU_PROFILES' => "Profiles", + 'LAN_EURL_UC' => "Under Construction", + 'LAN_EURL_CORE_MAIN' => "Site Root Namespace - alias not in use.", + 'LAN_EURL_FRIENDLY' => "Friendly", + 'LAN_EURL_LEGACY' => "Legacy direct URLs.", + 'LAN_EURL_REWRITE_LABEL' => "Friendly URLs", + 'LAN_EURL_REWRITE_DESCR' => "Search engine and user friendly URLs.", + 'LAN_EURL_CORE_NEWS' => "News", + 'LAN_EURL_NEWS_REWRITEF_LABEL' => "Full Friendly URLs (no performance and most friendly)", + 'LAN_EURL_NEWS_REWRITEF_DESCR' => "", + 'LAN_EURL_NEWS_REWRITE_LABEL' => "Friendly URLs without ID (no performance, more friendly)", + 'LAN_EURL_NEWS_REWRITE_DESCR' => "Demonstrates manual link parsing and assembling.", + 'LAN_EURL_NEWS_REWRITEX_LABEL' => "Friendly URLs with ID (performance wise)", + 'LAN_EURL_NEWS_REWRITEX_DESCR' => "Demonstrates automated link parsing and assembling based on predefined route rules.", + 'LAN_EURL_CORE_USER' => "Users", + 'LAN_EURL_USER_REWRITE_LABEL' => "Friendly URLs", + 'LAN_EURL_USER_REWRITE_DESCR' => "Search engine and user friendly URLs.", + 'LAN_EURL_CORE_PAGE' => "Custom Pages", + 'LAN_EURL_PAGE_SEF_LABEL' => "Friendly URLs with ID (performance)", + 'LAN_EURL_PAGE_SEF_DESCR' => "Search engine and user friendly URLs.", + 'LAN_EURL_PAGE_SEFNOID_LABEL' => "Friendly URLs without ID (no performance, more friendly)", + 'LAN_EURL_PAGE_SEFNOID_DESCR' => "Search engine and user friendly URLs.", + 'LAN_EURL_CORE_SEARCH' => "Search", + 'LAN_EURL_SEARCH_DEFAULT_LABEL' => "Default Search URL", + 'LAN_EURL_SEARCH_DEFAULT_DESCR' => "Legacy direct URL.", + 'LAN_EURL_SEARCH_REWRITE_LABEL' => "Friendly URL", + 'LAN_EURL_SEARCH_REWRITE_DESCR' => "", + 'LAN_EURL_CORE_SYSTEM' => "System", + 'LAN_EURL_SYSTEM_DEFAULT_LABEL' => "Default System URLs", + 'LAN_EURL_SYSTEM_DEFAULT_DESCR' => "URLs for pages like Not Found, Access denied, etc.", + 'LAN_EURL_SYSTEM_REWRITE_LABEL' => "Friendly System URLs", + 'LAN_EURL_SYSTEM_REWRITE_DESCR' => "URLs for pages like Not Found, Access denied, etc.", + 'LAN_EURL_CORE_INDEX' => "Front Page", + 'LAN_EURL_CORE_INDEX_INFO' => "Front Page can't have an alias.", + 'LAN_EURL_REBUILD' => "Rebuild", + 'LAN_EURL_REGULAR_EXPRESSION' => "Regular Expression", + 'LAN_EURL_KEY' => "Key", + 'LAN_EURL_TABLE' => "Table", +]; diff --git a/e107_languages/English/admin/lan_fileinspector.php b/e107_languages/English/admin/lan_fileinspector.php index d3ef94a9f..ff0714ea0 100644 --- a/e107_languages/English/admin/lan_fileinspector.php +++ b/e107_languages/English/admin/lan_fileinspector.php @@ -1,102 +1,93 @@ "File Inspector", + 'FC_LAN_5' => "Core Files", + 'FC_LAN_6' => "Integrity Fail Only", + 'FC_LAN_7' => "Non Core Files", + 'FC_LAN_8' => "Check Integrity Of Core Files", + 'FC_LAN_11' => "Scan Now", + 'FC_LAN_13' => "Missing Core Files", + 'FC_LAN_14' => "Display results as", + 'FC_LAN_15' => "Directory Tree", + 'FC_LAN_17' => "String Matching", + 'FC_LAN_18' => "Regular expression", + 'FC_LAN_19' => "Show line numbers", + 'FC_LAN_20' => "Show matched lines", + 'FC_LAN_21' => "Old Core Files", + 'FC_LAN_23' => "Exclude Language-Files", + 'FC_LAN_24' => "Core Folder (Integrity Pass)", + 'FC_LAN_25' => "Core Folder (Integrity Fail)", + 'FC_LAN_26' => "Core Folder (Missing)", + 'FC_LAN_27' => "Core Folder (Old)", + 'FC_LAN_28' => "Non-core Folder", + 'FC_LAN_29' => "Core File (Integrity Pass)", + 'FC_LAN_30' => "Core File (Unchecked)", + 'FC_LAN_31' => "Core File (Integrity Fail)", + 'FC_LAN_32' => "Core File (Missing)", + 'FC_LAN_33' => "Core File (Old)", + 'FC_LAN_34' => "Core File (Incalculable)", + 'FC_LAN_35' => "Known Security issue", + 'FC_LAN_36' => "Non-core file", + 'FC_LAN_37' => "File Key", + 'FR_LAN_1' => "Scanning", + 'FR_LAN_2' => "Scan Results", + 'FR_LAN_3' => "Overview", + 'FR_LAN_4' => "Core files", + 'FR_LAN_5' => "Non core files", + 'FR_LAN_6' => "Total files", + 'FR_LAN_7' => "Integrity Check", + 'FR_LAN_8' => "Core files passed", + 'FR_LAN_9' => "Core files failed", + 'FR_LAN_10' => "Possible reasons for files to fail", + 'FR_LAN_11' => "The file is corrupted", + 'FR_LAN_12' => "This could be for a number of reasons such as the file being corrupted in the zip, got corrupted during extraction or got corrupted during file upload via FTP. You should try re-uploading the file to your server -and re-run the scan to see if this resolves the error."); -define("FR_LAN_13", "The file is out of date"); -define("FR_LAN_14", "If the file is from an older release of e107 to the version you are -running then it will fail the integrity check. Make sure you have uploaded the newest version of this file."); -define("FR_LAN_15", "The file has been edited"); -define("FR_LAN_16", "If you have edited this file in any way it will not pass the integrity check. If you + +and re-run the scan to see if this resolves the error.", + 'FR_LAN_13' => "The file is out of date", + 'FR_LAN_14' => "If the file is from an older release of e107 to the version you are +running then it will fail the integrity check. Make sure you have uploaded the newest version of this file.", + 'FR_LAN_15' => "The file has been edited", + 'FR_LAN_16' => "If you have edited this file in any way it will not pass the integrity check. If you intentionally edited this file then you need not worry and can ignore this integrity check fail. If however + the file was edited by someone else without authorisation you may want to re-upload the proper version of -this file from the e107 zip."); -define("FR_LAN_17", "If you are an SVN user"); -define("FR_LAN_18", "If you run checkouts of the e107 SVN on your site instead of the official e107 stable + +this file from the e107 zip.", + 'FR_LAN_17' => "If you are an SVN user", + 'FR_LAN_18' => "If you run checkouts of the e107 SVN on your site instead of the official e107 stable releases, then you will discover files have failed integrity check because they have been edited by a dev -after the latest core image snapshot was created."); -define("FR_LAN_19", "files failed"); -define("FR_LAN_20", "All files passed"); -//define("FR_LAN_21", "none");//NOT USED -define("FR_LAN_22", "Missing core files"); -define("FR_LAN_23", "No matches found."); -define("FR_LAN_24", "Old core files"); -define("FR_LAN_25", "Integrity incalculable"); -define("FR_LAN_26", "Warning! Known Insecurity Detected!"); -define("FR_LAN_27", "There are files on your server that are known to be exploitable and must be removed immediately."); -define("FR_LAN_28", "Known insecure files"); - -//define("FR_LAN_29", "Total files matched");//not used -//define("FR_LAN_30", "Total lines matched");//not used -//define("FR_LAN_31", "Missing complete plugin folder");//not used -define("FR_LAN_32", "You need to run a scan first!"); -define("FR_LAN_33", "Begin"); - -define("FS_LAN_1", "Create Snapshot"); -define("FS_LAN_2", "Absolute path of root directory to create image from"); -define("FS_LAN_3", "Create snapshot for plugin: (Your plugin will be listed when a writable e_inspect.php file exists in your plugins root directory.)"); -define("FS_LAN_4", "Select..."); -define("FS_LAN_5", "Create snapshot of current or deprecated files"); -define("FS_LAN_6", "Current"); -define("FS_LAN_7", "Deprecated"); -define("FS_LAN_8", "Create Snapshot"); -define("FS_LAN_9", "Snapshot"); -define("FS_LAN_10", "Snapshot Created"); -define("FS_LAN_11", "The snapshot was successfully created."); -define("FS_LAN_12", "Return To Main Page"); +after the latest core image snapshot was created.", + 'FR_LAN_19' => "files failed", + 'FR_LAN_20' => "All files passed", + 'FR_LAN_22' => "Missing core files", + 'FR_LAN_23' => "No matches found.", + 'FR_LAN_24' => "Old core files", + 'FR_LAN_25' => "Integrity incalculable", + 'FR_LAN_26' => "Warning! Known Insecurity Detected!", + 'FR_LAN_27' => "There are files on your server that are known to be exploitable and must be removed immediately.", + 'FR_LAN_28' => "Known insecure files", + 'FR_LAN_32' => "You need to run a scan first!", + 'FR_LAN_33' => "Begin", + 'FS_LAN_1' => "Create Snapshot", + 'FS_LAN_2' => "Absolute path of root directory to create image from", + 'FS_LAN_3' => "Create snapshot for plugin: (Your plugin will be listed when a writable e_inspect.php file exists in your plugins root directory.)", + 'FS_LAN_4' => "Select...", + 'FS_LAN_5' => "Create snapshot of current or deprecated files", + 'FS_LAN_6' => "Current", + 'FS_LAN_7' => "Deprecated", + 'FS_LAN_8' => "Create Snapshot", + 'FS_LAN_9' => "Snapshot", + 'FS_LAN_10' => "Snapshot Created", + 'FS_LAN_11' => "The snapshot was successfully created.", + 'FS_LAN_12' => "Return To Main Page", +]; diff --git a/e107_languages/English/admin/lan_filemanager.php b/e107_languages/English/admin/lan_filemanager.php index f76a132bb..b539a029f 100644 --- a/e107_languages/English/admin/lan_filemanager.php +++ b/e107_languages/English/admin/lan_filemanager.php @@ -1,6 +1,6 @@ "file", + 'FMLAN_13' => "files", + 'FMLAN_14' => "directory", + 'FMLAN_15' => "directories", + 'FMLAN_16' => "Root directory", + 'FMLAN_18' => "Size", + 'FMLAN_19' => "Last Modified", + 'FMLAN_21' => "Upload file to this dir", + 'FMLAN_22' => "Upload", + 'FMLAN_29' => "Path", + 'FMLAN_30' => "Up level", + 'FMLAN_31' => "folder", + 'FMLAN_32' => "Select Directory", + 'FMLAN_34' => "Directory Choice", + 'FMLAN_35' => "Files Directory", + 'FMLAN_38' => "Successfully moved file to", + 'FMLAN_39' => "Unable to move file to", + 'FMLAN_40' => "Newspost-Images Directory", + 'FMLAN_43' => "Delete selected files", + 'FMLAN_46' => "Please confirm that you wish to DELETE the selected files.", + 'FMLAN_47' => "User Uploads", + 'FMLAN_48' => "Move selected to", + 'FMLAN_49' => "Please confirm you wish to move the selected files.", + 'FMLAN_50' => "Move", + 'FMLAN_51' => "Unidentified error", +]; diff --git a/e107_languages/English/admin/lan_fla.php b/e107_languages/English/admin/lan_fla.php index 2ac69f32d..4911c28e2 100644 --- a/e107_languages/English/admin/lan_fla.php +++ b/e107_languages/English/admin/lan_fla.php @@ -1,28 +1,22 @@ "No failed login attempts have been logged", + 'FLALAN_3' => "Attempt(s) deleted", + 'FLALAN_4' => "User attempted to login using incorrect username/password", + 'FLALAN_5' => "IP(s) banned", + 'FLALAN_7' => "Data", + 'FLALAN_8' => "IP address/ Host", + 'FLALAN_10' => "Delete / Ban checked entries", + 'FLALAN_15' => "The following IP address(es) have been auto-banned - user attempted more than ten failed logins", + 'FLALAN_16' => "delete this auto ban list", + 'FLALAN_17' => "Auto-ban list deleted", +]; diff --git a/e107_languages/English/admin/lan_footer.php b/e107_languages/English/admin/lan_footer.php index e692a5588..d673e680f 100644 --- a/e107_languages/English/admin/lan_footer.php +++ b/e107_languages/English/admin/lan_footer.php @@ -1,28 +1,31 @@ "Site", + 'FOOTLAN_2' => "Head Admin", + 'FOOTLAN_3' => "Version", + 'FOOTLAN_4' => "build", + 'FOOTLAN_5' => "Admin Theme", + 'FOOTLAN_6' => "by", + 'FOOTLAN_7' => "Info", + 'FOOTLAN_8' => "Install date", + 'FOOTLAN_9' => "Server", + 'FOOTLAN_10' => "host", + 'FOOTLAN_11' => "PHP Version", + 'FOOTLAN_12' => "MySQL", + 'FOOTLAN_13' => "Site Info", + 'FOOTLAN_14' => "Show Docs", + 'FOOTLAN_15' => "Documentation", + 'FOOTLAN_16' => "Database", + 'FOOTLAN_17' => "Charset", + 'FOOTLAN_18' => "Site Theme", + 'FOOTLAN_19' => "Server Time", + 'FOOTLAN_20' => "Security level", +]; diff --git a/e107_languages/English/admin/lan_frontpage.php b/e107_languages/English/admin/lan_frontpage.php index 289a6cf8a..4fcf76e1e 100644 --- a/e107_languages/English/admin/lan_frontpage.php +++ b/e107_languages/English/admin/lan_frontpage.php @@ -1,6 +1,6 @@ "Current Front Page Settings", + 'FRTLAN_30' => "Custom Page", + 'FRTLAN_35' => "Post-login page", + 'FRTLAN_42' => "Add new rule", + 'FRTLAN_43' => "Class", + 'FRTLAN_46' => "Edit existing rule", + 'FRTLAN_49' => "Home Page", + 'FRTLAN_51' => "Other", + 'FRTLAN_PAGE_TITLE' => "Front Page", + 'FRTLAN_56' => "duplicate definition for class:", + 'FRTLAN_57' => "Software error", + 'FRTLAN_61' => "Selection", +]; diff --git a/e107_languages/English/admin/lan_header.php b/e107_languages/English/admin/lan_header.php index 3add5e99a..0334deafc 100644 --- a/e107_languages/English/admin/lan_header.php +++ b/e107_languages/English/admin/lan_header.php @@ -6,11 +6,12 @@ * */ -define("LAN_HEADER_01", "Admin Navigation"); -define("LAN_HEADER_02", "Your server does not allow HTTP file uploads so it will not be possible for your users to upload avatars/files etc. To rectify this set file_uploads to On in your php.ini and restart your server. If you don't have access to your php.ini contact your hosts."); -define("LAN_HEADER_03", "Your server is running with a basedir restriction in effect. This disallows usage of any file outside of your home directory and as such could affect certain scripts such as the filemanager."); -define("LAN_HEADER_04", "Admin Area"); -define("LAN_HEADER_05", "language displayed in admin area"); -define("LAN_HEADER_06", "Plugins info"); - +return [ + 'LAN_HEADER_01' => "Admin Navigation", + 'LAN_HEADER_02' => "Your server does not allow HTTP file uploads so it will not be possible for your users to upload avatars/files etc. To rectify this set file_uploads to On in your php.ini and restart your server. If you don't have access to your php.ini contact your hosts.", + 'LAN_HEADER_03' => "Your server is running with a basedir restriction in effect. This disallows usage of any file outside of your home directory and as such could affect certain scripts such as the filemanager.", + 'LAN_HEADER_04' => "Admin Area", + 'LAN_HEADER_05' => "language displayed in admin area", + 'LAN_HEADER_06' => "Plugins info", +]; diff --git a/e107_languages/English/admin/lan_image.php b/e107_languages/English/admin/lan_image.php index 00bb27293..006b17882 100644 --- a/e107_languages/English/admin/lan_image.php +++ b/e107_languages/English/admin/lan_image.php @@ -1,222 +1,192 @@ ALL CORRESPONDING FILES! Please confirm to continue!"); -define("IMALAN_130", "Previous page"); -define("IMALAN_131", "Next page"); -define("IMALAN_132", "Tags/Keywords"); -define("IMALAN_133", "Bottom Right"); -define("IMALAN_134", "Bottom Left"); -define("IMALAN_135", "Top Right"); -define("IMALAN_136", "Top Left"); -define("IMALAN_137", "Center"); -define("IMALAN_138", "Right"); -define("IMALAN_139", "Left"); -define("IMALAN_140", "Top"); -define("IMALAN_141", "Bottom"); -define("IMALAN_142", "Tile"); -define("IMALAN_143", "Image"); -define("IMALAN_144", "File"); -define("IMALAN_145", "From your computer"); -define("IMALAN_146", "No HTML5 support."); -define("IMALAN_147", "From a remote location"); -define("IMALAN_148", "Image/File URL"); -define("IMALAN_149", "Start Upload"); -define("IMALAN_150", "Upload a File"); -define("IMALAN_151", "Choose from Library"); -define("IMALAN_152", "Appearance"); -define("IMALAN_153", "Image in use"); -define("IMALAN_154", "Not in use"); -define("IMALAN_155", "Avatar Pre-selection Folder"); -define("IMALAN_156", "Delete all unused images"); -define("IMALAN_157", "Text flow"); -define("IMALAN_158", "Margin-Left"); -define("IMALAN_159", "Margin-Right"); -define("IMALAN_160", "Margin-Top"); -define("IMALAN_161", "Margin-Bottom"); -define("IMALAN_162", "Displaying [x] - [y] of [z] images."); -define("IMALAN_163", "Video"); -define("IMALAN_164", "Deleted Icons from Media-Manager"); -define("IMALAN_165", "No images"); -define("IMALAN_166", "Upload images or files"); -define("IMALAN_167", "No file"); -define("IMALAN_168", "Click on the avatar to change it"); -define("IMALAN_169", "No Avatars Available"); -define("IMALAN_170", "Choose this avatar"); -define("IMALAN_171", "Admin-Only Notice: The folder"); -define("IMALAN_172", "is empty. Upload some default avatars images to this folder for users to choose avatars from."); -define("IMALAN_173", "No media owner found."); -define("IMALAN_174", "Youtube search requires a (free) YouTube v3 api key.[br]This key is not required unless you wish to perform a keyword, playlist or channel search.[br]Entering a Youtube video URL directly into the box above will still work without having an api key.[br][x]"); -define("IMALAN_175", "Search Youtube. Paste any YouTube URL here for a specific video/playlist/channel"); -define("IMALAN_176", "There was a problem grabbing the file"); -define("IMALAN_177", "Click here for more information and to enter your api key"); - -define("IMALAN_178", "Avatars Folder (user selectable)"); -define("IMALAN_179", "Avatars Folder (private)"); -define('IMALAN_180', "0 byte file found in:"); -define("IMALAN_181", "Please remove before proceeding."); - -define("IMALAN_182", "Convert to jpeg during import"); -define("IMALAN_183", "PNG and GIF files will be automatically converted to jpeg format. (icons excluded)"); -define("IMALAN_184", "Default Image Sizes"); -define("IMALAN_185", "Maximum height in pixels"); -define("IMALAN_186", "Enter some text to filter results"); - -define("IMALAN_187", "Convert to webp during import"); -define("IMALAN_188", "Convert to webp during render"); -define("IMALAN_189", "JPEG, PNG and GIF files will be automatically converted to webp format. (icons excluded)"); -define("IMALAN_190", "Importing of this file-type is not allowed."); - -define("IMALAN_191", "Image Alt Text"); -define("IMALAN_192", "Credits"); -define("IMALAN_193", "Expiry Date"); \ No newline at end of file +return [ + 'LAN_IMA_M_01' => "Media Library", + 'LAN_IMA_M_02' => "Media Upload/Import", + 'LAN_IMA_M_03' => "Media Categories", + 'LAN_IMA_M_04' => "Create Category", + 'LAN_IMA_M_05' => "Avatars", + 'LAN_IMA_001' => "Modification is not permitted.", + 'LAN_IMA_002' => "Not enough memory available to rotate", + 'LAN_IMA_003' => "Rotated", + 'LAN_IMA_004' => "Resizing", + 'IMALAN_1' => "Enable image display", + 'IMALAN_2' => "Display images, this will apply sitewide (comments, chatbox etc) to images posted using the [img] bbcode", + 'IMALAN_3' => "Resize method", + 'IMALAN_4' => "Method used to resize images, either GD1/2 library, or ImageMagick", + 'IMALAN_5' => "Path to ImageMagick (if selected)", + 'IMALAN_6' => "Full path to ImageMagick Convert utility", + 'IMALAN_7' => "Image Settings", + 'IMALAN_8' => "Update Image Settings", + 'IMALAN_9' => "Image settings updated", + 'IMALAN_10' => "Image display class", + 'IMALAN_11' => "Restrict users who can view images (if enabled above)", + 'IMALAN_12' => "Disabled image method", + 'IMALAN_13' => "What to do with images if image display is disabled", + 'IMALAN_14' => "Show image URL", + 'IMALAN_15' => "Show nothing", + 'IMALAN_18' => "Uploaded Avatar Images", + 'IMALAN_20' => "Nothing changed", + 'IMALAN_21' => "Used by", + 'IMALAN_22' => "Image not in use", + 'IMALAN_23' => "Avatars", + 'IMALAN_24' => "Photograph", + 'IMALAN_25' => "Click here to delete all unused images", + 'IMALAN_26' => "image(s) deleted", + 'IMALAN_28' => "deleted", + 'IMALAN_29' => "No images", + 'IMALAN_36' => "Validate avatar size and access", + 'IMALAN_37' => "Avatar Validation", + 'IMALAN_38' => "Maximum allowable width", + 'IMALAN_39' => "Maximum allowable height", + 'IMALAN_40' => "Too wide", + 'IMALAN_41' => "Too high", + 'IMALAN_42' => "Not found", + 'IMALAN_45' => "Not found", + 'IMALAN_46' => "Too large", + 'IMALAN_47' => "Total uploaded avatars", + 'IMALAN_48' => "Total external avatars", + 'IMALAN_49' => "Users with avatars", + 'IMALAN_50' => "Total", + 'IMALAN_51' => "Avatar for", + 'IMALAN_52' => "Path to ImageMagick appears to be incorrect", + 'IMALAN_53' => "Path to ImageMagick appears to be correct, but convert file may not be valid", + 'IMALAN_54' => "GD version installed:", + 'IMALAN_55' => "Not installed", + 'IMALAN_56' => "Click to select", + 'IMALAN_57' => "Image too big - click to enlarge", + 'IMALAN_62' => "Reason", + 'IMALAN_65' => "Nothing found", + 'IMALAN_66' => "Filename", + 'IMALAN_68' => "Close", + 'IMALAN_69' => "Folder", + 'IMALAN_70' => "Non-system folder is found!", + 'IMALAN_72' => "Icons", + 'IMALAN_73' => "Thumbnail Quality", + 'IMALAN_74' => "Set this as low as possible before quality loss is apparent. Max. 100", + 'IMALAN_75' => "Avatar Width", + 'IMALAN_76' => "Avatar images will be constrained to these dimensions (in pixels)", + 'IMALAN_77' => "Avatar Height", + 'IMALAN_78' => "General", + 'IMALAN_79' => "Resize-Image Dimensions", + 'IMALAN_80' => "Watermark Activation", + 'IMALAN_81' => "All images with a width or height greater than this value will be given a watermark during resizing.", + 'IMALAN_82' => "Watermark Text", + 'IMALAN_83' => "Optional Watermark Text", + 'IMALAN_84' => "Watermark Font", + 'IMALAN_85' => "Optional Watermark Font. Upload more .ttf fonts to the /fonts folder in your theme directory.", + 'IMALAN_86' => "Watermark Size", + 'IMALAN_87' => "Size of the font in pts", + 'IMALAN_88' => "Watermark Position", + 'IMALAN_89' => "Watermark", + 'IMALAN_90' => "Watermark Margin", + 'IMALAN_91' => "The distance that watermark will appear from the edge of the image.", + 'IMALAN_92' => "Watermark Color", + 'IMALAN_93' => "Color of the watermark eg. 000000", + 'IMALAN_94' => "Watermark Shadow-Color", + 'IMALAN_95' => "Shadow Color of the watermark eg. ffffff", + 'IMALAN_96' => "Watermark Opacity", + 'IMALAN_97' => "Enter a number between 1 and 100", + 'IMALAN_98' => "Default YouTube account", + 'IMALAN_99' => "Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc", + 'IMALAN_100' => "Show Related Videos", + 'IMALAN_101' => "Show Video Info", + 'IMALAN_102' => "Show Closed-Captions by default", + 'IMALAN_103' => "Use Modest Branding", + 'IMALAN_104' => "Make the YouTube bbcode responsive", + 'IMALAN_105' => "Resize images during media import", + 'IMALAN_106' => "Leave empty to disable", + 'IMALAN_107' => "Couldn't generated path from upload data", + 'IMALAN_108' => "Couldn't move file from [x] to [y]", + 'IMALAN_109' => "Couldn't get path", + 'IMALAN_110' => "Path", + 'IMALAN_111' => "Couldn't detect mime-type([x]). Upload failed.", + 'IMALAN_112' => "Couldn't create folder ([x]).", + 'IMALAN_113' => "Scanning for new media (images, videos, files) in folder:", + 'IMALAN_114' => "No media Found! Please upload some files.", + 'IMALAN_115' => "Title (internal use)", + 'IMALAN_116' => "Caption (seen by public)", + 'IMALAN_118' => "Mime Type", + 'IMALAN_119' => "File Size", + 'IMALAN_120' => "Dimensions", + 'IMALAN_121' => "Preview", + 'IMALAN_122' => "[x] couldn't be renamed. Check file perms.", + 'IMALAN_123' => "Import into Category:", + 'IMALAN_124' => "Import Selected Files", + 'IMALAN_125' => "Delete Selected Files", + 'IMALAN_126' => "Please check at least one file.", + 'IMALAN_127' => "Couldn't get file info from:", + 'IMALAN_128' => "Importing Media:", + 'IMALAN_129' => "You are about to delete [x] records and ALL CORRESPONDING FILES! Please confirm to continue!", + 'IMALAN_130' => "Previous page", + 'IMALAN_131' => "Next page", + 'IMALAN_132' => "Tags/Keywords", + 'IMALAN_133' => "Bottom Right", + 'IMALAN_134' => "Bottom Left", + 'IMALAN_135' => "Top Right", + 'IMALAN_136' => "Top Left", + 'IMALAN_137' => "Center", + 'IMALAN_138' => "Right", + 'IMALAN_139' => "Left", + 'IMALAN_140' => "Top", + 'IMALAN_141' => "Bottom", + 'IMALAN_142' => "Tile", + 'IMALAN_143' => "Image", + 'IMALAN_144' => "File", + 'IMALAN_145' => "From your computer", + 'IMALAN_146' => "No HTML5 support.", + 'IMALAN_147' => "From a remote location", + 'IMALAN_148' => "Image/File URL", + 'IMALAN_149' => "Start Upload", + 'IMALAN_150' => "Upload a File", + 'IMALAN_151' => "Choose from Library", + 'IMALAN_152' => "Appearance", + 'IMALAN_153' => "Image in use", + 'IMALAN_154' => "Not in use", + 'IMALAN_155' => "Avatar Pre-selection Folder", + 'IMALAN_156' => "Delete all unused images", + 'IMALAN_157' => "Text flow", + 'IMALAN_158' => "Margin-Left", + 'IMALAN_159' => "Margin-Right", + 'IMALAN_160' => "Margin-Top", + 'IMALAN_161' => "Margin-Bottom", + 'IMALAN_162' => "Displaying [x] - [y] of [z] images.", + 'IMALAN_163' => "Video", + 'IMALAN_164' => "Deleted Icons from Media-Manager", + 'IMALAN_165' => "No images", + 'IMALAN_166' => "Upload images or files", + 'IMALAN_167' => "No file", + 'IMALAN_168' => "Click on the avatar to change it", + 'IMALAN_169' => "No Avatars Available", + 'IMALAN_170' => "Choose this avatar", + 'IMALAN_171' => "Admin-Only Notice: The folder", + 'IMALAN_172' => "is empty. Upload some default avatars images to this folder for users to choose avatars from.", + 'IMALAN_173' => "No media owner found.", + 'IMALAN_174' => "Youtube search requires a (free) YouTube v3 api key.[br]This key is not required unless you wish to perform a keyword, playlist or channel search.[br]Entering a Youtube video URL directly into the box above will still work without having an api key.[br][x]", + 'IMALAN_175' => "Search Youtube. Paste any YouTube URL here for a specific video/playlist/channel", + 'IMALAN_176' => "There was a problem grabbing the file", + 'IMALAN_177' => "Click here for more information and to enter your api key", + 'IMALAN_178' => "Avatars Folder (user selectable)", + 'IMALAN_179' => "Avatars Folder (private)", + 'IMALAN_180' => "0 byte file found in:", + 'IMALAN_181' => "Please remove before proceeding.", + 'IMALAN_182' => "Convert to jpeg during import", + 'IMALAN_183' => "PNG and GIF files will be automatically converted to jpeg format. (icons excluded)", + 'IMALAN_184' => "Default Image Sizes", + 'IMALAN_185' => "Maximum height in pixels", + 'IMALAN_186' => "Enter some text to filter results", + 'IMALAN_187' => "Convert to webp during import", + 'IMALAN_188' => "Convert to webp during render", + 'IMALAN_189' => "JPEG, PNG and GIF files will be automatically converted to webp format. (icons excluded)", + 'IMALAN_190' => "Importing of this file-type is not allowed.", + 'IMALAN_191' => "Image Alt Text", + 'IMALAN_192' => "Credits", + 'IMALAN_193' => "Expiry Date", +]; diff --git a/e107_languages/English/admin/lan_lancheck.php b/e107_languages/English/admin/lan_lancheck.php index 36b67e1c6..711247548 100644 --- a/e107_languages/English/admin/lan_lancheck.php +++ b/e107_languages/English/admin/lan_lancheck.php @@ -1,46 +1,44 @@ "Verify", + 'LAN_CHECK_3' => "Verification of", + 'LAN_CHECK_4' => "File missing!", + 'LAN_CHECK_5' => "Phrase missing!", + 'LAN_CHECK_15' => "Illegal characters or spaces found before [x] or after [y]", + 'LAN_CHECK_16' => "Original File", + 'LAN_CHECK_17' => "A write problem occured while trying to save the file.", + 'LAN_CHECK_18' => "Language files in the standard format are NOT available for this plugin/theme.", + 'LAN_CHECK_19' => "Non-UTF-8 characters found!", + 'LAN_CHECK_20' => "Generate Language Pack", + 'LAN_CHECK_21' => "Verify Again", + 'LAN_CHECK_23' => "Errors Found", + 'LAN_CHECK_26' => "Front", + 'LAN_CHECK_PAGE_TITLE' => "Languages", + 'LAN_CHECK_27' => "Number of language-pack errors found", + 'LAN_CHECK_28' => "Identical", + 'LAN_CHECK_29' => "Identical string (warning only)", + 'LAN_CHECK_30' => "Missing bbcodes", + 'LAN_CHECK_31' => "Missing [ and/or ] character(s)", + 'LAN_CHECK_32' => "Missing HTML tags", + 'LANG_LAN_23' => "Create Language-Pack (zip)", + 'LANG_LAN_30' => "Release Date", + 'LANG_LAN_31' => "Compatibility", + 'LANG_LAN_35' => "The following language packs are available for this version of e107.", + 'LANG_LAN_111' => "Release-date", + 'LANG_LAN_112' => "Compatible", + 'LANG_LAN_114' => "Download Pack", + 'LANG_LAN_115' => "Please verify and correct the remaining [x] error(s) before attempting to create a language-pack.", + 'LANG_LAN_116' => "Please verify your language files ('Verify') then try again.", + 'LANG_LAN_117' => "You should correct the remaining errors before contributing your language pack.", + 'LANG_LAN_119' => "Please check that CORE_LC and CORE_LC2 have values in [x] and try again.", + 'LANG_LAN_120' => "Please make sure you are using default folder names in e107_config.php (eg. e107_languages/, e107_plugins/ etc.) and try again.", + 'LANG_LAN_AGR' => "Note: By using these tools you agree to share your language pack(s) with the e107 community.", +]; diff --git a/e107_languages/English/admin/lan_language.php b/e107_languages/English/admin/lan_language.php index 731ed4ce5..1d882878a 100644 --- a/e107_languages/English/admin/lan_language.php +++ b/e107_languages/English/admin/lan_language.php @@ -1,74 +1,68 @@ "[x] could not be created (already exists).", + 'LANG_LAN_01' => "[x] was deleted (if existing) and created.", + 'LANG_LAN_02' => "[x] couldn't be deleted.", + 'LANG_LAN_03' => "Tables", + 'LANG_LAN_04' => "Deprecated LANs", + 'LANG_LAN_05' => "Not Installed", + 'LANG_LAN_06' => "Create tables", + 'LANG_LAN_07' => "Drop existing tables?", + 'LANG_LAN_08' => "Replace existing tables (data will be lost).", + 'LANG_LAN_11' => "Delete unchecked tables above (if they exist).", + 'LANG_LAN_12' => "Multi-Language Database Tables", + 'LANG_LAN_13' => "Language Preferences", + 'LANG_LAN_14' => "Default Site Language", + 'LANG_LAN_15' => "Tick to copy data from the default language. (Useful for links, news-categories, etc.)", + 'LANG_LAN_16' => "Multi-language Database Usage", + 'LANG_LAN_17' => "Default Language - No additional tables required.", + 'LANG_LAN_18' => "Use Parked Subdomains with these domains to set site Language:", + 'LANG_LAN_19' => "e.g. The domain fr.mydomain.com would set the language to French.", + 'LANG_LAN_20' => "Enter one domain per line. eg. mydomain.com etc. or leave blank to disable.", + 'LANG_LAN_21' => "Language-Packs", + 'LANG_LAN_25' => "Language-Pack Creation Status", + 'LANG_LAN_26' => "Load language files only for current language", + 'LANG_LAN_27' => "If checked, and a required language cannot be found, there will be an error", + 'LANG_LAN_32' => "Installed Languages", + 'LANG_LAN_33' => "Display only errors during verification", + 'LANG_LAN_50' => "Admin-Area Interface Language", + 'LANG_LAN_100' => "[x] deleted.", + 'LANG_LAN_101' => "[x] could not be deleted.", + 'LANG_LAN_103' => "[x] created.", + 'LANG_LAN_104' => "[x] was disabled but left intact.", + 'LANG_LAN_105' => "Delete all tables in [x]?", + 'LANG_LAN_106' => "Language by Domain Name", + 'LANG_LAN_107' => "Domain determines the site's language. Enter domain without the 'www.'", + 'LANG_LAN_121' => "Couldn't Load:", + 'LANG_LAN_124' => "Definition", + 'LANG_LAN_126' => "Disable All Unused", + 'LANG_LAN_130' => "Common Term", + 'LANG_LAN_131' => "Missing from language file", + 'LANG_LAN_132' => "is a common phrase.", + 'LANG_LAN_133' => "Use", + 'LANG_LAN_134' => "instead.", + 'LANG_LAN_135' => "Overwriting", + 'LANG_LAN_136' => "Couldn't overwrite", + 'LANG_LAN_137' => "Processed", + 'LANG_LAN_140' => "Hold down CTRL key to select multiple.[br]e.g. To check [b]lan_signup.php[/b] you'll want to also select [b]signup_shortcodes.php[/b] and [b]signup_template.php[/b].", + 'LANG_LAN_141' => "Select Script...", + 'LANG_LAN_142' => "Auto-Detect", + 'LANG_LAN_143' => "Specific LAN file:", + 'LANG_LAN_144' => "Must be re-enabled", + 'LANG_LAN_148' => "Normal Mode", + 'LANG_LAN_149' => "Value", + 'LANG_LAN_150' => "[b]Search ENTIRE core before commenting out ANY LAN from ANY language file.[/b]", + 'LANG_LAN_151' => "Available", + 'LANG_LAN_152' => "Courtesy of the [e107 translations team]", + 'LANG_LAN_153' => "Pre-release", + 'LANG_LAN_154' => "The Language Pack has been created. You can now submit it to the Github repository as instructed [here].", + 'LANG_LAN_155' => "Requires additional language packs be installed.", +]; diff --git a/e107_languages/English/admin/lan_links.php b/e107_languages/English/admin/lan_links.php index 1e2cf8c77..10604ed53 100644 --- a/e107_languages/English/admin/lan_links.php +++ b/e107_languages/English/admin/lan_links.php @@ -22,71 +22,34 @@ // define("LCLAN_16", "Link URL"); // define("LCLAN_17", "Link Description"); // define("LCLAN_18", "Link Button / Icon"); -define("LCLAN_19", "Link Open Type"); -define("LCLAN_20", "Opens in same window"); -define("LCLAN_23", "Opens in new window"); -define("LCLAN_24", "Opens in 600x400 mini-window"); -// define("LCLAN_25", "Link Class"); -// define("LCLAN_26", "Ticking will make the link visible to only users in that class"); -// define("LCLAN_27", "Update Link"); -// define("LCLAN_28", "Create link"); -// define("LCLAN_29", "Links"); -// define("LCLAN_30", "move up"); -// define("LCLAN_31", "move down"); -// define("LCLAN_39", "View Images"); -// define("LCLAN_53", "Link"); -// define("LCLAN_54", "deleted"); -// define("LCLAN_58", "Are you sure you want to delete this link?"); -// define("LCLAN_61", "No links"); -// define("LCLAN_62", "Links Front Page"); -// define("LCLAN_63", "Create New Link"); -// define("LCLAN_68", "Links Options"); -define("LCLAN_78", "Show Description as Screen-Tip"); -define("LCLAN_79", "Description will be shown when the mouse hovers over the link"); -define("LCLAN_80", "Activate expanding sub-menus"); -define("LCLAN_81", "Sub-menus will display only after clicking their parent. (Link parent is disabled)"); -// define("LCLAN_83", "Submenus Generator"); -// define("LCLAN_88", "Site Links Options"); -// define("LCLAN_89", "Image"); -// define("LCLAN_91", "Move"); -// define("LCLAN_92", "Open"); -// define("LCLAN_93", "URL"); -// define("LCLAN_95", "Class"); - -// define("LCLAN_96", "Shown in your theme as"); - -// define("LCLAN_100", "Same window"); // Short version for column display -// define("LCLAN_101", "New window"); -// define("LCLAN_102", "New 600x400"); -// define("LCLAN_103", "New 800x600"); - -//define("LCLAN_104", "Sublink of");//LAN_PARENT -define("LCLAN_105", "Function"); -define("LCLAN_106", "Owned by"); -define("LCLAN_107", "Enable to override URL with a dynamically created Search-Engine-Friendly URL"); -define("LCLAN_108", "Some selections omitted - you can't set Link as a Sublink of its Sublink."); -define("LCLAN_109", "Please choose a parent"); -define("LCLAN_110", "Please choose a generator module"); -define("LCLAN_111", "Not valid generator module data"); -define("LCLAN_112", "1 - Main"); -define("LCLAN_113", "2 - Sidebar"); -define("LCLAN_114", "3 - Footer"); -define("LCLAN_115", "Alt"); -define("LCLAN_116", "(Unassigned)"); - -define("LINKLAN_1", "Opens in 800x600 window"); -// define("LINKLAN_2", "Parent"); -// define("LINKLAN_3", "No Parent (Normal Link)"); -define("LINKLAN_4", "Sublink Generator"); -define("LINKLAN_5", "Generate Sublinks"); -define("LINKLAN_6", "Create sublinks from"); -define("LINKLAN_7", "Create sublinks under which link?"); -define("LINKLAN_8", "News Categories"); -define("LINKLAN_9", "Download Categories"); - -define("LINKLAN_10", "Theme Shortcodes"); - - -// define("LINKLAN_10", "Create Sublink"); -// define('LINKLAN_11', 'Nothing changed - not updated'); +return [ + 'LCLAN_19' => "Link Open Type", + 'LCLAN_20' => "Opens in same window", + 'LCLAN_23' => "Opens in new window", + 'LCLAN_24' => "Opens in 600x400 mini-window", + 'LCLAN_78' => "Show Description as Screen-Tip", + 'LCLAN_79' => "Description will be shown when the mouse hovers over the link", + 'LCLAN_80' => "Activate expanding sub-menus", + 'LCLAN_81' => "Sub-menus will display only after clicking their parent. (Link parent is disabled)", + 'LCLAN_105' => "Function", + 'LCLAN_106' => "Owned by", + 'LCLAN_107' => "Enable to override URL with a dynamically created Search-Engine-Friendly URL", + 'LCLAN_108' => "Some selections omitted - you can't set Link as a Sublink of its Sublink.", + 'LCLAN_109' => "Please choose a parent", + 'LCLAN_110' => "Please choose a generator module", + 'LCLAN_111' => "Not valid generator module data", + 'LCLAN_112' => "1 - Main", + 'LCLAN_113' => "2 - Sidebar", + 'LCLAN_114' => "3 - Footer", + 'LCLAN_115' => "Alt", + 'LCLAN_116' => "(Unassigned)", + 'LINKLAN_1' => "Opens in 800x600 window", + 'LINKLAN_4' => "Sublink Generator", + 'LINKLAN_5' => "Generate Sublinks", + 'LINKLAN_6' => "Create sublinks from", + 'LINKLAN_7' => "Create sublinks under which link?", + 'LINKLAN_8' => "News Categories", + 'LINKLAN_9' => "Download Categories", + 'LINKLAN_10' => "Theme Shortcodes", +]; diff --git a/e107_languages/English/admin/lan_log_messages.php b/e107_languages/English/admin/lan_log_messages.php index be39ba909..8f6dd62b5 100644 --- a/e107_languages/English/admin/lan_log_messages.php +++ b/e107_languages/English/admin/lan_log_messages.php @@ -1,6 +1,6 @@ "Access by banned user", + 'LAN_AUDIT_LOG_002' => "Flood protection activated", + 'LAN_AUDIT_LOG_003' => "Access from banned IP Address", + 'LAN_AUDIT_LOG_004' => "", + 'LAN_AUDIT_LOG_005' => "", + 'LAN_AUDIT_LOG_006' => "User changed password", + 'LAN_AUDIT_LOG_007' => "User changed email address", + 'LAN_AUDIT_LOG_008' => "", + 'LAN_AUDIT_LOG_009' => "", + 'LAN_AUDIT_LOG_010' => "User data changed by admin", + 'LAN_AUDIT_LOG_011' => "User signed up", + 'LAN_AUDIT_LOG_012' => "User confirmed registration", + 'LAN_AUDIT_LOG_013' => "User login", + 'LAN_AUDIT_LOG_014' => "User logout", + 'LAN_AUDIT_LOG_015' => "User changed display name", + 'LAN_AUDIT_LOG_016' => "User changed password", + 'LAN_AUDIT_LOG_017' => "User changed email address", + 'LAN_AUDIT_LOG_018' => "User password reset", + 'LAN_AUDIT_LOG_019' => "User changed settings", + 'LAN_AUDIT_LOG_020' => "User added by admin", + 'LAN_AUDIT_LOG_021' => "User email bounce", + 'LAN_AUDIT_LOG_022' => "User banned", + 'LAN_AUDIT_LOG_023' => "User bounce reset", + 'LAN_AUDIT_LOG_024' => "User temporary status", + 'LAN_AUDIT_LOG_025' => "User navigation trail", + 'LAN_AL_ADLOG_01' => "Admin log - prefs updated", + 'LAN_AL_ADLOG_02' => "Admin log - delete old data", + 'LAN_AL_ADLOG_03' => "User Audit log - delete old data", + 'LAN_AL_ADLOG_04' => "User audit options updated", + 'LAN_AL_ADLOG_05' => "", + 'LAN_AL_USET_01' => "Admin edited user data", + 'LAN_AL_USET_02' => "User added by Admin", + 'LAN_AL_USET_03' => "User options updated", + 'LAN_AL_USET_04' => "Users pruned", + 'LAN_AL_USET_05' => "User banned", + 'LAN_AL_USET_06' => "User unbanned", + 'LAN_AL_USET_07' => "User deleted", + 'LAN_AL_USET_08' => "User made admin", + 'LAN_AL_USET_09' => "User admin status revoked", + 'LAN_AL_USET_10' => "User approved", + 'LAN_AL_USET_11' => "Resend validation email", + 'LAN_AL_USET_12' => "Resend all validation emails", + 'LAN_AL_USET_13' => "Bounced emails deleted", + 'LAN_AL_USET_14' => "Class membership updated", + 'LAN_AL_USET_15' => "Signup refused", + 'LAN_AL_UCLASS_00' => "Unknown userclass-related event", + 'LAN_AL_UCLASS_01' => "Userclass created", + 'LAN_AL_UCLASS_02' => "Userclass deleted", + 'LAN_AL_UCLASS_03' => "Userclass edited", + 'LAN_AL_UCLASS_04' => "Class membership updated", + 'LAN_AL_UCLASS_05' => "Initial userclass settings edited", + 'LAN_AL_UCLASS_06' => "Class membership emptied", + 'LAN_AL_BANLIST_00' => "Unknown ban-related event", + 'LAN_AL_BANLIST_01' => "Manual ban added", + 'LAN_AL_BANLIST_02' => "Ban deleted", + 'LAN_AL_BANLIST_03' => "Ban time changed", + 'LAN_AL_BANLIST_04' => "Whitelist entry added", + 'LAN_AL_BANLIST_05' => "Whitelist entry deleted", + 'LAN_AL_BANLIST_06' => "Banlist exported", + 'LAN_AL_BANLIST_07' => "Banlist imported", + 'LAN_AL_BANLIST_08' => "Banlist options updated", + 'LAN_AL_BANLIST_09' => "Banlist entry edited", + 'LAN_AL_BANLIST_10' => "Whitelist entry edited", + 'LAN_AL_BANLIST_11' => "Whitelist hit for ban entry", + 'LAN_AL_BANLIST_12' => "Expired bans cleared", + 'LAN_AL_COMMENT_01' => "Comment(s) deleted", + 'LAN_ROLL_LOG_01' => "Empty username and/or password", + 'LAN_ROLL_LOG_02' => "Incorrect image code entered", + 'LAN_ROLL_LOG_03' => "Invalid username/password combination", + 'LAN_ROLL_LOG_04' => "Invalid username entered", + 'LAN_ROLL_LOG_05' => "Login attempt by user not fully signed up", + 'LAN_ROLL_LOG_06' => "Login blocked by event trigger handler", + 'LAN_ROLL_LOG_07' => "Multiple logins from same address", + 'LAN_ROLL_LOG_08' => "Excessive username length", + 'LAN_ROLL_LOG_09' => "Banned user attempted login", + 'LAN_ROLL_LOG_10' => "Login fail - reason unknown", + 'LAN_ROLL_LOG_11' => "Admin login fail", + 'LAN_AL_PREFS_01' => "Preferences changed", + 'LAN_AL_PREFS_02' => "New Preferences created", + 'LAN_AL_PREFS_03' => "Error saving prefs", + 'LAN_AL_FRONTPG_00' => "Unknown front page-related event", + 'LAN_AL_FRONTPG_01' => "Rules order changed", + 'LAN_AL_FRONTPG_02' => "Rule added", + 'LAN_AL_FRONTPG_03' => "Rule edited", + 'LAN_AL_FRONTPG_04' => "Rule deleted", + 'LAN_AL_FRONTPG_05' => "", + 'LAN_AL_FRONTPG_06' => "", + 'LAN_AL_UTHEME_00' => "Unknown user theme related event", + 'LAN_AL_UTHEME_01' => "User theme settings changed", + 'LAN_AL_UTHEME_02' => "", + 'LAN_AL_UPDATE_00' => "Unknown software update related event", + 'LAN_AL_UPDATE_01' => "Update from 1.0 to 2.0 executed", + 'LAN_AL_UPDATE_02' => "Update from 0.7.x to 0.7.6 executed", + 'LAN_AL_UPDATE_03' => "Missing prefs added", + 'LAN_AL_ADMIN_00' => "Unknown administrator event", + 'LAN_AL_ADMIN_01' => "Update admin permissions", + 'LAN_AL_ADMIN_02' => "Admin rights removed", + 'LAN_AL_ADMIN_03' => "", + 'LAN_AL_MAINT_00' => "Unknown maintenance message", + 'LAN_AL_MAINT_01' => "Maintenance mode set", + 'LAN_AL_MAINT_02' => "Maintenance mode cleared", + 'LAN_AL_SLINKS_00' => "Unknown sitelinks message", + 'LAN_AL_SLINKS_01' => "Sublinks generated", + 'LAN_AL_SLINKS_02' => "Sitelink moved up", + 'LAN_AL_SLINKS_03' => "Sitelink moved down", + 'LAN_AL_SLINKS_04' => "Sitelink order updated", + 'LAN_AL_SLINKS_05' => "Sitelinks options updated", + 'LAN_AL_SLINKS_06' => "Sitelink deleted", + 'LAN_AL_SLINKS_07' => "Sitelink submitted", + 'LAN_AL_SLINKS_08' => "Sitelink updated", + 'LAN_AL_THEME_00' => "Unknown theme-related message", + 'LAN_AL_THEME_01' => "Site theme updated", + 'LAN_AL_THEME_02' => "Admin theme updated", + 'LAN_AL_THEME_03' => "Image preload/site CSS updated", + 'LAN_AL_THEME_04' => "Admin style/CSS updated", + 'LAN_AL_THEME_05' => "", + 'LAN_AL_CACHE_00' => "Unknown cache-control message", + 'LAN_AL_CACHE_01' => "Cache settings updated", + 'LAN_AL_CACHE_02' => "System cache emptied", + 'LAN_AL_CACHE_03' => "Content cache emptied", + 'LAN_AL_CACHE_04' => "", + 'LAN_AL_EMOTE_00' => "Unknown emote-related message", + 'LAN_AL_EMOTE_01' => "Active emote pack changed", + 'LAN_AL_EMOTE_02' => "Emotes activated", + 'LAN_AL_EMOTE_03' => "Emotes deactivated", + 'LAN_AL_WELCOME_00' => "Unknown welcome-related message", + 'LAN_AL_WELCOME_01' => "Welcome message created", + 'LAN_AL_WELCOME_02' => "Welcome message updated", + 'LAN_AL_WELCOME_03' => "Welcome message deleted", + 'LAN_AL_WELCOME_04' => "Welcome message options changed", + 'LAN_AL_WELCOME_05' => "", + 'LAN_AL_ADMINPW_01' => "Admin password changed", + 'LAN_AL_ADMINPW_02' => "Admin password rehashed", + 'LAN_AL_BANNER_00' => "Unknown banner-related message", + 'LAN_AL_BANNER_01' => "Banner menu update", + 'LAN_AL_BANNER_02' => "Banner created", + 'LAN_AL_BANNER_03' => "Banner updated", + 'LAN_AL_BANNER_04' => "Banner deleted", + 'LAN_AL_BANNER_05' => "Banner configuration updated", + 'LAN_AL_BANNER_06' => "", + 'LAN_AL_IMALAN_00' => "Unknown image-related message", + 'LAN_AL_IMALAN_01' => "Avatar deleted", + 'LAN_AL_IMALAN_02' => "All avatars and photos deleted", + 'LAN_AL_IMALAN_03' => "Avatar deleted", + 'LAN_AL_IMALAN_04' => "Settings updated", + 'LAN_AL_IMALAN_05' => "", + 'LAN_AL_IMALAN_06' => "", + 'LAN_AL_LANG_00' => "Unknown language-related message", + 'LAN_AL_LANG_01' => "Language prefs changed", + 'LAN_AL_LANG_02' => "Language tables deleted", + 'LAN_AL_LANG_03' => "Language tables created", + 'LAN_AL_LANG_04' => "Language zip created", + 'LAN_AL_LANG_05' => "", + 'LAN_AL_META_01' => "Meta tags updated", + 'LAN_AL_DOWNL_01' => "Download options changed", + 'LAN_AL_DOWNL_02' => "Download category created", + 'LAN_AL_DOWNL_03' => "Download category updated", + 'LAN_AL_DOWNL_04' => "Download category deleted", + 'LAN_AL_DOWNL_05' => "Download created", + 'LAN_AL_DOWNL_06' => "Download updated", + 'LAN_AL_DOWNL_07' => "Download deleted", + 'LAN_AL_DOWNL_08' => "Download category order updated", + 'LAN_AL_DOWNL_09' => "Download limit added", + 'LAN_AL_DOWNL_10' => "Download limit edited", + 'LAN_AL_DOWNL_11' => "Download limit deleted", + 'LAN_AL_DOWNL_12' => "Download mirror added", + 'LAN_AL_DOWNL_13' => "Download mirror updated", + 'LAN_AL_DOWNL_14' => "Download mirror deleted", + 'LAN_AL_DOWNL_15' => "", + 'LAN_AL_CPAGE_01' => "Custom page/menu added", + 'LAN_AL_CPAGE_02' => "Custom page/menu updated", + 'LAN_AL_CPAGE_03' => "Custom page/menu deleted", + 'LAN_AL_CPAGE_04' => "Custom page/menu settings updated", + 'LAN_AL_EUF_01' => "EUF moved up", + 'LAN_AL_EUF_02' => "EUF moved down", + 'LAN_AL_EUF_03' => "EUF category moved up", + 'LAN_AL_EUF_04' => "EUF category moved down", + 'LAN_AL_EUF_05' => "Extended User Field added", + 'LAN_AL_EUF_06' => "Extended User Field updated", + 'LAN_AL_EUF_07' => "Extended User Field deleted", + 'LAN_AL_EUF_08' => "EUF category added", + 'LAN_AL_EUF_09' => "EUF category updated", + 'LAN_AL_EUF_10' => "EUF category deleted", + 'LAN_AL_EUF_11' => "Extended user fields activated", + 'LAN_AL_EUF_12' => "Extended user fields deactivated", + 'LAN_AL_MENU_01' => "Menu activated", + 'LAN_AL_MENU_02' => "Menu - set visibility", + 'LAN_AL_MENU_03' => "Menu - change area", + 'LAN_AL_MENU_04' => "Menu deactivated", + 'LAN_AL_MENU_05' => "Menu - move to top", + 'LAN_AL_MENU_06' => "Menu - move to bottom", + 'LAN_AL_MENU_07' => "Menu - move up", + 'LAN_AL_MENU_08' => "Menu - move down", + 'LAN_AL_MENU_09' => "", + 'LAN_AL_UPLOAD_01' => "Uploaded file deleted", + 'LAN_AL_UPLOAD_02' => "Upload prefs changed", + 'LAN_AL_SEARCH_01' => "Search settings updated", + 'LAN_AL_SEARCH_02' => "Search prefs updated", + 'LAN_AL_SEARCH_03' => "Search params auto-update", + 'LAN_AL_SEARCH_04' => "Searchable areas updated", + 'LAN_AL_SEARCH_05' => "Search handler settings updated", + 'LAN_AL_SEARCH_06' => "", + 'LAN_AL_NOTIFY_01' => "Notify settings updated", + 'LAN_AL_NEWS_01' => "News item deleted", + 'LAN_AL_NEWS_02' => "News category deleted", + 'LAN_AL_NEWS_03' => "Submitted news deleted", + 'LAN_AL_NEWS_04' => "News category created", + 'LAN_AL_NEWS_05' => "News category updated", + 'LAN_AL_NEWS_06' => "News preferences updated", + 'LAN_AL_NEWS_07' => "Submitted news authorised", + 'LAN_AL_NEWS_08' => "News item added", + 'LAN_AL_NEWS_09' => "News item updated", + 'LAN_AL_NEWS_10' => "News category rewrite changed", + 'LAN_AL_NEWS_11' => "News category rewrite deleted", + 'LAN_AL_NEWS_12' => "News rewrite changed", + 'LAN_AL_NEWS_13' => "News rewrite deleted", + 'LAN_AL_FILEMAN_01' => "File(s) deleted", + 'LAN_AL_FILEMAN_02' => "File(s) moved", + 'LAN_AL_FILEMAN_03' => "File(s) uploaded", + 'LAN_AL_FILEMAN_04' => "", + 'LAN_AL_MAIL_01' => "Test email sent", + 'LAN_AL_MAIL_02' => "Mailshot created", + 'LAN_AL_MAIL_03' => "Mail settings updated", + 'LAN_AL_MAIL_04' => "Mailshot details deleted", + 'LAN_AL_MAIL_05' => "Mail Database tidy", + 'LAN_AL_MAIL_06' => "Mailout activated", + 'LAN_AL_MAIL_07' => "", + 'LAN_AL_PLUGMAN_01' => "Plugin installed", + 'LAN_AL_PLUGMAN_02' => "Plugin updated", + 'LAN_AL_PLUGMAN_03' => "Plugin uninstalled", + 'LAN_AL_PLUGMAN_04' => "Plugin refreshed", + 'LAN_AL_EURL_01' => "Site URL configuration changed", + 'LAN_AL_MISC_01' => "Tree menu settings updated", + 'LAN_AL_MISC_02' => "Online menu settings updated", + 'LAN_AL_MISC_03' => "Login menu settings updated", + 'LAN_AL_MISC_04' => "Comment menu settings updated", + 'LAN_AL_MISC_05' => "Clock menu settings updated", + 'LAN_AL_MISC_06' => "Blog calendar menu settings updated", + 'LAN_AL_PING_01' => "Ping to service", + 'LAN_AL_ADMINUI_01' => "Admin-UI DB Table Insert: [x]", + 'LAN_AL_ADMINUI_02' => "Admin-UI DB Table Update: [x]", + 'LAN_AL_ADMINUI_03' => "Admin-UI DB Table Delete: [x]", + 'LAN_AL_ADMINUI_04' => "Admin-UI DB Error: [x]", + 'LAN_AL_BACKUP' => "Database backup", + 'LAN_AL_MEDIA_01' => "Media Upload", + 'LAN_AL_USET_100' => "Admin logged in as another user", + 'LAN_AL_USET_101' => "Admin logged out as another user", +]; diff --git a/e107_languages/English/admin/lan_mailout.php b/e107_languages/English/admin/lan_mailout.php index 907893f91..f0206ae95 100644 --- a/e107_languages/English/admin/lan_mailout.php +++ b/e107_languages/English/admin/lan_mailout.php @@ -10,290 +10,253 @@ // TODO - LANS - MAJOR LAN REWRITE NEEDED -define("CORE_DATE_ORDER", "dmy"); // Temporary until we find somewhere better to put it. - // Defines order of field entry/display in date boxes - // Acceptable values: dmy, mdy, ymd -define("LAN_MAILOUT_01", "From Name"); -define("LAN_MAILOUT_02", "From Email"); -define("LAN_MAILOUT_03", "To"); -define("LAN_MAILOUT_04", "Cc"); -define("LAN_MAILOUT_05", "Bcc"); -define("LAN_MAILOUT_06", "Subject"); -define("LAN_MAILOUT_07", "Attachment"); -define("LAN_MAILOUT_08", "Send Email"); -define("LAN_MAILOUT_09", "Send format"); -define("LAN_MAILOUT_10", "User Subscribed"); -define("LAN_MAILOUT_11", "Insert Variables"); -define("LAN_MAILOUT_12", "All Users"); -define("LAN_MAILOUT_13", "All Unverified Users "); -define("LAN_MAILOUT_14", "Display Name"); -define("LAN_MAILOUT_15", "Mailout"); -define("LAN_MAILOUT_16", "Username"); -define("LAN_MAILOUT_17", "Signup link"); -define("LAN_MAILOUT_18", "User ID"); -define("LAN_MAILOUT_19", "No target email address specified"); -define("LAN_MAILOUT_20", "Sendmail-path"); -define("LAN_MAILOUT_21", "Bulk mailing Entries"); -define("LAN_MAILOUT_22", "There are currently no saved entries"); -define("LAN_MAILOUT_23", "userclass: "); -define("LAN_MAILOUT_24", "email(s) are ready to be sent"); -define("LAN_MAILOUT_25", "Bulk mailing controls"); -define("LAN_MAILOUT_26", "Pause bulk mailing every"); -define("LAN_MAILOUT_27", "emails for "); -define("LAN_MAILOUT_28", "Save Changes"); -define("LAN_MAILOUT_29", "seconds"); -define("LAN_MAILOUT_30", "Used mostly with SMTP keepalive. A pause of more than 30 seconds may cause the browser to time-out"); -define("LAN_MAILOUT_31", "Bounced Email Processing"); -// define("LAN_MAILOUT_32", "Email address"); -define("LAN_MAILOUT_33", "Incoming Mail server"); -define("LAN_MAILOUT_34", "Account (user) Name"); -// define("LAN_MAILOUT_35", "Password"); -define("LAN_MAILOUT_36", "Delete Bounced Mails after checking"); -define("LAN_MAILOUT_37", "Proceed"); -define("LAN_MAILOUT_38", "Cancel"); -define("LAN_MAILOUT_39", "Emailing"); -// define("LAN_MAILOUT_40", "You need to rename e107.htaccess to .htaccess in"); -define("LAN_MAILOUT_41", "before sending mail from this page."); -//define("LAN_MAILOUT_42", "Warning");//NOT_USED -define("LAN_MAILOUT_43", "Username"); -define("LAN_MAILOUT_44", "User Login"); -define("LAN_MAILOUT_45", "User Email"); -define("LAN_MAILOUT_46", "User-Match"); -define("LAN_MAILOUT_47", "contains"); -define("LAN_MAILOUT_48", "equals"); -//define("LAN_MAILOUT_49", "Id");//LAN_ID -//define("LAN_MAILOUT_50", "Author");//LAN_AUTHOR -define("LAN_MAILOUT_51", "Subject"); -define("LAN_MAILOUT_52", "Last mod"); -define("LAN_MAILOUT_53", "Admins"); -define("LAN_MAILOUT_54", "Self"); -define("LAN_MAILOUT_55", "Userclass"); -define("LAN_MAILOUT_56", "Last Visit"); -define("LAN_MAILOUT_57", "Send bulk SMTP emails in blocks"); // SMTP KeepAlive option -//define("LAN_MAILOUT_58", "There is a problem with the attachment:"); -//define("LAN_MAILOUT_59", "Mailing Progress"); -//define("LAN_MAILOUT_60", "Sending..."); -//define("LAN_MAILOUT_61", "There are no remaining emails to be sent."); -//define("LAN_MAILOUT_62", "Emails sent:"); -//define("LAN_MAILOUT_63", "Emails failed:"); -//define("LAN_MAILOUT_64", "Total time elapsed:"); -//define("LAN_MAILOUT_65", "seconds"); -//define("LAN_MAILOUT_66", "Cancelled Successfully"); -define("LAN_MAILOUT_67", "The email could not be sent. Please review your SMTP settings, or select another mailing method and try again."); -define("LAN_MAILOUT_68", "Registered Users"); -define("LAN_MAILOUT_69", "matches, after "); -define("LAN_MAILOUT_70", " duplicates stripped."); -define("LAN_MAILOUT_71", "Total emails to send"); -define("LAN_MAILOUT_72", "Mailshot logging"); -define("LAN_MAILOUT_73", "No logging"); -define("LAN_MAILOUT_74", "Logging only (no send)"); -define("LAN_MAILOUT_75", "Log and send"); -define("LAN_MAILOUT_76", "Include email info in log"); -define("LAN_MAILOUT_77", "Email address sources"); -define("LAN_MAILOUT_78", "Mailshot Status"); -define("LAN_MAILOUT_79", "No mailshots to display"); -//define("LAN_MAILOUT_80", "Date");//LAN_DATE -define("LAN_MAILOUT_81", "The email has been successfully sent, please check your inbox."); -define("LAN_MAILOUT_82", "Mails sent"); -define("LAN_MAILOUT_83", "Mails to go"); -define("LAN_MAILOUT_84", "Mail ID"); -define("LAN_MAILOUT_85", "Originator"); -define("LAN_MAILOUT_86", "Re-send"); -define("LAN_MAILOUT_87", "SMTP Server"); -define("LAN_MAILOUT_88", "SMTP Username"); -define("LAN_MAILOUT_89", "SMTP Password"); -define("LAN_MAILOUT_90", "SMTP Features"); -define("LAN_MAILOUT_91", "POP before SMTP"); -define("LAN_MAILOUT_92", "SSL"); -define("LAN_MAILOUT_93", "TLS"); -define("LAN_MAILOUT_94", "(Use SSL for gmail/googlemail)"); -define("LAN_MAILOUT_95", "Use VERP for bulk mailing"); -//define("LAN_MAILOUT_96", "none");//LAN_NONE -define("LAN_MAILOUT_97", "Mailer Results"); -define("LAN_MAILOUT_98", "Orphaned entries"); -define("LAN_MAILOUT_99", "Confirm retry mailshot"); -define("LAN_MAILOUT_100", "Message"); -define("LAN_MAILOUT_101", "Email Detail"); -define("LAN_MAILOUT_102", "Detail of mailshot"); -define("LAN_MAILOUT_103", "Results of attempts to send"); -define("LAN_MAILOUT_104", "No attempt to send, or error saving result"); -define("LAN_MAILOUT_105", "Details of up to 10 failures"); -define("LAN_MAILOUT_106", "The email could not be sent. It appears that your server is not correctly configured to send emails, please try again using SMTP, or contact your hosts and ask them to check their sendmail / email server settings."); -define("LAN_MAILOUT_107", "at"); -define("LAN_MAILOUT_108", "Result"); -define("LAN_MAILOUT_109", "Show detail"); -define("LAN_MAILOUT_110", "Send test email"); -define("LAN_MAILOUT_111", "Email Title (not sent)"); -define("LAN_MAILOUT_112", "Send test email to"); -define("LAN_MAILOUT_113", "Test email from"); -define("LAN_MAILOUT_114", "This is a test email, it appears that your email settings are working ok! [br][br] Regards [br] from the e107 website system."); -define("LAN_MAILOUT_115", "Bulk Emailing method"); -define("LAN_MAILOUT_116", "If unsure, leave as php"); -define("LAN_MAILOUT_117", "complete"); -define("LAN_MAILOUT_118", "Click on proceed' to start sending emails. Click on 'cancel' to stop the run. Once complete, select another page. Unsent emails cal be viewed through the 'Mailshot status' screen"); -define("LAN_MAILOUT_119", "Logging only, with errors"); -define("LAN_MAILOUT_120", "Account type"); -define("LAN_MAILOUT_121", "Standard POP3"); -define("LAN_MAILOUT_122", "POP3, TLS disabled"); -define("LAN_MAILOUT_123", "POP3 with TLS"); -define("LAN_MAILOUT_124", "IMAP"); -define("LAN_MAILOUT_125", "Text only"); -define("LAN_MAILOUT_126", "Text and HTML"); -define("LAN_MAILOUT_127", "Include theme"); -define("LAN_MAILOUT_128", "Send Error"); -define("LAN_MAILOUT_129", "Expiry Date"); -define("LAN_MAILOUT_130", "Creation Date"); -define("LAN_MAILOUT_131", "Sending Started"); -define("LAN_MAILOUT_132", "Sending Complete"); -//define("LAN_MAILOUT_133", "Source"); // Moved to lan_admin.php -define("LAN_MAILOUT_134", "Priority"); -//define("LAN_MAILOUT_135", "Title");//LAN_TITLE -define("LAN_MAILOUT_136", "Mailout Status"); -define("LAN_MAILOUT_137", "Mail Ref"); -define("LAN_MAILOUT_138", "Email status"); -define("LAN_MAILOUT_139", "Date active"); -define("LAN_MAILOUT_140", "Recipient Email"); -define("LAN_MAILOUT_141", "Recipient Name"); -define("LAN_MAILOUT_142", "Recipient User ID"); -define("LAN_MAILOUT_143", "Recipient ref."); -define("LAN_MAILOUT_144", "Bounced"); -define("LAN_MAILOUT_145", "New email saved"); -define("LAN_MAILOUT_146", "Error saving email"); -define("LAN_MAILOUT_147", "Email updated"); -define("LAN_MAILOUT_148", "User values"); -define("LAN_MAILOUT_149", "Sender Email"); -define("LAN_MAILOUT_150", "Sender Name"); -define("LAN_MAILOUT_151", "Copy to"); -define("LAN_MAILOUT_152", "Blind copy to"); -define("LAN_MAILOUT_153", "Attachments"); -define("LAN_MAILOUT_154", "Send Format"); -define("LAN_MAILOUT_155", "Selectors"); -define("LAN_MAILOUT_156", "Maximum number of emails to send per scheduler tick"); -define("LAN_MAILOUT_157", "Value will depend on a number of factors, including how often your mail queue scheduler job is triggered and the rate at which your ISP will accept outgoing mail. Zero to clear queue each time"); -define("LAN_MAILOUT_158", "Send now"); -define("LAN_MAILOUT_159", "Hold email"); -define("LAN_MAILOUT_160", "Cancel send"); -define("LAN_MAILOUT_161", "IMPORTANT! This file appears to not exist"); -define("LAN_MAILOUT_162", "IMPORTANT! You need to make this file executable"); -define("LAN_MAILOUT_163", "Edit/Send Mail"); -define("LAN_MAILOUT_164", "Email information not found"); -define("LAN_MAILOUT_165", "Confirm delete the following stored email, including any recipient records"); -define("LAN_MAILOUT_166", "General error deleting mail ref: [x]"); -define("LAN_MAILOUT_167", "Error deleting mail content ref: [x]"); -define("LAN_MAILOUT_168", "Mail content deleted ref: [x]"); -define("LAN_MAILOUT_169", "Error deleting mail recipients ref: [x]"); -define("LAN_MAILOUT_170", "Deleted [y] recipients for mail ref: [x]"); -define("LAN_MAILOUT_171", "Confirm email delete"); -define("LAN_MAILOUT_172", "Mail Type/Status"); -define("LAN_MAILOUT_173", "Recipients"); -define("LAN_MAILOUT_174", "Security check fail: [x] [z]"); -define("LAN_MAILOUT_175", "Before"); -define("LAN_MAILOUT_176", "Equal to"); -define("LAN_MAILOUT_177", "After"); -define("LAN_MAILOUT_178", "Last site visit"); -define("LAN_MAILOUT_179", "Confirm email send"); -define("LAN_MAILOUT_180", "Selection criteria:"); -define("LAN_MAILOUT_181", "Show recipients"); -define("LAN_MAILOUT_182", "Tidy database tables"); -define("LAN_MAILOUT_183", "Error tidying database"); -define("LAN_MAILOUT_184", "Database tidied"); -define("LAN_MAILOUT_185", "Emails added to send queue"); -define("LAN_MAILOUT_186", "General error putting mail ref: [x] on hold"); -define("LAN_MAILOUT_187", "Email [x] put on hold"); -define("LAN_MAILOUT_188", "General error sending mail ref: [x]"); -define("LAN_MAILOUT_189", "Test address"); - -// Admin menu text -define("LAN_MAILOUT_190", "Create/Send Mail"); -define("LAN_MAILOUT_191", "Saved emails"); -define("LAN_MAILOUT_192", "Completed Mailshots"); -define("LAN_MAILOUT_193", "Pending Mailshots"); -define("LAN_MAILOUT_194", "Held Mailshots"); -// define("LAN_MAILOUT_195", ""); -// define("LAN_MAILOUT_196", ""); - -// Block of error messages kept together -define("LAN_MAILOUT_200", "No subject specified"); -define("LAN_MAILOUT_201", "No meaningful data for email"); -define("LAN_MAILOUT_202", "No text in email body"); -define("LAN_MAILOUT_203", "No sender name specified"); -define("LAN_MAILOUT_204", "No sender email address specified"); -define("LAN_MAILOUT_205", "Email send format error"); -define("LAN_MAILOUT_206", "Invalid mail ID ([x]) specified"); -define("LAN_MAILOUT_207", "Template load error"); -define("LAN_MAILOUT_208", "Template conversion error"); - - -// Block of status messages kept together -define("LAN_MAILOUT_211", "Sent"); -define("LAN_MAILOUT_212", "Failed"); -define("LAN_MAILOUT_213", "Bounced"); -define("LAN_MAILOUT_214", "To send"); -define("LAN_MAILOUT_215", "Saved"); -define("LAN_MAILOUT_216", "Code error"); -define("LAN_MAILOUT_217", "Held"); -define("LAN_MAILOUT_218", "Cancelled"); -define("LAN_MAILOUT_219", "Partial"); - -// General messages continued -define("LAN_MAILOUT_220", "Email ID [x] cancelled"); -define("LAN_MAILOUT_221", "Error cancelling email with ID [x]"); -define("LAN_MAILOUT_222", "Default email format"); -define("LAN_MAILOUT_223", "(Used for some system-generated emails)"); -define("LAN_MAILOUT_224", "Inc. Images"); -define("LAN_MAILOUT_225", "Include images in email"); -define("LAN_MAILOUT_226", "[x] orphaned recipient record(s) removed"); -define("LAN_MAILOUT_227", "Deleted [x] records from [y]"); -define("LAN_MAILOUT_228", "[x] anomalies in mail_content corrected; records: [y]"); -define("LAN_MAILOUT_229", "Email ID [x] put on hold"); -define("LAN_MAILOUT_230", "Error holding email with ID [x]"); -define("LAN_MAILOUT_231", "Bounced emails - Processing method"); -define("LAN_MAILOUT_232", "None"); -define("LAN_MAILOUT_233", "Auto-process script"); -define("LAN_MAILOUT_234", "Mail account"); -define("LAN_MAILOUT_235", "(Your server must forward or 'pipe' from the email address above to the script path above.)"); -define("LAN_MAILOUT_236", "Last Bounce Processed"); -define("LAN_MAILOUT_237", "Summary counters updated on [x] emails"); -define("LAN_MAILOUT_238", "Earliest time to send"); -define("LAN_MAILOUT_239", "Latest time to send"); -define("LAN_MAILOUT_240", "Notify me when run complete"); -define("LAN_MAILOUT_241", " (This is in addition to the standard e107 notify options)"); -define("LAN_MAILOUT_242", "Additional options (only when sending)"); -define("LAN_MAILOUT_243", "Notify"); -define("LAN_MAILOUT_244", "Email sent: "); -define("LAN_MAILOUT_245", "Check for bounces automatically"); -define("LAN_MAILOUT_246", "If checked, you will need to activate the task in the scheduler"); -define("LAN_MAILOUT_247", "Email information:"); -define("LAN_MAILOUT_248", "Completion status: "); -define("LAN_MAILOUT_249", "Send results:"); -define("LAN_MAILOUT_250", "--- End of notification ---"); -define("LAN_MAILOUT_251", "Copy and edit"); -define("LAN_MAILOUT_252", "Does various consistency checks on the data, corrects counts, deletes temporary data"); -define("LAN_MAILOUT_253", "No recipients found - check for database corruption"); -define("LAN_MAILOUT_254", "View templated email"); -define("LAN_MAILOUT_255", "Templated Email, ID: "); -define("LAN_MAILOUT_256", "Return"); -define("LAN_MAILOUT_257", "Generated template"); -//define("LAN_MAILOUT_258", "Template: ");//LAN_TEMPLATE -define("LAN_MAILOUT_259", "No 'email address sources' selected in Preferences"); - -define("LAN_SEND", "Send"); -define("LAN_HOLD", "Hold"); - -define("LAN_MAILOUT_260", "User-Type"); -define("LAN_MAILOUT_261", "SMTP Port"); -define("LAN_MAILOUT_262", "Template Preview"); -define("LAN_MAILOUT_263", "Total Recipients"); -define("LAN_MAILOUT_264", "Embed Media"); -define("LAN_MAILOUT_265", "Pending"); -define("LAN_MAILOUT_266", "Max Active"); -define("LAN_MAILOUT_267", "Generate Public/Private keys"); -define("LAN_MAILOUT_268", "Developer Mode Only"); -define("LAN_MAILOUT_269", "Send Later"); - -define("LAN_MAILOUT_270", "Test SMTP Connection"); -define("LAN_MAILOUT_271", "Authentication failed with username ([x]) and password ([y]):"); - - - +return [ + 'CORE_DATE_ORDER' => "dmy", + 'LAN_MAILOUT_01' => "From Name", + 'LAN_MAILOUT_02' => "From Email", + 'LAN_MAILOUT_03' => "To", + 'LAN_MAILOUT_04' => "Cc", + 'LAN_MAILOUT_05' => "Bcc", + 'LAN_MAILOUT_06' => "Subject", + 'LAN_MAILOUT_07' => "Attachment", + 'LAN_MAILOUT_08' => "Send Email", + 'LAN_MAILOUT_09' => "Send format", + 'LAN_MAILOUT_10' => "User Subscribed", + 'LAN_MAILOUT_11' => "Insert Variables", + 'LAN_MAILOUT_12' => "All Users", + 'LAN_MAILOUT_13' => "All Unverified Users", + 'LAN_MAILOUT_14' => "Display Name", + 'LAN_MAILOUT_15' => "Mailout", + 'LAN_MAILOUT_16' => "Username", + 'LAN_MAILOUT_17' => "Signup link", + 'LAN_MAILOUT_18' => "User ID", + 'LAN_MAILOUT_19' => "No target email address specified", + 'LAN_MAILOUT_20' => "Sendmail-path", + 'LAN_MAILOUT_21' => "Bulk mailing Entries", + 'LAN_MAILOUT_22' => "There are currently no saved entries", + 'LAN_MAILOUT_23' => "userclass:", + 'LAN_MAILOUT_24' => "email(s) are ready to be sent", + 'LAN_MAILOUT_25' => "Bulk mailing controls", + 'LAN_MAILOUT_26' => "Pause bulk mailing every", + 'LAN_MAILOUT_27' => "emails for", + 'LAN_MAILOUT_28' => "Save Changes", + 'LAN_MAILOUT_29' => "seconds", + 'LAN_MAILOUT_30' => "Used mostly with SMTP keepalive. A pause of more than 30 seconds may cause the browser to time-out", + 'LAN_MAILOUT_31' => "Bounced Email Processing", + 'LAN_MAILOUT_33' => "Incoming Mail server", + 'LAN_MAILOUT_34' => "Account (user) Name", + 'LAN_MAILOUT_36' => "Delete Bounced Mails after checking", + 'LAN_MAILOUT_37' => "Proceed", + 'LAN_MAILOUT_38' => "Cancel", + 'LAN_MAILOUT_39' => "Emailing", + 'LAN_MAILOUT_41' => "before sending mail from this page.", + 'LAN_MAILOUT_43' => "Username", + 'LAN_MAILOUT_44' => "User Login", + 'LAN_MAILOUT_45' => "User Email", + 'LAN_MAILOUT_46' => "User-Match", + 'LAN_MAILOUT_47' => "contains", + 'LAN_MAILOUT_48' => "equals", + 'LAN_MAILOUT_51' => "Subject", + 'LAN_MAILOUT_52' => "Last mod", + 'LAN_MAILOUT_53' => "Admins", + 'LAN_MAILOUT_54' => "Self", + 'LAN_MAILOUT_55' => "Userclass", + 'LAN_MAILOUT_56' => "Last Visit", + 'LAN_MAILOUT_57' => "Send bulk SMTP emails in blocks", + 'LAN_MAILOUT_67' => "The email could not be sent. Please review your SMTP settings, or select another mailing method and try again.", + 'LAN_MAILOUT_68' => "Registered Users", + 'LAN_MAILOUT_69' => "matches, after", + 'LAN_MAILOUT_70' => "duplicates stripped.", + 'LAN_MAILOUT_71' => "Total emails to send", + 'LAN_MAILOUT_72' => "Mailshot logging", + 'LAN_MAILOUT_73' => "No logging", + 'LAN_MAILOUT_74' => "Logging only (no send)", + 'LAN_MAILOUT_75' => "Log and send", + 'LAN_MAILOUT_76' => "Include email info in log", + 'LAN_MAILOUT_77' => "Email address sources", + 'LAN_MAILOUT_78' => "Mailshot Status", + 'LAN_MAILOUT_79' => "No mailshots to display", + 'LAN_MAILOUT_81' => "The email has been successfully sent, please check your inbox.", + 'LAN_MAILOUT_82' => "Mails sent", + 'LAN_MAILOUT_83' => "Mails to go", + 'LAN_MAILOUT_84' => "Mail ID", + 'LAN_MAILOUT_85' => "Originator", + 'LAN_MAILOUT_86' => "Re-send", + 'LAN_MAILOUT_87' => "SMTP Server", + 'LAN_MAILOUT_88' => "SMTP Username", + 'LAN_MAILOUT_89' => "SMTP Password", + 'LAN_MAILOUT_90' => "SMTP Features", + 'LAN_MAILOUT_91' => "POP before SMTP", + 'LAN_MAILOUT_92' => "SSL", + 'LAN_MAILOUT_93' => "TLS", + 'LAN_MAILOUT_94' => "(Use SSL for gmail/googlemail)", + 'LAN_MAILOUT_95' => "Use VERP for bulk mailing", + 'LAN_MAILOUT_97' => "Mailer Results", + 'LAN_MAILOUT_98' => "Orphaned entries", + 'LAN_MAILOUT_99' => "Confirm retry mailshot", + 'LAN_MAILOUT_100' => "Message", + 'LAN_MAILOUT_101' => "Email Detail", + 'LAN_MAILOUT_102' => "Detail of mailshot", + 'LAN_MAILOUT_103' => "Results of attempts to send", + 'LAN_MAILOUT_104' => "No attempt to send, or error saving result", + 'LAN_MAILOUT_105' => "Details of up to 10 failures", + 'LAN_MAILOUT_106' => "The email could not be sent. It appears that your server is not correctly configured to send emails, please try again using SMTP, or contact your hosts and ask them to check their sendmail / email server settings.", + 'LAN_MAILOUT_107' => "at", + 'LAN_MAILOUT_108' => "Result", + 'LAN_MAILOUT_109' => "Show detail", + 'LAN_MAILOUT_110' => "Send test email", + 'LAN_MAILOUT_111' => "Email Title (not sent)", + 'LAN_MAILOUT_112' => "Send test email to", + 'LAN_MAILOUT_113' => "Test email from", + 'LAN_MAILOUT_114' => "This is a test email, it appears that your email settings are working ok! [br][br] Regards [br] from the e107 website system.", + 'LAN_MAILOUT_115' => "Bulk Emailing method", + 'LAN_MAILOUT_116' => "If unsure, leave as php", + 'LAN_MAILOUT_117' => "complete", + 'LAN_MAILOUT_118' => "Click on proceed' to start sending emails. Click on 'cancel' to stop the run. Once complete, select another page. Unsent emails cal be viewed through the 'Mailshot status' screen", + 'LAN_MAILOUT_119' => "Logging only, with errors", + 'LAN_MAILOUT_120' => "Account type", + 'LAN_MAILOUT_121' => "Standard POP3", + 'LAN_MAILOUT_122' => "POP3, TLS disabled", + 'LAN_MAILOUT_123' => "POP3 with TLS", + 'LAN_MAILOUT_124' => "IMAP", + 'LAN_MAILOUT_125' => "Text only", + 'LAN_MAILOUT_126' => "Text and HTML", + 'LAN_MAILOUT_127' => "Include theme", + 'LAN_MAILOUT_128' => "Send Error", + 'LAN_MAILOUT_129' => "Expiry Date", + 'LAN_MAILOUT_130' => "Creation Date", + 'LAN_MAILOUT_131' => "Sending Started", + 'LAN_MAILOUT_132' => "Sending Complete", + 'LAN_MAILOUT_134' => "Priority", + 'LAN_MAILOUT_136' => "Mailout Status", + 'LAN_MAILOUT_137' => "Mail Ref", + 'LAN_MAILOUT_138' => "Email status", + 'LAN_MAILOUT_139' => "Date active", + 'LAN_MAILOUT_140' => "Recipient Email", + 'LAN_MAILOUT_141' => "Recipient Name", + 'LAN_MAILOUT_142' => "Recipient User ID", + 'LAN_MAILOUT_143' => "Recipient ref.", + 'LAN_MAILOUT_144' => "Bounced", + 'LAN_MAILOUT_145' => "New email saved", + 'LAN_MAILOUT_146' => "Error saving email", + 'LAN_MAILOUT_147' => "Email updated", + 'LAN_MAILOUT_148' => "User values", + 'LAN_MAILOUT_149' => "Sender Email", + 'LAN_MAILOUT_150' => "Sender Name", + 'LAN_MAILOUT_151' => "Copy to", + 'LAN_MAILOUT_152' => "Blind copy to", + 'LAN_MAILOUT_153' => "Attachments", + 'LAN_MAILOUT_154' => "Send Format", + 'LAN_MAILOUT_155' => "Selectors", + 'LAN_MAILOUT_156' => "Maximum number of emails to send per scheduler tick", + 'LAN_MAILOUT_157' => "Value will depend on a number of factors, including how often your mail queue scheduler job is triggered and the rate at which your ISP will accept outgoing mail. Zero to clear queue each time", + 'LAN_MAILOUT_158' => "Send now", + 'LAN_MAILOUT_159' => "Hold email", + 'LAN_MAILOUT_160' => "Cancel send", + 'LAN_MAILOUT_161' => "IMPORTANT! This file appears to not exist", + 'LAN_MAILOUT_162' => "IMPORTANT! You need to make this file executable", + 'LAN_MAILOUT_163' => "Edit/Send Mail", + 'LAN_MAILOUT_164' => "Email information not found", + 'LAN_MAILOUT_165' => "Confirm delete the following stored email, including any recipient records", + 'LAN_MAILOUT_166' => "General error deleting mail ref: [x]", + 'LAN_MAILOUT_167' => "Error deleting mail content ref: [x]", + 'LAN_MAILOUT_168' => "Mail content deleted ref: [x]", + 'LAN_MAILOUT_169' => "Error deleting mail recipients ref: [x]", + 'LAN_MAILOUT_170' => "Deleted [y] recipients for mail ref: [x]", + 'LAN_MAILOUT_171' => "Confirm email delete", + 'LAN_MAILOUT_172' => "Mail Type/Status", + 'LAN_MAILOUT_173' => "Recipients", + 'LAN_MAILOUT_174' => "Security check fail: [x] [z]", + 'LAN_MAILOUT_175' => "Before", + 'LAN_MAILOUT_176' => "Equal to", + 'LAN_MAILOUT_177' => "After", + 'LAN_MAILOUT_178' => "Last site visit", + 'LAN_MAILOUT_179' => "Confirm email send", + 'LAN_MAILOUT_180' => "Selection criteria:", + 'LAN_MAILOUT_181' => "Show recipients", + 'LAN_MAILOUT_182' => "Tidy database tables", + 'LAN_MAILOUT_183' => "Error tidying database", + 'LAN_MAILOUT_184' => "Database tidied", + 'LAN_MAILOUT_185' => "Emails added to send queue", + 'LAN_MAILOUT_186' => "General error putting mail ref: [x] on hold", + 'LAN_MAILOUT_187' => "Email [x] put on hold", + 'LAN_MAILOUT_188' => "General error sending mail ref: [x]", + 'LAN_MAILOUT_189' => "Test address", + 'LAN_MAILOUT_190' => "Create/Send Mail", + 'LAN_MAILOUT_191' => "Saved emails", + 'LAN_MAILOUT_192' => "Completed Mailshots", + 'LAN_MAILOUT_193' => "Pending Mailshots", + 'LAN_MAILOUT_194' => "Held Mailshots", + 'LAN_MAILOUT_200' => "No subject specified", + 'LAN_MAILOUT_201' => "No meaningful data for email", + 'LAN_MAILOUT_202' => "No text in email body", + 'LAN_MAILOUT_203' => "No sender name specified", + 'LAN_MAILOUT_204' => "No sender email address specified", + 'LAN_MAILOUT_205' => "Email send format error", + 'LAN_MAILOUT_206' => "Invalid mail ID ([x]) specified", + 'LAN_MAILOUT_207' => "Template load error", + 'LAN_MAILOUT_208' => "Template conversion error", + 'LAN_MAILOUT_211' => "Sent", + 'LAN_MAILOUT_212' => "Failed", + 'LAN_MAILOUT_213' => "Bounced", + 'LAN_MAILOUT_214' => "To send", + 'LAN_MAILOUT_215' => "Saved", + 'LAN_MAILOUT_216' => "Code error", + 'LAN_MAILOUT_217' => "Held", + 'LAN_MAILOUT_218' => "Cancelled", + 'LAN_MAILOUT_219' => "Partial", + 'LAN_MAILOUT_220' => "Email ID [x] cancelled", + 'LAN_MAILOUT_221' => "Error cancelling email with ID [x]", + 'LAN_MAILOUT_222' => "Default email format", + 'LAN_MAILOUT_223' => "(Used for some system-generated emails)", + 'LAN_MAILOUT_224' => "Inc. Images", + 'LAN_MAILOUT_225' => "Include images in email", + 'LAN_MAILOUT_226' => "[x] orphaned recipient record(s) removed", + 'LAN_MAILOUT_227' => "Deleted [x] records from [y]", + 'LAN_MAILOUT_228' => "[x] anomalies in mail_content corrected; records: [y]", + 'LAN_MAILOUT_229' => "Email ID [x] put on hold", + 'LAN_MAILOUT_230' => "Error holding email with ID [x]", + 'LAN_MAILOUT_231' => "Bounced emails - Processing method", + 'LAN_MAILOUT_232' => "None", + 'LAN_MAILOUT_233' => "Auto-process script", + 'LAN_MAILOUT_234' => "Mail account", + 'LAN_MAILOUT_235' => "(Your server must forward or 'pipe' from the email address above to the script path above.)", + 'LAN_MAILOUT_236' => "Last Bounce Processed", + 'LAN_MAILOUT_237' => "Summary counters updated on [x] emails", + 'LAN_MAILOUT_238' => "Earliest time to send", + 'LAN_MAILOUT_239' => "Latest time to send", + 'LAN_MAILOUT_240' => "Notify me when run complete", + 'LAN_MAILOUT_241' => "(This is in addition to the standard e107 notify options)", + 'LAN_MAILOUT_242' => "Additional options (only when sending)", + 'LAN_MAILOUT_243' => "Notify", + 'LAN_MAILOUT_244' => "Email sent:", + 'LAN_MAILOUT_245' => "Check for bounces automatically", + 'LAN_MAILOUT_246' => "If checked, you will need to activate the task in the scheduler", + 'LAN_MAILOUT_247' => "Email information:", + 'LAN_MAILOUT_248' => "Completion status:", + 'LAN_MAILOUT_249' => "Send results:", + 'LAN_MAILOUT_250' => "--- End of notification ---", + 'LAN_MAILOUT_251' => "Copy and edit", + 'LAN_MAILOUT_252' => "Does various consistency checks on the data, corrects counts, deletes temporary data", + 'LAN_MAILOUT_253' => "No recipients found - check for database corruption", + 'LAN_MAILOUT_254' => "View templated email", + 'LAN_MAILOUT_255' => "Templated Email, ID:", + 'LAN_MAILOUT_256' => "Return", + 'LAN_MAILOUT_257' => "Generated template", + 'LAN_MAILOUT_259' => "No 'email address sources' selected in Preferences", + 'LAN_SEND' => "Send", + 'LAN_HOLD' => "Hold", + 'LAN_MAILOUT_260' => "User-Type", + 'LAN_MAILOUT_261' => "SMTP Port", + 'LAN_MAILOUT_262' => "Template Preview", + 'LAN_MAILOUT_263' => "Total Recipients", + 'LAN_MAILOUT_264' => "Embed Media", + 'LAN_MAILOUT_265' => "Pending", + 'LAN_MAILOUT_266' => "Max Active", + 'LAN_MAILOUT_267' => "Generate Public/Private keys", + 'LAN_MAILOUT_268' => "Developer Mode Only", + 'LAN_MAILOUT_269' => "Send Later", + 'LAN_MAILOUT_270' => "Test SMTP Connection", + 'LAN_MAILOUT_271' => "Authentication failed with username ([x]) and password ([y]):", +]; diff --git a/e107_languages/English/admin/lan_menus.php b/e107_languages/English/admin/lan_menus.php index dac3e4423..7ae56fe62 100644 --- a/e107_languages/English/admin/lan_menus.php +++ b/e107_languages/English/admin/lan_menus.php @@ -12,71 +12,49 @@ //define("MENLAN_4", "Only visible to:");//LAN_VISIBLE_TO // define("MENLAN_5", "class"); //define("MENLAN_6", "Save visibility options"); -define("MENLAN_7", "Configure visibility options for"); -//define("MENLAN_8", "Visibility options updated"); -//define("MENLAN_9", "New custom menu installed"); -define("MENLAN_10", "New menu installed"); -define("MENLAN_11", "Menu removed"); -//define("MENLAN_12", "Activate: choose area"); -define("MENLAN_13", "Activate in Area"); -define("MENLAN_14", "Area"); -define("MENLAN_15", "Deactivate"); -//define("MENLAN_16", "Configure"); // now in lan_admin.php -define("MENLAN_17", "Move Up"); -define("MENLAN_18", "Move Down"); -define("MENLAN_19", "Move to Area"); -//define("MENLAN_20", "Visibility");//LAN_VISIBILITY - -// define("MENLAN_21", "Visible to Guests only"); -define("MENLAN_22", "Inactive Menus"); - -define("MENLAN_23", "Move to bottom"); -define("MENLAN_24", "Move to top"); -define("MENLAN_25", "Action..."); - -define("MENLAN_26", "This menu will only be [b]SHOWN[/b] on the following pages"); -define("MENLAN_27", "This menu will only be [b]HIDDEN[/b] on the following pages"); -define("MENLAN_28", "Enter one page per line, enter enough of the url to distinguish it properly. If you need the ending of the url to match exactly, use a ! at the end of the page name. For example: [b]page.php?1![/b]"); - -//define("MENLAN_29", "Select Layout"); -define("MENLAN_30", "To see the menu areas and their positions for custom layouts, select the custom layout here."); -define("MENLAN_31", "Default Layout"); -//define("MENLAN_32", "Newsheader Layout"); -define("MENLAN_33", "Custom Layout"); -define("MENLAN_34", "Embedded"); -//define("MENLAN_35", "Configure Menus"); now in lan_admin.php -define("MENLAN_36", "Choose the menu(s) to activate"); -define("MENLAN_37", "and where to activate them."); -//define("MENLAN_38", "Hold down CTRL to select multiple menus."); - -// -- - -define("MENLAN_39", "Preset Area"); -define("MENLAN_40", "Use Menu Presets"); -define("MENLAN_41", "The position of all your menus for this layout will be lost. Do you still wish to continue?"); -//define("MENLAN_42", "Custom");//LAN_CUSTOM -define("MENLAN_43", "Menu Preset Activated"); - -define("MENLAN_44", "Menu parameters"); -define("MENLAN_45", "Parameters (query string format):"); - -define("MENLAN_46", "[x] object not found. Try re-scanning plugin directories in Tools > Database."); -define("MENLAN_47", "No Fields Set in"); -define("MENLAN_48", "Menu could not be loaded"); -define("MENLAN_49", "Your Menus"); -define("MENLAN_50", "Plugin Menus"); -define("MENLAN_51", "This layout does NOT contain any dynamic {MENU} areas."); -define("MENLAN_52", "It DOES contain the following custom menus: "); -define("MENLAN_53", "Go to Custom-Menu Area"); -define("MENLAN_54", "Theme Layout"); -define("MENLAN_55", "Menu Layout"); -define("MENLAN_56", "Custom Pages"); -define("MENLAN_57", "Drag-and-Drop Menus"); -define("MENLAN_58", "The Menu-Manager allows you to place and arrange your menus within your theme template. Hover over the sub-areas to modify existing menu items."); - -define("MENLAN_59", "Area [x]"); -define("MENLAN_60", "This theme is using deprecated elements. All [x]HEADER and [x]FOOTER variables should be removed from theme.php."); - - - +return [ + 'MENLAN_7' => "Configure visibility options for", + 'MENLAN_10' => "New menu installed", + 'MENLAN_11' => "Menu removed", + 'MENLAN_13' => "Activate in Area", + 'MENLAN_14' => "Area", + 'MENLAN_15' => "Deactivate", + 'MENLAN_17' => "Move Up", + 'MENLAN_18' => "Move Down", + 'MENLAN_19' => "Move to Area", + 'MENLAN_22' => "Inactive Menus", + 'MENLAN_23' => "Move to bottom", + 'MENLAN_24' => "Move to top", + 'MENLAN_25' => "Action...", + 'MENLAN_26' => "This menu will only be [b]SHOWN[/b] on the following pages", + 'MENLAN_27' => "This menu will only be [b]HIDDEN[/b] on the following pages", + 'MENLAN_28' => "Enter one page per line, enter enough of the url to distinguish it properly. If you need the ending of the url to match exactly, use a ! at the end of the page name. For example: [b]page.php?1![/b]", + 'MENLAN_30' => "To see the menu areas and their positions for custom layouts, select the custom layout here.", + 'MENLAN_31' => "Default Layout", + 'MENLAN_33' => "Custom Layout", + 'MENLAN_34' => "Embedded", + 'MENLAN_36' => "Choose the menu(s) to activate", + 'MENLAN_37' => "and where to activate them.", + 'MENLAN_39' => "Preset Area", + 'MENLAN_40' => "Use Menu Presets", + 'MENLAN_41' => "The position of all your menus for this layout will be lost. Do you still wish to continue?", + 'MENLAN_43' => "Menu Preset Activated", + 'MENLAN_44' => "Menu parameters", + 'MENLAN_45' => "Parameters (query string format):", + 'MENLAN_46' => "[x] object not found. Try re-scanning plugin directories in Tools > Database.", + 'MENLAN_47' => "No Fields Set in", + 'MENLAN_48' => "Menu could not be loaded", + 'MENLAN_49' => "Your Menus", + 'MENLAN_50' => "Plugin Menus", + 'MENLAN_51' => "This layout does NOT contain any dynamic {MENU} areas.", + 'MENLAN_52' => "It DOES contain the following custom menus:", + 'MENLAN_53' => "Go to Custom-Menu Area", + 'MENLAN_54' => "Theme Layout", + 'MENLAN_55' => "Menu Layout", + 'MENLAN_56' => "Custom Pages", + 'MENLAN_57' => "Drag-and-Drop Menus", + 'MENLAN_58' => "The Menu-Manager allows you to place and arrange your menus within your theme template. Hover over the sub-areas to modify existing menu items.", + 'MENLAN_59' => "Area [x]", + 'MENLAN_60' => "This theme is using deprecated elements. All [x]HEADER and [x]FOOTER variables should be removed from theme.php.", +]; diff --git a/e107_languages/English/admin/lan_meta.php b/e107_languages/English/admin/lan_meta.php index e32decbe7..97d139909 100644 --- a/e107_languages/English/admin/lan_meta.php +++ b/e107_languages/English/admin/lan_meta.php @@ -1,21 +1,21 @@ "); -define("METLAN_3", "Use news title and summary as the meta-description on news pages."); - -define("METLAN_4", "Custom tags (inside [x] tags)"); -define("METLAN_5", "Custom tags (after [x])"); -define("METLAN_6", "Custom tags (before [x])"); -define("METLAN_7", "Any meta data or custom HTML tags entered here (such as