diff --git a/e107_admin/users_extended.php b/e107_admin/users_extended.php
index a7e415408..53beb471f 100755
--- a/e107_admin/users_extended.php
+++ b/e107_admin/users_extended.php
@@ -154,7 +154,7 @@ if (isset($_POST['cancel_cat']))
function js()
{
- include_once(e_LANGUAGEDIR . e_LANGUAGE . "/lan_user_extended.php");
+ e107::includeLan(e_LANGUAGEDIR . e_LANGUAGE . "/lan_user_extended.php");
$text = "
diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php
index 389d2db14..bcbbc7eee 100644
--- a/e107_handlers/e107_class.php
+++ b/e107_handlers/e107_class.php
@@ -4783,8 +4783,9 @@ class e107
{
if (is_readable($s))
{
- $ret = include_once($s);
- return (isset($ret)) ? $ret : "";
+ return self::includeLan($s);
+ // $ret = include_once($s);
+ // return (isset($ret)) ? $ret : "";
}
}
if ((e_LANGUAGE === 'English') || self::getPref('noLanguageSubs'))
@@ -4797,8 +4798,9 @@ class e107
$s = str_replace(e_LANGUAGE, 'English', $s);
if (is_readable($s))
{
- $ret = include_once($s);
- return (isset($ret)) ? $ret : "";
+ return self::includeLan($s);
+ // $ret = include_once($s);
+ // return (isset($ret)) ? $ret : "";
}
}
return FALSE; // Nothing found
diff --git a/e107_languages/English/admin/lan_eurl.php b/e107_languages/English/admin/lan_eurl.php
index 410def437..ebb8f0657 100644
--- a/e107_languages/English/admin/lan_eurl.php
+++ b/e107_languages/English/admin/lan_eurl.php
@@ -26,7 +26,7 @@ return [
'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_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",
diff --git a/e107_plugins/_blank/languages/English/English_global.php b/e107_plugins/_blank/languages/English/English_global.php
index 48448dbd8..1d6a02a4c 100644
--- a/e107_plugins/_blank/languages/English/English_global.php
+++ b/e107_plugins/_blank/languages/English/English_global.php
@@ -3,7 +3,8 @@
// Always use the format LAN_PLUGIN_{FOLDER}_{TYPE} to prevent conflicts. In this case "_BLANK" is the folder.
// This should contain the LANs used in the plugin.xml file.
-define("LAN_PLUGIN__BLANK_NAME", "Blank Plugin");
-define("LAN_PLUGIN__BLANK_DIZ", "A Blank Plugin to help you get started in plugin development. More details can be added here.");
-define("LAN_PLUGIN__BLANK_LINK", "Blank Link");
-
+return [
+ 'LAN_PLUGIN__BLANK_NAME' => "Blank Plugin",
+ 'LAN_PLUGIN__BLANK_DIZ' => "A Blank Plugin to help you get started in plugin development. More details can be added here.",
+ 'LAN_PLUGIN__BLANK_LINK' => "Blank Link",
+];
diff --git a/e107_plugins/alt_auth/languages/English/English_log.php b/e107_plugins/alt_auth/languages/English/English_log.php
index 3be2760a4..a7a5e248f 100644
--- a/e107_plugins/alt_auth/languages/English/English_log.php
+++ b/e107_plugins/alt_auth/languages/English/English_log.php
@@ -16,9 +16,9 @@
* @subpackage alt_auth
*/
-define("LAN_AL_AUTH_01","Alt auth Settings changed");
-define("LAN_AL_AUTH_02","Alt auth extended user classes changed");
-define("LAN_AL_AUTH_03","Alt auth method settings changed");
-
-
+return [
+ 'LAN_AL_AUTH_01' => "Alt auth Settings changed",
+ 'LAN_AL_AUTH_02' => "Alt auth extended user classes changed",
+ 'LAN_AL_AUTH_03' => "Alt auth method settings changed",
+];
diff --git a/e107_plugins/alt_auth/languages/English/admin_alt_auth.php b/e107_plugins/alt_auth/languages/English/admin_alt_auth.php
index b39bf781b..cff1c3e37 100644
--- a/e107_plugins/alt_auth/languages/English/admin_alt_auth.php
+++ b/e107_plugins/alt_auth/languages/English/admin_alt_auth.php
@@ -21,130 +21,124 @@
* @version $Id$;
*/
-define('LAN_ALT_1', 'Primary authorisation type');
-define('LAN_ALT_2', 'Update settings');
-define('LAN_ALT_3', 'Choose Alternate Authorisation Type');
-define('LAN_ALT_4', 'Configure parameters for');
-define('LAN_ALT_5', 'Configure authorisation parameters');
-define('LAN_ALT_6', 'Failed connection action');
-define('LAN_ALT_7', 'If connection to the primary authorisation type fails (and its not the local e107 DB), how should that be handled?');
-define('LAN_ALT_8', 'Secondary authorisation type');
-define('LAN_ALT_9', 'This is used if the primary authorisation method cannot find the user');
-define('LAN_ALT_10', 'User login name field');
-define('LAN_ALT_11', 'User password field');
-define('LAN_ALT_12', 'User email field');
-define('LAN_ALT_13', 'Hide email? field');
-define('LAN_ALT_14', 'User display name field');
-define('LAN_ALT_15', 'User real name field');
-define('LAN_ALT_16', 'User Custom Title field');
-define('LAN_ALT_17', 'Signature field');
-define('LAN_ALT_18', 'Avatar field');
-define('LAN_ALT_19', 'Photo field');
-define('LAN_ALT_20', 'Join date field');
-define('LAN_ALT_21', 'Ban status field');
-define('LAN_ALT_22', 'Class membership field');
-//define('LAN_ALT_23', 'XUP file field');
-define('LAN_ALT_24', 'Password salt field');
-define('LAN_ALT_25', '(sometimes combined with password for added security)');
-define('LAN_ALT_26', 'Database type:');
-define('LAN_ALT_27', 'To transfer a field value into the local database, specify the field name in the corresponding box below. (Username and password are always transferred)
-
Leave the field blank for it not to be transferred at all');
-
-define('LAN_ALT_29', 'Auth methods');
-define('LAN_ALT_30', 'Configure ');
-define('LAN_ALT_31', 'Main configuration');
-define('LAN_ALT_32', 'Server:');
-define('LAN_ALT_33', 'Username:');
-define('LAN_ALT_34', 'Password:');
-define('LAN_ALT_35', 'Database:');
-define('LAN_ALT_36', 'Table:');
-define('LAN_ALT_37', 'Username Field:');
-define('LAN_ALT_38', 'Password Field:');
-define('LAN_ALT_39', 'Table Prefix:');
-
-define('LAN_ALT_40', 'Test database access');
-define('LAN_ALT_41', ' (using above credentials)');
-define('LAN_ALT_42', 'If a username and password are entered, that user will also be validated');
-define('LAN_ALT_43', 'Connection to database successful');
-define('LAN_ALT_44', 'Connection to database failed');
-define('LAN_ALT_45', 'Username lookup successful');
-define('LAN_ALT_46', 'Uername lookup failed');
-define('LAN_ALT_47', 'Test');
-define('LAN_ALT_48', 'Previous validation');
-define('LAN_ALT_49', 'Username');
-define('LAN_ALT_50', 'Password');
-define('LAN_ALT_51', '(blank)');
-define('LAN_ALT_52', 'Authentication failed - ');
-define('LAN_ALT_53', 'unknown cause');
-define('LAN_ALT_54', 'could not connect to DB / service provider');
-define('LAN_ALT_55', 'invalid user');
-define('LAN_ALT_56', 'bad password');
-define('LAN_ALT_57', 'method not available');
-define('LAN_ALT_58', 'Authentification successful');
-define('LAN_ALT_59', 'Retrieved parameters:');
-define('LAN_ALT_60', 'Extended User Fields');
-define('LAN_ALT_61', 'Allow');
-define('LAN_ALT_62', 'Field Name');
-define('LAN_ALT_63', 'Description');
-define('LAN_ALT_64', 'Type');
-define('LAN_ALT_65', 'Alternate Authentication');
-define('LAN_ALT_66', 'This plugin allows for alternate authentication methods.');
-define('LAN_ALT_67', 'Configure Alt auth');
-define('LAN_ALT_68', 'Alt auth service is now set up. You will now need to configure your preferred method.');
-define('LAN_ALT_69', '');
-define('LAN_ALT_70', 'None');
-define('LAN_ALT_71', 'TRUE/FALSE');
-define('LAN_ALT_72', 'Upper case');
-define('LAN_ALT_73', 'Lower case');
-define('LAN_ALT_74', 'Upper first');
-define('LAN_ALT_75', 'Upper words');
-define('LAN_ALT_76', 'User class restriction (a numeric value - zero or blank for everyone)');
-define('LAN_ALT_77', 'Only users in this class (on the database set above) are permitted access');
-define('LAN_ALT_78', 'Failed password action');
-define('LAN_ALT_79', 'If user exists in primary DB, but enters an incorrect password, how should that be handled?');
-define('LAN_ALT_80', "Port: ");
-
-
-
-
-
-
-define('IMPORTDB_LAN_2', 'Plain Text');
-define('IMPORTDB_LAN_3', 'Joomla salted');
-define('IMPORTDB_LAN_4', 'Mambo salted');
-define('IMPORTDB_LAN_5', 'SMF (SHA1)');
-define('IMPORTDB_LAN_6', 'Generic SHA1');
-define('IMPORTDB_LAN_7', 'MD5 (E107 original)');
-define('IMPORTDB_LAN_8', 'E107 salted (option 2.0 on)');
-define('IMPORTDB_LAN_12', 'PHPBB2/PHPBB3 salted');
-define('IMPORTDB_LAN_13', 'WordPress salted');
-define('IMPORTDB_LAN_14', 'Magento salted');
-
-
-
-define('LAN_ALT_FALLBACK', 'Use secondary authorisation');
-define('LAN_ALT_FAIL', 'Failed login');
-define('LAN_ALT_UPDATESET', 'Update settings');
-define('LAN_ALT_UPDATED','Settings updated');
-
-define('LAN_ALT_AUTH_HELP', 'These are the settings common to all authentication methods, and determine the actions to be taken
+return [
+ 'LAN_ALT_1' => "Primary authorisation type",
+ 'LAN_ALT_2' => "Update settings",
+ 'LAN_ALT_3' => "Choose Alternate Authorisation Type",
+ 'LAN_ALT_4' => "Configure parameters for",
+ 'LAN_ALT_5' => "Configure authorisation parameters",
+ 'LAN_ALT_6' => "Failed connection action",
+ 'LAN_ALT_7' => "If connection to the primary authorisation type fails (and its not the local e107 DB), how should that be handled?",
+ 'LAN_ALT_8' => "Secondary authorisation type",
+ 'LAN_ALT_9' => "This is used if the primary authorisation method cannot find the user",
+ 'LAN_ALT_10' => "User login name field",
+ 'LAN_ALT_11' => "User password field",
+ 'LAN_ALT_12' => "User email field",
+ 'LAN_ALT_13' => "Hide email? field",
+ 'LAN_ALT_14' => "User display name field",
+ 'LAN_ALT_15' => "User real name field",
+ 'LAN_ALT_16' => "User Custom Title field",
+ 'LAN_ALT_17' => "Signature field",
+ 'LAN_ALT_18' => "Avatar field",
+ 'LAN_ALT_19' => "Photo field",
+ 'LAN_ALT_20' => "Join date field",
+ 'LAN_ALT_21' => "Ban status field",
+ 'LAN_ALT_22' => "Class membership field",
+ 'LAN_ALT_24' => "Password salt field",
+ 'LAN_ALT_25' => "(sometimes combined with password for added security)",
+ 'LAN_ALT_26' => "Database type:",
+ 'LAN_ALT_27' => "To transfer a field value into the local database, specify the field name in the corresponding box below. (Username and password are always transferred)
+
Leave the field blank for it not to be transferred at all",
+ 'LAN_ALT_29' => "Auth methods",
+ 'LAN_ALT_30' => "Configure",
+ 'LAN_ALT_31' => "Main configuration",
+ 'LAN_ALT_32' => "Server:",
+ 'LAN_ALT_33' => "Username:",
+ 'LAN_ALT_34' => "Password:",
+ 'LAN_ALT_35' => "Database:",
+ 'LAN_ALT_36' => "Table:",
+ 'LAN_ALT_37' => "Username Field:",
+ 'LAN_ALT_38' => "Password Field:",
+ 'LAN_ALT_39' => "Table Prefix:",
+ 'LAN_ALT_40' => "Test database access",
+ 'LAN_ALT_41' => "(using above credentials)",
+ 'LAN_ALT_42' => "If a username and password are entered, that user will also be validated",
+ 'LAN_ALT_43' => "Connection to database successful",
+ 'LAN_ALT_44' => "Connection to database failed",
+ 'LAN_ALT_45' => "Username lookup successful",
+ 'LAN_ALT_46' => "Uername lookup failed",
+ 'LAN_ALT_47' => "Test",
+ 'LAN_ALT_48' => "Previous validation",
+ 'LAN_ALT_49' => "Username",
+ 'LAN_ALT_50' => "Password",
+ 'LAN_ALT_51' => "(blank)",
+ 'LAN_ALT_52' => "Authentication failed -",
+ 'LAN_ALT_53' => "unknown cause",
+ 'LAN_ALT_54' => "could not connect to DB / service provider",
+ 'LAN_ALT_55' => "invalid user",
+ 'LAN_ALT_56' => "bad password",
+ 'LAN_ALT_57' => "method not available",
+ 'LAN_ALT_58' => "Authentification successful",
+ 'LAN_ALT_59' => "Retrieved parameters:",
+ 'LAN_ALT_60' => "Extended User Fields",
+ 'LAN_ALT_61' => "Allow",
+ 'LAN_ALT_62' => "Field Name",
+ 'LAN_ALT_63' => "Description",
+ 'LAN_ALT_64' => "Type",
+ 'LAN_ALT_65' => "Alternate Authentication",
+ 'LAN_ALT_66' => "This plugin allows for alternate authentication methods.",
+ 'LAN_ALT_67' => "Configure Alt auth",
+ 'LAN_ALT_68' => "Alt auth service is now set up. You will now need to configure your preferred method.",
+ 'LAN_ALT_69' => "",
+ 'LAN_ALT_70' => "None",
+ 'LAN_ALT_71' => "TRUE/FALSE",
+ 'LAN_ALT_72' => "Upper case",
+ 'LAN_ALT_73' => "Lower case",
+ 'LAN_ALT_74' => "Upper first",
+ 'LAN_ALT_75' => "Upper words",
+ 'LAN_ALT_76' => "User class restriction (a numeric value - zero or blank for everyone)",
+ 'LAN_ALT_77' => "Only users in this class (on the database set above) are permitted access",
+ 'LAN_ALT_78' => "Failed password action",
+ 'LAN_ALT_79' => "If user exists in primary DB, but enters an incorrect password, how should that be handled?",
+ 'LAN_ALT_80' => "Port:",
+ 'IMPORTDB_LAN_2' => "Plain Text",
+ 'IMPORTDB_LAN_3' => "Joomla salted",
+ 'IMPORTDB_LAN_4' => "Mambo salted",
+ 'IMPORTDB_LAN_5' => "SMF (SHA1)",
+ 'IMPORTDB_LAN_6' => "Generic SHA1",
+ 'IMPORTDB_LAN_7' => "MD5 (E107 original)",
+ 'IMPORTDB_LAN_8' => "E107 salted (option 2.0 on)",
+ 'IMPORTDB_LAN_12' => "PHPBB2/PHPBB3 salted",
+ 'IMPORTDB_LAN_13' => "WordPress salted",
+ 'IMPORTDB_LAN_14' => "Magento salted",
+ 'LAN_ALT_FALLBACK' => "Use secondary authorisation",
+ 'LAN_ALT_FAIL' => "Failed login",
+ 'LAN_ALT_UPDATESET' => "Update settings",
+ 'LAN_ALT_UPDATED' => "Settings updated",
+ 'LAN_ALT_AUTH_HELP' => "These are the settings common to all authentication methods, and determine the actions to be taken
The Extended User Field selection determines which may be added/updated when a user logs in - further configuration is required
- for the specific authentication method.');
-define('LAN_ALT_VALIDATE_HELP', 'You can check the settings by using the \'Test Database Access\' section to try and validate a user - this uses exactly
+
+for the specific authentication method.",
+ 'LAN_ALT_VALIDATE_HELP' => "You can check the settings by using the 'Test Database Access' section to try and validate a user - this uses exactly
the same process as when a user tries to log in, and confirms whether your settings are correct.
- If you have configured some parameters to be copied to the user table on successful login, these are also listed.
- ');
-define('LAN_ALT_COPY_HELP', 'You can select fields to copy from the remote database into the user database by entering the appropriate names.
- ');
-define('LAN_ALT_CONVERSION_HELP', 'For some fields, the drop-down box to the right of the field entry box selects a conversion which may be applied to the value
- read from the remote database; if \'none\' is selected, the value is copied as received. Conversions are:
- TRUE/FALSE - the words \'TRUE\' and \'FALSE\' (and their lower/mixed case equivalents) are converted to the Booleans 1 and zero.
+
+ If you have configured some parameters to be copied to the user table on successful login, these are also listed.",
+ 'LAN_ALT_COPY_HELP' => "You can select fields to copy from the remote database into the user database by entering the appropriate names.
",
+ 'LAN_ALT_CONVERSION_HELP' => "For some fields, the drop-down box to the right of the field entry box selects a conversion which may be applied to the value
+ read from the remote database; if 'none' is selected, the value is copied as received. Conversions are:
+
+ TRUE/FALSE - the words 'TRUE' and 'FALSE' (and their lower/mixed case equivalents) are converted to the Booleans 1 and zero.
+
Upper case - All letters are converted to upper case
+
Lower case - All letters are converted to lower case
+
Upper first - the first character is converted to upper case
+
Upper words - the first letter of each word is converted to upper case
+
-
');
-
+
",
+];
diff --git a/e107_plugins/alt_auth/languages/English/admin_e107db_conf.php b/e107_plugins/alt_auth/languages/English/admin_e107db_conf.php
index facbff4fa..0a2e326a3 100644
--- a/e107_plugins/alt_auth/languages/English/admin_e107db_conf.php
+++ b/e107_plugins/alt_auth/languages/English/admin_e107db_conf.php
@@ -22,18 +22,16 @@
* @version $Id$;
*/
-define('E107DB_LAN_1', 'e107 format database');
-define('E107DB_LAN_9', 'Password Method:');
-define('E107DB_LAN_10', 'Configure e107 db auth');
-define('E107DB_LAN_11', 'Check the box against any field you wish to be transferred to the local database:');
-
-define('IMPORTDB_LAN_7', 'MD5 (e107 original)');
-define('IMPORTDB_LAN_8', 'e107 salted (option 2.0 on)');
-
-
-define('LAN_AUTHENTICATE_HELP','This authentication method is to be used with a second E107 database, which may use a different password format to this system. The
+return [
+ 'E107DB_LAN_1' => "e107 format database",
+ 'E107DB_LAN_9' => "Password Method:",
+ 'E107DB_LAN_10' => "Configure e107 db auth",
+ 'E107DB_LAN_11' => "Check the box against any field you wish to be transferred to the local database:",
+ 'IMPORTDB_LAN_7' => "MD5 (e107 original)",
+ 'IMPORTDB_LAN_8' => "e107 salted (option 2.0 on)",
+ 'LAN_AUTHENTICATE_HELP' => "This authentication method is to be used with a second E107 database, which may use a different password format to this system. The
original password is read from the local database, and validated against the storage format of the original system. If it verifies, its converted to the current E107-compatible format and
- stored in the database.');
-
+stored in the database.",
+];
diff --git a/e107_plugins/alt_auth/languages/English/admin_importdb_conf.php b/e107_plugins/alt_auth/languages/English/admin_importdb_conf.php
index 85ac586e0..487c03243 100644
--- a/e107_plugins/alt_auth/languages/English/admin_importdb_conf.php
+++ b/e107_plugins/alt_auth/languages/English/admin_importdb_conf.php
@@ -30,18 +30,16 @@
//define('IMPORTDB_LAN_6', 'Generic SHA1');
//define('IMPORTDB_LAN_7', 'MD5 (E107 original)');
//define('IMPORTDB_LAN_8', 'E107 salted (option 2.0 on)');
-define('IMPORTDB_LAN_9', 'Password Method:');
-define('IMPORTDB_LAN_10', 'Configure imported database password type');
-define('IMPORTDB_LAN_11', 'This option is to be used when you have imported some other user-based system into E107.
+
+return [
+ 'IMPORTDB_LAN_9' => "Password Method:",
+ 'IMPORTDB_LAN_10' => "Configure imported database password type",
+ 'IMPORTDB_LAN_11' => "This option is to be used when you have imported some other user-based system into E107.
It allows you to accept passwords encoded in the selected non-standard format.
- Each user\'s password is converted to E107 format when they log in.');
-//define('IMPORTDB_LAN_12', 'PHPBB2/PHPBB3 salted');
-//define('IMPORTDB_LAN_13', 'WordPress salted');
-//define('IMPORTDB_LAN_14', 'Magento salted');
-
-define('LAN_AUTHENTICATE_HELP','This authentication method is to be used only when you have imported a user database into E107, and the password is in an incompatible format. The
+Each user's password is converted to E107 format when they log in.",
+ 'LAN_AUTHENTICATE_HELP' => "This authentication method is to be used only when you have imported a user database into E107, and the password is in an incompatible format. The
original password is read from the local database, and validated against the storage format of the original system. If it verifies, its converted to the current E107-compatible format and
- stored in the database. After a while you can usually disable the alt-auth plugin, since active users will all have their passwords stored in a compatible format.');
-
+stored in the database. After a while you can usually disable the alt-auth plugin, since active users will all have their passwords stored in a compatible format.",
+];
diff --git a/e107_plugins/alt_auth/languages/English/admin_ldap_conf.php b/e107_plugins/alt_auth/languages/English/admin_ldap_conf.php
index dbfbf5c08..831454e30 100644
--- a/e107_plugins/alt_auth/languages/English/admin_ldap_conf.php
+++ b/e107_plugins/alt_auth/languages/English/admin_ldap_conf.php
@@ -20,25 +20,21 @@
* @version $Id$;
*/
-define('LDAPLAN_1', 'Server address');
-define('LDAPLAN_2', 'Base DN or Domain
LDAP - Enter BaseDN
AD - enter the fqdn eg ad.mydomain.co.uk');
-define('LDAPLAN_3', 'LDAP Browsing user
Full context of the user who is able to search the directory.');
-define('LDAPLAN_4', 'LDAP Browsing password
Password for the LDAP Browsing user.');
-define('LDAPLAN_5', 'LDAP Version');
-define('LDAPLAN_6', 'Configure LDAP auth');
-define('LDAPLAN_7', 'eDirectory search filter:');
-define('LDAPLAN_8', "This will be used to ensure the username is in the correct tree,
e.g. '(objectclass=inetOrgPerson)'");
-define('LDAPLAN_9', 'Current search filter will be:');
-define('LDAPLAN_10', 'Settings Updated');
-define('LDAPLAN_11', 'WARNING: It appears that the ldap module is not currently available; setting your auth method to LDAP will probably not work!');
-define('LDAPLAN_12', 'Server Type');
-define('LDAPLAN_13', 'Update settings');
-define('LDAPLAN_14', 'OU for AD (e.g. ou=itdept)');
-
-
-define('SHOW_COPY_HELP', TRUE);
-define('SHOW_CONVERSION_HELP', TRUE);
-define('LAN_AUTHENTICATE_HELP','This method can be used to authenticate against most LDAP servers, including Novell\'s eDirectory and Microsoft\'s Active Directory. It requires that PHP\'s LDAP extension is loaded. Refer to the wiki for further information.');
-
-
+return [
+ 'LDAPLAN_1' => "Server address",
+ 'LDAPLAN_2' => "Base DN or Domain
LDAP - Enter BaseDN
AD - enter the fqdn eg ad.mydomain.co.uk",
+ 'LDAPLAN_3' => "LDAP Browsing user
Full context of the user who is able to search the directory.",
+ 'LDAPLAN_4' => "LDAP Browsing password
Password for the LDAP Browsing user.",
+ 'LDAPLAN_5' => "LDAP Version",
+ 'LDAPLAN_6' => "Configure LDAP auth",
+ 'LDAPLAN_7' => "eDirectory search filter:",
+ 'LDAPLAN_8' => "This will be used to ensure the username is in the correct tree,
e.g. '(objectclass=inetOrgPerson)'",
+ 'LDAPLAN_9' => "Current search filter will be:",
+ 'LDAPLAN_10' => "Settings Updated",
+ 'LDAPLAN_11' => "WARNING: It appears that the ldap module is not currently available; setting your auth method to LDAP will probably not work!",
+ 'LDAPLAN_12' => "Server Type",
+ 'LDAPLAN_13' => "Update settings",
+ 'LDAPLAN_14' => "OU for AD (e.g. ou=itdept)",
+ 'LAN_AUTHENTICATE_HELP' => "This method can be used to authenticate against most LDAP servers, including Novell's eDirectory and Microsoft's Active Directory. It requires that PHP's LDAP extension is loaded. Refer to the wiki for further information.",
+];
diff --git a/e107_plugins/alt_auth/languages/English/admin_otherdb_conf.php b/e107_plugins/alt_auth/languages/English/admin_otherdb_conf.php
index be505118e..f79611f98 100644
--- a/e107_plugins/alt_auth/languages/English/admin_otherdb_conf.php
+++ b/e107_plugins/alt_auth/languages/English/admin_otherdb_conf.php
@@ -23,27 +23,21 @@
*/
-define('OTHERDB_LAN_1', 'Database Type:');
-define('OTHERDB_LAN_2', 'Server:');
-define('OTHERDB_LAN_3', 'Username:');
-define('OTHERDB_LAN_4', 'Password:');
-define('OTHERDB_LAN_5', 'Database');
-define('OTHERDB_LAN_6', 'Table');
-define('OTHERDB_LAN_7', 'Username Field:');
-define('OTHERDB_LAN_8', 'Password Field:');
-define('OTHERDB_LAN_9', 'Password Method:');
-define('OTHERDB_LAN_10', 'Configure otherdb auth');
-//define("OTHERDB_LAN_11", "To transfer a field value into the local database, specify the field name in the corresponding box below. Fields marked with
-// an asterisk (*) are mandatory.
Leave the field blank for it not to be transferred at all");
-define('OTHERDB_LAN_12', 'Password Salt Field:');
-define('OTHERDB_LAN_13', '(Leave blank if not used)');
-define('OTHERDB_LAN_14', 'Email address Field:');
-define('OTHERDB_LAN_15', 'MySQL - generic database');
-
-
-define('SHOW_COPY_HELP', TRUE);
-define('SHOW_CONVERSION_HELP', TRUE);
-define('LAN_AUTHENTICATE_HELP','This authentication method is used to validate against a non-E107 database. The password must be stored in one of the supported formats.');
-
-
+return [
+ 'OTHERDB_LAN_1' => "Database Type:",
+ 'OTHERDB_LAN_2' => "Server:",
+ 'OTHERDB_LAN_3' => "Username:",
+ 'OTHERDB_LAN_4' => "Password:",
+ 'OTHERDB_LAN_5' => "Database",
+ 'OTHERDB_LAN_6' => "Table",
+ 'OTHERDB_LAN_7' => "Username Field:",
+ 'OTHERDB_LAN_8' => "Password Field:",
+ 'OTHERDB_LAN_9' => "Password Method:",
+ 'OTHERDB_LAN_10' => "Configure otherdb auth",
+ 'OTHERDB_LAN_12' => "Password Salt Field:",
+ 'OTHERDB_LAN_13' => "(Leave blank if not used)",
+ 'OTHERDB_LAN_14' => "Email address Field:",
+ 'OTHERDB_LAN_15' => "MySQL - generic database",
+ 'LAN_AUTHENTICATE_HELP' => "This authentication method is used to validate against a non-E107 database. The password must be stored in one of the supported formats.",
+];
diff --git a/e107_plugins/alt_auth/languages/English/admin_radius_conf.php b/e107_plugins/alt_auth/languages/English/admin_radius_conf.php
index 8222b4015..0241f2a4f 100644
--- a/e107_plugins/alt_auth/languages/English/admin_radius_conf.php
+++ b/e107_plugins/alt_auth/languages/English/admin_radius_conf.php
@@ -22,16 +22,14 @@
* @version $Id$;
*/
-define('LAN_RADIUS_01', 'Server address');
-define('LAN_RADIUS_02', 'Shared secret');
-define('LAN_RADIUS_03', 'Server user');
-define('LAN_RADIUS_04', 'Server password');
-define('LAN_RADIUS_06', 'Configure RADIUS auth');
-define('LAN_RADIUS_11', 'WARNING: It appears that the RADIUS module is not currently available; setting your auth method to RADIUS will probably not work!');
-
-
-define('LAN_AUTHENTICATE_HELP','This authentication method is used with an external RADIUS server. It requres that PHP\'s RADIUS extension is enabled.
- Note that the RADIUS server may only allow access from a specific range of IP addresses');
-
-
+return [
+ 'LAN_RADIUS_01' => "Server address",
+ 'LAN_RADIUS_02' => "Shared secret",
+ 'LAN_RADIUS_03' => "Server user",
+ 'LAN_RADIUS_04' => "Server password",
+ 'LAN_RADIUS_06' => "Configure RADIUS auth",
+ 'LAN_RADIUS_11' => "WARNING: It appears that the RADIUS module is not currently available; setting your auth method to RADIUS will probably not work!",
+ 'LAN_AUTHENTICATE_HELP' => "This authentication method is used with an external RADIUS server. It requres that PHP's RADIUS extension is enabled.
+Note that the RADIUS server may only allow access from a specific range of IP addresses",
+];
diff --git a/e107_plugins/banner/languages/English_admin.php b/e107_plugins/banner/languages/English_admin.php
index 240d2a56e..3356eb715 100644
--- a/e107_plugins/banner/languages/English_admin.php
+++ b/e107_plugins/banner/languages/English_admin.php
@@ -8,68 +8,33 @@
*
*/
-define("BNRLAN_00", "No banners created yet."); // 15
-define("BNRLAN_01", "Banner ID not found.");
-// define("BNRLAN_1", "Client"); //27
-// define("BNRLAN_2", "Clickthroughs");
-// define("BNRLAN_3", "Click %");
-// define("BNRLAN_4", "Impressions");
-// define("BNRLAN_5", "Impressions Left");
-
-// define("BNRLAN_6", "Unlimited"); // 35
-//define("BNRLAN_7", "Stats"); // 65 LAN_STATS
-//define("BNRLAN_8", "N/A"); // 66 BANNERLAN_31
-//define("BNRLAN_9", "Starts"); // 45 //LAN_START
-//define("BNRLAN_10", "Ends"); // 21 //LAN_END
-
-define("BNRLAN_11", "Campaign"); // 24
-define("BNRLAN_12", "Client Login"); // 30
-//define("BNRLAN_13", "Client Password"); //31
-//define("BNRLAN_14", "Banner Image"); // 32 LAN_IMAGE
-define("BNRLAN_15", "Click URL"); // 33
-define("BNRLAN_16", "Number of impressions purchased"); // 34
-//define("BNRLAN_17", "Start Date"); // 36 //LAN_START
-//define("BNRLAN_18", "End Date"); //37 //LAN_END
-
-// 19 - 24 extra space
-
-define("BNRLAN_25", "Add new or choose existing campaign");
-// define("BNRLAN_26", "Enter new campaign");
-// define("BNRLAN_27", "New Campaign"); // 26a
-define("BNRLAN_28", "Add new or choose existing client");
-define("BNRLAN_29", "Enter new client");
-//define("BNRLAN_30", "New Client"); // 29a
-
-define("BNRLAN_31", "No limit when left blank."); // 38
-define("BNRLAN_32", "Choose banner image"); // 43
-define("BNRLAN_33", "Code"); //46
-
-// 34 - 35 extra space
-
-define("BNRLAN_35", "Banner menu"); // 61
-//define("BNRLAN_36", "Configure Menu"); //68
-
-//define("BNRLAN_37", "Caption"); // BANNER_MENU_L3 LAN_CAPTION
-define("BNRLAN_38", "Advertisement"); // BANNER_MENU_L1
-
-define("BNRLAN_39", "Campaigns to show in menu"); // BANNER_MENU_L6
-define("BNRLAN_40", "No campaigns yet."); // 67
-
-define("BNRLAN_41", "Number of banners to show"); // BANNER_MENU_L19
-define("BNRLAN_42", "This is only used when multiple campaigns are selected."); // BANNER_MENU_L20
-
-define("BNRLAN_43", "How to show the campaigns?"); // BANNER_MENU_L10
-define("BNRLAN_44", "Choose render type ..."); // BANNER_MENU_L11
-define("BNRLAN_45", "One campaign rendered in a single menu"); // BANNER_MENU_L12
-define("BNRLAN_46", "All selected campaigns rendered in one single menu"); // BANNER_MENU_L13
-define("BNRLAN_47", "All selected campaigns rendered in separate menus"); // BANNER_MENU_L14
-define("BNRLAN_48", "All selected campaigns (no box rendering)");
-
-//define("BNRLAN_49", "Tooltip");//LAN_TOOLTIP Linkwords also \
-define("BNRLAN_50", "Local");
-define("BNRLAN_51", "Remote");
-
-//define("BNRLAN_HELP_01", "Banner Help"); LAN_HELP
-
-define("BNRLAN_HELP_02", "Use this plugin to manage advertising on your website.[br][br]When creating a new banner you can create a username and password for your client to login and check the progress of the campaign. [br][br]You can enable the banner menu using the menu manager and perform further configuration from there.");
\ No newline at end of file
+return [
+ 'BNRLAN_00' => "No banners created yet.",
+ 'BNRLAN_01' => "Banner ID not found.",
+ 'BNRLAN_11' => "Campaign",
+ 'BNRLAN_12' => "Client Login",
+ 'BNRLAN_15' => "Click URL",
+ 'BNRLAN_16' => "Number of impressions purchased",
+ 'BNRLAN_25' => "Add new or choose existing campaign",
+ 'BNRLAN_28' => "Add new or choose existing client",
+ 'BNRLAN_29' => "Enter new client",
+ 'BNRLAN_31' => "No limit when left blank.",
+ 'BNRLAN_32' => "Choose banner image",
+ 'BNRLAN_33' => "Code",
+ 'BNRLAN_35' => "Banner menu",
+ 'BNRLAN_38' => "Advertisement",
+ 'BNRLAN_39' => "Campaigns to show in menu",
+ 'BNRLAN_40' => "No campaigns yet.",
+ 'BNRLAN_41' => "Number of banners to show",
+ 'BNRLAN_42' => "This is only used when multiple campaigns are selected.",
+ 'BNRLAN_43' => "How to show the campaigns?",
+ 'BNRLAN_44' => "Choose render type ...",
+ 'BNRLAN_45' => "One campaign rendered in a single menu",
+ 'BNRLAN_46' => "All selected campaigns rendered in one single menu",
+ 'BNRLAN_47' => "All selected campaigns rendered in separate menus",
+ 'BNRLAN_48' => "All selected campaigns (no box rendering)",
+ 'BNRLAN_50' => "Local",
+ 'BNRLAN_51' => "Remote",
+ 'BNRLAN_HELP_02' => "Use this plugin to manage advertising on your website.[br][br]When creating a new banner you can create a username and password for your client to login and check the progress of the campaign. [br][br]You can enable the banner menu using the menu manager and perform further configuration from there.",
+];
diff --git a/e107_plugins/banner/languages/English_front.php b/e107_plugins/banner/languages/English_front.php
index d14319351..11d608869 100644
--- a/e107_plugins/banner/languages/English_front.php
+++ b/e107_plugins/banner/languages/English_front.php
@@ -12,27 +12,20 @@
//define("BANNERLAN_16", "Username: ");//LAN_USER
//define("BANNERLAN_17", "Password: ");//LAN_PASSWORD
//define("BANNERLAN_18", "Continue"); // English LAN_CONTINUE
-define("BANNERLAN_19", "Please enter your client login and password to continue");
-define("BANNERLAN_20", "Sorry, unable to find those details in the database. Please contact the site administrator for details.");
-define("BANNERLAN_21", "Banners Statistics");
-define("BANNERLAN_22", "Client");
-define("BANNERLAN_23", "Banner ID");
-define("BANNERLAN_24", "Clickthroughs");
-define("BANNERLAN_25", "Click %");
-define("BANNERLAN_26", "Impressions");
-define("BANNERLAN_27", "Impressions Purchased");
-define("BANNERLAN_28", "Impressions Left");
-//define("BANNERLAN_29", "No banners");
-define("BANNERLAN_30", "Unlimited");
-define("BANNERLAN_31", "Not applicable");
-//define("BANNERLAN_32", "Yes"); // English LAN_YES
-//define("BANNERLAN_33", "No"); // English LAN_NO
-//define("BANNERLAN_34", "Ends:");//LAN_END
-define("BANNERLAN_35", "Clickthrough IP addresses");
-//define("BANNERLAN_36", "Active:");//LAN_VISIBILITY
-//define("BANNERLAN_37", "Starts:");//LAN_START
-//define("BANNERLAN_38", "Error"); // English LAN_ERROR
-define("BANNERLAN_39", "No image assigned to this banner.");
-
-
+return [
+ 'BANNERLAN_19' => "Please enter your client login and password to continue",
+ 'BANNERLAN_20' => "Sorry, unable to find those details in the database. Please contact the site administrator for details.",
+ 'BANNERLAN_21' => "Banners Statistics",
+ 'BANNERLAN_22' => "Client",
+ 'BANNERLAN_23' => "Banner ID",
+ 'BANNERLAN_24' => "Clickthroughs",
+ 'BANNERLAN_25' => "Click %",
+ 'BANNERLAN_26' => "Impressions",
+ 'BANNERLAN_27' => "Impressions Purchased",
+ 'BANNERLAN_28' => "Impressions Left",
+ 'BANNERLAN_30' => "Unlimited",
+ 'BANNERLAN_31' => "Not applicable",
+ 'BANNERLAN_35' => "Clickthrough IP addresses",
+ 'BANNERLAN_39' => "No image assigned to this banner.",
+];
diff --git a/e107_plugins/banner/languages/English_global.php b/e107_plugins/banner/languages/English_global.php
index af42deafa..6766955fa 100644
--- a/e107_plugins/banner/languages/English_global.php
+++ b/e107_plugins/banner/languages/English_global.php
@@ -8,6 +8,8 @@
*
*/
-define("LAN_PLUGIN_BANNER_NAME", "Banners");
-define("LAN_PLUGIN_BANNER_DESCRIPTION", "Add advertising banners to your e107 website");
+return [
+ 'LAN_PLUGIN_BANNER_NAME' => "Banners",
+ 'LAN_PLUGIN_BANNER_DESCRIPTION' => "Add advertising banners to your e107 website",
+];
diff --git a/e107_plugins/blogcalendar_menu/languages/English.php b/e107_plugins/blogcalendar_menu/languages/English.php
index 88efaffde..e146d79da 100644
--- a/e107_plugins/blogcalendar_menu/languages/English.php
+++ b/e107_plugins/blogcalendar_menu/languages/English.php
@@ -2,20 +2,19 @@
/*
* e107 website system
*
- * Copyright (C) 2008-2013 e107 Inc (e107.org)
+ * Copyright (C) 2008-2025 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*/
-define("BLOGCAL_L1", "News by month");
-define("BLOGCAL_L2", "Archive");
-define("BLOGCAL_1", "News Items");
-
-define("BLOGCAL_CONF1", "Months/row");
-define("BLOGCAL_CONF2", "Cellpadding");
-//define("BLOGCAL_CONF3", "Update Menu Settings");
-define("BLOGCAL_CONF4", "BlogCal Menu Configuration");
-//define("BLOGCAL_CONF5", "BlogCal menu configuration saved");
-define("BLOGCAL_ARCHIV1", "Select Archive");
-
+
+return [
+ 'BLOGCAL_L1' => "News by month",
+ 'BLOGCAL_L2' => "Archive",
+ 'BLOGCAL_1' => "News Items",
+ 'BLOGCAL_CONF1' => "Months/row",
+ 'BLOGCAL_CONF2' => "Cellpadding",
+ 'BLOGCAL_CONF4' => "BlogCal Menu Configuration",
+ 'BLOGCAL_ARCHIV1' => "Select Archive",
+];
diff --git a/e107_plugins/chatbox_menu/languages/English/English.php b/e107_plugins/chatbox_menu/languages/English/English.php
index 3b897cefb..62f69c400 100644
--- a/e107_plugins/chatbox_menu/languages/English/English.php
+++ b/e107_plugins/chatbox_menu/languages/English/English.php
@@ -14,33 +14,28 @@
* $Author$
*/
-define("CHATBOX_L1", "Unable to accept post as that username is registered - if it is your username please login to post.");
-// define("CHATBOX_L2", "Chatbox");
-define("CHATBOX_L3", "You must be logged in to post comments on this site - please either log in from the Login box or from [here].");
-define("CHATBOX_L3b", "If you are not registered click [here] to signup. ");
-define("CHATBOX_L4", "Post new message");
-define("CHATBOX_L5", "Reset");
-define("CHATBOX_L6", "[blocked by admin]");
-define("CHATBOX_L7", "Unblock");
-define("CHATBOX_L8", "Info");
-define("CHATBOX_L9", "Block");
-// define("CHATBOX_L10", "Delete");
-define("CHATBOX_L11", "No messages yet.");
-define("CHATBOX_L12", "View all posts");
-define("CHATBOX_L13", "moderate chatbox");
-define("CHATBOX_L14", "Emotes");
-define("CHATBOX_L15", "Post too long, or empty post submitted");
-// define("CHATBOX_L16", "Anonymous");
-define("CHATBOX_L17", "Duplicate post");
-define("CHATBOX_L18", "Chatbox messages moderated");
-//define("CHATBOX_L19", "You may only post once every ".(FLOODPROTECT ? FLOODTIMEOUT : 'n/a')." seconds");
-define("CHATBOX_L19", "You may only post once every [x] seconds");
-define("CHATBOX_L20", "Chatbox (all posts)");
-// define("CHATBOX_L21", "Chat Posts");
-define("CHATBOX_L22", "on");
-// define("CHATBOX_L23", "Error!");
-define("CHATBOX_L24", "You do not have the correct permissions to view this page.");
-define("CHATBOX_L25", "[ this post has been blocked by admin ]");
-
-define("LAN_CHATBOX_100", "Type your message here.");
+return [
+ 'CHATBOX_L1' => "Unable to accept post as that username is registered - if it is your username please login to post.",
+ 'CHATBOX_L3' => "You must be logged in to post comments on this site - please either log in from the Login box or from [here].",
+ 'CHATBOX_L3b' => "If you are not registered click [here] to signup.",
+ 'CHATBOX_L4' => "Post new message",
+ 'CHATBOX_L5' => "Reset",
+ 'CHATBOX_L6' => "[blocked by admin]",
+ 'CHATBOX_L7' => "Unblock",
+ 'CHATBOX_L8' => "Info",
+ 'CHATBOX_L9' => "Block",
+ 'CHATBOX_L11' => "No messages yet.",
+ 'CHATBOX_L12' => "View all posts",
+ 'CHATBOX_L13' => "moderate chatbox",
+ 'CHATBOX_L14' => "Emotes",
+ 'CHATBOX_L15' => "Post too long, or empty post submitted",
+ 'CHATBOX_L17' => "Duplicate post",
+ 'CHATBOX_L18' => "Chatbox messages moderated",
+ 'CHATBOX_L19' => "You may only post once every [x] seconds",
+ 'CHATBOX_L20' => "Chatbox (all posts)",
+ 'CHATBOX_L22' => "on",
+ 'CHATBOX_L24' => "You do not have the correct permissions to view this page.",
+ 'CHATBOX_L25' => "[ this post has been blocked by admin ]",
+ 'LAN_CHATBOX_100' => "Type your message here.",
+];
diff --git a/e107_plugins/chatbox_menu/languages/English/English_global.php b/e107_plugins/chatbox_menu/languages/English/English_global.php
index d4c97bd67..813850014 100644
--- a/e107_plugins/chatbox_menu/languages/English/English_global.php
+++ b/e107_plugins/chatbox_menu/languages/English/English_global.php
@@ -1,23 +1,19 @@
"Chatbox",
+ 'LAN_PLUGIN_CHATBOX_MENU_DESCRIPTION' => "Chatbox Menu",
+ 'LAN_PLUGIN_CHATBOX_MENU_POSTS' => "Chatbox Posts",
+ 'LAN_AL_CHBLAN_01' => "Chatbox settings updated",
+ 'LAN_AL_CHBLAN_02' => "Chatbox pruned",
+ 'LAN_AL_CHBLAN_03' => "Chatbox posts recalculated",
+ 'LAN_AL_CHBLAN_04' => "",
+ 'LAN_AL_CHBLAN_05' => "",
+ 'NT_LAN_CB_1' => "Chatbox Events",
+ 'NT_LAN_CB_2' => "Message posted",
+ 'NT_LAN_CB_3' => "Posted by",
+ 'NT_LAN_CB_5' => "Message",
+ 'NT_LAN_CB_6' => "Chatbox Message Posted",
+];
diff --git a/e107_plugins/chatbox_menu/languages/English/admin_chatbox_menu.php b/e107_plugins/chatbox_menu/languages/English/admin_chatbox_menu.php
index fdea4c6e5..892fa385d 100644
--- a/e107_plugins/chatbox_menu/languages/English/admin_chatbox_menu.php
+++ b/e107_plugins/chatbox_menu/languages/English/admin_chatbox_menu.php
@@ -2,7 +2,7 @@
/*
* e107 website system
*
- * Copyright (C) 2008-2013 e107 Inc (e107.org)
+ * Copyright (C) 2008-2025 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
@@ -18,43 +18,25 @@
//define("CHBLAN_8", "delete");
//define("CHBLAN_9", "Moderate Chatbox");
//define("CHBLAN_10", "Moderate posts");
-define("CHBLAN_11", "Chatbox posts to display");
-define("CHBLAN_12", "Amount of posts displayed in chatbox");
-//define("CHBLAN_13", "Replace links");
-//define("CHBLAN_14", "if ticked, posted links will be replaced by text entered in box below");
-//define("CHBLAN_15", "Replace string if activated");
-//define("CHBLAN_16", "links will be replaced by this string");
-//define("CHBLAN_17", "Wordwrap count");
-//define("CHBLAN_18", "words longer than the number you set here will be wrapped");
-//define("CHBLAN_19", "Update Chatbox Settings");
-define("CHBLAN_20", "Chatbox Settings");
-//define("CHBLAN_21", "Prune");
-define("CHBLAN_22", "Delete posts older than a certain time period");
-define("CHBLAN_23", "Delete posts older than ");
-
-define("CHBLAN_24", "One day");
-define("CHBLAN_25", "One week");
-define("CHBLAN_26", "One month");
-define("CHBLAN_27", "- Delete all posts -");
-// define("CHBLAN_28", "Chatbox pruned.");
-
-define("CHBLAN_29", "Display chatbox inside scrolling layer with height [x]"); // [x] will be replaced automatically
-// define("CHBLAN_30", "Layer height");
-define("CHBLAN_31", "Show emoticons");
-define("CHBLAN_32", "Moderator userclass");
-
-define("CHBLAN_33", "User counts recalculated");
-define("CHBLAN_34", "Recalculate user post counts");
-define("CHBLAN_35", "Recalculate");
-
-define("CHBLAN_36", "Chatbox Display options");
-define("CHBLAN_37", "Normal chatbox");
-define("CHBLAN_38", "Use javascript code to update posts dynamically (AJAX)");
-//define('CHBLAN_39', 'Nothing changed - not updated');
-// define('CHBLAN_40', 'Chatbox');
-// define('CHBLAN_41', 'Chatbox Menu');
-define("CHBLAN_42", "Show amount of posts in user profile");
-
-
-
+return [
+ 'CHBLAN_11' => "Chatbox posts to display",
+ 'CHBLAN_12' => "Amount of posts displayed in chatbox",
+ 'CHBLAN_20' => "Chatbox Settings",
+ 'CHBLAN_22' => "Delete posts older than a certain time period",
+ 'CHBLAN_23' => "Delete posts older than",
+ 'CHBLAN_24' => "One day",
+ 'CHBLAN_25' => "One week",
+ 'CHBLAN_26' => "One month",
+ 'CHBLAN_27' => "- Delete all posts -",
+ 'CHBLAN_29' => "Display chatbox inside scrolling layer with height [x]",
+ 'CHBLAN_31' => "Show emoticons",
+ 'CHBLAN_32' => "Moderator userclass",
+ 'CHBLAN_33' => "User counts recalculated",
+ 'CHBLAN_34' => "Recalculate user post counts",
+ 'CHBLAN_35' => "Recalculate",
+ 'CHBLAN_36' => "Chatbox Display options",
+ 'CHBLAN_37' => "Normal chatbox",
+ 'CHBLAN_38' => "Use javascript code to update posts dynamically (AJAX)",
+ 'CHBLAN_42' => "Show amount of posts in user profile",
+];
diff --git a/e107_plugins/download/languages/English/English_admin.php b/e107_plugins/download/languages/English/English_admin.php
index bb84eb27f..58b270289 100644
--- a/e107_plugins/download/languages/English/English_admin.php
+++ b/e107_plugins/download/languages/English/English_admin.php
@@ -8,237 +8,162 @@
*
*/
// define("LAN_PLUGIN_DOWNLOAD_NAME", "Downloads");
-define("LAN_DL_OPTIONS", "Options"); //FIXME Use Generic
-define("LAN_DL_DOWNLOAD_OPT_GENERAL", "General");
-define("LAN_DL_DOWNLOAD_OPT_BROKEN", "Reporting");
-define("LAN_DL_DOWNLOAD_OPT_AGREE", "Agreements");
-define("LAN_DL_DOWNLOAD_OPT_SECURITY", "Protection");
-define("LAN_DL_UPLOAD", "Upload"); //FIXME Use Generic
-define("LAN_DL_USE_PHP", "Use PHP");
-define("LAN_DL_USE_PHP_INFO", "Checking this will send all download requests through PHP");
-define("LAN_DL_SUBSUB_CAT", "Show sub-sub-categories");
-define("LAN_DL_SUBSUB_CAT_INFO", "Checking this will show the sub-sub-categories on the main download page");
-define("LAN_DL_SUBSUB_COUNT", "Combine category counts");
-define("LAN_DL_SUBSUB_COUNT_INFO", "Include sub-sub-category counts in sub-category counts");
-define("LAN_DL_BROKENDOWNLOADSREPORTS", "Broken downloads reports");
-define("DOWLAN_1", "Download added to database.");
-define("DOWLAN_2", "Download updated in database.");
-// define("DOWLAN_3", "Download deleted.");
-// define("DOWLAN_4", "Please tick the confirm box to delete the download");
-define("DOWLAN_5", "There are no download categories defined yet, until you define some you cannot enter any downloads.");
-// define("DOWLAN_6", "No existing downloads");
-// define("DOWLAN_7", "Existing Downloads"); //FIXME Use Generic
-define("DOWLAN_8", "Nothing changed - not saved");
-define("DOWLAN_9", "Download detail:");
-define("DOWLAN_10", "Uploads"); //FIXME Use Generic
-define("DOWLAN_11", "Category"); //FIXME Use Generic
-define("DOWLAN_12", "Name"); //FIXME Use Generic
-define("DOWLAN_13", "File");
-// define("DOWLAN_14", "Enter address if download is an external file");
-define("DOWLAN_15", "Author"); //FIXME Use Generic
-define("DOWLAN_16", "Author Email"); //FIXME Use Generic
-define("DOWLAN_17", "Author Website");
-define("DOWLAN_18", "Description"); //FIXME Use Generic
-define("DOWLAN_19", "Main image");
-define("DOWLAN_20", "Thumbnail image");
-define("DOWLAN_21", "Status"); //FIXME Use Generic
-define("DOWLAN_22", "List uploads");
-define("DOWLAN_23", "File types");
-define("DOWLAN_24", "Update Download");
-define("DOWLAN_25", "Submit Download");
-// define("DOWLAN_26", "Uploads enabled?");
-define("DOWLAN_27", "Download");
-//define("DOWLAN_28", "None");//LAN_NONE
-define("DOWLAN_29", "Requested");
-define("DOWLAN_31", "Categories");
-define("DOWLAN_32", "Downloads");
-define("DOWLAN_33", "Are you sure you want to delete this download?"); //FIXME Use Generic
-// define("DOWLAN_34", "Are you sure you want to delete this download category?"); //FIXME Use Generic
-// define("DOWLAN_35", "Maximum file size");
-// define("DOWLAN_36", "deleted"); //FIXME Use Generic
-// define("DOWLAN_37", "Parent");
-// define("DOWLAN_38", "No existing categories");
-// define("DOWLAN_39", "Download categories");
-// define("DOWLAN_40", "None - main parent");
-// define("DOWLAN_41", "Icon"); //FIXME Use Generic
-define("DOWLAN_42", "View Images");
-define("DOWLAN_43", "Visible to");
-// define("DOWLAN_44", "Selection will make the category visible to only users in that class");
-// define("DOWLAN_45", "Create Category"); //FIXME Use Generic
-// define("DOWLAN_46", "Update Category"); //FIXME Use Generic
-// define("DOWLAN_47", "Category created"); //FIXME Use Generic
-// define("DOWLAN_48", "Category Updated"); //FIXME Use Generic
-// define("DOWLAN_49", "Download Category"); //FIXME Use Generic
-// define("DOWLAN_50", "Download Category"); //FIXME Use Generic
-// define("DOWLAN_51", "No public uploads will be permitted if disabled");
-// define("DOWLAN_52", "Files");
-// define("DOWLAN_53", "Subcategory");
-// define("DOWLAN_54", "Subcategories");
-define("DOWLAN_55", "Number of downloads to display per page");
-define("DOWLAN_56", "Sort by ");
-// define("DOWLAN_57", "Clear filters");
-// define("DOWLAN_58", "Absolute maximum upload size in bytes. Further limited by settings from php.ini, and by the settings in filetypes.xml (upload_max_filesize = %1, post_max_size = %2)");
-define("DOWLAN_59", "Filename");
-// define("DOWLAN_60", "Select to allow only certain users to upload");
-// define("DOWLAN_61", "Permissions");
-define("DOWLAN_62", "Ascending");
-define("DOWLAN_63", "Descending");
-define("DOWLAN_64", "Update Options");
-define("DOWLAN_65", "Options Updated");
-define("DOWLAN_66", "Filesize");
-//define("DOWLAN_67", "ID"); //FIXME Use Generic // LAN_ID
-define("DOWLAN_68", "File Missing!");
-// define("DOWLAN_69", "Downloads handled by PHP");
-// define("DOWLAN_70", "Checking this will send all download requests through PHP.");
-// define("DOWLAN_71", "This page helps you create a file for managing file upload permissions. The file is saved as ../e107_files/temp/filetypes_.xml, and must be copied to ../e107_admin/filetypes.xml before it takes effect.");
-// define("DOWLAN_72", "Source for values: ");
-// define("DOWLAN_73", "Userclass"); //FIXME Use Generic
-// define("DOWLAN_74", "File extensions");
-// define("DOWLAN_75", "Max upload size");
-// define("DOWLAN_76", "Delete"); //FIXME Use Generic
-// define("DOWLAN_77", "Save and generate file");
-// define("DOWLAN_78", "Date");
-// define("DOWLAN_79", "Uploader");
-// define("DOWLAN_80", "There");
-// define("DOWLAN_81", "is");
-// define("DOWLAN_82", "are");
-// define("DOWLAN_83", "unmoderated public download");
-// define("DOWLAN_84", "unmoderated public downloads");
-// define("DOWLAN_85", "This page helps you create a file for managing file upload permissions. The file is saved as --SOURCE--, and must be copied to --DEST-- before it takes effect.");
-// define("DOWLAN_86", "Settings written to ");
-// define("DOWLAN_87", "Now move this file to ");
-// define("DOWLAN_88", "Error writing file: ");
-// define("DOWLAN_90", "Add new entry");
-// define("DOWLAN_91", "Copy to download manager");
-define("DOWLAN_100", "Activate Download Agreement");
-define("DOWLAN_101", "Agreement Text");
-define("DOWLAN_102", "Allow Comments?");
-define("DOWLAN_103", "Remove from Uploads");
-define("DOWLAN_104", "was removed from public uploads");
-define("DOWLAN_105", "Back to Public Uploads");
-define("DOWLAN_106", "May be download by");
-define("DOWLAN_107", "Limit download count");
-define("DOWLAN_108", "Limit download bandwidth");
-define("DOWLAN_109", "every");
-define("DOWLAN_110", "days");
-define("DOWLAN_111", "kb"); //FIXME Use Generic
-define("DOWLAN_112", "Limits");
-define("DOWLAN_113", "Userclass"); //FIXME Use Generic
-define("DOWLAN_114", "Add New Limit");
-define("DOWLAN_115", "Update limits");
-define("DOWLAN_116", "Limit for that userclass already exists");
-define("DOWLAN_117", "Limit successfully added");
-define("DOWLAN_118", "Limit not added - unknown error");
-define("DOWLAN_119", "Limit successfully removed");
-define("DOWLAN_120", "Limit not removed - unknown error");
-define("DOWLAN_121", "Limit successfully updated");
-define("DOWLAN_122", "Inactive");
-define("DOWLAN_123", "Active - File is subject to download limits");
-define("DOWLAN_124", "Active - File is NOT subject to download limits");
-define("DOWLAN_125", "Download limits active");
-define("DOWLAN_126", "Activation status updated");
-// define("DOWLAN_127", "Only enter filesize if the download is an external file"); // TODO not used?
-define("DOWLAN_128", "Mirrors");
-define("DOWLAN_129", "leave blank if not using mirrors");
-define("DOWLAN_130", "Add another mirror");
-define("DOWLAN_131", "Select local file");
-define("DOWLAN_132", "Please enter mirror to use, then address to download and filesize");
-define("DOWLAN_133", "Mirror updated in database");
-define("DOWLAN_134", "Mirror saved in database");
-define("DOWLAN_135", "Mirror deleted");
-define("DOWLAN_136", "image");
-define("DOWLAN_137", "Are you sure you want to delete this mirror?");
-define("DOWLAN_138", "Existing Mirrors");
-define("DOWLAN_139", "Address");
-define("DOWLAN_140", "Upload local images to e107_files/downloadimages to show them here, or enter full address if image is remote");
-define("DOWLAN_141", "Location");
-define("DOWLAN_142", "Update Mirror");
-define("DOWLAN_143", "Create Mirror");
-define("DOWLAN_144", "No mirrors defined in mirror section.");
-define("DOWLAN_145", "Download visible to");
-define("DOWLAN_146", "Custom Download-denial message or URL");
-// define("DOWLAN_147", "Icon for empty category");
-define("DOWLAN_148", "Check to update date stamp to current time");
-define("DOWLAN_149", "URL"); //FIXME Use Generic
-//define("DOWLAN_150", "Email admin when broken download reported");
-define("DOWLAN_151", "Broken-download reporting available to");
-define("DOWLAN_152", "Couldn't move file");
-define("DOWLAN_153", "Move file into download folder");
-define("DOWLAN_154", "if using mirrors, select how they will be displayed");
-define("DOWLAN_155", "Mirror display type:");
-define("DOWLAN_156", "show mirror list, allow user to choose mirror");
-define("DOWLAN_157", "use random mirror - no user choice");
-// define("DOWLAN_158", "Show sub-sub-categories on main download page");
-// define("DOWLAN_159", "Include sub-sub-category counts in subcategory counts");
-define("DOWLAN_160", "Mirror list order");
-define("DOWLAN_161", "Random");
-// define("DOWLAN_162", "Copy to newspost");
-
-define("DOWLAN_164", "Recent downloads age (in days)");
-define("DOWLAN_165", "Download Maintenance");
-define("DOWLAN_166", "Duplicates");
-define("DOWLAN_167", "Orphans");
-define("DOWLAN_168", "Missing");
-define("DOWLAN_169", "Inactive");
-
-define("DOWLAN_171", "Log");
-define("DOWLAN_172", "No entries");
-define("DOWLAN_173", "Are you sure you want to delete this file?");
-define("DOWLAN_174", "No orphaned files found");
-define("DOWLAN_175", "Local");
-define("DOWLAN_176", "External");
-// define("DOWLAN_177", "Maintenance options");
-define("DOWLAN_178", "No category");
-define("DOWLAN_179", "Select an option from the Maintenance Options menu");
-define("DOWLAN_180", "File size (database/disk)");
-define("DOWLAN_181", "Not readable");
-define("DOWLAN_182", "Timestamp");
-// define("DOWLAN_183", "Advanced search");
-// define("DOWLAN_184", "");
-define("DOWLAN_185", "Files referenced multiple times in the database");
-define("DOWLAN_186", "Files not referenced in the database");
-define("DOWLAN_187", "Database entries referencing non-existent files");
-define("DOWLAN_188", "Database entries marked as inactive");
-define("DOWLAN_189", "Database entires not associated with a category");
-define("DOWLAN_190", "Size differences between database entry and the file itself");
-define("DOWLAN_191", "Downloads log entries");
-define("DOWLAN_192", "Execute selected option");
-define("DOWLAN_193", "Select option");
-// define("DOWLAN_194", "Search"); //FIXME Use Generic
-define("DOWLAN_195", "Mirror type");
-define("DOWLAN_196", "list"); //FIXME Use Generic
-define("DOWLAN_197", "random");
-// define("DOWLAN_198", "Filter"); //FIXME Use Generic
-define("DOWLAN_199", "Submitted by");
-
-// define('DOWLAN_FP_01', 'Front page');
-// define('DOWLAN_FP_02', 'Category list');
-
-
-define("DOWLAN_HELP_1", "Help");
-define("DOWLAN_HELP_2", "
Create/edit a download.
Enter only one of: File, URL or Mirror.
Ensure you select a category, otherwise your download will not be visible on the downloads page.
"); -define("DOWLAN_HELP_3", "Help for cat"); -define("DOWLAN_HELP_4", "Help for opt"); -define("DOWLAN_HELP_5", "Use the maintenance pages to find duplicate downloads, find orphaned files, find missing (broken) entries, manage inactive downloads, refresh file sizes and view the downlaod log."); -define("DOWLAN_HELP_6", "Help for limits"); -define("DOWLAN_HELP_7", "Help for mirror"); -define("DOWLAN_HELP_8", "Help for upload list"); -define("DOWLAN_HELP_9", "Help for upload types"); -define("DOWLAN_HELP_10", "Help for upload options"); - -define("DOWLAN_HELP_11", "Click the 'delete' button to delete the report.[br][br]Click the 'view' button to manage the download.[br][br]To be notified of any new reports, please see to the [notify settings]."); - -// define("DOWLAN_INSTALL_DONE", "Your download plugin is now installed"); -// define("DOWLAN_DESCRIPTION", "This plugin is a fully featured Download system"); -// define("DOWLAN_CAPTION", "Configure Download"); - -define("LAN_DL_SECURITY_DESCRIPTION", "Downloads can make use of server-side URL protection features to prevent hotlinking and/or enforce link expiry. This section should be configured before the download server is configured to reduce the chance of disruption to downloaders."); -define("LAN_DL_SECURITY_MODE", "URL protection mode"); -define("LAN_DL_SECURITY_MODE_NONE", "None (Default)"); -define("LAN_DL_SECURITY_MODE_NGINX_SECURELINKMD5", "NGINX secure_link_md5"); -define("LAN_DL_SECURITY_NGINX_SUPPORTED_VARIABLES_TOGGLE", "Click to toggle list of supported NGINX variables"); -define("LAN_DL_SECURITY_NGINX_SECURELINKMD5_EXPRESSION", "[NGINX secure_link_md5 expression]"); -define("LAN_DL_SECURITY_NGINX_SECURELINKMD5_EXPRESSION_HELP", "Same expression as configured on the server"); -define("LAN_DL_SECURITY_LINK_EXPIRY", "Duration of validity in seconds"); -define("LAN_DL_SECURITY_LINK_EXPIRY_HELP", "Number of seconds the download link should last after being generated. Only effective if the expression supports expiry time. Defaults to a very long time if this field is left blank."); \ No newline at end of file +return [ + 'LAN_DL_OPTIONS' => "Options", + 'LAN_DL_DOWNLOAD_OPT_GENERAL' => "General", + 'LAN_DL_DOWNLOAD_OPT_BROKEN' => "Reporting", + 'LAN_DL_DOWNLOAD_OPT_AGREE' => "Agreements", + 'LAN_DL_DOWNLOAD_OPT_SECURITY' => "Protection", + 'LAN_DL_UPLOAD' => "Upload", + 'LAN_DL_USE_PHP' => "Use PHP", + 'LAN_DL_USE_PHP_INFO' => "Checking this will send all download requests through PHP", + 'LAN_DL_SUBSUB_CAT' => "Show sub-sub-categories", + 'LAN_DL_SUBSUB_CAT_INFO' => "Checking this will show the sub-sub-categories on the main download page", + 'LAN_DL_SUBSUB_COUNT' => "Combine category counts", + 'LAN_DL_SUBSUB_COUNT_INFO' => "Include sub-sub-category counts in sub-category counts", + 'LAN_DL_BROKENDOWNLOADSREPORTS' => "Broken downloads reports", + 'DOWLAN_1' => "Download added to database.", + 'DOWLAN_2' => "Download updated in database.", + 'DOWLAN_5' => "There are no download categories defined yet, until you define some you cannot enter any downloads.", + 'DOWLAN_8' => "Nothing changed - not saved", + 'DOWLAN_9' => "Download detail:", + 'DOWLAN_10' => "Uploads", + 'DOWLAN_11' => "Category", + 'DOWLAN_12' => "Name", + 'DOWLAN_13' => "File", + 'DOWLAN_15' => "Author", + 'DOWLAN_16' => "Author Email", + 'DOWLAN_17' => "Author Website", + 'DOWLAN_18' => "Description", + 'DOWLAN_19' => "Main image", + 'DOWLAN_20' => "Thumbnail image", + 'DOWLAN_21' => "Status", + 'DOWLAN_22' => "List uploads", + 'DOWLAN_23' => "File types", + 'DOWLAN_24' => "Update Download", + 'DOWLAN_25' => "Submit Download", + 'DOWLAN_27' => "Download", + 'DOWLAN_29' => "Requested", + 'DOWLAN_31' => "Categories", + 'DOWLAN_32' => "Downloads", + 'DOWLAN_33' => "Are you sure you want to delete this download?", + 'DOWLAN_42' => "View Images", + 'DOWLAN_43' => "Visible to", + 'DOWLAN_55' => "Number of downloads to display per page", + 'DOWLAN_56' => "Sort by", + 'DOWLAN_59' => "Filename", + 'DOWLAN_62' => "Ascending", + 'DOWLAN_63' => "Descending", + 'DOWLAN_64' => "Update Options", + 'DOWLAN_65' => "Options Updated", + 'DOWLAN_66' => "Filesize", + 'DOWLAN_68' => "File Missing!", + 'DOWLAN_100' => "Activate Download Agreement", + 'DOWLAN_101' => "Agreement Text", + 'DOWLAN_102' => "Allow Comments?", + 'DOWLAN_103' => "Remove from Uploads", + 'DOWLAN_104' => "was removed from public uploads", + 'DOWLAN_105' => "Back to Public Uploads", + 'DOWLAN_106' => "May be download by", + 'DOWLAN_107' => "Limit download count", + 'DOWLAN_108' => "Limit download bandwidth", + 'DOWLAN_109' => "every", + 'DOWLAN_110' => "days", + 'DOWLAN_111' => "kb", + 'DOWLAN_112' => "Limits", + 'DOWLAN_113' => "Userclass", + 'DOWLAN_114' => "Add New Limit", + 'DOWLAN_115' => "Update limits", + 'DOWLAN_116' => "Limit for that userclass already exists", + 'DOWLAN_117' => "Limit successfully added", + 'DOWLAN_118' => "Limit not added - unknown error", + 'DOWLAN_119' => "Limit successfully removed", + 'DOWLAN_120' => "Limit not removed - unknown error", + 'DOWLAN_121' => "Limit successfully updated", + 'DOWLAN_122' => "Inactive", + 'DOWLAN_123' => "Active - File is subject to download limits", + 'DOWLAN_124' => "Active - File is NOT subject to download limits", + 'DOWLAN_125' => "Download limits active", + 'DOWLAN_126' => "Activation status updated", + 'DOWLAN_128' => "Mirrors", + 'DOWLAN_129' => "leave blank if not using mirrors", + 'DOWLAN_130' => "Add another mirror", + 'DOWLAN_131' => "Select local file", + 'DOWLAN_132' => "Please enter mirror to use, then address to download and filesize", + 'DOWLAN_133' => "Mirror updated in database", + 'DOWLAN_134' => "Mirror saved in database", + 'DOWLAN_135' => "Mirror deleted", + 'DOWLAN_136' => "image", + 'DOWLAN_137' => "Are you sure you want to delete this mirror?", + 'DOWLAN_138' => "Existing Mirrors", + 'DOWLAN_139' => "Address", + 'DOWLAN_140' => "Upload local images to e107_files/downloadimages to show them here, or enter full address if image is remote", + 'DOWLAN_141' => "Location", + 'DOWLAN_142' => "Update Mirror", + 'DOWLAN_143' => "Create Mirror", + 'DOWLAN_144' => "No mirrors defined in mirror section.", + 'DOWLAN_145' => "Download visible to", + 'DOWLAN_146' => "Custom Download-denial message or URL", + 'DOWLAN_148' => "Check to update date stamp to current time", + 'DOWLAN_149' => "URL", + 'DOWLAN_151' => "Broken-download reporting available to", + 'DOWLAN_152' => "Couldn't move file", + 'DOWLAN_153' => "Move file into download folder", + 'DOWLAN_154' => "if using mirrors, select how they will be displayed", + 'DOWLAN_155' => "Mirror display type:", + 'DOWLAN_156' => "show mirror list, allow user to choose mirror", + 'DOWLAN_157' => "use random mirror - no user choice", + 'DOWLAN_160' => "Mirror list order", + 'DOWLAN_161' => "Random", + 'DOWLAN_164' => "Recent downloads age (in days)", + 'DOWLAN_165' => "Download Maintenance", + 'DOWLAN_166' => "Duplicates", + 'DOWLAN_167' => "Orphans", + 'DOWLAN_168' => "Missing", + 'DOWLAN_169' => "Inactive", + 'DOWLAN_171' => "Log", + 'DOWLAN_172' => "No entries", + 'DOWLAN_173' => "Are you sure you want to delete this file?", + 'DOWLAN_174' => "No orphaned files found", + 'DOWLAN_175' => "Local", + 'DOWLAN_176' => "External", + 'DOWLAN_178' => "No category", + 'DOWLAN_179' => "Select an option from the Maintenance Options menu", + 'DOWLAN_180' => "File size (database/disk)", + 'DOWLAN_181' => "Not readable", + 'DOWLAN_182' => "Timestamp", + 'DOWLAN_185' => "Files referenced multiple times in the database", + 'DOWLAN_186' => "Files not referenced in the database", + 'DOWLAN_187' => "Database entries referencing non-existent files", + 'DOWLAN_188' => "Database entries marked as inactive", + 'DOWLAN_189' => "Database entires not associated with a category", + 'DOWLAN_190' => "Size differences between database entry and the file itself", + 'DOWLAN_191' => "Downloads log entries", + 'DOWLAN_192' => "Execute selected option", + 'DOWLAN_193' => "Select option", + 'DOWLAN_195' => "Mirror type", + 'DOWLAN_196' => "list", + 'DOWLAN_197' => "random", + 'DOWLAN_199' => "Submitted by", + 'DOWLAN_HELP_1' => "Help", + 'DOWLAN_HELP_2' => "Create/edit a download.
Enter only one of: File, URL or Mirror.
Ensure you select a category, otherwise your download will not be visible on the downloads page.
", + 'DOWLAN_HELP_3' => "Help for cat", + 'DOWLAN_HELP_4' => "Help for opt", + 'DOWLAN_HELP_5' => "Use the maintenance pages to find duplicate downloads, find orphaned files, find missing (broken) entries, manage inactive downloads, refresh file sizes and view the downlaod log.", + 'DOWLAN_HELP_6' => "Help for limits", + 'DOWLAN_HELP_7' => "Help for mirror", + 'DOWLAN_HELP_8' => "Help for upload list", + 'DOWLAN_HELP_9' => "Help for upload types", + 'DOWLAN_HELP_10' => "Help for upload options", + 'DOWLAN_HELP_11' => "Click the 'delete' button to delete the report.[br][br]Click the 'view' button to manage the download.[br][br]To be notified of any new reports, please see to the [notify settings].", + 'LAN_DL_SECURITY_DESCRIPTION' => "Downloads can make use of server-side URL protection features to prevent hotlinking and/or enforce link expiry. This section should be configured before the download server is configured to reduce the chance of disruption to downloaders.", + 'LAN_DL_SECURITY_MODE' => "URL protection mode", + 'LAN_DL_SECURITY_MODE_NONE' => "None (Default)", + 'LAN_DL_SECURITY_MODE_NGINX_SECURELINKMD5' => "NGINX secure_link_md5", + 'LAN_DL_SECURITY_NGINX_SUPPORTED_VARIABLES_TOGGLE' => "Click to toggle list of supported NGINX variables", + 'LAN_DL_SECURITY_NGINX_SECURELINKMD5_EXPRESSION' => "[NGINX secure_link_md5 expression]", + 'LAN_DL_SECURITY_NGINX_SECURELINKMD5_EXPRESSION_HELP' => "Same expression as configured on the server", + 'LAN_DL_SECURITY_LINK_EXPIRY' => "Duration of validity in seconds", + 'LAN_DL_SECURITY_LINK_EXPIRY_HELP' => "Number of seconds the download link should last after being generated. Only effective if the expression supports expiry time. Defaults to a very long time if this field is left blank.", +]; diff --git a/e107_plugins/download/languages/English/English_front.php b/e107_plugins/download/languages/English/English_front.php index 7bc36d10c..943ad1cfb 100644 --- a/e107_plugins/download/languages/English/English_front.php +++ b/e107_plugins/download/languages/English/English_front.php @@ -6,94 +6,42 @@ * */ -define("LAN_dl_1", "(Restricted)"); -//define("LAN_dl_2", "No downloads yet, please check back soon");//LAN_NO_RECORDS_FOUND -//define("LAN_dl_3", "No downloads in this category yet");//LAN_NO_RECORDS_FOUND -define("LAN_dl_4", "Files available: "); -define("LAN_dl_5", "Total size of files: "); -define("LAN_dl_6", "Files downloaded: "); -//define("LAN_dl_7", "Description"); // LAN_DESCRIPTION -define("LAN_dl_8", "Get"); -define("LAN_dl_9", "Return to Category List"); -//define("LAN_dl_10", "Filesize");//LAN_SIZE -//define("LAN_dl_11", "Image"); //FIXME Use Generic LAN_IMAGE -//define("LAN_dl_12", "Rating");//LAN_RATING -define("LAN_dl_13", "Not rated"); -define("LAN_dl_14", "Rate this download"); -//define("LAN_dl_15", "Thanks for rating");LAN_THANK_YOU -define("LAN_dl_16", "download(s) from"); -//define("LAN_dl_17", "files"); //LAN_FILES -// define("LAN_dl_18", "Downloads"); -//define("LAN_dl_19", "Category"); //FIXME Use Generic LAN_CATEGORY -//define("LAN_dl_20", "Files"); LAN_FILES -//define("LAN_dl_21", "Size"); LAN_SIZE -//define("LAN_dl_22", "Date"); //FIXME Use Generic LAN_DATE -//define("LAN_dl_23", "Filename"); //LAN_FILE -//define("LAN_dl_24", "Author"); //FIXME Use Generic LAN_AUTHOR -//define("LAN_dl_25", "Ascending");LAN_ASCENDING -//define("LAN_dl_26", "Descending");LAN_DESCENDING -// define("LAN_dl_27", "Go"); -//define("LAN_dl_28", "Name"); //FIXME Use Generic LAN_NAME -define("LAN_dl_29", "DL's"); -define("LAN_dl_30", "Author email"); -define("LAN_dl_31", "Author website"); -//define("LAN_dl_32", "Download");//LAN_DOWNLOAD -// define("LAN_dl_33", "Previous"); -// define("LAN_dl_34", "Next"); -//define("LAN_dl_35", "Back to list"); //FIXME Use Generic LAN_BACK -define("LAN_dl_36", "New downloads"); - -//define("LAN_dl_37", "View"); //FIXME Use Generic LAN_VIEW -//define("LAN_dl_38", "Order by"); //LAN_ORDER_BY -//define("LAN_dl_39", "Sort"); //FIXME Use Generic //LAN_SORT - -define("LAN_dl_40", "Click here for screenshot"); -//define("LAN_dl_41", "Search Downloads");//LAN_SEARCH - -//define("LAN_dl_42", "Sub-category");//usage not found -define("LAN_dl_43", "vote"); -define("LAN_dl_44", "votes"); -define("LAN_dl_45", "Report broken download"); -define("LAN_dl_46", "click here to download"); - -define("LAN_dl_47", "Post has been reported"); -define("LAN_dl_48", "Download has been reported to administrator. Thank you."); -define("LAN_dl_49", "Click here to return to download"); -//define("LAN_dl_50", "Broken download reported"); -//define("LAN_dl_51", "Reporting download: "); -//define("LAN_dl_52", "Guest");//LAN_GUEST -define("LAN_dl_53", "Click to view download"); -define("LAN_dl_54", "An administrator will be made aware of this download, please leave a message if you feel it necessary."); -define("LAN_dl_55", "Do not use this form to contact the admin for any other reason."); -// define("LAN_dl_56", "Report broken download"); already defined above. -//define("LAN_dl_57", "reported by"); -//define("LAN_dl_58", "The following download has been reported as broken from site"); -//define("LAN_dl_59", "Reported by: "); -//define("LAN_dl_60", "Broken download report from"); - -//define("LAN_dl_61", "Download Error"); //LAN_ERROR -define("LAN_dl_62", "You have been prevented from downloading this file; you have exceeded your download quota"); -define("LAN_dl_63", "You do not have the correct permissions to download this file."); -// define("LAN_dl_64", "Back"); -//define("LAN_dl_65", "File Not Found");LAN_FILE_NOT_FOUND - -define("LAN_dl_66", "Select download mirror"); - -define("LAN_dl_67", "Select mirror ..."); -define("LAN_dl_68", "Mirror Host"); -// define("LAN_dl_69", "Download"); // duplicate -//define("LAN_dl_70", "Location"); // LAN_LOCATION -//define("LAN_dl_71", "About"); //LAN_ABOUT - -define("LAN_dl_72", "Requesting file: "); -define("LAN_dl_73", "Downloads from this mirror: "); -define("LAN_dl_74", "Total downloads from this mirror: "); - -define("LAN_dl_75", "no image available "); -//define("LAN_dl_76", "Go to page"); //FIXME Use Generic -define("LAN_dl_77", "Downloads"); // Intentional duplicate - some languages need it to be different. This is for number of downloads - -define('LAN_dl_78', "That download has been disabled or discontinued. Please check in the [downloads area] for a more recent version."); -define("LAN_dl_79", "You do not have the correct permissions to report this download item as broken."); - +return [ + 'LAN_dl_1' => "(Restricted)", + 'LAN_dl_4' => "Files available:", + 'LAN_dl_5' => "Total size of files:", + 'LAN_dl_6' => "Files downloaded:", + 'LAN_dl_8' => "Get", + 'LAN_dl_9' => "Return to Category List", + 'LAN_dl_13' => "Not rated", + 'LAN_dl_14' => "Rate this download", + 'LAN_dl_16' => "download(s) from", + 'LAN_dl_29' => "DL's", + 'LAN_dl_30' => "Author email", + 'LAN_dl_31' => "Author website", + 'LAN_dl_36' => "New downloads", + 'LAN_dl_40' => "Click here for screenshot", + 'LAN_dl_43' => "vote", + 'LAN_dl_44' => "votes", + 'LAN_dl_45' => "Report broken download", + 'LAN_dl_46' => "click here to download", + 'LAN_dl_47' => "Post has been reported", + 'LAN_dl_48' => "Download has been reported to administrator. Thank you.", + 'LAN_dl_49' => "Click here to return to download", + 'LAN_dl_53' => "Click to view download", + 'LAN_dl_54' => "An administrator will be made aware of this download, please leave a message if you feel it necessary.", + 'LAN_dl_55' => "Do not use this form to contact the admin for any other reason.", + 'LAN_dl_62' => "You have been prevented from downloading this file; you have exceeded your download quota", + 'LAN_dl_63' => "You do not have the correct permissions to download this file.", + 'LAN_dl_66' => "Select download mirror", + 'LAN_dl_67' => "Select mirror ...", + 'LAN_dl_68' => "Mirror Host", + 'LAN_dl_72' => "Requesting file:", + 'LAN_dl_73' => "Downloads from this mirror:", + 'LAN_dl_74' => "Total downloads from this mirror:", + 'LAN_dl_75' => "no image available", + 'LAN_dl_77' => "Downloads", + 'LAN_dl_78' => "That download has been disabled or discontinued. Please check in the [downloads area] for a more recent version.", + 'LAN_dl_79' => "You do not have the correct permissions to report this download item as broken.", +]; diff --git a/e107_plugins/download/languages/English/English_global.php b/e107_plugins/download/languages/English/English_global.php index 669053c9f..7f08563f5 100644 --- a/e107_plugins/download/languages/English/English_global.php +++ b/e107_plugins/download/languages/English/English_global.php @@ -1,13 +1,12 @@ "Downloads", + 'LAN_PLUGIN_DOWNLOAD_DIZ' => "This plugin is a fully featured File-download system", + 'LAN_DL_NT_01' => "Broken download reported", + 'LAN_DL_NT_02' => "The following download has been reported as broken:", + 'LAN_DL_NT_03' => "It was reported by [x] with the following comments:", + 'LAN_DL_NT_04' => "Click [here] to view the broken download reports.", + 'LAN_DL_LATEST_01' => "Reported broken downloads", +]; diff --git a/e107_plugins/download/languages/English/English_log.php b/e107_plugins/download/languages/English/English_log.php index b339452c1..a9920f6f0 100644 --- a/e107_plugins/download/languages/English/English_log.php +++ b/e107_plugins/download/languages/English/English_log.php @@ -2,7 +2,7 @@ /* * e107 website system * - * Copyright (C) 2008-2013 e107 Inc (e107.org) + * Copyright (C) 2008-2025 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * @@ -25,14 +25,17 @@ */ // TODO: Some message meanings not currently known -define("LAN_AL_DOWNL_01", "Downloads - download options changed"); -define("LAN_AL_DOWNL_02", "Downloads - upload options changed"); -define("LAN_AL_DOWNL_03", "Downloads - limit added"); -define("LAN_AL_DOWNL_04", "Downloads - log 04"); -define("LAN_AL_DOWNL_05", "Downloads - log 05"); -define("LAN_AL_DOWNL_06", "Downloads - log 06"); -define("LAN_AL_DOWNL_07", "Downloads - log 07"); -define("LAN_AL_DOWNL_08", "Downloads - log 08"); -define("LAN_AL_DOWNL_09", "Downloads - log 09"); -define("LAN_AL_DOWNL_10", "Downloads - limit updated"); -define("LAN_AL_DOWNL_11", "Downloads - limit removed"); + +return [ + 'LAN_AL_DOWNL_01' => "Downloads - download options changed", + 'LAN_AL_DOWNL_02' => "Downloads - upload options changed", + 'LAN_AL_DOWNL_03' => "Downloads - limit added", + 'LAN_AL_DOWNL_04' => "Downloads - log 04", + 'LAN_AL_DOWNL_05' => "Downloads - log 05", + 'LAN_AL_DOWNL_06' => "Downloads - log 06", + 'LAN_AL_DOWNL_07' => "Downloads - log 07", + 'LAN_AL_DOWNL_08' => "Downloads - log 08", + 'LAN_AL_DOWNL_09' => "Downloads - log 09", + 'LAN_AL_DOWNL_10' => "Downloads - limit updated", + 'LAN_AL_DOWNL_11' => "Downloads - limit removed", +]; diff --git a/e107_plugins/faqs/languages/English/English_admin.php b/e107_plugins/faqs/languages/English/English_admin.php index 2aaa1ffd9..d213e7b87 100644 --- a/e107_plugins/faqs/languages/English/English_admin.php +++ b/e107_plugins/faqs/languages/English/English_admin.php @@ -1,53 +1,51 @@ "Question", + 'LANA_FAQ_QUESTIONS' => "Questions", + 'LANA_FAQ_ANSWER' => "Answer", + 'LANA_FAQ_UNANSWERED' => "Unanswered", + 'LANA_FAQ_COMMENT' => "Comment Class", + 'LANA_FAQ_ULOGINNAME' => "User login", + 'LANA_FAQ_TAGS' => "Tags", + 'LANA_FAQ_TAGS_HELP' => "Comma separated tag list", + 'LANA_FAQ_METAK' => "Meta Keywords", + 'LANA_FAQ_PREF_1' => "Allow submitting of FAQs by:", + 'LANA_FAQ_PREF_2' => "'Ask a Question' is limited to", + 'LANA_FAQ_PREF_3' => "Use Classic Layout", + 'LANA_FAQ_PREF_4' => "'Ask a Question' limit per user", + 'LANA_FAQ_PREF_5' => "'Ask a Question' character limit", + 'LANA_FAQ_PREF_6' => "'Ask a Question' limited to", + 'LANA_FAQ_PREF_7' => "Submitted Questions Acknowledgement", + 'LANA_FAQ_PREF_8' => "List Type", + 'LANA_FAQ_PREF_9' => "Unordered List", + 'LANA_FAQ_PREF_10' => "Ordered List", + 'LANA_FAQ_PREF_11' => "Page Title", + 'LANA_FAQ_PREF_12' => "'New' FAQs are no more than", + 'LANA_FAQ_PREF_13' => "Display FAQ total", + 'LANA_FAQ_PREF_14' => "Display Datestamp", + 'LANA_FAQ_PREF_15' => "Display Social buttons", + 'LANA_FAQ_PREF_16' => "Specified Order", + 'LANA_FAQ_PREF_17' => "All Languages", + 'LANA_FAQ_PREF_18' => "Ascending by ID", + 'LANA_FAQ_PREF_19' => "Descending by ID", + 'LANA_FAQ_PREF_20' => "Ascending by Date", + 'LANA_FAQ_PREF_21' => "Descending by Date", + 'LANA_FAQ_PREF_22' => "Manage Questions", + 'LANA_FAQ_PREF_23' => "Manage Categories", + 'LANA_FAQ_PREF_24' => "Ask a Question: character min length", + 'LANA_FAQ_PREF_HELP_1' => "0 = no limit", + 'LANA_FAQ_PREF_HELP_2' => "Leave blank to use default", + 'LANA_FAQ_CRON_1' => "Unanswered Questions Report", + 'LANA_FAQ_CRON_2' => "Mails a report of unanswered questions to [x].", + 'LANA_FAQ_CRON_3' => "[x] Unanswered Questions at [y]", + 'LANA_FAQ_CRON_4' => "Please login to your site to review and answer these questions using the link below.", + 'LANA_FAQ_CRON_5' => "The [x] most recent questions are displayed below.", + 'LANA_FAQ_CRON_6' => "[x] Unanswered Question as of [y].", +]; diff --git a/e107_plugins/faqs/languages/English/English_front.php b/e107_plugins/faqs/languages/English/English_front.php index 9cce0507f..88c3e6926 100644 --- a/e107_plugins/faqs/languages/English/English_front.php +++ b/e107_plugins/faqs/languages/English/English_front.php @@ -10,19 +10,22 @@ * */ -define("LAN_FAQS_001", "Tags"); -define("LAN_FAQS_002", "Filter"); -define("LAN_FAQS_003", "There are currently no FAQs available."); -define("LAN_FAQS_004", "Thank you. Your question has been saved and will be answered as soon as possible."); -define("LAN_FAQS_005", "You have reached the maximum number of new questions. You may ask more once your existing questions have been answered."); -define("LAN_FAQS_006", "Remove"); -define("LAN_FAQS_007", "Reset"); -define("LAN_FAQS_008", "[x]: Not found in search results."); -define("LAN_FAQS_009", "moderate comments"); -define("LAN_FAQS_010", "Back to Categories"); -define("LAN_FAQS_011", "FAQ"); -define("LAN_FAQS_012", "Enter your question here..."); -define("LAN_FAQS_013", "character limit"); -define("LAN_FAQS_014", "Please [register] and/or login to post a question."); -define("LAN_FAQS_015", "Not permitted."); -define("LAN_FAQS_016", "You have requested answers to the following questions:"); + +return [ + 'LAN_FAQS_001' => "Tags", + 'LAN_FAQS_002' => "Filter", + 'LAN_FAQS_003' => "There are currently no FAQs available.", + 'LAN_FAQS_004' => "Thank you. Your question has been saved and will be answered as soon as possible.", + 'LAN_FAQS_005' => "You have reached the maximum number of new questions. You may ask more once your existing questions have been answered.", + 'LAN_FAQS_006' => "Remove", + 'LAN_FAQS_007' => "Reset", + 'LAN_FAQS_008' => "[x]: Not found in search results.", + 'LAN_FAQS_009' => "moderate comments", + 'LAN_FAQS_010' => "Back to Categories", + 'LAN_FAQS_011' => "FAQ", + 'LAN_FAQS_012' => "Enter your question here...", + 'LAN_FAQS_013' => "character limit", + 'LAN_FAQS_014' => "Please [register] and/or login to post a question.", + 'LAN_FAQS_015' => "Not permitted.", + 'LAN_FAQS_016' => "You have requested answers to the following questions:", +]; diff --git a/e107_plugins/faqs/languages/English/English_global.php b/e107_plugins/faqs/languages/English/English_global.php index cc49dc52a..156c2d7b5 100644 --- a/e107_plugins/faqs/languages/English/English_global.php +++ b/e107_plugins/faqs/languages/English/English_global.php @@ -1,16 +1,17 @@ "FAQs", + 'LAN_PLUGIN_FAQS_DESCRIPTION' => "A simple plugin to add Frequently Asked Questions to your website.", + 'LAN_PLUGIN_FAQS_FUNCTIONNAME' => "FAQ Categories", + 'LAN_PLUGIN_FAQS_FRONT_NAME' => "FAQ (Frequently Asked Questions)", + 'LAN_PLUGIN_FAQS_SEARCH' => "FAQ Search", + 'LAN_FAQS_ASK_A_QUESTION' => "Ask a Question", +]; diff --git a/e107_plugins/featurebox/languages/English_admin_featurebox.php b/e107_plugins/featurebox/languages/English_admin_featurebox.php index 22c2c4073..b05bcdea5 100644 --- a/e107_plugins/featurebox/languages/English_admin_featurebox.php +++ b/e107_plugins/featurebox/languages/English_admin_featurebox.php @@ -20,39 +20,25 @@ LAN file needs working from scratch after development is stabilized //define("FBLAN_05", "No feature box messages defined yet"); //define("FBLAN_06", "Existing Feature Box Messages"); //FIXME LAN - use generic. //define("FBLAN_07", "Title / Caption"); //FIXME LAN - use generic. -define("FBLAN_08", "Message text"); -//define("FBLAN_09", "Visibility of message"); -//define("FBLAN_10", "Create Feature Box Message"); //FIXME LAN - use generic. -//define("FBLAN_11", "Update Feature Box Message"); //FIXME LAN - use generic. -define("FBLAN_12", "Mode"); -define("FBLAN_13", "Randomly revolve messages"); -define("FBLAN_14", "Show this message only"); -//define("FBLAN_15", "Message added to database."); //FIXME LAN - use generic. -//define("FBLAN_16", "Message updated in database."); //FIXME LAN - use generic. -//define("FBLAN_17", "Field(s) left blank"); -//define("FBLAN_18", "Feature Box Message deleted"); //FIXME LAN - use generic. -//define("FBLAN_19", "Options"); //FIXME LAN - use generic. -//define("FBLAN_20", "Edit"); //FIXME LAN - use generic. -//define("FBLAN_21", "Delete"); //FIXME LAN - use generic. -define("FBLAN_22", "Render type"); -define("FBLAN_23", "In theme box"); -define("FBLAN_24", "Plain"); -define("FBLAN_25", "There are no featurebox items assigned to the [x] template."); -define("FBLAN_26", "Image/Video"); -define("FBLAN_27", "Image Link"); -define("FBLAN_28", "Featurebox Menu Category"); -define("FBLAN_29", "Category to use for the featurebox menu"); -define("FBLAN_30", "Category template"); -define("FBLAN_31", "Random"); -define("FBLAN_32", "Parameters (optional)"); -define("FBLAN_33", "Optional Javascript Parameters (format subject to change)"); - - -// Install/uninstall messages - -define("FBLAN_34", "Unassigned"); -define("FBLAN_35", "Carousel"); -define("FBLAN_36", "Tabs"); - - +return [ + 'FBLAN_08' => "Message text", + 'FBLAN_12' => "Mode", + 'FBLAN_13' => "Randomly revolve messages", + 'FBLAN_14' => "Show this message only", + 'FBLAN_22' => "Render type", + 'FBLAN_23' => "In theme box", + 'FBLAN_24' => "Plain", + 'FBLAN_25' => "There are no featurebox items assigned to the [x] template.", + 'FBLAN_26' => "Image/Video", + 'FBLAN_27' => "Image Link", + 'FBLAN_28' => "Featurebox Menu Category", + 'FBLAN_29' => "Category to use for the featurebox menu", + 'FBLAN_30' => "Category template", + 'FBLAN_31' => "Random", + 'FBLAN_32' => "Parameters (optional)", + 'FBLAN_33' => "Optional Javascript Parameters (format subject to change)", + 'FBLAN_34' => "Unassigned", + 'FBLAN_35' => "Carousel", + 'FBLAN_36' => "Tabs", +]; diff --git a/e107_plugins/featurebox/languages/English_global.php b/e107_plugins/featurebox/languages/English_global.php index 3e3530f42..72de23d57 100644 --- a/e107_plugins/featurebox/languages/English_global.php +++ b/e107_plugins/featurebox/languages/English_global.php @@ -6,8 +6,10 @@ * Featurebox global language defines */ -define("LAN_PLUGIN_FEATUREBOX_NAME", "Feature Box"); -define("LAN_PLUGIN_FEATUREBOX_DESCRIPTION", "Displays an animated area on the top of your page with news-items and other content you would like to feature."); -define("LAN_PLUGIN_FEATUREBOX_BATCH", "Create Featurebox Item"); -define("LAN_PLUGIN_FEATUREBOX_RSSFEED", "This is the rss feed for the featurebox entries."); \ No newline at end of file +return [ + 'LAN_PLUGIN_FEATUREBOX_NAME' => "Feature Box", + 'LAN_PLUGIN_FEATUREBOX_DESCRIPTION' => "Displays an animated area on the top of your page with news-items and other content you would like to feature.", + 'LAN_PLUGIN_FEATUREBOX_BATCH' => "Create Featurebox Item", + 'LAN_PLUGIN_FEATUREBOX_RSSFEED' => "This is the rss feed for the featurebox entries.", +]; diff --git a/e107_plugins/gallery/languages/English/English_admin.php b/e107_plugins/gallery/languages/English/English_admin.php index d2678dd88..8a48887a1 100644 --- a/e107_plugins/gallery/languages/English/English_admin.php +++ b/e107_plugins/gallery/languages/English/English_admin.php @@ -9,78 +9,75 @@ * Language file for "gallery" plugin. */ -define("LAN_GALLERY_ADMIN_01", "[x] is active. Simply import and assign images to the gallery categories using the [y]"); -//define("LAN_GALLERY_ADMIN_02", "General");//LAN_GENERAL -define("LAN_GALLERY_ADMIN_03", "Slideshow Menu"); -define("LAN_GALLERY_ADMIN_04", "Image Max. Width"); -define("LAN_GALLERY_ADMIN_05", "Images will be auto-resized if greater than the width given here"); -define("LAN_GALLERY_ADMIN_06", "Image Max. Height"); -define("LAN_GALLERY_ADMIN_07", "Images will be auto-resized if greater than the height given here"); -define("LAN_GALLERY_ADMIN_08", "Show \"download\" link"); -define("LAN_GALLERY_ADMIN_09", "A download option will be shown next to the popup caption"); -define("LAN_GALLERY_ADMIN_10", "Slideshow category"); -define("LAN_GALLERY_ADMIN_11", "Images from this category will be used in the sliding menu."); -define("LAN_GALLERY_ADMIN_12", "Slide duration"); -define("LAN_GALLERY_ADMIN_13", "The duration (in seconds) of a full jump."); -define("LAN_GALLERY_ADMIN_14", "Slide auto-start"); -define("LAN_GALLERY_ADMIN_15", "When enabled image-rotation begins automatically when the page is loaded."); -define("LAN_GALLERY_ADMIN_16", "Slide frequency"); -define("LAN_GALLERY_ADMIN_17", "When auto-start is enabled, this dictates how long a slides stays put before the next jump."); -define("LAN_GALLERY_ADMIN_18", "Slide effect"); -define("LAN_GALLERY_ADMIN_19", "Type of effect."); -define("LAN_GALLERY_ADMIN_20", "Images per page"); -define("LAN_GALLERY_ADMIN_21", "Number of images to be shown per page"); -define("LAN_GALLERY_ADMIN_22", "Order images by"); -define("LAN_GALLERY_ADMIN_23", "Media ID ASC"); -define("LAN_GALLERY_ADMIN_24", "Media ID DESC"); -define("LAN_GALLERY_ADMIN_25", "Media Name ASC"); -define("LAN_GALLERY_ADMIN_26", "Media Name DESC"); -define("LAN_GALLERY_ADMIN_27", "Media Caption ASC"); -define("LAN_GALLERY_ADMIN_28", "Media Caption DESC"); -define("LAN_GALLERY_ADMIN_29", "slide left"); -define("LAN_GALLERY_ADMIN_30", "slide down"); -define("LAN_GALLERY_ADMIN_31", "fade"); -define("LAN_GALLERY_ADMIN_32", "prettyPhoto settings"); -define("LAN_GALLERY_ADMIN_33", "Animation speed"); -define("LAN_GALLERY_ADMIN_34", "Slideshow: Interval time"); -define("LAN_GALLERY_ADMIN_35", "Slideshow: Autoplay"); -define("LAN_GALLERY_ADMIN_36", "Opacity"); -define("LAN_GALLERY_ADMIN_37", "Value between 0 and 1."); -define("LAN_GALLERY_ADMIN_38", "Show title"); -define("LAN_GALLERY_ADMIN_39", "Allow resize"); -define("LAN_GALLERY_ADMIN_40", "Resize the photos bigger than viewport."); -define("LAN_GALLERY_ADMIN_41", "Default width"); -define("LAN_GALLERY_ADMIN_42", "Default height"); -define("LAN_GALLERY_ADMIN_43", "Counter separator label"); -define("LAN_GALLERY_ADMIN_44", "The separator for the gallery counter 1 \"of\" 2"); -//define("LAN_GALLERY_ADMIN_45", "Theme");//LAN_THEME -define("LAN_GALLERY_ADMIN_46", "Horizontal padding"); -define("LAN_GALLERY_ADMIN_47", "The padding on each side of the picture."); -define("LAN_GALLERY_ADMIN_48", "Hide flash"); -define("LAN_GALLERY_ADMIN_49", "Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto."); -define("LAN_GALLERY_ADMIN_50", "Wmode"); -define("LAN_GALLERY_ADMIN_51", "Set the flash wmode attribute."); -define("LAN_GALLERY_ADMIN_52", "Autoplay videos"); -define("LAN_GALLERY_ADMIN_53", "Modal close"); -define("LAN_GALLERY_ADMIN_54", "If set to true, only the close button will close the window."); -define("LAN_GALLERY_ADMIN_55", "Deep-linking"); -define("LAN_GALLERY_ADMIN_56", "Allow prettyPhoto to update the url to enable deep-linking."); -define("LAN_GALLERY_ADMIN_57", "Overlay gallery"); -define("LAN_GALLERY_ADMIN_58", "If set to true, a gallery will overlay the fullscreen image on mouse over."); -define("LAN_GALLERY_ADMIN_59", "Keyboard shortcuts"); -define("LAN_GALLERY_ADMIN_60", "Set to false if you open forms inside prettyPhoto."); -define("LAN_GALLERY_ADMIN_61", "IE6 fallback"); - -define("LAN_GALLERY_ADMIN_62", "fast"); -define("LAN_GALLERY_ADMIN_63", "slow"); -define("LAN_GALLERY_ADMIN_64", "normal"); - -define("LAN_GALLERY_ADMIN_65", "Light rounded"); -define("LAN_GALLERY_ADMIN_66", "Dark rounded"); -define("LAN_GALLERY_ADMIN_67", "Light square"); -define("LAN_GALLERY_ADMIN_68", "Dark square"); -define("LAN_GALLERY_ADMIN_69", "Facebook"); - -define("LAN_GALLERY_ADMIN_70", "Load prettyPhoto globally"); -define("LAN_GALLERY_ADMIN_71", "prettyPhoto attribute (hook)"); +return [ + 'LAN_GALLERY_ADMIN_01' => "[x] is active. Simply import and assign images to the gallery categories using the [y]", + 'LAN_GALLERY_ADMIN_03' => "Slideshow Menu", + 'LAN_GALLERY_ADMIN_04' => "Image Max. Width", + 'LAN_GALLERY_ADMIN_05' => "Images will be auto-resized if greater than the width given here", + 'LAN_GALLERY_ADMIN_06' => "Image Max. Height", + 'LAN_GALLERY_ADMIN_07' => "Images will be auto-resized if greater than the height given here", + 'LAN_GALLERY_ADMIN_08' => "Show 'download' link", + 'LAN_GALLERY_ADMIN_09' => "A download option will be shown next to the popup caption", + 'LAN_GALLERY_ADMIN_10' => "Slideshow category", + 'LAN_GALLERY_ADMIN_11' => "Images from this category will be used in the sliding menu.", + 'LAN_GALLERY_ADMIN_12' => "Slide duration", + 'LAN_GALLERY_ADMIN_13' => "The duration (in seconds) of a full jump.", + 'LAN_GALLERY_ADMIN_14' => "Slide auto-start", + 'LAN_GALLERY_ADMIN_15' => "When enabled image-rotation begins automatically when the page is loaded.", + 'LAN_GALLERY_ADMIN_16' => "Slide frequency", + 'LAN_GALLERY_ADMIN_17' => "When auto-start is enabled, this dictates how long a slides stays put before the next jump.", + 'LAN_GALLERY_ADMIN_18' => "Slide effect", + 'LAN_GALLERY_ADMIN_19' => "Type of effect.", + 'LAN_GALLERY_ADMIN_20' => "Images per page", + 'LAN_GALLERY_ADMIN_21' => "Number of images to be shown per page", + 'LAN_GALLERY_ADMIN_22' => "Order images by", + 'LAN_GALLERY_ADMIN_23' => "Media ID ASC", + 'LAN_GALLERY_ADMIN_24' => "Media ID DESC", + 'LAN_GALLERY_ADMIN_25' => "Media Name ASC", + 'LAN_GALLERY_ADMIN_26' => "Media Name DESC", + 'LAN_GALLERY_ADMIN_27' => "Media Caption ASC", + 'LAN_GALLERY_ADMIN_28' => "Media Caption DESC", + 'LAN_GALLERY_ADMIN_29' => "slide left", + 'LAN_GALLERY_ADMIN_30' => "slide down", + 'LAN_GALLERY_ADMIN_31' => "fade", + 'LAN_GALLERY_ADMIN_32' => "prettyPhoto settings", + 'LAN_GALLERY_ADMIN_33' => "Animation speed", + 'LAN_GALLERY_ADMIN_34' => "Slideshow: Interval time", + 'LAN_GALLERY_ADMIN_35' => "Slideshow: Autoplay", + 'LAN_GALLERY_ADMIN_36' => "Opacity", + 'LAN_GALLERY_ADMIN_37' => "Value between 0 and 1.", + 'LAN_GALLERY_ADMIN_38' => "Show title", + 'LAN_GALLERY_ADMIN_39' => "Allow resize", + 'LAN_GALLERY_ADMIN_40' => "Resize the photos bigger than viewport.", + 'LAN_GALLERY_ADMIN_41' => "Default width", + 'LAN_GALLERY_ADMIN_42' => "Default height", + 'LAN_GALLERY_ADMIN_43' => "Counter separator label", + 'LAN_GALLERY_ADMIN_44' => "The separator for the gallery counter 1 'of' 2", + 'LAN_GALLERY_ADMIN_46' => "Horizontal padding", + 'LAN_GALLERY_ADMIN_47' => "The padding on each side of the picture.", + 'LAN_GALLERY_ADMIN_48' => "Hide flash", + 'LAN_GALLERY_ADMIN_49' => "Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto.", + 'LAN_GALLERY_ADMIN_50' => "Wmode", + 'LAN_GALLERY_ADMIN_51' => "Set the flash wmode attribute.", + 'LAN_GALLERY_ADMIN_52' => "Autoplay videos", + 'LAN_GALLERY_ADMIN_53' => "Modal close", + 'LAN_GALLERY_ADMIN_54' => "If set to true, only the close button will close the window.", + 'LAN_GALLERY_ADMIN_55' => "Deep-linking", + 'LAN_GALLERY_ADMIN_56' => "Allow prettyPhoto to update the url to enable deep-linking.", + 'LAN_GALLERY_ADMIN_57' => "Overlay gallery", + 'LAN_GALLERY_ADMIN_58' => "If set to true, a gallery will overlay the fullscreen image on mouse over.", + 'LAN_GALLERY_ADMIN_59' => "Keyboard shortcuts", + 'LAN_GALLERY_ADMIN_60' => "Set to false if you open forms inside prettyPhoto.", + 'LAN_GALLERY_ADMIN_61' => "IE6 fallback", + 'LAN_GALLERY_ADMIN_62' => "fast", + 'LAN_GALLERY_ADMIN_63' => "slow", + 'LAN_GALLERY_ADMIN_64' => "normal", + 'LAN_GALLERY_ADMIN_65' => "Light rounded", + 'LAN_GALLERY_ADMIN_66' => "Dark rounded", + 'LAN_GALLERY_ADMIN_67' => "Light square", + 'LAN_GALLERY_ADMIN_68' => "Dark square", + 'LAN_GALLERY_ADMIN_69' => "Facebook", + 'LAN_GALLERY_ADMIN_70' => "Load prettyPhoto globally", + 'LAN_GALLERY_ADMIN_71' => "prettyPhoto attribute (hook)", +]; diff --git a/e107_plugins/gallery/languages/English/English_front.php b/e107_plugins/gallery/languages/English/English_front.php index 2fdd4c2b9..471df0767 100644 --- a/e107_plugins/gallery/languages/English/English_front.php +++ b/e107_plugins/gallery/languages/English/English_front.php @@ -5,5 +5,8 @@ * Language file for "gallery" plugin. */ -define("LAN_GALLERY_FRONT_01", "Right-click > Save Link As"); -define("LAN_GALLERY_FRONT_02", "Expand the image"); \ No newline at end of file + +return [ + 'LAN_GALLERY_FRONT_01' => "Right-click > Save Link As", + 'LAN_GALLERY_FRONT_02' => "Expand the image", +]; diff --git a/e107_plugins/gallery/languages/English/English_global.php b/e107_plugins/gallery/languages/English/English_global.php index c77a39f3b..ada676091 100644 --- a/e107_plugins/gallery/languages/English/English_global.php +++ b/e107_plugins/gallery/languages/English/English_global.php @@ -5,10 +5,12 @@ * Language file for "gallery" plugin. */ -define("LAN_PLUGIN_GALLERY_TITLE", "Gallery"); -define("LAN_PLUGIN_GALLERY_DIZ", "A simple image gallery"); -define("LAN_PLUGIN_GALLERY_SEF_01", "Gallery SEF"); -define("LAN_PLUGIN_GALLERY_SEF_02", "SEF URLs enabled."); -define("LAN_PLUGIN_GALLERY_SEF_03", "SEF URLs disabled."); -define("LAN_PLUGIN_GALLERY_SEF_04", "Gallery default"); +return [ + 'LAN_PLUGIN_GALLERY_TITLE' => "Gallery", + 'LAN_PLUGIN_GALLERY_DIZ' => "A simple image gallery", + 'LAN_PLUGIN_GALLERY_SEF_01' => "Gallery SEF", + 'LAN_PLUGIN_GALLERY_SEF_02' => "SEF URLs enabled.", + 'LAN_PLUGIN_GALLERY_SEF_03' => "SEF URLs disabled.", + 'LAN_PLUGIN_GALLERY_SEF_04' => "Gallery default", +]; diff --git a/e107_plugins/gsitemap/languages/English_admin.php b/e107_plugins/gsitemap/languages/English_admin.php index 3978f350c..f6bffe11b 100644 --- a/e107_plugins/gsitemap/languages/English_admin.php +++ b/e107_plugins/gsitemap/languages/English_admin.php @@ -13,56 +13,38 @@ */ -define("GSLAN_1", "Site Link"); -define("GSLAN_2", "Import?"); - -define("GSLAN_7", "Import Links"); -define("GSLAN_8", "Import with:"); -define("GSLAN_9", "Priority"); -define("GSLAN_10", "Frequency"); -define("GSLAN_11", "always"); -define("GSLAN_12", "hourly"); -define("GSLAN_13", "daily"); -define("GSLAN_14", "weekly"); -define("GSLAN_15", "monthly"); -define("GSLAN_16", "yearly"); - -define("GSLAN_18", "Import ticked links"); -// define("GSLAN_19", "Google Sitemap"); -define("GSLAN_20", "Listing"); -define("GSLAN_21", "Instructions"); -define("GSLAN_22", "Create New Entry"); -define("GSLAN_23", "Import"); -define("GSLAN_24", "Google Sitemap Entries"); - -define("GSLAN_27", "Lastmod"); -define("GSLAN_28", "Freq."); -define("GSLAN_29", "Google Sitemap Configuration"); - -define("GSLAN_32", "How to use Google Sitemaps"); -define("GSLAN_33", "GSiteMap Instructions"); -define("GSLAN_34", "First, create the links you wish to have listed in your sitemap. You can import most of your links by clicking the 'Import' button on the right"); -define("GSLAN_35", "If you've chosen to import your links, click 'Import' and then check the links you wish to import"); -define("GSLAN_36", "You can also enter individual links manually by clicking 'Create New Entry'"); -define("GSLAN_38", "For more information on Google Sitemap protocol, go to [URL]."); -define("GSLAN_39", "No links in sitemap - import sitelinks?"); -// define("GSLAN_40", "Google Sitemap Entries"); - -//define("GSLAN_Name", "Sitemap"); -// define("GSLAN_17", "never"); -//define("GSLAN_25", "Name"); -//define("GSLAN_26", "URL"); -//define("GSLAN_30", "Display Order"); -//define("GSLAN_31", "Visible to"); -//define("GSLAN_3", "Type"); -//define("GSLAN_4", "Name"); -// define("GSLAN_5", "Url"); -// define("GSLAN_6", "Tick links to mark them for import ..."); -// define('GSLAN_41', "Google Sitemap. For more information on the Sitemap protocol, go to http://www.sitemaps.org/ or Google's page About Sitemaps"); -//define('GSLAN_42', 'Installation Successful..'); - -define("GSLAN_50", "Publicly visible"); -define("GSLAN_51", "Auto-generated from [x]"); -define("GSLAN_52", "Once you have some entries, go to [URL] and enter one of the following URLs in the Sitemaps section.[SITEMAP_URLS] (If any of these urls look incorrect to you, please make sure your site url is correct in [preferences].)"); -define("GSLAN_53", "Instructions"); +return [ + 'GSLAN_1' => "Site Link", + 'GSLAN_2' => "Import?", + 'GSLAN_7' => "Import Links", + 'GSLAN_8' => "Import with:", + 'GSLAN_9' => "Priority", + 'GSLAN_10' => "Frequency", + 'GSLAN_11' => "always", + 'GSLAN_12' => "hourly", + 'GSLAN_13' => "daily", + 'GSLAN_14' => "weekly", + 'GSLAN_15' => "monthly", + 'GSLAN_16' => "yearly", + 'GSLAN_18' => "Import ticked links", + 'GSLAN_20' => "Listing", + 'GSLAN_21' => "Instructions", + 'GSLAN_22' => "Create New Entry", + 'GSLAN_23' => "Import", + 'GSLAN_24' => "Google Sitemap Entries", + 'GSLAN_27' => "Lastmod", + 'GSLAN_28' => "Freq.", + 'GSLAN_29' => "Google Sitemap Configuration", + 'GSLAN_32' => "How to use Google Sitemaps", + 'GSLAN_33' => "GSiteMap Instructions", + 'GSLAN_34' => "First, create the links you wish to have listed in your sitemap. You can import most of your links by clicking the 'Import' button on the right", + 'GSLAN_35' => "If you've chosen to import your links, click 'Import' and then check the links you wish to import", + 'GSLAN_36' => "You can also enter individual links manually by clicking 'Create New Entry'", + 'GSLAN_38' => "For more information on Google Sitemap protocol, go to [URL].", + 'GSLAN_39' => "No links in sitemap - import sitelinks?", + 'GSLAN_50' => "Publicly visible", + 'GSLAN_51' => "Auto-generated from [x]", + 'GSLAN_52' => "Once you have some entries, go to [URL] and enter one of the following URLs in the Sitemaps section.[SITEMAP_URLS] (If any of these urls look incorrect to you, please make sure your site url is correct in [preferences].)", + 'GSLAN_53' => "Instructions", +]; diff --git a/e107_plugins/gsitemap/languages/English_front.php b/e107_plugins/gsitemap/languages/English_front.php index dcb45402f..e075abbaa 100644 --- a/e107_plugins/gsitemap/languages/English_front.php +++ b/e107_plugins/gsitemap/languages/English_front.php @@ -14,48 +14,47 @@ * $Author$ * */ -define("GSLAN_Name", "Sitemap"); - -/* -define("GSLAN_1", "Site Link"); -define("GSLAN_2", "Import?"); -define("GSLAN_3", "Type"); -define("GSLAN_4", "Name"); -define("GSLAN_5", "Url"); -define("GSLAN_6", "Tick links to mark them for import ..."); -define("GSLAN_7", "Import Links"); -define("GSLAN_8", "Import with:"); -define("GSLAN_9", "Priority"); -define("GSLAN_10", "Frequency"); -define("GSLAN_11", "always"); -define("GSLAN_12", "hourly"); -define("GSLAN_13", "daily"); -define("GSLAN_14", "weekly"); -define("GSLAN_15", "monthly"); -define("GSLAN_16", "yearly"); -define("GSLAN_17", "never"); -define("GSLAN_18", "Import ticked links"); -define("GSLAN_19", "Google Sitemap"); -define("GSLAN_20", "Listing"); -define("GSLAN_21", "Instructions"); -define("GSLAN_22", "Create New Entry"); -define("GSLAN_23", "Import"); -define("GSLAN_24", "Google Sitemap Entries"); -define("GSLAN_25", "Name"); -define("GSLAN_26", "URL"); -define("GSLAN_27", "Lastmod"); -define("GSLAN_28", "Freq."); -define("GSLAN_29", "Google Sitemap Configuration"); -define("GSLAN_30", "Display Order"); -define("GSLAN_31", "Visible to"); -define("GSLAN_32", "How to use Google Sitemaps"); -define("GSLAN_33", "GSiteMap Instructions"); -define("GSLAN_34", "First, create the links you wish to have listed in your sitemap. You can import most of your links by clicking the 'Import' button on the right"); -define("GSLAN_35", "If you've chosen to import your links, click 'Import' and then check the links you wish to import"); -define("GSLAN_36", "You can also enter individual links manually by clicking 'Create New Entry'"); -define("GSLAN_37", "Once you have some entries, go to https://www.google.com/webmasters/sitemaps/stats and enter the following URL -> ".SITEURL."gsitemap.php - if this url doesn't look right to you, please make sure your site url is correct in admin -> preferences"); -define("GSLAN_38", "For more information on Google Sitemap protocol, go to http://www.google.com/webmasters/sitemaps/docs/en/protocol.html."); -define("GSLAN_39", "No links in sitemap - import sitelinks?"); -define("GSLAN_40", "Google Sitemap Entries"); -*/ +return [ + 'GSLAN_Name' => "Sitemap", + 'GSLAN_1' => "Site Link", + 'GSLAN_2' => "Import?", + 'GSLAN_3' => "Type", + 'GSLAN_4' => "Name", + 'GSLAN_5' => "Url", + 'GSLAN_6' => "Tick links to mark them for import ...", + 'GSLAN_7' => "Import Links", + 'GSLAN_8' => "Import with:", + 'GSLAN_9' => "Priority", + 'GSLAN_10' => "Frequency", + 'GSLAN_11' => "always", + 'GSLAN_12' => "hourly", + 'GSLAN_13' => "daily", + 'GSLAN_14' => "weekly", + 'GSLAN_15' => "monthly", + 'GSLAN_16' => "yearly", + 'GSLAN_17' => "never", + 'GSLAN_18' => "Import ticked links", + 'GSLAN_19' => "Google Sitemap", + 'GSLAN_20' => "Listing", + 'GSLAN_21' => "Instructions", + 'GSLAN_22' => "Create New Entry", + 'GSLAN_23' => "Import", + 'GSLAN_24' => "Google Sitemap Entries", + 'GSLAN_25' => "Name", + 'GSLAN_26' => "URL", + 'GSLAN_27' => "Lastmod", + 'GSLAN_28' => "Freq.", + 'GSLAN_29' => "Google Sitemap Configuration", + 'GSLAN_30' => "Display Order", + 'GSLAN_31' => "Visible to", + 'GSLAN_32' => "How to use Google Sitemaps", + 'GSLAN_33' => "GSiteMap Instructions", + 'GSLAN_34' => "First, create the links you wish to have listed in your sitemap. You can import most of your links by clicking the 'Import' button on the right", + 'GSLAN_35' => "If you've chosen to import your links, click 'Import' and then check the links you wish to import", + 'GSLAN_36' => "You can also enter individual links manually by clicking 'Create New Entry'", + 'GSLAN_37' => "Once you have some entries, go to https://www.google.com/webmasters/sitemaps/stats and enter the following URL -> ".SITEURL."gsitemap.php - if this url doesn't look right to you, please make sure your site url is correct in admin -> preferences", + 'GSLAN_38' => "For more information on Google Sitemap protocol, go to http://www.google.com/webmasters/sitemaps/docs/en/protocol.html.", + 'GSLAN_39' => "No links in sitemap - import sitelinks?", + 'GSLAN_40' => "Google Sitemap Entries", +]; diff --git a/e107_plugins/gsitemap/languages/English_global.php b/e107_plugins/gsitemap/languages/English_global.php index b648909ca..feead2606 100644 --- a/e107_plugins/gsitemap/languages/English_global.php +++ b/e107_plugins/gsitemap/languages/English_global.php @@ -1,5 +1,7 @@ "Google Sitemap", + 'LAN_PLUGIN_GSITEMAP_DESCRIPTION' => "Generates a Google Sitemap", +]; diff --git a/e107_plugins/gsitemap/languages/English_log.php b/e107_plugins/gsitemap/languages/English_log.php index 20a7f0b5e..e2a62af27 100644 --- a/e107_plugins/gsitemap/languages/English_log.php +++ b/e107_plugins/gsitemap/languages/English_log.php @@ -2,9 +2,10 @@ // Admin log messages //------------------- -define("LAN_AL_GSMAP_01", "Import sitelinks"); -define("LAN_AL_GSMAP_02", "Sitemap link deleted"); -define("LAN_AL_GSMAP_03", "Sitemap link added"); -define("LAN_AL_GSMAP_04", "Sitemap link updated"); - +return [ + 'LAN_AL_GSMAP_01' => "Import sitelinks", + 'LAN_AL_GSMAP_02' => "Sitemap link deleted", + 'LAN_AL_GSMAP_03' => "Sitemap link added", + 'LAN_AL_GSMAP_04' => "Sitemap link updated", +]; diff --git a/e107_plugins/hero/languages/English/English_admin.php b/e107_plugins/hero/languages/English/English_admin.php index 4a0e4f7a2..552d4d404 100644 --- a/e107_plugins/hero/languages/English/English_admin.php +++ b/e107_plugins/hero/languages/English/English_admin.php @@ -10,18 +10,21 @@ +----------------------------------------------------------------------+ */ -define("LAN_HERO_ADMIN_001", "Default slides imported."); -define("LAN_HERO_ADMIN_002", "Failed to import default slides."); -define("LAN_HERO_ADMIN_003", "Background"); -define("LAN_HERO_ADMIN_004", "Image/Video"); -define("LAN_HERO_ADMIN_005", "Media"); -define("LAN_HERO_ADMIN_006", "Label"); -define("LAN_HERO_ADMIN_007", "Be sure to enable the hero menu on your home page using the [Menu Manager]."); -define("LAN_HERO_ADMIN_009", "Icon pack"); -define("LAN_HERO_ADMIN_010", "Icon-style"); -define("LAN_HERO_ADMIN_011", "Automated slide interval"); -define("LAN_HERO_ADMIN_012", "Text"); -define("LAN_HERO_ADMIN_013", "Animation"); -define("LAN_HERO_ADMIN_014", "Delay (sec)"); -define("LAN_HERO_ADMIN_015", "Button"); -define("LAN_HERO_ADMIN_016", "[x] second(s)"); + +return [ + 'LAN_HERO_ADMIN_001' => "Default slides imported.", + 'LAN_HERO_ADMIN_002' => "Failed to import default slides.", + 'LAN_HERO_ADMIN_003' => "Background", + 'LAN_HERO_ADMIN_004' => "Image/Video", + 'LAN_HERO_ADMIN_005' => "Media", + 'LAN_HERO_ADMIN_006' => "Label", + 'LAN_HERO_ADMIN_007' => "Be sure to enable the hero menu on your home page using the [Menu Manager].", + 'LAN_HERO_ADMIN_009' => "Icon pack", + 'LAN_HERO_ADMIN_010' => "Icon-style", + 'LAN_HERO_ADMIN_011' => "Automated slide interval", + 'LAN_HERO_ADMIN_012' => "Text", + 'LAN_HERO_ADMIN_013' => "Animation", + 'LAN_HERO_ADMIN_014' => "Delay (sec)", + 'LAN_HERO_ADMIN_015' => "Button", + 'LAN_HERO_ADMIN_016' => "[x] second(s)", +]; diff --git a/e107_plugins/hero/languages/English/English_global.php b/e107_plugins/hero/languages/English/English_global.php index 0518b5046..723ec763b 100644 --- a/e107_plugins/hero/languages/English/English_global.php +++ b/e107_plugins/hero/languages/English/English_global.php @@ -10,6 +10,9 @@ +----------------------------------------------------------------------+ */ -define("LAN_PLUGIN_HERO_NAME", "Hero"); -define("LAN_PLUGIN_HERO_SUMMARY", "Home page 'Hero' area management"); -define("LAN_PLUGIN_HERO_DESCRIPTION", "An image and text slider with animated bullet points for the hero area of your home page."); + +return [ + 'LAN_PLUGIN_HERO_NAME' => "Hero", + 'LAN_PLUGIN_HERO_SUMMARY' => "Home page 'Hero' area management", + 'LAN_PLUGIN_HERO_DESCRIPTION' => "An image and text slider with animated bullet points for the hero area of your home page.", +]; diff --git a/e107_plugins/import/languages/English_admin.php b/e107_plugins/import/languages/English_admin.php index eb81915e0..a8ab4209e 100644 --- a/e107_plugins/import/languages/English_admin.php +++ b/e107_plugins/import/languages/English_admin.php @@ -23,81 +23,78 @@ * @version $Id$; */ -if (!defined("e107_INIT")) { exit; } -//define("LAN_CONTINUE","Continue"); Now global definition - -// define("LAN_CONVERT_01","Import into e107"); -// define("LAN_CONVERT_02","Import data from Wordpress, Joomla, Drupal, Blogspot, RSS and other formats."); -define("LAN_CONVERT_03","You must start with a clean E107 database, other than the main admin user (ID=1)"); -define("LAN_CONVERT_04","Field(s) left blank, please go back and re-enter values."); -define("LAN_CONVERT_05","Running this script may empty many of your E107 tables - make sure you have a full backup before continuing!"); -define("LAN_CONVERT_06","Import data type"); -define("LAN_CONVERT_07","CSV Format Specification"); -define("LAN_CONVERT_08","Existing database"); -define("LAN_CONVERT_09","Connection details for source database"); -define("LAN_CONVERT_10","Passwords in source file are not encrypted"); -define("LAN_CONVERT_11","Source data details"); -define("LAN_CONVERT_12","Basic username and password"); -define("LAN_CONVERT_13","CSV File"); -define("LAN_CONVERT_14","Format of import database"); -define("LAN_CONVERT_15","No import converters available"); -define("LAN_CONVERT_16","Initial user class(es)"); -define("LAN_CONVERT_17","Password in CSV file is not already encrypted"); -define("LAN_CONVERT_18","(Password must be stored with MD5 encryption)"); -define("LAN_CONVERT_19","Database Host"); -define("LAN_CONVERT_20","Database Username"); -define("LAN_CONVERT_21","Database Password"); -define("LAN_CONVERT_22","Database Name"); -define("LAN_CONVERT_23","Database Table Prefix"); -define("LAN_CONVERT_24","Areas to import"); -define("LAN_CONVERT_25","Users"); -define("LAN_CONVERT_26","Forum Definitions"); -define("LAN_CONVERT_27","Polls"); -define("LAN_CONVERT_28","News"); -define("LAN_CONVERT_29","Database import completed"); -define("LAN_CONVERT_30","Import routine Information"); -define("LAN_CONVERT_31","CSV data file does not exist, or invalid permissions"); -define("LAN_CONVERT_32","Error reading CSV data file"); -define("LAN_CONVERT_33","Error in CSV data line "); -define("LAN_CONVERT_34","Error: [x] while writing to user database, line "); -define("LAN_CONVERT_35","CSV import completed. [x] read, [y] users added, [z] errors"); -define("LAN_CONVERT_36","Filename for CSV data"); -define("LAN_CONVERT_37","Invalid format specification for import type"); -define("LAN_CONVERT_38","Delete existing data"); -define("LAN_CONVERT_39","(If you don't, the posters of imported data will be shown as 'Anonymous')"); -define("LAN_CONVERT_40","Existing data deleted"); -define("LAN_CONVERT_41","Required database access field is empty"); -define("LAN_CONVERT_42","Error in definition file - required class does not exist"); -define("LAN_CONVERT_43","Error connecting to source database"); -define("LAN_CONVERT_44","Query setup error for "); -define("LAN_CONVERT_45","Cannot read import code file"); -define("LAN_CONVERT_46","Error: [x] while writing to [y] database, line "); -define("LAN_CONVERT_47","Batch [w] import completed. [x] read, [y] added, [z] errors"); -define("LAN_CONVERT_48","Forum posts"); -define("LAN_CONVERT_49","Drupal"); -define("LAN_CONVERT_50","Basic import"); -define("LAN_CONVERT_51","The version of targeted Drupal."); -define("LAN_CONVERT_52","Drupal Version"); -define("LAN_CONVERT_53","The base URL of Drupal website (e.g., http://mydrupalsite.com)."); -define("LAN_CONVERT_54","Drupal Base URL"); -define("LAN_CONVERT_55","The base URL path (i.e., directory) of the Drupal installation (e.g., /drupal/)."); -define("LAN_CONVERT_56","Drupal Base Path"); -define("LAN_CONVERT_57", "No error"); -define("LAN_CONVERT_58", "Can't change main admin data"); -define("LAN_CONVERT_59", "invalid field passed"); -define("LAN_CONVERT_60", "Mandatory field not set"); -define("LAN_CONVERT_61", "User already exists"); -define("LAN_CONVERT_62", "Invalid characters in user or login name"); -define("LAN_CONVERT_63", "Error saving extended user fields"); -define("LAN_CONVERT_64", "Select"); -define("LAN_CONVERT_65", "Pages"); -define("LAN_CONVERT_66", "Page Chapters"); -define("LAN_CONVERT_67", "Links"); -define("LAN_CONVERT_68", "Media"); -define("LAN_CONVERT_69", "Forum"); -define("LAN_CONVERT_70", "Forum Topics/Threads"); -define("LAN_CONVERT_71", "Forum Posts"); -define("LAN_CONVERT_72", "Forum Track"); -define("LAN_CONVERT_73", "Userclasses"); -define("LAN_CONVERT_74", "News Categories"); +return [ + 'LAN_CONVERT_03' => "You must start with a clean E107 database, other than the main admin user (ID=1)", + 'LAN_CONVERT_04' => "Field(s) left blank, please go back and re-enter values.", + 'LAN_CONVERT_05' => "Running this script may empty many of your E107 tables - make sure you have a full backup before continuing!", + 'LAN_CONVERT_06' => "Import data type", + 'LAN_CONVERT_07' => "CSV Format Specification", + 'LAN_CONVERT_08' => "Existing database", + 'LAN_CONVERT_09' => "Connection details for source database", + 'LAN_CONVERT_10' => "Passwords in source file are not encrypted", + 'LAN_CONVERT_11' => "Source data details", + 'LAN_CONVERT_12' => "Basic username and password", + 'LAN_CONVERT_13' => "CSV File", + 'LAN_CONVERT_14' => "Format of import database", + 'LAN_CONVERT_15' => "No import converters available", + 'LAN_CONVERT_16' => "Initial user class(es)", + 'LAN_CONVERT_17' => "Password in CSV file is not already encrypted", + 'LAN_CONVERT_18' => "(Password must be stored with MD5 encryption)", + 'LAN_CONVERT_19' => "Database Host", + 'LAN_CONVERT_20' => "Database Username", + 'LAN_CONVERT_21' => "Database Password", + 'LAN_CONVERT_22' => "Database Name", + 'LAN_CONVERT_23' => "Database Table Prefix", + 'LAN_CONVERT_24' => "Areas to import", + 'LAN_CONVERT_25' => "Users", + 'LAN_CONVERT_26' => "Forum Definitions", + 'LAN_CONVERT_27' => "Polls", + 'LAN_CONVERT_28' => "News", + 'LAN_CONVERT_29' => "Database import completed", + 'LAN_CONVERT_30' => "Import routine Information", + 'LAN_CONVERT_31' => "CSV data file does not exist, or invalid permissions", + 'LAN_CONVERT_32' => "Error reading CSV data file", + 'LAN_CONVERT_33' => "Error in CSV data line", + 'LAN_CONVERT_34' => "Error: [x] while writing to user database, line", + 'LAN_CONVERT_35' => "CSV import completed. [x] read, [y] users added, [z] errors", + 'LAN_CONVERT_36' => "Filename for CSV data", + 'LAN_CONVERT_37' => "Invalid format specification for import type", + 'LAN_CONVERT_38' => "Delete existing data", + 'LAN_CONVERT_39' => "(If you don't, the posters of imported data will be shown as 'Anonymous')", + 'LAN_CONVERT_40' => "Existing data deleted", + 'LAN_CONVERT_41' => "Required database access field is empty", + 'LAN_CONVERT_42' => "Error in definition file - required class does not exist", + 'LAN_CONVERT_43' => "Error connecting to source database", + 'LAN_CONVERT_44' => "Query setup error for", + 'LAN_CONVERT_45' => "Cannot read import code file", + 'LAN_CONVERT_46' => "Error: [x] while writing to [y] database, line", + 'LAN_CONVERT_47' => "Batch [w] import completed. [x] read, [y] added, [z] errors", + 'LAN_CONVERT_48' => "Forum posts", + 'LAN_CONVERT_49' => "Drupal", + 'LAN_CONVERT_50' => "Basic import", + 'LAN_CONVERT_51' => "The version of targeted Drupal.", + 'LAN_CONVERT_52' => "Drupal Version", + 'LAN_CONVERT_53' => "The base URL of Drupal website (e.g., http://mydrupalsite.com).", + 'LAN_CONVERT_54' => "Drupal Base URL", + 'LAN_CONVERT_55' => "The base URL path (i.e., directory) of the Drupal installation (e.g., /drupal/).", + 'LAN_CONVERT_56' => "Drupal Base Path", + 'LAN_CONVERT_57' => "No error", + 'LAN_CONVERT_58' => "Can't change main admin data", + 'LAN_CONVERT_59' => "invalid field passed", + 'LAN_CONVERT_60' => "Mandatory field not set", + 'LAN_CONVERT_61' => "User already exists", + 'LAN_CONVERT_62' => "Invalid characters in user or login name", + 'LAN_CONVERT_63' => "Error saving extended user fields", + 'LAN_CONVERT_64' => "Select", + 'LAN_CONVERT_65' => "Pages", + 'LAN_CONVERT_66' => "Page Chapters", + 'LAN_CONVERT_67' => "Links", + 'LAN_CONVERT_68' => "Media", + 'LAN_CONVERT_69' => "Forum", + 'LAN_CONVERT_70' => "Forum Topics/Threads", + 'LAN_CONVERT_71' => "Forum Posts", + 'LAN_CONVERT_72' => "Forum Track", + 'LAN_CONVERT_73' => "Userclasses", + 'LAN_CONVERT_74' => "News Categories", +]; diff --git a/e107_plugins/import/languages/English_global.php b/e107_plugins/import/languages/English_global.php index 8bd3e0215..95bf9628a 100644 --- a/e107_plugins/import/languages/English_global.php +++ b/e107_plugins/import/languages/English_global.php @@ -5,5 +5,8 @@ * * 'Import plugin' global language defines */ -define("LAN_PLUGIN_IMPORT_NAME", "Import into e107"); -define("LAN_PLUGIN_IMPORT_DESCRIPTION", "Import data from Wordpress, Joomla, Drupal, Blogpost, RSS and other formats."); + +return [ + 'LAN_PLUGIN_IMPORT_NAME' => "Import into e107", + 'LAN_PLUGIN_IMPORT_DESCRIPTION' => "Import data from Wordpress, Joomla, Drupal, Blogpost, RSS and other formats.", +]; diff --git a/e107_plugins/linkwords/languages/English_admin.php b/e107_plugins/linkwords/languages/English_admin.php index 95eb18056..da9a0355a 100644 --- a/e107_plugins/linkwords/languages/English_admin.php +++ b/e107_plugins/linkwords/languages/English_admin.php @@ -13,123 +13,81 @@ //define("LWLAN_1", "Field(s) left blank."); //define("LWLAN_2", "Link word saved."); //define("LWLAN_3", "Link word updated."); -define("LWLAN_4", "No linkwords defined yet."); -define("LWLAN_5", "Words"); -define("LWLAN_6", "Link"); -define("LWLAN_7", "Active?"); -//define("LWLAN_8", "Options"); -//define("LWLAN_9", "yes"); -//define("LWLAN_10", "no"); -//define("LWLAN_11", "Existing Linkwords"); -//define("LWLAN_12", "Yes"); -//define("LWLAN_13", "No"); -//define("LWLAN_14", "Submit LinkWord"); -//define("LWLAN_15", "Update LinkWord"); -//define("LWLAN_16", "Edit"); -//define("LWLAN_17", "Delete"); -//define("LWLAN_18", "Are you sure you want to delete this linkword?"); -//define("LWLAN_19", "Linkword deleted."); -//define("LWLAN_20", "Unable to find that linkword entry."); -define("LWLAN_21", "Word to autolink (or comma-separated list of words)"); -//define("LWLAN_22", "Activate?"); -//define("LWLAN_23", "Linkwords Administration"); -//define("LWLAN_24", "Manage Words"); -//define("LWLAN_25", "Options"); -define("LWLAN_26", "Areas in which to enable linkwords"); -//define("LWLAN_27", "This is the 'context' of the displayed text"); -define("LWLAN_28", "Pages on which to disable linkwords"); -//define("LWLAN_29", "Same format as menu visibility control. One match per line. Specify a partial or complete URL. End with '!' for exact match of the end part of the link"); -//define("LWLAN_30", "Save options"); -//define("LWLAN_31", "Add/edit linkword"); -//define("LWLAN_32", "Linkword Options"); -define("LWLAN_33", "Title areas"); -define("LWLAN_34", "Item summaries"); -define("LWLAN_35", "Body text"); -define("LWLAN_36", "Descriptions (links etc)"); -//define("LWLAN_37", "Legacy areas"); -//define("LWLAN_38", "Clickable links"); -//define("LWLAN_39", "Unprocessed text"); -define("LWLAN_40", "User-entered titles (e.g. forum)"); -define("LWLAN_41", "User-entered body text (e.g. forum)"); -// Reserve numbers for further context strings +return [ + 'LWLAN_4' => "No linkwords defined yet.", + 'LWLAN_5' => "Words", + 'LWLAN_6' => "Link", + 'LWLAN_7' => "Active?", + 'LWLAN_21' => "Word to autolink (or comma-separated list of words)", + 'LWLAN_26' => "Areas in which to enable linkwords", + 'LWLAN_28' => "Pages on which to disable linkwords", + 'LWLAN_33' => "Title areas", + 'LWLAN_34' => "Item summaries", + 'LWLAN_35' => "Body text", + 'LWLAN_36' => "Descriptions (links etc)", + 'LWLAN_40' => "User-entered titles (e.g. forum)", + 'LWLAN_41' => "User-entered body text (e.g. forum)", + 'LWLAN_50' => "Tooltip", + 'LWLAN_52' => "Linkword only", + 'LWLAN_53' => "Tooltip only", + 'LWLAN_54' => "Linkword and Tooltip", + 'LWLAN_55' => "Open link in new window", + 'LWLAN_58' => "Pref hook converted to 0.8 format", + 'LWLAN_59' => "Enable Ajax functionality", + 'LWLAN_64' => "Suppress link on current page", + 'LWLAN_66' => "Custom CSS class", + 'LWLAN_67' => "Max. links/tips", + // 'LAN_LW_HELP_01' => "Many areas of text have an associated 'context', and linkwords will only be displayed in areas matching that context.", + // 'LAN_LW_HELP_02' => "The tooltips can use Ajax to get information for display. This usually requires some custom coding.", + 'LAN_LW_HELP_03' => "Usually its pointless for the user to be able to click a link if they're already on the page that it links to. When this option is turned ON, the linkwords are not triggered in this case.", + 'LAN_LW_HELP_04' => "Linkwords may be disabled on specific pages, or pages matching a pattern. Enter these here (same syntax as for menu visbility), one pattern per line. If the pattern ends in '!', this corresponds to 'end of query', and is usually an exact match. Otherwise any URL containing the specified string will match.", + 'LAN_LW_HELP_05' => "Will add this class to all generated links.", + 'LAN_LW_HELP_10' => "Here you can define the words which become clickable links, or which display text on mouseover.", + 'LAN_LW_HELP_11' => "This is case-insensitive. For multiple words mapping to the same links and tooltips, separate them with commas (no spaces)", + 'LAN_LW_HELP_12' => "Define a clickable link here. If its an external link, it MUST begin with 'http(s)://'. If its a link within this site, the normal {e_XXX} constants may be used.", + 'LAN_LW_HELP_13' => "Defines which options are active.", + 'LAN_LW_HELP_14' => "This defines the text to be displayed when the user's mouse passes over the word.", + 'LAN_LW_HELP_15' => "Maximum amount of the same linkwords. Must be positive number. Used when the same word is found multiple times in a piece of text.", + 'LAN_LW_HELP_16' => "This defines an optional numeric ID to be used with Ajax processing. Must be a postiive number. If blank, the database record number is used", + 'LAN_LW_HELP_17' => "When turned on, the link is opened in new browser tab/window", + 'LAN_LW_HELP_01' => "Areas to enable