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
-define("LWLAN_50", "Tooltip"); -//define("LWLAN_51", "Inactive"); // LAN_INACTIVE -define("LWLAN_52", "Linkword only"); -define("LWLAN_53", "Tooltip only"); -define("LWLAN_54", "Linkword and Tooltip"); -define("LWLAN_55", "Open link in new window"); -//define("LWLAN_56", "Open in new page"); -//define("LWLAN_57", "Error writing new values"); -define("LWLAN_58", "Pref hook converted to 0.8 format"); // Used in 0.7-compatible stub only -define("LWLAN_59", "Enable Ajax functionality"); -//define("LWLAN_60", "LW ID"); -//define("LWLAN_61", "ID"); -//define("LWLAN_62", "Tooltip ID (LW ID)"); -//define("LWLAN_63", "Positive integers only"); -define("LWLAN_64", "Suppress link on current page"); -//define("LWLAN_65", "When checked, suppresses clickable link if points to current page"); -define("LWLAN_66", "Custom CSS class"); -define("LWLAN_67", "Max. links/tips"); - - -// Help texts -//define("LAN_LW_HELP_00","Linkwords Help"); - -// Preferences -define("LAN_LW_HELP_01", "Many areas of text have an associated 'context', and linkwords will only be displayed in areas matching that context."); -define("LAN_LW_HELP_02", "The tooltips can use Ajax to get information for display. This usually requires some custom coding."); -define("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."); -define("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."); -define("LAN_LW_HELP_05", "Will add this class to all generated links."); -// Reserve numbers for further prefences help texts - -// Create linkwords -define("LAN_LW_HELP_10", "Here you can define the words which become clickable links, or which display text on mouseover."); -define("LAN_LW_HELP_11", "This is case-insensitive. For multiple words mapping to the same links and tooltips, separate them with commas (no spaces)"); -define("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."); -define("LAN_LW_HELP_13", "Defines which options are active."); -define("LAN_LW_HELP_14", "This defines the text to be displayed when the user's mouse passes over the word."); -define("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."); -define("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"); -define("LAN_LW_HELP_17", "When turned on, the link is opened in new browser tab/window"); - - - - -/* -define("LAN_LW_HELP_01"," - Areas to enable
many areas of text have an associated \"context\", and linkwords will only be displayed in areas matching that context.

- - Linkwords Disable
- Linkwords may be disabled on specific pages, or pages matching a pattern. Enter these here (same syntax as for menus), 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.
- Note that linkwords are never displayed on admin pages.

- - Enable Ajax Functionality
- The tooltips can use Ajax to get information for display. This usually requires some custom coding.

- - Suppress link on current page
- Usually its pointless for the user to be able to click a link if they\"re already on the page. Tick this box to remove the option,
- "); -define("LAN_LW_HELP_02","Define the words which become clickable links, or which display text on mouseover, here

- + Linkwords Disable
+ + Linkwords may be disabled on specific pages, or pages matching a pattern. Enter these here (same syntax as for menus), 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.
+ + Note that linkwords are never displayed on admin pages.

+ + Enable Ajax Functionality
+ + The tooltips can use Ajax to get information for display. This usually requires some custom coding.

+ + Suppress link on current page
+ + Usually its pointless for the user to be able to click a link if they\"re already on the page. Tick this box to remove the option,
", + 'LAN_LW_HELP_02' => "Define the words which become clickable links, or which display text on mouseover, here

Word to Link
+ This is case-insensitive. For multiple words mapping to the same links and tooltips, separate them with commas (no spaces)

- + Link
+ Define a clickable link here. If its an external link, it [i]must[/i] begin \"http://\". If its a link within this site, the normal {e_XXX} constants may be used.

- + Tooltip
+ This defines the text to be displayed when the user\"s mouse passes over the word.

- + LW ID (Tooltip ID)

+ This defines an optional numeric ID to be used with Ajax processing. If blank, the database record number is used.

