1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

Issue #5465 Plugin language file conversion.

This commit is contained in:
camer0n
2025-04-11 07:23:45 -07:00
parent 9de234324c
commit bea796463e
74 changed files with 1787 additions and 2263 deletions

View File

@@ -1,93 +1,88 @@
<?php
define("LAN_PM", "Private Message");
define("LAN_PM_1", "Send Private Message");
define("LAN_PM_2", "To");
define("LAN_PM_3", "Preview");
define("LAN_PM_4", "Userclass");
define("LAN_PM_5", "Subject");
define("LAN_PM_6", "Message");
define("LAN_PM_7", "Emotes");
define("LAN_PM_8", "Attachments");
define("LAN_PM_9", "Read receipt");
define("LAN_PM_10", "Send me an email when this PM is read");
define("LAN_PM_11", "add new upload");
define("LAN_PM_12", "You are not authorized to use the PM system");
define("LAN_PM_13", "Your outbox is currently {PERCENT}% full, you are unable to send PMs until you delete some");
define("LAN_PM_14", "ERROR: Possible duplicate post, PM not sent");
define("LAN_PM_15", "You are not allowed to send to userclass");
define("LAN_PM_16", "Must be member of class");
define("LAN_PM_17", "User not found");
define("LAN_PM_18", "You are not allowed to send PMs to: ");
define("LAN_PM_19", "Your outbox is full, you are not allowed to send PMs");
define("LAN_PM_21", "Adding this PM will exceed your maximum outbox size, PM not posted");
define("LAN_PM_22", "File upload failed");
define("LAN_PM_23", "You are not allowed to send attachments");
define("LAN_PM_24", "Deleting PM");
// define("LAN_PM_25", "Inbox");
// define("LAN_PM_26", "Outbox");
define("LAN_PM_27", "Unread");
define("LAN_PM_28", "N/A");
define("LAN_PM_29", "Message Sent");
define("LAN_PM_30", "Message Read");
define("LAN_PM_31", "From");
define("LAN_PM_32", "Received");
define("LAN_PM_33", "Sent");
define("LAN_PM_34", "No Messages");
define("LAN_PM_35", "Send new message");
define("LAN_PM_36", "total");
define("LAN_PM_37", "unread");
define("LAN_PM_38", "PM Sent to userclass");
define("LAN_PM_39", "Failed to send PM to");
define("LAN_PM_40", "PM Sent to user");
define("LAN_PM_41", "Failed to post PM to your Outbox");
define("LAN_PM_42", "PM deleted from inbox");
define("LAN_PM_43", "PM deleted from outbox");
define("LAN_PM_44", "Block removed: {UNAME} is now allowed to send you PMs");
define("LAN_PM_45", "ERROR: Block not removed, unknown error");
define("LAN_PM_46", "Block not in place for {UNAME}");
define("LAN_PM_47", "Block added: {UNAME} is no longer allowed to send you PMs");
define("LAN_PM_48", "ERROR: Block not added, unknown error");
define("LAN_PM_49", "ERROR: Block already in place for {UNAME}");
define("LAN_PM_50", "Block User");
define("LAN_PM_51", "Unblock User");
//define("LAN_PM_52", "Delete"); "" new > 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",
];

View File

@@ -1,89 +1,78 @@
<?php
//define("ADLAN_PM", "Private Messenger");
define("ADLAN_PM_1", "To activate please go to your menus screen and select the private_msg into one of your menu areas. <br /><br />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. <br /><br />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!",
];

View File

@@ -1,18 +1,20 @@
<?php
define("LAN_PLUGIN_PM_NAME", "Private Messenger");
define("LAN_PLUGIN_PM_DESCRIPTION", "This plugin is a fully featured Private Messaging system.");
define("LAN_PLUGIN_PM_URL_DEFAULT_LABEL", "Default");
define("LAN_PLUGIN_PM_URL_DEFAULT_DESCR", "Default");
define("LAN_PLUGIN_PM_INBOX", "Inbox");
define("LAN_PLUGIN_PM_OUTBOX", "Outbox");
define("LAN_PLUGIN_PM_NEW", "Send New Message");
define("LAN_PLUGIN_PM_TO", "To");
define("LAN_PLUGIN_PM_FROM", "From");
define("LAN_PLUGIN_PM_SUB", "Subject");
define("LAN_PLUGIN_PM_MESS", "Message");
define("LAN_PLUGIN_PM_READ", "Read");
define("LAN_PLUGIN_PM_DEL", "Delete PM");
define("LAN_PLUGIN_PM_ATTACHMENT", "Attachment");
define("LAN_PLUGIN_PM_SIZE", "Size");
return [
'LAN_PLUGIN_PM_NAME' => "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",
];

View File

@@ -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",
];

View File

@@ -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' => "",
];