1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +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

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

View File

@@ -1,23 +1,19 @@
<?php
define("LAN_PLUGIN_CHATBOX_MENU_NAME", "Chatbox");
define("LAN_PLUGIN_CHATBOX_MENU_DESCRIPTION", "Chatbox Menu");
define("LAN_PLUGIN_CHATBOX_MENU_POSTS", "Chatbox Posts");
// Admin Log
//FIXME - Global LANS must begin with LAN_PLUGIN_{FOLDER_NAME}_
define("LAN_AL_CHBLAN_01","Chatbox settings updated");
define("LAN_AL_CHBLAN_02","Chatbox pruned");
define("LAN_AL_CHBLAN_03","Chatbox posts recalculated");
define("LAN_AL_CHBLAN_04","");
define("LAN_AL_CHBLAN_05","");
// Notify
define("NT_LAN_CB_1", "Chatbox Events");
define("NT_LAN_CB_2", "Message posted");
define("NT_LAN_CB_3", "Posted by");
// define("NT_LAN_CB_4", "IP Address");
define("NT_LAN_CB_5", "Message");
define("NT_LAN_CB_6", "Chatbox Message Posted");
return [
'LAN_PLUGIN_CHATBOX_MENU_NAME' => "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",
];

View File

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