- + Activate?
- Defines which options are active. - "); -*/ + + Defines which options are active.", +]; diff --git a/e107_plugins/linkwords/languages/English_global.php b/e107_plugins/linkwords/languages/English_global.php index 34de80658..587e4b81e 100644 --- a/e107_plugins/linkwords/languages/English_global.php +++ b/e107_plugins/linkwords/languages/English_global.php @@ -1,5 +1,7 @@ "Linkwords", + 'LAN_PLUGIN_LINKWORDS_DESCRIPTION' => "This plugin will link specified words with a defined link and/or tooltip.", +]; diff --git a/e107_plugins/linkwords/languages/English_log.php b/e107_plugins/linkwords/languages/English_log.php index c2f5b96d3..8c39c67b7 100644 --- a/e107_plugins/linkwords/languages/English_log.php +++ b/e107_plugins/linkwords/languages/English_log.php @@ -1,10 +1,12 @@ "Linkword-related message", + 'LAN_AL_LINKWD_01' => "Linkword Added", + 'LAN_AL_LINKWD_02' => "Linkword Edited", + 'LAN_AL_LINKWD_03' => "Linkword deleted", + 'LAN_AL_LINKWD_04' => "Linkword options updated", + 'LAN_AL_LINKWD_05' => "Linkwords version update", +]; diff --git a/e107_plugins/list_new/languages/English.php b/e107_plugins/list_new/languages/English.php index f71e2b02d..21010a0ac 100644 --- a/e107_plugins/list_new/languages/English.php +++ b/e107_plugins/list_new/languages/English.php @@ -22,66 +22,59 @@ * @subpackage list_new */ -if (!defined("PAGE_NAME")) { define("PAGE_NAME", "List New Items"); } -define("LIST_MENU_1", "recent additions"); -define("LIST_MENU_2", "by"); -define("LIST_MENU_3", "on"); -define("LIST_MENU_4", "in"); -define("LIST_MENU_5", "days"); -define("LIST_MENU_6", "view content for how many days?"); -define("LIST_MENU_7", ""); -define("LIST_MENU_8", ""); -define("LIST_MENU_9", ""); -define("LIST_MENU_10", ""); -define("LIST_MENU_11", ""); -define("LIST_MENU_12", ""); -define("LIST_MENU_13", ""); -define("LIST_MENU_14", ""); -define("LIST_MENU_15", ""); -define("LIST_MENU_16", ""); -define("LIST_MENU_17", ""); -define("LIST_MENU_18", ""); -define("LIST_MENU_19", ""); -define("LIST_NEWS_1", "news"); -define("LIST_NEWS_2", "no news items"); - -define("LIST_COMMENT_1", "comments"); -define("LIST_COMMENT_2", "no comments"); -define("LIST_COMMENT_3", "news"); -define("LIST_COMMENT_4", "faq"); -define("LIST_COMMENT_5", "poll"); -define("LIST_COMMENT_6", "docs"); -define("LIST_COMMENT_7", "bugtrack"); -define("LIST_COMMENT_8", "content"); -define("LIST_COMMENT_9", ""); -define("LIST_COMMENT_10", "ideas"); - -define("LIST_MEMBER_1", "members"); -define("LIST_MEMBER_2", "no members"); - -define("LIST_CONTENT_1", "content"); -define("LIST_CONTENT_2", "no content in"); -define("LIST_CONTENT_3", "no valid content category"); - -define("LIST_CHATBOX_1", "chatbox"); -define("LIST_CHATBOX_2", "no chatbox posts"); - -define("LIST_CALENDAR_1", "calendar"); -define("LIST_CALENDAR_2", "no calendar events"); - -define("LIST_LINKS_1", "links"); -define("LIST_LINKS_2", "no links"); - -define("LIST_FORUM_1", "forum"); -define("LIST_FORUM_2", "no forum posts"); -define("LIST_FORUM_3", "views:"); -define("LIST_FORUM_4", "replies:"); -define("LIST_FORUM_5", "lastpost:"); -define("LIST_FORUM_6", "on:"); - -define("LIST_LAN_1", "no items in"); - -define("LIST_DOWNLOAD_1", "downloads"); -define("LIST_DOWNLOAD_2", "no downloads"); +return [ + 'PAGE_NAME' => "List New Items", + 'LIST_MENU_1' => "recent additions", + 'LIST_MENU_2' => "by", + 'LIST_MENU_3' => "on", + 'LIST_MENU_4' => "in", + 'LIST_MENU_5' => "days", + 'LIST_MENU_6' => "view content for how many days?", + 'LIST_MENU_7' => "", + 'LIST_MENU_8' => "", + 'LIST_MENU_9' => "", + 'LIST_MENU_10' => "", + 'LIST_MENU_11' => "", + 'LIST_MENU_12' => "", + 'LIST_MENU_13' => "", + 'LIST_MENU_14' => "", + 'LIST_MENU_15' => "", + 'LIST_MENU_16' => "", + 'LIST_MENU_17' => "", + 'LIST_MENU_18' => "", + 'LIST_MENU_19' => "", + 'LIST_NEWS_1' => "news", + 'LIST_NEWS_2' => "no news items", + 'LIST_COMMENT_1' => "comments", + 'LIST_COMMENT_2' => "no comments", + 'LIST_COMMENT_3' => "news", + 'LIST_COMMENT_4' => "faq", + 'LIST_COMMENT_5' => "poll", + 'LIST_COMMENT_6' => "docs", + 'LIST_COMMENT_7' => "bugtrack", + 'LIST_COMMENT_8' => "content", + 'LIST_COMMENT_9' => "", + 'LIST_COMMENT_10' => "ideas", + 'LIST_MEMBER_1' => "members", + 'LIST_MEMBER_2' => "no members", + 'LIST_CONTENT_1' => "content", + 'LIST_CONTENT_2' => "no content in", + 'LIST_CONTENT_3' => "no valid content category", + 'LIST_CHATBOX_1' => "chatbox", + 'LIST_CHATBOX_2' => "no chatbox posts", + 'LIST_CALENDAR_1' => "calendar", + 'LIST_CALENDAR_2' => "no calendar events", + 'LIST_LINKS_1' => "links", + 'LIST_LINKS_2' => "no links", + 'LIST_FORUM_1' => "forum", + 'LIST_FORUM_2' => "no forum posts", + 'LIST_FORUM_3' => "views:", + 'LIST_FORUM_4' => "replies:", + 'LIST_FORUM_5' => "lastpost:", + 'LIST_FORUM_6' => "on:", + 'LIST_LAN_1' => "no items in", + 'LIST_DOWNLOAD_1' => "downloads", + 'LIST_DOWNLOAD_2' => "no downloads", +]; diff --git a/e107_plugins/list_new/languages/English_admin_list_new.php b/e107_plugins/list_new/languages/English_admin_list_new.php index 78851e81e..f2596cbaa 100644 --- a/e107_plugins/list_new/languages/English_admin_list_new.php +++ b/e107_plugins/list_new/languages/English_admin_list_new.php @@ -22,136 +22,97 @@ * @subpackage list_new */ -if (!defined("PAGE_NAME")) { define("PAGE_NAME", "List New Items"); } - -// define("LIST_PLUGIN_1", "List"); -//define("LIST_PLUGIN_2", "This plugin allows you to view a list of recent additions in all e107 categories. You can either view the list with data since your last visit, or view a general latest additions list. Besides the page a menu is also present. Every section is configurable in the admin area."); -define("LIST_PLUGIN_3", "Configure Main Menu"); -define("LIST_PLUGIN_4", "The List_new plugin is now ready to be used."); - -define("LIST_PLUGIN_6", "This plugin is not installed."); - -define("LIST_ADMIN_1", "recent"); -define("LIST_ADMIN_2", "update settings"); -define("LIST_ADMIN_3", "settings updated"); -define("LIST_ADMIN_4", "section"); -define("LIST_ADMIN_5", "menu"); -define("LIST_ADMIN_6", "page"); -define("LIST_ADMIN_7", "enabled"); -define("LIST_ADMIN_8", "disabled"); -define("LIST_ADMIN_9", "open"); -define("LIST_ADMIN_10", "closed"); -define("LIST_ADMIN_11", "update"); -define("LIST_ADMIN_12", "choose"); -define("LIST_ADMIN_13", "Welcome to the Recent page of ".SITENAME." ! This page shows, for the most common sections of this site, a list of the most recent additions in these sections."); -define("LIST_ADMIN_14", "recent additions"); -define("LIST_ADMIN_15", "new since your last visit"); -define("LIST_ADMIN_16", "Welcome to the New page of ".SITENAME." ! This page shows, for the most common sections of this site, a list of the additions in these sections since your last visit."); -define("LIST_ADMIN_17", "Nothing changed - not updated"); - -define("LIST_ADMIN_SECT_1", "sections"); -define("LIST_ADMIN_SECT_2", "choose which sections to show"); -define("LIST_ADMIN_SECT_3", ""); - -define("LIST_ADMIN_SECT_4", "display style"); -define("LIST_ADMIN_SECT_5", "choose which sections are opened by default"); -define("LIST_ADMIN_SECT_6", ""); - -define("LIST_ADMIN_SECT_7", "author"); -define("LIST_ADMIN_SECT_8", "choose if the author should be displayed"); -define("LIST_ADMIN_SECT_9", ""); - -define("LIST_ADMIN_SECT_10", "category"); -define("LIST_ADMIN_SECT_11", "choose if the category should be displayed"); -define("LIST_ADMIN_SECT_12", ""); - -define("LIST_ADMIN_SECT_13", "date"); -define("LIST_ADMIN_SECT_14", "choose if the date should be displayed"); -define("LIST_ADMIN_SECT_15", ""); - -define("LIST_ADMIN_SECT_16", "amount items"); -define("LIST_ADMIN_SECT_17", "choose how many items should be displayed for each section"); -define("LIST_ADMIN_SECT_18", ""); - -define("LIST_ADMIN_SECT_19", "order items"); -define("LIST_ADMIN_SECT_20", "choose the order in which sections should be displayed"); -define("LIST_ADMIN_SECT_21", ""); - -define("LIST_ADMIN_SECT_22", "icon"); -define("LIST_ADMIN_SECT_23", "choose an icon for each section"); -define("LIST_ADMIN_SECT_24", ""); - -define("LIST_ADMIN_SECT_25", "caption"); -define("LIST_ADMIN_SECT_26", "define a caption for each section"); -define("LIST_ADMIN_SECT_27", ""); - -define("LIST_ADMIN_OPT_1", "general"); -define("LIST_ADMIN_OPT_2", "recent page"); -define("LIST_ADMIN_OPT_3", "recent menu"); -define("LIST_ADMIN_OPT_4", "new page"); -define("LIST_ADMIN_OPT_5", "new menu"); -define("LIST_ADMIN_OPT_6", "options"); - -define("LIST_ADMIN_MENU_2", "icon : default"); -define("LIST_ADMIN_MENU_3", "use default theme bullet if no icon is present or if icon:use is disabled"); - - -define("LIST_ADMIN_LAN_2", "caption"); -define("LIST_ADMIN_LAN_3", "define a caption"); - - -define("LIST_ADMIN_LAN_5", "icon : use"); -define("LIST_ADMIN_LAN_6", "use icon from each section"); -// define("LIST_ADMIN_LAN_7", ""); - -define("LIST_ADMIN_LAN_8", "characters"); -define("LIST_ADMIN_LAN_9", "choose how many characters of the heading will be shown"); -define("LIST_ADMIN_LAN_10", "leave blank to show full heading"); - -define("LIST_ADMIN_LAN_11", "postfix"); -define("LIST_ADMIN_LAN_12", "choose a postfix if the heading is larger then the given amount of characters"); -define("LIST_ADMIN_LAN_13", "leave blank to show no postfix"); - -define("LIST_ADMIN_LAN_14", "date"); -define("LIST_ADMIN_LAN_15", "choose a date style"); -define("LIST_ADMIN_LAN_16", "For more information on date formats see the strftime function page at php.net"); - -define("LIST_ADMIN_LAN_17", "today date"); -define("LIST_ADMIN_LAN_18", "choose a date style if the date is today"); -define("LIST_ADMIN_LAN_19", "For more information on date formats see the strftime function page at php.net"); - -define("LIST_ADMIN_LAN_20", "columns"); -define("LIST_ADMIN_LAN_21", "choose an amount of columns"); -define("LIST_ADMIN_LAN_22", "define how many columns you want to use. the number you specify will separate the page into an equal amount of columns"); - -define("LIST_ADMIN_LAN_23", "welcome text"); -define("LIST_ADMIN_LAN_24", "define a welcome text that will be rendered at the top of the page"); -// define("LIST_ADMIN_LAN_25", ""); - -define("LIST_ADMIN_LAN_26", "show empty"); -define("LIST_ADMIN_LAN_27", "define if a message needs to be shown when sections have no results "); -define("LIST_ADMIN_LAN_28", ""); - -define("LIST_ADMIN_LAN_29", "icon : default"); -define("LIST_ADMIN_LAN_30", "use default theme bullet if no icon is present or if icon:use is disabled"); -// define("LIST_ADMIN_LAN_31", ""); - -define("LIST_ADMIN_LAN_32", "timelapse:days"); -define("LIST_ADMIN_LAN_33", "maximum of days users can look back"); -// define("LIST_ADMIN_LAN_34", ""); -define("LIST_ADMIN_LAN_35", "days"); - -define("LIST_ADMIN_LAN_36", "timelapse"); -define("LIST_ADMIN_LAN_37", "display a select box with number of days to look back?"); -// define("LIST_ADMIN_LAN_38", ""); - -define("LIST_ADMIN_LAN_39", "open if records exist"); -define("LIST_ADMIN_LAN_40", "should sections that contain records be opened by default?"); -// define("LIST_ADMIN_LAN_41", ""); - -// Admin log messages -//------------------- -define("LAN_AL_LISTNEW_01", "List New preferences updated"); -// define("LAN_AL_LISTNEW_02", ""); +return [ + 'PAGE_NAME' => "List New Items", + 'LIST_PLUGIN_3' => "Configure Main Menu", + 'LIST_PLUGIN_4' => "The List_new plugin is now ready to be used.", + 'LIST_PLUGIN_6' => "This plugin is not installed.", + 'LIST_ADMIN_1' => "recent", + 'LIST_ADMIN_2' => "update settings", + 'LIST_ADMIN_3' => "settings updated", + 'LIST_ADMIN_4' => "section", + 'LIST_ADMIN_5' => "menu", + 'LIST_ADMIN_6' => "page", + 'LIST_ADMIN_7' => "enabled", + 'LIST_ADMIN_8' => "disabled", + 'LIST_ADMIN_9' => "open", + 'LIST_ADMIN_10' => "closed", + 'LIST_ADMIN_11' => "update", + 'LIST_ADMIN_12' => "choose", + 'LIST_ADMIN_13' => "Welcome to the Recent page of \".SITENAME.\" ! This page shows, for the most common sections of this site, a list of the most recent additions in these sections.", + 'LIST_ADMIN_14' => "recent additions", + 'LIST_ADMIN_15' => "new since your last visit", + 'LIST_ADMIN_16' => "Welcome to the New page of \".SITENAME.\" ! This page shows, for the most common sections of this site, a list of the additions in these sections since your last visit.", + 'LIST_ADMIN_17' => "Nothing changed - not updated", + 'LIST_ADMIN_SECT_1' => "sections", + 'LIST_ADMIN_SECT_2' => "choose which sections to show", + 'LIST_ADMIN_SECT_3' => "", + 'LIST_ADMIN_SECT_4' => "display style", + 'LIST_ADMIN_SECT_5' => "choose which sections are opened by default", + 'LIST_ADMIN_SECT_6' => "", + 'LIST_ADMIN_SECT_7' => "author", + 'LIST_ADMIN_SECT_8' => "choose if the author should be displayed", + 'LIST_ADMIN_SECT_9' => "", + 'LIST_ADMIN_SECT_10' => "category", + 'LIST_ADMIN_SECT_11' => "choose if the category should be displayed", + 'LIST_ADMIN_SECT_12' => "", + 'LIST_ADMIN_SECT_13' => "date", + 'LIST_ADMIN_SECT_14' => "choose if the date should be displayed", + 'LIST_ADMIN_SECT_15' => "", + 'LIST_ADMIN_SECT_16' => "amount items", + 'LIST_ADMIN_SECT_17' => "choose how many items should be displayed for each section", + 'LIST_ADMIN_SECT_18' => "", + 'LIST_ADMIN_SECT_19' => "order items", + 'LIST_ADMIN_SECT_20' => "choose the order in which sections should be displayed", + 'LIST_ADMIN_SECT_21' => "", + 'LIST_ADMIN_SECT_22' => "icon", + 'LIST_ADMIN_SECT_23' => "choose an icon for each section", + 'LIST_ADMIN_SECT_24' => "", + 'LIST_ADMIN_SECT_25' => "caption", + 'LIST_ADMIN_SECT_26' => "define a caption for each section", + 'LIST_ADMIN_SECT_27' => "", + 'LIST_ADMIN_OPT_1' => "general", + 'LIST_ADMIN_OPT_2' => "recent page", + 'LIST_ADMIN_OPT_3' => "recent menu", + 'LIST_ADMIN_OPT_4' => "new page", + 'LIST_ADMIN_OPT_5' => "new menu", + 'LIST_ADMIN_OPT_6' => "options", + 'LIST_ADMIN_MENU_2' => "icon : default", + 'LIST_ADMIN_MENU_3' => "use default theme bullet if no icon is present or if icon:use is disabled", + 'LIST_ADMIN_LAN_2' => "caption", + 'LIST_ADMIN_LAN_3' => "define a caption", + 'LIST_ADMIN_LAN_5' => "icon : use", + 'LIST_ADMIN_LAN_6' => "use icon from each section", + 'LIST_ADMIN_LAN_8' => "characters", + 'LIST_ADMIN_LAN_9' => "choose how many characters of the heading will be shown", + 'LIST_ADMIN_LAN_10' => "leave blank to show full heading", + 'LIST_ADMIN_LAN_11' => "postfix", + 'LIST_ADMIN_LAN_12' => "choose a postfix if the heading is larger then the given amount of characters", + 'LIST_ADMIN_LAN_13' => "leave blank to show no postfix", + 'LIST_ADMIN_LAN_14' => "date", + 'LIST_ADMIN_LAN_15' => "choose a date style", + 'LIST_ADMIN_LAN_16' => "For more information on date formats see the strftime function page at php.net", + 'LIST_ADMIN_LAN_17' => "today date", + 'LIST_ADMIN_LAN_18' => "choose a date style if the date is today", + 'LIST_ADMIN_LAN_19' => "For more information on date formats see the strftime function page at php.net", + 'LIST_ADMIN_LAN_20' => "columns", + 'LIST_ADMIN_LAN_21' => "choose an amount of columns", + 'LIST_ADMIN_LAN_22' => "define how many columns you want to use. the number you specify will separate the page into an equal amount of columns", + 'LIST_ADMIN_LAN_23' => "welcome text", + 'LIST_ADMIN_LAN_24' => "define a welcome text that will be rendered at the top of the page", + 'LIST_ADMIN_LAN_26' => "show empty", + 'LIST_ADMIN_LAN_27' => "define if a message needs to be shown when sections have no results", + 'LIST_ADMIN_LAN_28' => "", + 'LIST_ADMIN_LAN_29' => "icon : default", + 'LIST_ADMIN_LAN_30' => "use default theme bullet if no icon is present or if icon:use is disabled", + 'LIST_ADMIN_LAN_32' => "timelapse:days", + 'LIST_ADMIN_LAN_33' => "maximum of days users can look back", + 'LIST_ADMIN_LAN_35' => "days", + 'LIST_ADMIN_LAN_36' => "timelapse", + 'LIST_ADMIN_LAN_37' => "display a select box with number of days to look back?", + 'LIST_ADMIN_LAN_39' => "open if records exist", + 'LIST_ADMIN_LAN_40' => "should sections that contain records be opened by default?", + 'LAN_AL_LISTNEW_01' => "List New preferences updated", +]; diff --git a/e107_plugins/list_new/languages/English_global.php b/e107_plugins/list_new/languages/English_global.php index 3d518a493..1eb751c68 100644 --- a/e107_plugins/list_new/languages/English_global.php +++ b/e107_plugins/list_new/languages/English_global.php @@ -6,5 +6,8 @@ * 'List new items' global language defines */ -define("LAN_PLUGIN_LIST_NEW_NAME", "List New Items"); -define("LAN_PLUGIN_LIST_NEW_DESCRIPTION", "This plugin allows you to view a list and/or menu of recent additions in all e107 categories. You can either view the list with data since your last visit, or view a general latest additions list."); + +return [ + 'LAN_PLUGIN_LIST_NEW_NAME' => "List New Items", + 'LAN_PLUGIN_LIST_NEW_DESCRIPTION' => "This plugin allows you to view a list and/or menu of recent additions in all e107 categories. You can either view the list with data since your last visit, or view a general latest additions list.", +]; diff --git a/e107_plugins/login_menu/languages/English.php b/e107_plugins/login_menu/languages/English.php index e61728581..ddbc08f30 100644 --- a/e107_plugins/login_menu/languages/English.php +++ b/e107_plugins/login_menu/languages/English.php @@ -14,64 +14,51 @@ * $Author$ */ -define("LAN_LOGINMENU_1", "Username: "); -define("LAN_LOGINMENU_2", "Password: "); -define("LAN_LOGINMENU_3", "Sign up"); -define("LAN_LOGINMENU_4", "Forgot password?"); -define("LAN_LOGINMENU_5", "Welcome"); -define("LAN_LOGINMENU_6", "Remember me"); -define("LAN_LOGINMENU_7", "Unique user ID not recognised (possible corrupted cookie). Please click the logout link below to destroy cookie."); -// define("LAN_LOGINMENU_8", "Logout"); -define("LAN_LOGINMENU_9", "Login Error"); -define("LAN_LOGINMENU_10", "The maintenance flag is true - this means normal visitors are being redirected to sitedown.php. To reset the flag go to admin/maintenance."); -define("LAN_LOGINMENU_11", "Admin Area"); -// define("LAN_LOGINMENU_12", "Settings"); -define("LAN_LOGINMENU_13", "Profile"); -define("LAN_LOGINMENU_14", "news item"); -define("LAN_LOGINMENU_15", "news items"); -define("LAN_LOGINMENU_16", "chatbox post"); -define("LAN_LOGINMENU_17", "chatbox posts"); -define("LAN_LOGINMENU_18", "comment"); -define("LAN_LOGINMENU_19", "comments"); -define("LAN_LOGINMENU_20", "forum post"); -define("LAN_LOGINMENU_21", "forum posts"); -define("LAN_LOGINMENU_22", "new site member"); -define("LAN_LOGINMENU_23", "new site members"); -define("LAN_LOGINMENU_24", "Click here to see list of new items"); -define("LAN_LOGINMENU_25", "Since your last visit there have been"); -define("LAN_LOGINMENU_26", "no"); -define("LAN_LOGINMENU_27", "and"); -//define("LAN_LOGINMENU_28", "Login"); -//define("LAN_LOGINMENU_29", "new article"); -//define("LAN_LOGINMENU_30", "new articles"); - -// New config options -define("LAN_LOGINMENU_31", "Show New News Posts"); -//define("LAN_LOGINMENU_32", "Show New Article Posts"); -//define("LAN_LOGINMENU_33", "Show New Chatbox Posts"); -define("LAN_LOGINMENU_34", "Show New Comment Posts"); -//define("LAN_LOGINMENU_35", "Show New Forum Posts"); -define("LAN_LOGINMENU_36", "Show New Members"); - - -define("LAN_LOGINMENU_39", "Leave Admin"); -define("LAN_LOGINMENU_40", "Resend Activation Email"); -define("LAN_LOGINMENU_41", "Login Menu Settings"); - -//new v0.8 -define("LAN_LOGINMENU_37", "Show"); -define("LAN_LOGINMENU_38", "Login menu - Additional Links"); - -define("LAN_LOGINMENU_42", "Login menu - Recent core additions"); -define("LAN_LOGINMENU_43", "Position"); -define("LAN_LOGINMENU_44", "missing link title"); -define("LAN_LOGINMENU_45", "link(s) -"); -define("LAN_LOGINMENU_45a", ""); //pre -define("LAN_LOGINMENU_45b", "plugin"); //post -define("LAN_LOGINMENU_46", "recent items -"); -define("LAN_LOGINMENU_47", "Login menu - Recent plugin additions"); -define("LAN_LOGINMENU_48", "Menu Config"); -define("LAN_LOGINMENU_49", "Email: "); -define("LAN_LOGINMENU_50", "Username or Email: "); -define("LAN_LOGINMENU_51", "Sign In"); +return [ + 'LAN_LOGINMENU_1' => "Username:", + 'LAN_LOGINMENU_2' => "Password:", + 'LAN_LOGINMENU_3' => "Sign up", + 'LAN_LOGINMENU_4' => "Forgot password?", + 'LAN_LOGINMENU_5' => "Welcome", + 'LAN_LOGINMENU_6' => "Remember me", + 'LAN_LOGINMENU_7' => "Unique user ID not recognised (possible corrupted cookie). Please click the logout link below to destroy cookie.", + 'LAN_LOGINMENU_9' => "Login Error", + 'LAN_LOGINMENU_10' => "The maintenance flag is true - this means normal visitors are being redirected to sitedown.php. To reset the flag go to admin/maintenance.", + 'LAN_LOGINMENU_11' => "Admin Area", + 'LAN_LOGINMENU_13' => "Profile", + 'LAN_LOGINMENU_14' => "news item", + 'LAN_LOGINMENU_15' => "news items", + 'LAN_LOGINMENU_16' => "chatbox post", + 'LAN_LOGINMENU_17' => "chatbox posts", + 'LAN_LOGINMENU_18' => "comment", + 'LAN_LOGINMENU_19' => "comments", + 'LAN_LOGINMENU_20' => "forum post", + 'LAN_LOGINMENU_21' => "forum posts", + 'LAN_LOGINMENU_22' => "new site member", + 'LAN_LOGINMENU_23' => "new site members", + 'LAN_LOGINMENU_24' => "Click here to see list of new items", + 'LAN_LOGINMENU_25' => "Since your last visit there have been", + 'LAN_LOGINMENU_26' => "no", + 'LAN_LOGINMENU_27' => "and", + 'LAN_LOGINMENU_31' => "Show New News Posts", + 'LAN_LOGINMENU_34' => "Show New Comment Posts", + 'LAN_LOGINMENU_36' => "Show New Members", + 'LAN_LOGINMENU_39' => "Leave Admin", + 'LAN_LOGINMENU_40' => "Resend Activation Email", + 'LAN_LOGINMENU_41' => "Login Menu Settings", + 'LAN_LOGINMENU_37' => "Show", + 'LAN_LOGINMENU_38' => "Login menu - Additional Links", + 'LAN_LOGINMENU_42' => "Login menu - Recent core additions", + 'LAN_LOGINMENU_43' => "Position", + 'LAN_LOGINMENU_44' => "missing link title", + 'LAN_LOGINMENU_45' => "link(s) -", + 'LAN_LOGINMENU_45a' => "", + 'LAN_LOGINMENU_45b' => "plugin", + 'LAN_LOGINMENU_46' => "recent items -", + 'LAN_LOGINMENU_47' => "Login menu - Recent plugin additions", + 'LAN_LOGINMENU_48' => "Menu Config", + 'LAN_LOGINMENU_49' => "Email:", + 'LAN_LOGINMENU_50' => "Username or Email:", + 'LAN_LOGINMENU_51' => "Sign In", +]; diff --git a/e107_plugins/news/languages/English.php b/e107_plugins/news/languages/English.php index 35705ccab..cebe72093 100644 --- a/e107_plugins/news/languages/English.php +++ b/e107_plugins/news/languages/English.php @@ -6,10 +6,11 @@ * News menu language file */ -define("TD_MENU_L1", "Other News"); -define("TD_MENU_L2", "Other News"); - -define("LAN_NEWSCAT_MENU_TITLE", "News Categories"); -define("LAN_NEWSLATEST_MENU_TITLE", "Latest News"); -define("LAN_NEWSARCHIVE_MENU_TITLE", "News Archive"); +return [ + 'TD_MENU_L1' => "Other News", + 'TD_MENU_L2' => "Other News", + 'LAN_NEWSCAT_MENU_TITLE' => "News Categories", + 'LAN_NEWSLATEST_MENU_TITLE' => "Latest News", + 'LAN_NEWSARCHIVE_MENU_TITLE' => "News Archive", +]; diff --git a/e107_plugins/news/languages/English_admin.php b/e107_plugins/news/languages/English_admin.php index b5769ad7e..d8df540ba 100644 --- a/e107_plugins/news/languages/English_admin.php +++ b/e107_plugins/news/languages/English_admin.php @@ -10,16 +10,18 @@ | +--------------------------------------------------------------------------+ */ -define("LAN_NEWS_ADMIN_00", "Latest News Items"); -define("LAN_NEWS_ADMIN_01", "Sticky News Items"); -define("LAN_NEWS_ADMIN_02", "Assigned News items"); -define("LAN_NEWS_ADMIN_03", "Limit news items to a specific category"); -define("LAN_NEWS_ADMIN_04", "Assigned items are those with a template assigned to 'News Grid Menu'"); -define("LAN_NEWS_ADMIN_05", "Number of Items to Display"); -define("LAN_NEWS_ADMIN_06", "Title Character Limit"); -define("LAN_NEWS_ADMIN_07", "Summary Character Limit"); -define("LAN_NEWS_ADMIN_08", "Display Archive Link"); -define("LAN_NEWS_ADMIN_09", "Limits"); -define("LAN_NEWS_ADMIN_10", "Number of Feature Items"); -define("LAN_NEWS_ADMIN_11", "Assigned items are those with a template assigned to 'News Carousel'"); +return [ + 'LAN_NEWS_ADMIN_00' => "Latest News Items", + 'LAN_NEWS_ADMIN_01' => "Sticky News Items", + 'LAN_NEWS_ADMIN_02' => "Assigned News items", + 'LAN_NEWS_ADMIN_03' => "Limit news items to a specific category", + 'LAN_NEWS_ADMIN_04' => "Assigned items are those with a template assigned to 'News Grid Menu'", + 'LAN_NEWS_ADMIN_05' => "Number of Items to Display", + 'LAN_NEWS_ADMIN_06' => "Title Character Limit", + 'LAN_NEWS_ADMIN_07' => "Summary Character Limit", + 'LAN_NEWS_ADMIN_08' => "Display Archive Link", + 'LAN_NEWS_ADMIN_09' => "Limits", + 'LAN_NEWS_ADMIN_10' => "Number of Feature Items", + 'LAN_NEWS_ADMIN_11' => "Assigned items are those with a template assigned to 'News Carousel'", +]; diff --git a/e107_plugins/news/languages/English_global.php b/e107_plugins/news/languages/English_global.php index 32e5e7e14..ba594a54f 100644 --- a/e107_plugins/news/languages/English_global.php +++ b/e107_plugins/news/languages/English_global.php @@ -1,4 +1,7 @@ "News", +]; diff --git a/e107_plugins/newsfeed/languages/English_admin.php b/e107_plugins/newsfeed/languages/English_admin.php index cec559fdd..57f6bb995 100644 --- a/e107_plugins/newsfeed/languages/English_admin.php +++ b/e107_plugins/newsfeed/languages/English_admin.php @@ -22,72 +22,46 @@ //define("NFLAN_09", "Create newsfeed");// not used //define("NFLAN_10", "URL to rss feed"); //define("NFLAN_10", "URL to the RSS feed.");// not used -define("NFLAN_11", "Path to image"); -define("NFLAN_12", "Activation"); -define("NFLAN_13", "Nowhere (inactive)");// not used -define("NFLAN_14", "In menu only"); -//define("NFLAN_15", "Create Newsfeed"); -//define("NFLAN_16", "Update Newsfeed"); -//define("NFLAN_17", "Enter 'default' to use the image defined in the feed. To use your own image, enter full path. Leave blank for no image."); -define("NFLAN_18", "Update interval in seconds"); -define("NFLAN_19", "e.g. 3600: newsfeed will update every hour"); -define("NFLAN_20", "On newsfeed main page only"); -define("NFLAN_21", "In both menu and newsfeed page"); -//define("NFLAN_22", "Choose where you want the newsfeed displayed."); -//define("NFLAN_23", "Newsfeed added to database."); -//define("NFLAN_24", "Required field(s) left blank."); -//define("NFLAN_25", "Newsfeed updated in database."); -define("NFLAN_26", "Update Interval"); -//define("NFLAN_27", "Options"); -//define("NFLAN_28", "URL"); -//define("NFLAN_29", "Available newsfeeds"); -//define("NFLAN_30", "Feed name"); -//define("NFLAN_31", "Back to newsfeed list"); -//define("NFLAN_32", "No feed with that identification number can be found."); -//define("NFLAN_33", "Date published: "); -//define("NFLAN_34", "not known"); -//define("NFLAN_35", "posted by "); -//define("NFLAN_36", "Description"); -//define("NFLAN_37", "Short description of feed. Enter 'default' to use the description defined in the feed"); -//define("NFLAN_38", "Headlines"); -//define("NFLAN_39", "Details"); -//define("NFLAN_40", "Newsfeed deleted"); -//define("NFLAN_41", "No newsfeeds defined yet"); -define("NFLAN_43", "Newsfeed Help"); -define("NFLAN_42", "[h=4]Newsfeed Title[/h] +return [ + 'NFLAN_11' => "Path to image", + 'NFLAN_12' => "Activation", + 'NFLAN_13' => "Nowhere (inactive)", + 'NFLAN_14' => "In menu only", + 'NFLAN_18' => "Update interval in seconds", + 'NFLAN_19' => "e.g. 3600: newsfeed will update every hour", + 'NFLAN_20' => "On newsfeed main page only", + 'NFLAN_21' => "In both menu and newsfeed page", + 'NFLAN_26' => "Update Interval", + 'NFLAN_43' => "Newsfeed Help", + 'NFLAN_42' => "[h=4]Newsfeed Title[/h] Enter a name to identify the newsfeed accurately. + [h=4]URL to RSS Feed[/h] + The RSS provider will give you a web address (URL) for the newsfeed. + [h=4]Path to Image[/h] + If the provider specifies an image to use, enter 'default' to use it or choose use your own image by entering the immage address. Leave blank to use no image at all. + [h=4]Description[/h] + Enter a short description for the feed, or 'default' to use the description defined in the feed (if there is one). + [h=4]Update Interval[/h] + Enter the number of seconds before the feed is updated. + For example, 1800 = 30 Minutes, 3600 = 1 Hour, 86400 = 1 Day. + [h=4]Activation[/h] - Newsfeeds can be displayed in the menu only or on the newsfeed page. Enter the details where feeds should be displayed. To see newsfeeds in e107 menus you will need to activate the [b]Newsfeeds Menu[/b] in [link=".e_ADMIN."menus.php]Menu Manager[/link]. + + Newsfeeds can be displayed in the menu only or on the newsfeed page. Enter the details where feeds should be displayed. To see newsfeeds in e107 menus you will need to activate the [b]Newsfeeds Menu[/b] in [link=\".e_ADMIN.\"menus.php]Menu Manager[/link]. + [h=4]Tip[/h] - There are many feed direcotries on the web, try [link=https://www.dmoz.org/Computers/Internet/On_the_Web/Syndication_and_Feeds/RSS/Directories/ external]dmoz[/link] or [link=http://www.feedster.com/ external]feedster.com[/link]"); - - //define("NFLAN_44", "click to view");LAN_CLICK_TO_VIEW - -define("NFLAN_45", "Number of items to show in menu"); -define("NFLAN_46", "Number of items to show on main page"); -//define("NFLAN_47", "0 or blank to show all");//not used - -//define("NFLAN_48", "Unable to save raw data in database."); -//define("NFLAN_49", "Unable to unserialize rss data - uses non-standard syntax");//not used -//define("NFLAN_50", "Write to database failed: "); - -// Admin log messages -//=================== -//define("LAN_AL_NEWSFD_01","News Feed created");//not used -//define("LAN_AL_NEWSFD_02","News Feed updated");//not used -//define("LAN_AL_NEWSFD_03","News Feed deleted");//not used -//define("LAN_AL_NEWSFD_04","");//not used -//define("LAN_AL_NEWSFD_05","");//not used - -//define("NFLAN_50", "Last Refresh");//LAN_LAST_UPDATED +There are many feed direcotries on the web, try [link=https://www.dmoz.org/Computers/Internet/On_the_Web/Syndication_and_Feeds/RSS/Directories/ external]dmoz[/link] or [link=http://www.feedster.com/ external]feedster.com[/link]", + 'NFLAN_45' => "Number of items to show in menu", + 'NFLAN_46' => "Number of items to show on main page", +]; diff --git a/e107_plugins/newsfeed/languages/English_frontpage.php b/e107_plugins/newsfeed/languages/English_frontpage.php index 9756240d0..7c1af6ecd 100644 --- a/e107_plugins/newsfeed/languages/English_frontpage.php +++ b/e107_plugins/newsfeed/languages/English_frontpage.php @@ -15,6 +15,8 @@ * */ -define("NWSF_FP_1", "News Feeds"); -define("NWSF_FP_2", "main page"); +return [ + 'NWSF_FP_1' => "News Feeds", + 'NWSF_FP_2' => "main page", +]; diff --git a/e107_plugins/newsfeed/languages/English_global.php b/e107_plugins/newsfeed/languages/English_global.php index a095fc3e8..0a2a88311 100644 --- a/e107_plugins/newsfeed/languages/English_global.php +++ b/e107_plugins/newsfeed/languages/English_global.php @@ -1,6 +1,7 @@ "Newsfeeds", + 'LAN_PLUGIN_NEWSFEEDS_DESCRIPTION' => "This plugin will retrieve rss feeds from other websites and display them according to your preferences.", +]; diff --git a/e107_plugins/newsfeed/languages/English_newsfeed.php b/e107_plugins/newsfeed/languages/English_newsfeed.php index 6398bb8d0..674c93bf0 100644 --- a/e107_plugins/newsfeed/languages/English_newsfeed.php +++ b/e107_plugins/newsfeed/languages/English_newsfeed.php @@ -14,14 +14,13 @@ * $Author$ * */ -define("NFLAN_29", "Available newsfeeds"); -define("NFLAN_31", "Back to newsfeed list"); -define("NFLAN_33", "Date published: "); -define("NFLAN_34", "not known"); -define("NFLAN_38", "Headlines"); -define("NFLAN_39", "Details"); -define("NFLAN_48", "Unable to save raw data in database."); - - - +return [ + 'NFLAN_29' => "Available newsfeeds", + 'NFLAN_31' => "Back to newsfeed list", + 'NFLAN_33' => "Date published:", + 'NFLAN_34' => "not known", + 'NFLAN_38' => "Headlines", + 'NFLAN_39' => "Details", + 'NFLAN_48' => "Unable to save raw data in database.", +]; diff --git a/e107_plugins/newsletter/languages/English.php b/e107_plugins/newsletter/languages/English.php index 652b064cc..4f36b0f9e 100644 --- a/e107_plugins/newsletter/languages/English.php +++ b/e107_plugins/newsletter/languages/English.php @@ -10,20 +10,19 @@ * */ -define("NLLAN_MENU_CAPTION", "Newsletter"); -define("NLLAN_48", "You are subscribed to this newsletter - if you wish to unsubscribe please click the button below."); -define("NLLAN_49", "Are you sure you want to unsubscribe from this newsletter?"); -define("NLLAN_50", "Click button to subscribe (your subscription address is"); -define("NLLAN_51", "Unsubscribe"); -define("NLLAN_52", "Subscribe"); -define("NLLAN_53", "Are you sure you want to subscribe to this newsletter?"); - -define("NLLAN_67", "Archive overview"); -define("NLLAN_68", "Invalid parameter defined"); -define("NLLAN_69", "No sent newsletters available."); -define("NLLAN_70", "Selected newsletter does not exist"); -//define("NLLAN_71", "Back"); -define("NLLAN_72", "View archive"); - -define("NLLAN_73", "Enter your Email"); +return [ + 'NLLAN_MENU_CAPTION' => "Newsletter", + 'NLLAN_48' => "You are subscribed to this newsletter - if you wish to unsubscribe please click the button below.", + 'NLLAN_49' => "Are you sure you want to unsubscribe from this newsletter?", + 'NLLAN_50' => "Click button to subscribe (your subscription address is", + 'NLLAN_51' => "Unsubscribe", + 'NLLAN_52' => "Subscribe", + 'NLLAN_53' => "Are you sure you want to subscribe to this newsletter?", + 'NLLAN_67' => "Archive overview", + 'NLLAN_68' => "Invalid parameter defined", + 'NLLAN_69' => "No sent newsletters available.", + 'NLLAN_70' => "Selected newsletter does not exist", + 'NLLAN_72' => "View archive", + 'NLLAN_73' => "Enter your Email", +]; diff --git a/e107_plugins/newsletter/languages/English_admin.php b/e107_plugins/newsletter/languages/English_admin.php index 78bcfb22c..552d67e2e 100644 --- a/e107_plugins/newsletter/languages/English_admin.php +++ b/e107_plugins/newsletter/languages/English_admin.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) * @@ -13,70 +13,40 @@ //define("NLLAN_01", "Newsletter"); //define("NLLAN_02", "Provides a quick and easy way to configure and send newsletters"); //define("NLLAN_03", "Configure Newsletters"); -define("NLLAN_04", "The newsletter plugin has been successfully installed. To configure, return to your main admin page and click on \"Newsletter\" in the plugin section."); -define("NLLAN_05", "No newsletters defined yet"); - -//define("NLLAN_06", "Name"); -define("NLLAN_07", "Subscribers"); -//define("NLLAN_08", "Options"); -//define("NLLAN_09", "Are you sure you want to delete this newsletter?"); -define("NLLAN_10", "Existing Newsletters"); - -define("NLLAN_11", "No newsletter issues yet."); -define("NLLAN_12", "Issue"); -define("NLLAN_13", "[ Parent ID ] Subject/Title"); -define("NLLAN_14", "Mailed?"); -//define("NLLAN_15", "Options"); -//define("NLLAN_16", "yes"); -define("NLLAN_17", "Not sent out - click to send"); -define("NLLAN_18", "Are you sure you want to mail this issue to subscribers?"); -define("NLLAN_19", "Are you sure you want to delete this newsletter issue?"); -define("NLLAN_20", "Existing Issues"); -//define("NLLAN_21", "Title"); -//define("NLLAN_22", "Description"); -define("NLLAN_23", "Header"); -define("NLLAN_24", "Footer"); -//define("NLLAN_25", "Update Newsletter"); -//define("NLLAN_26", "Create Newsletter"); -//define("NLLAN_27", "Newsletter updated in database."); -//define("NLLAN_28", "Newsletter defined and saved in database."); -//define("NLLAN_29", "No newsletters defined yet."); -define("NLLAN_30", "Newsletter"); -define("NLLAN_31", "Subject / Title"); -define("NLLAN_32", "Issue Number"); -define("NLLAN_33", "Text"); -//define("NLLAN_34", "Update Mailing"); -//define("NLLAN_35", "Create Mailing"); -define("NLLAN_36", "Update Newsletter Issue"); -define("NLLAN_37", "Create Newsletter Issue"); -//define("NLLAN_38", "Newsletter updated in database."); -define("NLLAN_39", "Newsletter issue saved in database - to send out, click the \"Release Issue\" button in the Options menu."); -define("NLLAN_40", "Mailout added to mailout queue - issue sent to [x] subscriber(s)."); -define("NLLAN_41", "No subscribers found - email cancelled"); -//define("NLLAN_42", "Newsletter deleted."); -//define("NLLAN_43", "Newsletter issue deleted."); - -define("NLLAN_44", "Newsletter Front Page"); // FIXME admin_menu -define("NLLAN_45", "Create Newsletter"); // FIXME admin_menu -define("NLLAN_46", "Create Mailing"); // FIXME admin_menu -define("NLLAN_47", "Newsletter Options"); -// define("NLLAN_48", "Newsletter Subscribers"); -// define("NLLAN_49", "Newsletter: "); - -define("NLLAN_54", "Sending"); - -//define("NLLAN_55", "ID"); -define("NLLAN_56", "Newsletter ID not available"); -//define("NLLAN_57", "Return to previous page"); -//define("NLLAN_58", "Error"); -//define("NLLAN_59", "Name"); -//define("NLLAN_60", "Email"); -//define("NLLAN_61", "Actions"); -define("NLLAN_62", "User is banned! (or not fully signed up)"); -define("NLLAN_63", "Total subscribers"); -define("NLLAN_64", "Return to Newsletter frontpage"); -define("NLLAN_65", "Subscribers overview newsletter ID"); -define("NLLAN_66", "Your news letter subscriber list has been sanitised."); - -// Up to NLLAN_72 used in "public" file +return [ + 'NLLAN_04' => "The newsletter plugin has been successfully installed. To configure, return to your main admin page and click on \"Newsletter\" in the plugin section.", + 'NLLAN_05' => "No newsletters defined yet", + 'NLLAN_07' => "Subscribers", + 'NLLAN_10' => "Existing Newsletters", + 'NLLAN_11' => "No newsletter issues yet.", + 'NLLAN_12' => "Issue", + 'NLLAN_13' => "[ Parent ID ] Subject/Title", + 'NLLAN_14' => "Mailed?", + 'NLLAN_17' => "Not sent out - click to send", + 'NLLAN_18' => "Are you sure you want to mail this issue to subscribers?", + 'NLLAN_19' => "Are you sure you want to delete this newsletter issue?", + 'NLLAN_20' => "Existing Issues", + 'NLLAN_23' => "Header", + 'NLLAN_24' => "Footer", + 'NLLAN_30' => "Newsletter", + 'NLLAN_31' => "Subject / Title", + 'NLLAN_32' => "Issue Number", + 'NLLAN_33' => "Text", + 'NLLAN_36' => "Update Newsletter Issue", + 'NLLAN_37' => "Create Newsletter Issue", + 'NLLAN_39' => "Newsletter issue saved in database - to send out, click the \"Release Issue\" button in the Options menu.", + 'NLLAN_40' => "Mailout added to mailout queue - issue sent to [x] subscriber(s).", + 'NLLAN_41' => "No subscribers found - email cancelled", + 'NLLAN_44' => "Newsletter Front Page", + 'NLLAN_45' => "Create Newsletter", + 'NLLAN_46' => "Create Mailing", + 'NLLAN_47' => "Newsletter Options", + 'NLLAN_54' => "Sending", + 'NLLAN_56' => "Newsletter ID not available", + 'NLLAN_62' => "User is banned! (or not fully signed up)", + 'NLLAN_63' => "Total subscribers", + 'NLLAN_64' => "Return to Newsletter frontpage", + 'NLLAN_65' => "Subscribers overview newsletter ID", + 'NLLAN_66' => "Your news letter subscriber list has been sanitised.", +]; diff --git a/e107_plugins/newsletter/languages/English_global.php b/e107_plugins/newsletter/languages/English_global.php index a03446cf1..ab2590792 100644 --- a/e107_plugins/newsletter/languages/English_global.php +++ b/e107_plugins/newsletter/languages/English_global.php @@ -1,5 +1,7 @@ "Newsletter", + 'LAN_PLUGIN_NEWSLETTER_DESCRIPTION' => "Provides a quick and easy way to configure and send newsletters.", +]; diff --git a/e107_plugins/online/languages/English.php b/e107_plugins/online/languages/English.php index c828aec07..572162e80 100644 --- a/e107_plugins/online/languages/English.php +++ b/e107_plugins/online/languages/English.php @@ -15,37 +15,29 @@ */ //lastseen -define("LAN_LASTSEEN_1", "Last Seen Menu"); - -//online -define('LAN_ONLINE_TRACKING_MESSAGE', "Online user tracking is currently disabled, please enable it [here]"); -define("LAN_ONLINE_1", "Guests: "); -define("LAN_ONLINE_2", "Members: "); -define("LAN_ONLINE_3", "On this page: "); -define("LAN_ONLINE_4", "Online"); -define("LAN_ONLINE_5", ""); -define("LAN_ONLINE_6", "Newest Member: "); -define("LAN_ONLINE_7", "viewing"); -define("LAN_ONLINE_8", "Most ever online: "); -define("LAN_ONLINE_9", "on "); -define("LAN_ONLINE_10", "Online Menu"); - -define("LAN_ONLINE_11", "Total registered members:"); - -//admin -//define("LAN_ONLINE_ADMIN_ENABLED", "enabled"); -//define("LAN_ONLINE_ADMIN_DISABLED", "disabled"); - -//define("LAN_ONLINE_ADMIN_0", "online menu / lastseen menu"); -define("LAN_ONLINE_ADMIN_1", "lastseen menu"); -define("LAN_ONLINE_ADMIN_2", "Caption lastseen menu"); -define("LAN_ONLINE_ADMIN_3", "Number of records to display"); -define("LAN_ONLINE_ADMIN_4", "online menu"); -define("LAN_ONLINE_ADMIN_5", "Caption online menu"); -define("LAN_ONLINE_ADMIN_6", "Show list of members online?"); -define("LAN_ONLINE_ADMIN_7", "Show extended list of members online?"); -define("LAN_ONLINE_ADMIN_8", "Displays a comma seperated list of members."); -define("LAN_ONLINE_ADMIN_9", "Displays a list of members viewing a page."); -define("LAN_ONLINE_ADMIN_10", "Display guests online."); - +return [ + 'LAN_LASTSEEN_1' => "Last Seen Menu", + 'LAN_ONLINE_TRACKING_MESSAGE' => "Online user tracking is currently disabled, please enable it [here]", + 'LAN_ONLINE_1' => "Guests:", + 'LAN_ONLINE_2' => "Members:", + 'LAN_ONLINE_3' => "On this page:", + 'LAN_ONLINE_4' => "Online", + 'LAN_ONLINE_5' => "", + 'LAN_ONLINE_6' => "Newest Member:", + 'LAN_ONLINE_7' => "viewing", + 'LAN_ONLINE_8' => "Most ever online:", + 'LAN_ONLINE_9' => "on", + 'LAN_ONLINE_10' => "Online Menu", + 'LAN_ONLINE_11' => "Total registered members:", + 'LAN_ONLINE_ADMIN_1' => "lastseen menu", + 'LAN_ONLINE_ADMIN_2' => "Caption lastseen menu", + 'LAN_ONLINE_ADMIN_3' => "Number of records to display", + 'LAN_ONLINE_ADMIN_4' => "online menu", + 'LAN_ONLINE_ADMIN_5' => "Caption online menu", + 'LAN_ONLINE_ADMIN_6' => "Show list of members online?", + 'LAN_ONLINE_ADMIN_7' => "Show extended list of members online?", + 'LAN_ONLINE_ADMIN_8' => "Displays a comma seperated list of members.", + 'LAN_ONLINE_ADMIN_9' => "Displays a list of members viewing a page.", + 'LAN_ONLINE_ADMIN_10' => "Display guests online.", +]; diff --git a/e107_plugins/page/languages/English/English_global.php b/e107_plugins/page/languages/English/English_global.php index ab4f23bcd..5364347be 100644 --- a/e107_plugins/page/languages/English/English_global.php +++ b/e107_plugins/page/languages/English/English_global.php @@ -1,4 +1,7 @@ "Search in Book/Chapter", + 'LAN_PLUGIN_PAGE_NAME' => "Pages", +]; diff --git a/e107_plugins/pm/languages/English.php b/e107_plugins/pm/languages/English.php index 134227d94..1d5387e0f 100755 --- a/e107_plugins/pm/languages/English.php +++ b/e107_plugins/pm/languages/English.php @@ -1,93 +1,88 @@ LAN_DELETE -define("LAN_PM_53", "Delete Selected"); -define("LAN_PM_54", "Quote original"); -define("LAN_PM_55", "Send Reply"); -define("LAN_PM_56", "You are not permitted to reply to this message"); -define("LAN_PM_57", "Message not found"); -define("LAN_PM_58", "Re: "); -define("LAN_PM_59", "Go to page: "); -define("LAN_PM_60", "You are not permitted to view this message"); -define("LAN_PM_61", "No subject"); -define("LAN_PM_62", "File: [{FILENAME}] exceeds size limit - not attached"); -define("LAN_PM_63", "class:"); -define("LAN_PM_64", "ERROR: You are not permitted to block messages from site administrators"); -define("LAN_PM_65", "ERROR: Nothing to send"); -define("LAN_PM_66", "Blocked Senders"); -define("LAN_PM_67", "No users blocked"); -define("LAN_PM_68", "User Name"); -define("LAN_PM_69", "Date blocked"); -define("LAN_PM_70", "Deleting block on user"); -define("LAN_PM_71", "[x] attachment(s) deleted. [y] failure(s)"); - - -define("LAN_PM_100", "New PM from"); -define("LAN_PM_101", "You have received a new Private Message from"); -define("LAN_PM_102", "Message sent from:"); -define("LAN_PM_103", "Message subject:"); -define("LAN_PM_104", "Number of attachments:"); -define("LAN_PM_105", "You can view the PM at:"); -define("LAN_PM_106", "PM read by"); -define("LAN_PM_107", "The Private Message you sent to {UNAME} was read on"); -define("LAN_PM_108", "Message sent on:"); -define("LAN_PM_109", "New Message(s)"); -define("LAN_PM_111", "Read"); -define("LAN_PM_112", "User(s)"); - -define("LAN_PM_113", "Read Message"); -define("LAN_PM_114", "You do not have access to send to this user."); -define("LAN_PM_115", "User Not Found"); +return [ + 'LAN_PM' => "Private Message", + 'LAN_PM_1' => "Send Private Message", + 'LAN_PM_2' => "To", + 'LAN_PM_3' => "Preview", + 'LAN_PM_4' => "Userclass", + 'LAN_PM_5' => "Subject", + 'LAN_PM_6' => "Message", + 'LAN_PM_7' => "Emotes", + 'LAN_PM_8' => "Attachments", + 'LAN_PM_9' => "Read receipt", + 'LAN_PM_10' => "Send me an email when this PM is read", + 'LAN_PM_11' => "add new upload", + 'LAN_PM_12' => "You are not authorized to use the PM system", + 'LAN_PM_13' => "Your outbox is currently {PERCENT}% full, you are unable to send PMs until you delete some", + 'LAN_PM_14' => "ERROR: Possible duplicate post, PM not sent", + 'LAN_PM_15' => "You are not allowed to send to userclass", + 'LAN_PM_16' => "Must be member of class", + 'LAN_PM_17' => "User not found", + 'LAN_PM_18' => "You are not allowed to send PMs to:", + 'LAN_PM_19' => "Your outbox is full, you are not allowed to send PMs", + 'LAN_PM_21' => "Adding this PM will exceed your maximum outbox size, PM not posted", + 'LAN_PM_22' => "File upload failed", + 'LAN_PM_23' => "You are not allowed to send attachments", + 'LAN_PM_24' => "Deleting PM", + 'LAN_PM_27' => "Unread", + 'LAN_PM_28' => "N/A", + 'LAN_PM_29' => "Message Sent", + 'LAN_PM_30' => "Message Read", + 'LAN_PM_31' => "From", + 'LAN_PM_32' => "Received", + 'LAN_PM_33' => "Sent", + 'LAN_PM_34' => "No Messages", + 'LAN_PM_35' => "Send new message", + 'LAN_PM_36' => "total", + 'LAN_PM_37' => "unread", + 'LAN_PM_38' => "PM Sent to userclass", + 'LAN_PM_39' => "Failed to send PM to", + 'LAN_PM_40' => "PM Sent to user", + 'LAN_PM_41' => "Failed to post PM to your Outbox", + 'LAN_PM_42' => "PM deleted from inbox", + 'LAN_PM_43' => "PM deleted from outbox", + 'LAN_PM_44' => "Block removed: {UNAME} is now allowed to send you PMs", + 'LAN_PM_45' => "ERROR: Block not removed, unknown error", + 'LAN_PM_46' => "Block not in place for {UNAME}", + 'LAN_PM_47' => "Block added: {UNAME} is no longer allowed to send you PMs", + 'LAN_PM_48' => "ERROR: Block not added, unknown error", + 'LAN_PM_49' => "ERROR: Block already in place for {UNAME}", + 'LAN_PM_50' => "Block User", + 'LAN_PM_51' => "Unblock User", + 'LAN_PM_53' => "Delete Selected", + 'LAN_PM_54' => "Quote original", + 'LAN_PM_55' => "Send Reply", + 'LAN_PM_56' => "You are not permitted to reply to this message", + 'LAN_PM_57' => "Message not found", + 'LAN_PM_58' => "Re:", + 'LAN_PM_59' => "Go to page:", + 'LAN_PM_60' => "You are not permitted to view this message", + 'LAN_PM_61' => "No subject", + 'LAN_PM_62' => "File: [{FILENAME}] exceeds size limit - not attached", + 'LAN_PM_63' => "class:", + 'LAN_PM_64' => "ERROR: You are not permitted to block messages from site administrators", + 'LAN_PM_65' => "ERROR: Nothing to send", + 'LAN_PM_66' => "Blocked Senders", + 'LAN_PM_67' => "No users blocked", + 'LAN_PM_68' => "User Name", + 'LAN_PM_69' => "Date blocked", + 'LAN_PM_70' => "Deleting block on user", + 'LAN_PM_71' => "[x] attachment(s) deleted. [y] failure(s)", + 'LAN_PM_100' => "New PM from", + 'LAN_PM_101' => "You have received a new Private Message from", + 'LAN_PM_102' => "Message sent from:", + 'LAN_PM_103' => "Message subject:", + 'LAN_PM_104' => "Number of attachments:", + 'LAN_PM_105' => "You can view the PM at:", + 'LAN_PM_106' => "PM read by", + 'LAN_PM_107' => "The Private Message you sent to {UNAME} was read on", + 'LAN_PM_108' => "Message sent on:", + 'LAN_PM_109' => "New Message(s)", + 'LAN_PM_111' => "Read", + 'LAN_PM_112' => "User(s)", + 'LAN_PM_113' => "Read Message", + 'LAN_PM_114' => "You do not have access to send to this user.", + 'LAN_PM_115' => "User Not Found", +]; diff --git a/e107_plugins/pm/languages/English_admin.php b/e107_plugins/pm/languages/English_admin.php index bf4ef0c01..0bb679feb 100644 --- a/e107_plugins/pm/languages/English_admin.php +++ b/e107_plugins/pm/languages/English_admin.php @@ -1,89 +1,78 @@
If you need to convert messages from a previous version, please go to the main config page for this plugin and select the 'convert' link."); -//define("ADLAN_PM_2", "Configure Private Messenger"); -define("ADLAN_PM_3", "PM settings not found, default values set"); -define("ADLAN_PM_4", "Options Updated"); -define("ADLAN_PM_5", "Limit for selected userclass already exists"); -define("ADLAN_PM_6", "Limit successfully added"); -define("ADLAN_PM_7", "Limit not added/updated - unknown error"); -define("ADLAN_PM_8", "Limit status updated"); -define("ADLAN_PM_9", " - Limit successfully removed"); -define("ADLAN_PM_10", " - Limit not removed - unknown error"); -define("ADLAN_PM_11", " - Limit successfully updated"); -define("ADLAN_PM_12", "PM Options"); -define("ADLAN_PM_13", "PM Conversion"); -define("ADLAN_PM_14", "PM Limits"); -define("ADLAN_PM_15", "Add PM Limit"); -define("ADLAN_PM_16", "Plugin Title"); -define("ADLAN_PM_17", "Show new PM animation"); -define("ADLAN_PM_18", "Show user dropdown"); -define("ADLAN_PM_19", "READ message timeout (days)"); -define("ADLAN_PM_20", "UNREAD message timeout (days)"); -define("ADLAN_PM_21", "Popup notification on new PM"); -define("ADLAN_PM_22", "Popup delay timeout"); -define("ADLAN_PM_23", "Restrict PM use to"); -define("ADLAN_PM_24", "Number of PMs to show per page"); -define("ADLAN_PM_25", "Enable PM email notifications"); -define("ADLAN_PM_26", "Allow user to request read receipt email notifications"); -define("ADLAN_PM_27", "Userclass which may include attachments"); -define("ADLAN_PM_28", "Maximum attachment size"); -define("ADLAN_PM_29", "Allow sending to all members"); -define("ADLAN_PM_30", "Userclass which may send to more than one user at a time"); -define("ADLAN_PM_31", "Userclass which may to send to entire userclasses"); -//define("ADLAN_PM_32", "Update Settings"); -define("ADLAN_PM_33", "Inactive (no limits)"); -define("ADLAN_PM_34", "PM counts"); -define("ADLAN_PM_35", "PM box sizes"); -// define("ADLAN_PM_36", "Userclass"); -define("ADLAN_PM_37", "Count limits"); -define("ADLAN_PM_38", "Size limits (in KB)"); -// define("ADLAN_PM_39", "Inbox"); -// define("ADLAN_PM_40", "Outbox"); -define("ADLAN_PM_41", "There are currently no limits set."); -//define("ADLAN_PM_42", "Update Limits"); -//define("ADLAN_PM_43", "Add New Limit"); -define("ADLAN_PM_44", "seconds"); -define("ADLAN_PM_45", "Limit PM By: "); -define("ADLAN_PM_54", "Main settings"); -define("ADLAN_PM_55", "Limits"); - -//define("ADLAN_PM_57", "This plugin is a fully featured Private Messaging system."); -// define("ADLAN_PM_58", "Private Messenger"); -define("ADLAN_PM_59", "Maintenance"); -define("ADLAN_PM_60", "PM Maintenance"); -//define("ADLAN_PM_61", "Execute"); -define("ADLAN_PM_62", "These options remove transactions concerned with deleted users from the PM database tables"); -define("ADLAN_PM_63", "Messages sent"); -define("ADLAN_PM_64", "Messages received"); -define("ADLAN_PM_65", "User blocks"); -define("ADLAN_PM_66", "No maintenance tasks specified"); -define("ADLAN_PM_67", "PM DB maintenance started"); -define("ADLAN_PM_68", "[x] blocks to deleted users removed"); -define("ADLAN_PM_69", "[x] blocks from deleted users removed"); -define("ADLAN_PM_70", "Database error [y]: [z] removing user blocks"); -define("ADLAN_PM_71", "Time-expired messages"); -define("ADLAN_PM_72", "No PM timeouts set"); -define("ADLAN_PM_73", "[x] time-expired PMs deleted"); -define("ADLAN_PM_74", "Removed [x] messages sent by deleted users"); -define("ADLAN_PM_75", "Removed [x] messages received by deleted users"); -//define("ADLAN_PM_76", "No changes made - nothing logged"); -define("ADLAN_PM_77", "(Empty all fields and Update to delete a limit)"); -define("ADLAN_PM_78", "Check attachments"); -define("ADLAN_PM_79", "[x] unused attachments deleted. [y] missing attachments noted"); -define("ADLAN_PM_80", "Preference formats updated"); -define("ADLAN_PM_81", "Maximum number of PMs to send immediately"); -define("ADLAN_PM_82", "If sending more than this, they are added to a queue and sent out using the cron task"); -define("ADLAN_PM_83", "Users may only send messages to users in this class"); -define("ADLAN_PM_84", "Maximum message length"); -define("ADLAN_PM_85", "0 = unlimited"); - -define("ADLAN_PM_86", "VIP Class"); -define("ADLAN_PM_87", "Users in this class can only receive messages from others in this class. Overrides the above preference."); -define("ADLAN_PM_88", "User may send PMs to"); -define("ADLAN_PM_89", "(Any user with the same class)"); -define("ADLAN_PM_90", "Please enter a recipient in the 'To' field."); -define("ADLAN_PM_91", "Test"); -define("ADLAN_PM_92", "Test Email Sent!"); -define("ADLAN_PM_93", "Test Email Failed!"); +return [ + 'ADLAN_PM_1' => "To activate please go to your menus screen and select the private_msg into one of your menu areas.

If you need to convert messages from a previous version, please go to the main config page for this plugin and select the 'convert' link.", + 'ADLAN_PM_3' => "PM settings not found, default values set", + 'ADLAN_PM_4' => "Options Updated", + 'ADLAN_PM_5' => "Limit for selected userclass already exists", + 'ADLAN_PM_6' => "Limit successfully added", + 'ADLAN_PM_7' => "Limit not added/updated - unknown error", + 'ADLAN_PM_8' => "Limit status updated", + 'ADLAN_PM_9' => "- Limit successfully removed", + 'ADLAN_PM_10' => "- Limit not removed - unknown error", + 'ADLAN_PM_11' => "- Limit successfully updated", + 'ADLAN_PM_12' => "PM Options", + 'ADLAN_PM_13' => "PM Conversion", + 'ADLAN_PM_14' => "PM Limits", + 'ADLAN_PM_15' => "Add PM Limit", + 'ADLAN_PM_16' => "Plugin Title", + 'ADLAN_PM_17' => "Show new PM animation", + 'ADLAN_PM_18' => "Show user dropdown", + 'ADLAN_PM_19' => "READ message timeout (days)", + 'ADLAN_PM_20' => "UNREAD message timeout (days)", + 'ADLAN_PM_21' => "Popup notification on new PM", + 'ADLAN_PM_22' => "Popup delay timeout", + 'ADLAN_PM_23' => "Restrict PM use to", + 'ADLAN_PM_24' => "Number of PMs to show per page", + 'ADLAN_PM_25' => "Enable PM email notifications", + 'ADLAN_PM_26' => "Allow user to request read receipt email notifications", + 'ADLAN_PM_27' => "Userclass which may include attachments", + 'ADLAN_PM_28' => "Maximum attachment size", + 'ADLAN_PM_29' => "Allow sending to all members", + 'ADLAN_PM_30' => "Userclass which may send to more than one user at a time", + 'ADLAN_PM_31' => "Userclass which may to send to entire userclasses", + 'ADLAN_PM_33' => "Inactive (no limits)", + 'ADLAN_PM_34' => "PM counts", + 'ADLAN_PM_35' => "PM box sizes", + 'ADLAN_PM_37' => "Count limits", + 'ADLAN_PM_38' => "Size limits (in KB)", + 'ADLAN_PM_41' => "There are currently no limits set.", + 'ADLAN_PM_44' => "seconds", + 'ADLAN_PM_45' => "Limit PM By:", + 'ADLAN_PM_54' => "Main settings", + 'ADLAN_PM_55' => "Limits", + 'ADLAN_PM_59' => "Maintenance", + 'ADLAN_PM_60' => "PM Maintenance", + 'ADLAN_PM_62' => "These options remove transactions concerned with deleted users from the PM database tables", + 'ADLAN_PM_63' => "Messages sent", + 'ADLAN_PM_64' => "Messages received", + 'ADLAN_PM_65' => "User blocks", + 'ADLAN_PM_66' => "No maintenance tasks specified", + 'ADLAN_PM_67' => "PM DB maintenance started", + 'ADLAN_PM_68' => "[x] blocks to deleted users removed", + 'ADLAN_PM_69' => "[x] blocks from deleted users removed", + 'ADLAN_PM_70' => "Database error [y]: [z] removing user blocks", + 'ADLAN_PM_71' => "Time-expired messages", + 'ADLAN_PM_72' => "No PM timeouts set", + 'ADLAN_PM_73' => "[x] time-expired PMs deleted", + 'ADLAN_PM_74' => "Removed [x] messages sent by deleted users", + 'ADLAN_PM_75' => "Removed [x] messages received by deleted users", + 'ADLAN_PM_77' => "(Empty all fields and Update to delete a limit)", + 'ADLAN_PM_78' => "Check attachments", + 'ADLAN_PM_79' => "[x] unused attachments deleted. [y] missing attachments noted", + 'ADLAN_PM_80' => "Preference formats updated", + 'ADLAN_PM_81' => "Maximum number of PMs to send immediately", + 'ADLAN_PM_82' => "If sending more than this, they are added to a queue and sent out using the cron task", + 'ADLAN_PM_83' => "Users may only send messages to users in this class", + 'ADLAN_PM_84' => "Maximum message length", + 'ADLAN_PM_85' => "0 = unlimited", + 'ADLAN_PM_86' => "VIP Class", + 'ADLAN_PM_87' => "Users in this class can only receive messages from others in this class. Overrides the above preference.", + 'ADLAN_PM_88' => "User may send PMs to", + 'ADLAN_PM_89' => "(Any user with the same class)", + 'ADLAN_PM_90' => "Please enter a recipient in the 'To' field.", + 'ADLAN_PM_91' => "Test", + 'ADLAN_PM_92' => "Test Email Sent!", + 'ADLAN_PM_93' => "Test Email Failed!", +]; diff --git a/e107_plugins/pm/languages/English_global.php b/e107_plugins/pm/languages/English_global.php index 723d52a03..cd333b211 100644 --- a/e107_plugins/pm/languages/English_global.php +++ b/e107_plugins/pm/languages/English_global.php @@ -1,18 +1,20 @@ "Private Messenger", + 'LAN_PLUGIN_PM_DESCRIPTION' => "This plugin is a fully featured Private Messaging system.", + 'LAN_PLUGIN_PM_URL_DEFAULT_LABEL' => "Default", + 'LAN_PLUGIN_PM_URL_DEFAULT_DESCR' => "Default", + 'LAN_PLUGIN_PM_INBOX' => "Inbox", + 'LAN_PLUGIN_PM_OUTBOX' => "Outbox", + 'LAN_PLUGIN_PM_NEW' => "Send New Message", + 'LAN_PLUGIN_PM_TO' => "To", + 'LAN_PLUGIN_PM_FROM' => "From", + 'LAN_PLUGIN_PM_SUB' => "Subject", + 'LAN_PLUGIN_PM_MESS' => "Message", + 'LAN_PLUGIN_PM_READ' => "Read", + 'LAN_PLUGIN_PM_DEL' => "Delete PM", + 'LAN_PLUGIN_PM_ATTACHMENT' => "Attachment", + 'LAN_PLUGIN_PM_SIZE' => "Size", +]; diff --git a/e107_plugins/pm/languages/English_log.php b/e107_plugins/pm/languages/English_log.php index 4f075a8ac..61b85e26f 100644 --- a/e107_plugins/pm/languages/English_log.php +++ b/e107_plugins/pm/languages/English_log.php @@ -14,13 +14,16 @@ * $Author$ */ -define("LAN_AL_PM_ADM_01", "PM: Default prefs used"); -define("LAN_AL_PM_ADM_02", "PM: Prefs updated"); -define("LAN_AL_PM_ADM_03", "PM: DB Maintenance complete"); -define("LAN_AL_PM_ADM_04", "PM: DB Maintenance started"); -define("LAN_AL_PM_ADM_05", "PM: Limit added"); -define("LAN_AL_PM_ADM_06", "PM: Limit updated"); -define("LAN_AL_PM_ADM_07", "PM: Limit deleted"); -define("LAN_AL_PM_ADM_08", "PM: Error creating limit data"); -define("LAN_AL_PM_ADM_09", "PM: Error updating limit data"); -define("LAN_AL_PM_ADM_10", "PM: Error deleting limit data"); + +return [ + 'LAN_AL_PM_ADM_01' => "PM: Default prefs used", + 'LAN_AL_PM_ADM_02' => "PM: Prefs updated", + 'LAN_AL_PM_ADM_03' => "PM: DB Maintenance complete", + 'LAN_AL_PM_ADM_04' => "PM: DB Maintenance started", + 'LAN_AL_PM_ADM_05' => "PM: Limit added", + 'LAN_AL_PM_ADM_06' => "PM: Limit updated", + 'LAN_AL_PM_ADM_07' => "PM: Limit deleted", + 'LAN_AL_PM_ADM_08' => "PM: Error creating limit data", + 'LAN_AL_PM_ADM_09' => "PM: Error updating limit data", + 'LAN_AL_PM_ADM_10' => "PM: Error deleting limit data", +]; diff --git a/e107_plugins/pm/languages/English_mailer.php b/e107_plugins/pm/languages/English_mailer.php index dc135195b..d7a985bdc 100644 --- a/e107_plugins/pm/languages/English_mailer.php +++ b/e107_plugins/pm/languages/English_mailer.php @@ -23,13 +23,13 @@ * @subpackage pm * @version $Id$; */ -define("LAN_EC_PM_01", ""); -define("LAN_EC_PM_02", ""); -define("LAN_EC_PM_03", ""); -define("LAN_EC_PM_04", "PM Handler"); -define("LAN_EC_PM_05", "Process large sends of PMs"); -define("LAN_EC_PM_06", "Start bulk PM processing for [y] recipients "); -define("LAN_EC_PM_07", ""); - - +return [ + 'LAN_EC_PM_01' => "", + 'LAN_EC_PM_02' => "", + 'LAN_EC_PM_03' => "", + 'LAN_EC_PM_04' => "PM Handler", + 'LAN_EC_PM_05' => "Process large sends of PMs", + 'LAN_EC_PM_06' => "Start bulk PM processing for [y] recipients", + 'LAN_EC_PM_07' => "", +]; diff --git a/e107_plugins/poll/languages/English.php b/e107_plugins/poll/languages/English.php index 8eeca1ece..f05074375 100644 --- a/e107_plugins/poll/languages/English.php +++ b/e107_plugins/poll/languages/English.php @@ -21,62 +21,23 @@ //define("POLLAN_1", "Existing polls");//LAN_MANAGE //define("POLLAN_2", "Create / edit polls");//LAN_CREATE -define("POLLAN_3", "Poll Question"); -define("POLLAN_4", "Poll Answers"); -//define("POLLAN_5", "Edit"); -//define("POLLAN_6", "Delete"); -//define("POLLAN_7", "No polls yet.");//LAN_NO_RECORDS_FOUND -//define("POLLAN_8", "Add another option");//LAN_ADD_MORE -//define("POLLAN_9", "Allow multiple choices?");//LAN_MULTIPLE_CHOICE -//define("POLLAN_10", "yes");//LAN_YES -//define("POLLAN_11", "no");//LAN_NO -define("POLLAN_12", "Show results"); -define("POLLAN_13", "after voting"); -define("POLLAN_14", "by clicking view results link - comments must be turned on to use this option"); -define("POLLAN_15", "Allow to vote on this poll"); -define("POLLAN_16", "Vote storage method"); -define("POLLAN_17", "Cookie"); -//define("POLLAN_18", "IP address");//LAN_IP_ADDRESS -define("POLLAN_19", "User ID (only members can vote)"); -//define("POLLAN_20", "Allow comments to be posted to this poll?");//LAN_COMMENTS_ALLOWED -//define("POLLAN_21", "Preview again");//NOT USED -//define("POLLAN_22", "Update Poll"); -//define("POLLAN_23", "Create Poll");//LAN_CREATE -//define("POLLAN_24", "Preview");//LAN_PREVIEW -//define("POLLAN_25", "Clear form");//LAN_CLEAR -//define("POLLAN_26", "votes");//NOT USED -// define("POLLAN_27", "Comments"); -define("POLLAN_28", "All Previous polls"); -//define("POLLAN_29", "posted by");//NOT USED -//define("POLLAN_30", "Submit");//NOT USED -define("POLLAN_31", "Votes"); -//define("POLLAN_32", "Click here to see results");//NOT USED -//define("POLLAN_33", "No previous polls yet.");//LAN_NO_RECORDS_FOUND -//define("POLLAN_34", "Title");//LAN_TITLE -//define("POLLAN_35", "Posted by");//LAN_POSTED_BY -//define("POLLAN_36", "Active");//LAN_ACTIVE -//define("POLLAN_37", "active from");//LAN_FROM -//define("POLLAN_38", "to");// LAN_TO -//define("POLLAN_39", "Thank you for voting!");//LAN_THANK_YOU -define("POLLAN_40", "Click here to see results"); -define("POLLAN_41", "This poll is restricted to members only"); -define("POLLAN_42", "This poll is restricted to administrators only"); -define("POLLAN_43", "You do not have the required permissions to vote in this poll"); -//define("POLLAN_44", "Delete this poll?");//NOT USED -//define("POLLAN_45", "Poll successfully updated");//NOT USED -//define("POLLAN_46", "Field(s) left blank"); -define("POLLAN_50", "Active from [x] to [y]"); - - -// TODO NEED TO BE RENAMED! - -define("LAN_FORUM_3029", "If you do not wish to add a poll to your topic, leave the fields blank."); // LAN_386 -//define("LAN_FORUM_3030", "Poll question"); // LAN_5//POLLAN_3 -//define("LAN_FORUM_3031", "Poll answer"); // LAN_391//POLLAN_4 -//define("LAN_FORUM_3032", "Add another answer"); // LAN_6//LAN_ADD_MORE -//define("LAN_FORUM_3033", "Allow multiple choices?"); // LAN_506//LAN_MULTIPLE_CHOICE -//define("LAN_FORUM_3034", "Vote storage method"); // POLLAN_16//POLLAN_16 -//define("LAN_FORUM_3035", "Cookie"); // POLLAN_17 -//define("LAN_FORUM_3036", "IP address"); // POLLAN_18//LAN_IP_ADDRESS -//define("LAN_FORUM_3037", "User ID (only members can vote)"); // POLLAN_19 +return [ + 'POLLAN_3' => "Poll Question", + 'POLLAN_4' => "Poll Answers", + 'POLLAN_12' => "Show results", + 'POLLAN_13' => "after voting", + 'POLLAN_14' => "by clicking view results link - comments must be turned on to use this option", + 'POLLAN_15' => "Allow to vote on this poll", + 'POLLAN_16' => "Vote storage method", + 'POLLAN_17' => "Cookie", + 'POLLAN_19' => "User ID (only members can vote)", + 'POLLAN_28' => "All Previous polls", + 'POLLAN_31' => "Votes", + 'POLLAN_40' => "Click here to see results", + 'POLLAN_41' => "This poll is restricted to members only", + 'POLLAN_42' => "This poll is restricted to administrators only", + 'POLLAN_43' => "You do not have the required permissions to vote in this poll", + 'POLLAN_50' => "Active from [x] to [y]", + 'LAN_FORUM_3029' => "If you do not wish to add a poll to your topic, leave the fields blank.", +]; diff --git a/e107_plugins/poll/languages/English_admin_poll.php b/e107_plugins/poll/languages/English_admin_poll.php index 9aef248c9..a46b3d4eb 100644 --- a/e107_plugins/poll/languages/English_admin_poll.php +++ b/e107_plugins/poll/languages/English_admin_poll.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) * @@ -11,68 +11,45 @@ //define("POLL_ADLAN01", "Poll"); //define("POLL_ADLAN02", "The poll plugin allows you to define polls in either a menu or forum post."); //define("POLL_ADLAN03", "Configure polls");//LAN_CONFIGURE -define("POLL_ADLAN04", "The poll plugin has been successfully installed. To add polls, click on the Polls icon in the plugin section of your admin front page, and remember to activate the menu item from your menus page."); - -//define("POLL_ADLAN05", "Main Poll: ");//NOT USED -//define("POLL_ADLAN06", "Forum Thread: ");//NOT USED -//define("POLL_ADLAN07", "Type");//NOT USED -//define("POLL_ADLAN08", "Poll deleted"); - -//define("POLLAN_MENU_CAPTION", "Poll");//LAN_PLUGIN_POLL_NAME - -//define("POLLAN_1", "Existing polls"); -//define("POLLAN_2", "Create / edit polls"); -//define("POLLAN_3", "Poll Question"); -//define("POLLAN_4", "Poll Options"); -//define("POLLAN_5", "Edit"); -//define("POLLAN_6", "Delete"); -//define("POLLAN_7", "No polls yet.");//LAN_NO_RECORDS_FOUND -/* -define("POLLAN_8", "Add another option"); -define("POLLAN_9", "Allow multiple choices?"); -define("POLLAN_10", "yes"); -define("POLLAN_11", "no"); -define("POLLAN_12", "Show results"); -define("POLLAN_13", "after voting"); -define("POLLAN_14", "by clicking view results link - comments must be turned on to use this option"); -define("POLLAN_15", "Allow to vote on this poll"); -define("POLLAN_16", "Vote storage method"); -define("POLLAN_17", "cookie"); -define("POLLAN_18", "IP address"); -define("POLLAN_19", "User ID (only members can vote)"); -define("POLLAN_20", "Allow comments to be posted to this poll?"); -define("POLLAN_21", "Preview again"); -define("POLLAN_22", "Update Poll"); -define("POLLAN_23", "Create Poll"); -define("POLLAN_24", "Preview"); -define("POLLAN_25", "Clear form"); -define("POLLAN_26", "votes"); -define("POLLAN_27", "Comments"); -define("POLLAN_28", "Previous polls"); -define("POLLAN_29", "posted by"); -define("POLLAN_30", "Submit"); -define("POLLAN_31", "Votes"); -define("POLLAN_32", "Click here to see results"); -define("POLLAN_33", "No previous polls yet."); -//define("POLLAN_34", "Title");//LAN_TITLE -define("POLLAN_35", "Posted by"); -define("POLLAN_36", "Active"); -define("POLLAN_37", "active from"); -define("POLLAN_38", "to"); -define("POLLAN_39", "Thank you for voting!"); -define("POLLAN_40", "Click here to see results"); -define("POLLAN_41", "This poll is restricted to members only"); -define("POLLAN_42", "This poll is restricted to administrators only"); -define("POLLAN_43", "You do not have the required permissions to vote in this poll"); -define("POLLAN_44", "Delete this poll?"); -*/ - -//define("POLLAN_46", "Field(s) left blank"); - -// Log messages -//define("LAN_AL_POLL_01","Poll deleted");//CHANGED TO EXISTING LANS -define("LAN_AL_POLL_02","Poll updated");//NOT USED -define("LAN_AL_POLL_03","Poll added");//NOT USED -// define("LAN_AL_POLL_04","");//NOT USED -// define("LAN_AL_POLL_05","");//NOT USED +return [ + 'POLL_ADLAN04' => "The poll plugin has been successfully installed. To add polls, click on the Polls icon in the plugin section of your admin front page, and remember to activate the menu item from your menus page.", + 'POLLAN_8' => "Add another option", + 'POLLAN_9' => "Allow multiple choices?", + 'POLLAN_10' => "yes", + 'POLLAN_11' => "no", + 'POLLAN_12' => "Show results", + 'POLLAN_13' => "after voting", + 'POLLAN_14' => "by clicking view results link - comments must be turned on to use this option", + 'POLLAN_15' => "Allow to vote on this poll", + 'POLLAN_16' => "Vote storage method", + 'POLLAN_17' => "cookie", + 'POLLAN_18' => "IP address", + 'POLLAN_19' => "User ID (only members can vote)", + 'POLLAN_20' => "Allow comments to be posted to this poll?", + 'POLLAN_21' => "Preview again", + 'POLLAN_22' => "Update Poll", + 'POLLAN_23' => "Create Poll", + 'POLLAN_24' => "Preview", + 'POLLAN_25' => "Clear form", + 'POLLAN_26' => "votes", + 'POLLAN_27' => "Comments", + 'POLLAN_28' => "Previous polls", + 'POLLAN_29' => "posted by", + 'POLLAN_30' => "Submit", + 'POLLAN_31' => "Votes", + 'POLLAN_32' => "Click here to see results", + 'POLLAN_33' => "No previous polls yet.", + 'POLLAN_35' => "Posted by", + 'POLLAN_36' => "Active", + 'POLLAN_37' => "active from", + 'POLLAN_38' => "to", + 'POLLAN_39' => "Thank you for voting!", + 'POLLAN_40' => "Click here to see results", + 'POLLAN_41' => "This poll is restricted to members only", + 'POLLAN_42' => "This poll is restricted to administrators only", + 'POLLAN_43' => "You do not have the required permissions to vote in this poll", + 'POLLAN_44' => "Delete this poll?", + 'LAN_AL_POLL_02' => "Poll updated", + 'LAN_AL_POLL_03' => "Poll added", +]; diff --git a/e107_plugins/poll/languages/English_global.php b/e107_plugins/poll/languages/English_global.php index 8b058efc0..e48165324 100644 --- a/e107_plugins/poll/languages/English_global.php +++ b/e107_plugins/poll/languages/English_global.php @@ -8,7 +8,8 @@ * */ -define("LAN_PLUGIN_POLL_NAME", "Poll"); -define("LAN_PLUGIN_POLL_DESCRIPTION", "The poll plugin allows you to define polls in either a menu or forum post."); - +return [ + 'LAN_PLUGIN_POLL_NAME' => "Poll", + 'LAN_PLUGIN_POLL_DESCRIPTION' => "The poll plugin allows you to define polls in either a menu or forum post.", +]; diff --git a/e107_plugins/rss_menu/languages/English_admin_rss_menu.php b/e107_plugins/rss_menu/languages/English_admin_rss_menu.php index 3746e1e33..51d5606c3 100644 --- a/e107_plugins/rss_menu/languages/English_admin_rss_menu.php +++ b/e107_plugins/rss_menu/languages/English_admin_rss_menu.php @@ -9,99 +9,69 @@ * e107 website system - Language File. */ -define("RSS_LAN05","Number of items (0=inactive)"); - -define("RSS_MENU_L1", " can be syndicated by using these rss feeds."); -define("RSS_MENU_L2", "RSS Feeds"); -define("RSS_MENU_L3", "Our news"); -define("RSS_MENU_L4", "Our comments"); -define("RSS_MENU_L5", "Our forum threads"); -define("RSS_MENU_L6", "Our forum posts"); -define("RSS_MENU_L7", "Our chatbox posts"); -define("RSS_MENU_L8", "Our bugtracker reports"); -define("RSS_MENU_L9", "Our downloads"); - -define("RSS_NEWS", "News"); -define("RSS_COM", "Comments"); -define("RSS_ART", "Articles"); -define("RSS_REV", "Reviews"); -define("RSS_FT", "Forum Threads"); -define("RSS_FP", "Forum Posts"); -define("RSS_FSP", "Forum Specific Post"); -define("RSS_BUG", "Bugtracker"); -define("RSS_FOR", "Forum"); -define("RSS_DL", "Downloads"); - -//define("RSS_PLUGIN_LAN_1", "RSS"); -//define("RSS_PLUGIN_LAN_2", "RSS Feeds from your site"); - -define("RSS_PLUGIN_LAN_6", "Feed Links"); -define("RSS_PLUGIN_LAN_7", "The rss feed of news"); -define("RSS_PLUGIN_LAN_8", "The rss feed of downloads"); -define("RSS_PLUGIN_LAN_9", "The rss feed of comments"); -define("RSS_PLUGIN_LAN_10", "The rss feed of news category:"); -define("RSS_PLUGIN_LAN_11", "The rss feed of download category:"); - -// define("RSS_PLUGIN_LAN_14", "Comments"); - -define("RSS_LAN_ADMINMENU_1", "RSS Options"); -define("RSS_LAN_ADMINMENU_2", "Listing"); -define("RSS_LAN_ADMINMENU_4", "Import"); - -define("RSS_LAN_ERROR_1", "This is not a valid rss feed. [Return to rss feed list]"); -define("RSS_LAN_ERROR_2", "Your e107_config.php file or your language files contain spaces or  characters before the <? characters. You should remove this with a non-utf8 text-editor if you wish to have a valid RSS feed."); -define("RSS_LAN_ERROR_3", "No rss feeds are present yet[br]please use the import feature to import available rss feeds or create a rss feed manually."); -define("RSS_LAN_ERROR_4", "No rss feeds are available yet"); -define("RSS_LAN_ERROR_5", "This rss entry does not exist"); -define("RSS_LAN_ERROR_6", "There are no rss feeds to import"); -define("RSS_LAN_ERROR_7", "Some required fields are missing."); - -define("RSS_LAN_ADMIN_1", "Existing RSS feeds"); -//define("RSS_LAN_ADMIN_2", "Id");//LAN_ID -//define("RSS_LAN_ADMIN_3", "Path");//LAN_PLUGIN_FOLDER -//define("RSS_LAN_ADMIN_4", "Name");//LAN_NAME -//define("RSS_LAN_ADMIN_5", "Url");//LAN_URL -//define("RSS_LAN_ADMIN_6", "Text");//LAN_DESCRIPTION -//define("RSS_LAN_ADMIN_7", "Limit");//LAN_LIMIT -//define("RSS_LAN_ADMIN_8", "Visibility");//LAN_VISIBILITY -//define("RSS_LAN_ADMIN_9", "Type"); -define("RSS_LAN_ADMIN_10", "rss feed create entry"); -define("RSS_LAN_ADMIN_11", "rss feed import feeds"); -define("RSS_LAN_ADMIN_12", "Topic ID");//LAN_ID - -define("RSS_LAN_ADMIN_13", "Include Other-news items in News Feed?"); -//define("RSS_LAN_ADMIN_14", "Enable");//LAN_ENABLE -define("RSS_LAN_ADMIN_15", "Tick links to mark them for import ..."); -define("RSS_LAN_ADMIN_16", "import?"); -define("RSS_LAN_ADMIN_17", "import ticked links"); -define("RSS_LAN_ADMIN_18", "rss feed(s) imported."); -define("RSS_LAN_ADMIN_19", "Use News summary as description in News Feed?"); - -define("RSS_LAN_ADMIN_21", "active and visible in rss feed list"); -define("RSS_LAN_ADMIN_22", "active and not visible in rss feed list"); -define("RSS_LAN_ADMIN_23", "inactive"); - -define("RSS_LAN_ADMIN_26", "Check All"); -define("RSS_LAN_ADMIN_27", "Uncheck All"); -//define("RSS_LAN_ADMIN_28", "Nothing changed - not saved");//LAN_NOCHANGE_NOTSAVED - -define("RSS_LAN_ADMIN_31", "rss entries limits updated"); - -define("RSS_LAN_ADMIN_33", "Show image in News Feed?"); - -define("RSS_LAN_0", "RSS"); -define("RSS_LAN_2", "@nospam.com"); -define("RSS_LAN_3", "noauthor@nospam.com"); - -// Admin log messages -//------------------- -/* -define("LAN_AL_RSS_01","RSS feed deleted"); -define("LAN_AL_RSS_02","RSS feed created"); -define("LAN_AL_RSS_03","RSS feed updated"); -define("LAN_AL_RSS_04","RSS feed imported"); -define("LAN_AL_RSS_05","RSS limits updated"); -define("LAN_AL_RSS_06","RSS settings updated"); -define("LAN_AL_RSS_07",""); -*/ +return [ + 'RSS_LAN05' => "Number of items (0=inactive)", + 'RSS_MENU_L1' => "can be syndicated by using these rss feeds.", + 'RSS_MENU_L2' => "RSS Feeds", + 'RSS_MENU_L3' => "Our news", + 'RSS_MENU_L4' => "Our comments", + 'RSS_MENU_L5' => "Our forum threads", + 'RSS_MENU_L6' => "Our forum posts", + 'RSS_MENU_L7' => "Our chatbox posts", + 'RSS_MENU_L8' => "Our bugtracker reports", + 'RSS_MENU_L9' => "Our downloads", + 'RSS_NEWS' => "News", + 'RSS_COM' => "Comments", + 'RSS_ART' => "Articles", + 'RSS_REV' => "Reviews", + 'RSS_FT' => "Forum Threads", + 'RSS_FP' => "Forum Posts", + 'RSS_FSP' => "Forum Specific Post", + 'RSS_BUG' => "Bugtracker", + 'RSS_FOR' => "Forum", + 'RSS_DL' => "Downloads", + 'RSS_PLUGIN_LAN_6' => "Feed Links", + 'RSS_PLUGIN_LAN_7' => "The rss feed of news", + 'RSS_PLUGIN_LAN_8' => "The rss feed of downloads", + 'RSS_PLUGIN_LAN_9' => "The rss feed of comments", + 'RSS_PLUGIN_LAN_10' => "The rss feed of news category:", + 'RSS_PLUGIN_LAN_11' => "The rss feed of download category:", + 'RSS_LAN_ADMINMENU_1' => "RSS Options", + 'RSS_LAN_ADMINMENU_2' => "Listing", + 'RSS_LAN_ADMINMENU_4' => "Import", + 'RSS_LAN_ERROR_1' => "This is not a valid rss feed. [Return to rss feed list]", + 'RSS_LAN_ERROR_2' => "Your e107_config.php file or your language files contain spaces or  characters before the <? characters. You should remove this with a non-utf8 text-editor if you wish to have a valid RSS feed.", + 'RSS_LAN_ERROR_3' => "No rss feeds are present yet[br]please use the import feature to import available rss feeds or create a rss feed manually.", + 'RSS_LAN_ERROR_4' => "No rss feeds are available yet", + 'RSS_LAN_ERROR_5' => "This rss entry does not exist", + 'RSS_LAN_ERROR_6' => "There are no rss feeds to import", + 'RSS_LAN_ERROR_7' => "Some required fields are missing.", + 'RSS_LAN_ADMIN_1' => "Existing RSS feeds", + 'RSS_LAN_ADMIN_10' => "rss feed create entry", + 'RSS_LAN_ADMIN_11' => "rss feed import feeds", + 'RSS_LAN_ADMIN_12' => "Topic ID", + 'RSS_LAN_ADMIN_13' => "Include Other-news items in News Feed?", + 'RSS_LAN_ADMIN_15' => "Tick links to mark them for import ...", + 'RSS_LAN_ADMIN_16' => "import?", + 'RSS_LAN_ADMIN_17' => "import ticked links", + 'RSS_LAN_ADMIN_18' => "rss feed(s) imported.", + 'RSS_LAN_ADMIN_19' => "Use News summary as description in News Feed?", + 'RSS_LAN_ADMIN_21' => "active and visible in rss feed list", + 'RSS_LAN_ADMIN_22' => "active and not visible in rss feed list", + 'RSS_LAN_ADMIN_23' => "inactive", + 'RSS_LAN_ADMIN_26' => "Check All", + 'RSS_LAN_ADMIN_27' => "Uncheck All", + 'RSS_LAN_ADMIN_31' => "rss entries limits updated", + 'RSS_LAN_ADMIN_33' => "Show image in News Feed?", + 'RSS_LAN_0' => "RSS", + 'RSS_LAN_2' => "@nospam.com", + 'RSS_LAN_3' => "noauthor@nospam.com", + 'LAN_AL_RSS_01' => "RSS feed deleted", + 'LAN_AL_RSS_02' => "RSS feed created", + 'LAN_AL_RSS_03' => "RSS feed updated", + 'LAN_AL_RSS_04' => "RSS feed imported", + 'LAN_AL_RSS_05' => "RSS limits updated", + 'LAN_AL_RSS_06' => "RSS settings updated", + 'LAN_AL_RSS_07' => "", +]; diff --git a/e107_plugins/rss_menu/languages/English_global.php b/e107_plugins/rss_menu/languages/English_global.php index 1b39f1055..d5a1911a8 100644 --- a/e107_plugins/rss_menu/languages/English_global.php +++ b/e107_plugins/rss_menu/languages/English_global.php @@ -8,7 +8,10 @@ * * e107 website system - Language File. */ -define("LAN_PLUGIN_RSS_NAME", "RSS"); -define("LAN_PLUGIN_RSS_DESCRIPTION", "RSS Feeds from your site."); -define("LAN_PLUGIN_RSS_SUBSCRIBE", "Subscribe"); -define("LAN_PLUGIN_RSS_SUBSCRIBE_TO", "Subscribe to [x]"); + +return [ + 'LAN_PLUGIN_RSS_NAME' => "RSS", + 'LAN_PLUGIN_RSS_DESCRIPTION' => "RSS Feeds from your site.", + 'LAN_PLUGIN_RSS_SUBSCRIBE' => "Subscribe", + 'LAN_PLUGIN_RSS_SUBSCRIBE_TO' => "Subscribe to [x]", +]; diff --git a/e107_plugins/social/languages/English/English_admin.php b/e107_plugins/social/languages/English/English_admin.php index 19d4e0010..ceef6f6f9 100644 --- a/e107_plugins/social/languages/English/English_admin.php +++ b/e107_plugins/social/languages/English/English_admin.php @@ -7,64 +7,58 @@ +----------------------------------------------------------------------------+ */ -define("LAN_SOCIAL_ADMIN_00", "Applications"); -define("LAN_SOCIAL_ADMIN_01", "Pages"); -define("LAN_SOCIAL_ADMIN_02", "Configured Login Providers"); //tab -define("LAN_SOCIAL_ADMIN_03", "Signup/Login"); //bar -define("LAN_SOCIAL_ADMIN_04", "Provider"); -define("LAN_SOCIAL_ADMIN_05", "Key/ID"); -define("LAN_SOCIAL_ADMIN_06", "Secret"); -define("LAN_SOCIAL_ADMIN_07", "Allows users to signup/login with their social media accounts. When enabled, this option will still allow users to signup/login even if the core user registration system above is disabled."); - -define("LAN_SOCIAL_ADMIN_10", "Get a key from the provider"); -define("LAN_SOCIAL_ADMIN_11", "Your"); -define("LAN_SOCIAL_ADMIN_12", "page"); -define("LAN_SOCIAL_ADMIN_13", "Used by some themes to provide a link to your "); -define("LAN_SOCIAL_ADMIN_14", "Share Buttons"); -define("LAN_SOCIAL_ADMIN_15", "Facebook Comments"); -define("LAN_SOCIAL_ADMIN_16", "Facebook Menu"); -define("LAN_SOCIAL_ADMIN_17", "Twitter Menu"); -define("LAN_SOCIAL_ADMIN_18", "Limit"); -define("LAN_SOCIAL_ADMIN_19", "Theme"); -define("LAN_SOCIAL_ADMIN_20", "Action"); -define("LAN_SOCIAL_ADMIN_21", "Text while loading"); -define("LAN_SOCIAL_ADMIN_22", "Width"); -define("LAN_SOCIAL_ADMIN_23", "Height"); -define("LAN_SOCIAL_ADMIN_24", "Display Mode"); -define("LAN_SOCIAL_ADMIN_25", "Normal"); -define("LAN_SOCIAL_ADMIN_26", "Dropdown"); -define("LAN_SOCIAL_ADMIN_27", "Disabled"); -define("LAN_SOCIAL_ADMIN_28", "Excluding the # symbol."); -define("LAN_SOCIAL_ADMIN_29", "Number of comments to display."); -define("LAN_SOCIAL_ADMIN_30", "Loading..."); -define("LAN_SOCIAL_ADMIN_31", "Width in px"); -define("LAN_SOCIAL_ADMIN_32", "Recommend"); -define("LAN_SOCIAL_ADMIN_33", "Height in px"); -define("LAN_SOCIAL_ADMIN_34", "Number of tweets to display."); -define("LAN_SOCIAL_ADMIN_35", "Light"); -define("LAN_SOCIAL_ADMIN_36", "Dark"); -define("LAN_SOCIAL_ADMIN_37", "Open Graph Meta"); -define("LAN_SOCIAL_ADMIN_38", "Scope"); -define("LAN_SOCIAL_ADMIN_39", "Providers"); -define("LAN_SOCIAL_ADMIN_40", "Update User Display Name"); -define("LAN_SOCIAL_ADMIN_41", "Update User Avatar"); -define("LAN_SOCIAL_ADMIN_42", "Custom Image"); - - -define("LAN_SOCIAL_ADMIN_43","A [database update] is required to continue using this plugin."); -define("LAN_SOCIAL_ADMIN_44", "Add New Provider"); -define("LAN_SOCIAL_ADMIN_45", "These social login providers are currently configured.\nIf the master switch [b]Social Signup/Login[/b] is toggled on, each provider in this table that is also toggled on may be used for user registration and login. If you empty the fields of a provider here and save, it will move to the [b]Add New Provider[/b] section."); -define("LAN_SOCIAL_ADMIN_46", "These are the available social login providers, which have not been configured. Once you configure and save a provider here, it will move to the [b]Configured[/b] section."); -define("LAN_SOCIAL_ADMIN_47", "Broken Configured Providers"); -define("LAN_SOCIAL_ADMIN_48", "These social login providers were configured in the past but no longer have an adapter that can support them.[br]This may be due to them no longer existing or being replaced by a different provider."); -define("LAN_SOCIAL_ADMIN_49", "Test Page"); -define("LAN_SOCIAL_ADMIN_50", "Enable or disable the social login test page"); - -define("LAN_SOCIAL_ADMIN_08", "Note: In most cases, you will need to obtain an application ID and secret key from social login providers.\nIf a provider's name is a link, that link should take you to the login application configuration documentation.\n\nYou may test your configuration with the following URL after enabling the [b]Test Page[/b] option:"); -define("LAN_SOCIAL_ADMIN_09", "Your callback URL is: "); -define("LAN_SOCIAL_ADMIN_51", "Social Login System"); - - - - +return [ + 'LAN_SOCIAL_ADMIN_00' => "Applications", + 'LAN_SOCIAL_ADMIN_01' => "Pages", + 'LAN_SOCIAL_ADMIN_02' => "Configured Login Providers", + 'LAN_SOCIAL_ADMIN_03' => "Signup/Login", + 'LAN_SOCIAL_ADMIN_04' => "Provider", + 'LAN_SOCIAL_ADMIN_05' => "Key/ID", + 'LAN_SOCIAL_ADMIN_06' => "Secret", + 'LAN_SOCIAL_ADMIN_07' => "Allows users to signup/login with their social media accounts. When enabled, this option will still allow users to signup/login even if the core user registration system above is disabled.", + 'LAN_SOCIAL_ADMIN_10' => "Get a key from the provider", + 'LAN_SOCIAL_ADMIN_11' => "Your", + 'LAN_SOCIAL_ADMIN_12' => "page", + 'LAN_SOCIAL_ADMIN_13' => "Used by some themes to provide a link to your", + 'LAN_SOCIAL_ADMIN_14' => "Share Buttons", + 'LAN_SOCIAL_ADMIN_15' => "Facebook Comments", + 'LAN_SOCIAL_ADMIN_16' => "Facebook Menu", + 'LAN_SOCIAL_ADMIN_17' => "Twitter Menu", + 'LAN_SOCIAL_ADMIN_18' => "Limit", + 'LAN_SOCIAL_ADMIN_19' => "Theme", + 'LAN_SOCIAL_ADMIN_20' => "Action", + 'LAN_SOCIAL_ADMIN_21' => "Text while loading", + 'LAN_SOCIAL_ADMIN_22' => "Width", + 'LAN_SOCIAL_ADMIN_23' => "Height", + 'LAN_SOCIAL_ADMIN_24' => "Display Mode", + 'LAN_SOCIAL_ADMIN_25' => "Normal", + 'LAN_SOCIAL_ADMIN_26' => "Dropdown", + 'LAN_SOCIAL_ADMIN_27' => "Disabled", + 'LAN_SOCIAL_ADMIN_28' => "Excluding the # symbol.", + 'LAN_SOCIAL_ADMIN_29' => "Number of comments to display.", + 'LAN_SOCIAL_ADMIN_30' => "Loading...", + 'LAN_SOCIAL_ADMIN_31' => "Width in px", + 'LAN_SOCIAL_ADMIN_32' => "Recommend", + 'LAN_SOCIAL_ADMIN_33' => "Height in px", + 'LAN_SOCIAL_ADMIN_34' => "Number of tweets to display.", + 'LAN_SOCIAL_ADMIN_35' => "Light", + 'LAN_SOCIAL_ADMIN_36' => "Dark", + 'LAN_SOCIAL_ADMIN_37' => "Open Graph Meta", + 'LAN_SOCIAL_ADMIN_38' => "Scope", + 'LAN_SOCIAL_ADMIN_39' => "Providers", + 'LAN_SOCIAL_ADMIN_40' => "Update User Display Name", + 'LAN_SOCIAL_ADMIN_41' => "Update User Avatar", + 'LAN_SOCIAL_ADMIN_42' => "Custom Image", + 'LAN_SOCIAL_ADMIN_43' => "A [database update] is required to continue using this plugin.", + 'LAN_SOCIAL_ADMIN_44' => "Add New Provider", + 'LAN_SOCIAL_ADMIN_45' => "These social login providers are currently configured.nIf the master switch [b]Social Signup/Login[/b] is toggled on, each provider in this table that is also toggled on may be used for user registration and login. If you empty the fields of a provider here and save, it will move to the [b]Add New Provider[/b] section.", + 'LAN_SOCIAL_ADMIN_46' => "These are the available social login providers, which have not been configured. Once you configure and save a provider here, it will move to the [b]Configured[/b] section.", + 'LAN_SOCIAL_ADMIN_47' => "Broken Configured Providers", + 'LAN_SOCIAL_ADMIN_48' => "These social login providers were configured in the past but no longer have an adapter that can support them.[br]This may be due to them no longer existing or being replaced by a different provider.", + 'LAN_SOCIAL_ADMIN_49' => "Test Page", + 'LAN_SOCIAL_ADMIN_50' => "Enable or disable the social login test page", + 'LAN_SOCIAL_ADMIN_08' => "Note: In most cases, you will need to obtain an application ID and secret key from social login providers.nIf a provider's name is a link, that link should take you to the login application configuration documentation.nnYou may test your configuration with the following URL after enabling the [b]Test Page[/b] option:", + 'LAN_SOCIAL_ADMIN_09' => "Your callback URL is:", + 'LAN_SOCIAL_ADMIN_51' => "Social Login System", +]; diff --git a/e107_plugins/social/languages/English/English_front.php b/e107_plugins/social/languages/English/English_front.php index a8bde68bf..9db8031f5 100644 --- a/e107_plugins/social/languages/English/English_front.php +++ b/e107_plugins/social/languages/English/English_front.php @@ -7,23 +7,20 @@ +----------------------------------------------------------------------------+ */ //LAN_SOCIAL_000 to LAN_SOCIAL_099 // Common parts of the frontend -define("LAN_SOCIAL_000", "Share On [x]"); -define("LAN_SOCIAL_001", "Like on [x]"); -define("LAN_SOCIAL_002", "Email to someone"); -define("LAN_SOCIAL_003", "+1 on Google"); -define("LAN_SOCIAL_004", "Add to [x]"); -define("LAN_SOCIAL_005", "Check out this link:"); - -//LAN_SOCIAL_100 to LAN_SOCIAL_199 // Facebook specific -define("LAN_SOCIAL_100", "Unable to display feed. Facebook App ID has not been defined in preferences."); - - -//LAN_SOCIAL_200 to LAN_SOCIAL_299 // Twitter specific -define("LAN_SOCIAL_200", "Unable to display feed. Twitter URL has not been defined in preferences."); -define("LAN_SOCIAL_201", "Tweets by"); -define("LAN_SOCIAL_202", "Post to Twitter"); -define("LAN_SOCIAL_203", "Type your tweet here."); -define("LAN_SOCIAL_204", "Share"); -define("LAN_SOCIAL_205", "Unable to render comments. Missing Facebook appID."); -define("LAN_SOCIAL_WARNING", "Facebook comments requires that you have a facebook App ID. See the 'social login' area in admin-preferences to add one."); +return [ + 'LAN_SOCIAL_000' => "Share On [x]", + 'LAN_SOCIAL_001' => "Like on [x]", + 'LAN_SOCIAL_002' => "Email to someone", + 'LAN_SOCIAL_003' => "+1 on Google", + 'LAN_SOCIAL_004' => "Add to [x]", + 'LAN_SOCIAL_005' => "Check out this link:", + 'LAN_SOCIAL_100' => "Unable to display feed. Facebook App ID has not been defined in preferences.", + 'LAN_SOCIAL_200' => "Unable to display feed. Twitter URL has not been defined in preferences.", + 'LAN_SOCIAL_201' => "Tweets by", + 'LAN_SOCIAL_202' => "Post to Twitter", + 'LAN_SOCIAL_203' => "Type your tweet here.", + 'LAN_SOCIAL_204' => "Share", + 'LAN_SOCIAL_205' => "Unable to render comments. Missing Facebook appID.", + 'LAN_SOCIAL_WARNING' => "Facebook comments requires that you have a facebook App ID. See the 'social login' area in admin-preferences to add one.", +]; diff --git a/e107_plugins/social/languages/English/English_global.php b/e107_plugins/social/languages/English/English_global.php index 70734354c..0a5e7346c 100644 --- a/e107_plugins/social/languages/English/English_global.php +++ b/e107_plugins/social/languages/English/English_global.php @@ -7,10 +7,12 @@ +----------------------------------------------------------------------------+ */ -define("LAN_SOCIAL_ADMIN_SUMM", "Adds Facebook, Twitter and other social media widgets to e107."); -define("LAN_PLUGIN_SOCIAL_DESCR", "Adds options to replace the e107 comment engine with Facebook. Add Twitter feeds to your site. etc."); -define("LAN_PLUGIN_SOCIAL_SIGNIN", "Sign in with:"); -define("LAN_PLUGIN_SOCIAL_XUP_SIGNUP", "Sign-in with your [x] account"); -define("LAN_PLUGIN_SOCIAL_XUP_REG", "Register with your [x] account"); -define("LAN_PLUGIN_SOCIAL_NAME", "Social"); +return [ + 'LAN_SOCIAL_ADMIN_SUMM' => "Adds Facebook, Twitter and other social media widgets to e107.", + 'LAN_PLUGIN_SOCIAL_DESCR' => "Adds options to replace the e107 comment engine with Facebook. Add Twitter feeds to your site. etc.", + 'LAN_PLUGIN_SOCIAL_SIGNIN' => "Sign in with:", + 'LAN_PLUGIN_SOCIAL_XUP_SIGNUP' => "Sign-in with your [x] account", + 'LAN_PLUGIN_SOCIAL_XUP_REG' => "Register with your [x] account", + 'LAN_PLUGIN_SOCIAL_NAME' => "Social", +]; diff --git a/e107_plugins/tagcloud/languages/English/English_global.php b/e107_plugins/tagcloud/languages/English/English_global.php index 29b7dc977..2e6fecb95 100644 --- a/e107_plugins/tagcloud/languages/English/English_global.php +++ b/e107_plugins/tagcloud/languages/English/English_global.php @@ -1,13 +1,13 @@ "Tag Cloud", + 'LAN_PLUGIN_TAGCLOUD_DESCRIPTION' => "A simple tagcloud menu for your e107 website.", +]; diff --git a/e107_plugins/tinymce4/languages/English_admin.php b/e107_plugins/tinymce4/languages/English_admin.php index cdc54ec44..73f5ffdb1 100644 --- a/e107_plugins/tinymce4/languages/English_admin.php +++ b/e107_plugins/tinymce4/languages/English_admin.php @@ -9,11 +9,14 @@ | $Author: Yesszus $ +---------------------------------------------------------------+ */ -define("TMCEALAN_1", "Paste as text by default"); -define("TMCEALAN_2", "Browser spellcheck"); -define("TMCEALAN_3", "Enable this if the browser internal spellchecker should be used."); -define("TMCEALAN_4", "Visual Blocks"); -define("TMCEALAN_5", "Enable to make html blocks visible during editing."); -define("TMCEALAN_6", "Code-Highlight CSS class."); -define("TMCEALAN_7", "Use frontend style"); -define("TMCEALAN_8", "When enabled, the editor will use the style of the frontend theme. (when supported)"); + +return [ + 'TMCEALAN_1' => "Paste as text by default", + 'TMCEALAN_2' => "Browser spellcheck", + 'TMCEALAN_3' => "Enable this if the browser internal spellchecker should be used.", + 'TMCEALAN_4' => "Visual Blocks", + 'TMCEALAN_5' => "Enable to make html blocks visible during editing.", + 'TMCEALAN_6' => "Code-Highlight CSS class.", + 'TMCEALAN_7' => "Use frontend style", + 'TMCEALAN_8' => "When enabled, the editor will use the style of the frontend theme. (when supported)", +]; diff --git a/e107_plugins/user/languages/English.php b/e107_plugins/user/languages/English.php index af89ef84a..a4515867d 100644 --- a/e107_plugins/user/languages/English.php +++ b/e107_plugins/user/languages/English.php @@ -14,17 +14,18 @@ * $Author$ */ -define("UTHEME_MENU_L1", "Set"); -define("UTHEME_MENU_L2", "Select Language"); -define("UTHEME_MENU_L3", "tables"); - -define("LAN_UMENU_THEME_1", "Set Theme"); -define("LAN_UMENU_THEME_2", "Select Theme"); -define("LAN_UMENU_THEME_3", "users:"); -define("LAN_UMENU_THEME_4", "Enable those themes which users may select"); -define("LAN_UMENU_THEME_5", "Update"); -define("LAN_UMENU_THEME_6", "Themes available to users"); -define("LAN_UMENU_THEME_7", "Class which can select themes"); -define("LAN_UMENU_THEME_8", "Allowed themes: "); -define("LAN_UMENU_THEME_9", "Class which can select themes: "); +return [ + 'UTHEME_MENU_L1' => "Set", + 'UTHEME_MENU_L2' => "Select Language", + 'UTHEME_MENU_L3' => "tables", + 'LAN_UMENU_THEME_1' => "Set Theme", + 'LAN_UMENU_THEME_2' => "Select Theme", + 'LAN_UMENU_THEME_3' => "users:", + 'LAN_UMENU_THEME_4' => "Enable those themes which users may select", + 'LAN_UMENU_THEME_5' => "Update", + 'LAN_UMENU_THEME_6' => "Themes available to users", + 'LAN_UMENU_THEME_7' => "Class which can select themes", + 'LAN_UMENU_THEME_8' => "Allowed themes:", + 'LAN_UMENU_THEME_9' => "Class which can select themes:", +]; diff --git a/e107_plugins/user/languages/English_global.php b/e107_plugins/user/languages/English_global.php index 6b89e4d75..8b7d878fc 100644 --- a/e107_plugins/user/languages/English_global.php +++ b/e107_plugins/user/languages/English_global.php @@ -8,6 +8,8 @@ * */ -define("LAN_PLUGIN_USER_NAME", "User"); -define("LAN_PLUGIN_USER_DESC", "User Theme and Language Menus"); +return [ + 'LAN_PLUGIN_USER_NAME' => "User", + 'LAN_PLUGIN_USER_DESC' => "User Theme and Language Menus", +];