1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

New language file types: English_global.php (for plugin.xml terms) and English_log.php (for admin-log terms). Auto-detected when present and loaded automatically when needed.

This commit is contained in:
Cameron
2012-12-12 18:46:34 -08:00
parent 0cfce79337
commit 87e225fc36
35 changed files with 276 additions and 144 deletions

View File

@@ -0,0 +1,15 @@
<?php
define("LAN_PLUGIN_CHATBOX_MENU_NAME", "Chatbox");
define("LAN_PLUGIN_CHATBOX_MENU_DESCRIPTION", "Chatbox Menu");
// Admin Log
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","");
?>

View File

@@ -53,17 +53,11 @@ 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', '');
define('CHBLAN_43', '');
// define('CHBLAN_40', 'Chatbox');
// define('CHBLAN_41', 'Chatbox Menu');
// Admin Log
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','');
?>

View File

@@ -1,13 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: plugin.xml,v 1.8 2009-10-20 03:49:22 e107coders Exp $ -->
<e107Plugin name="Chatbox" lan="CHBLAN_40" version="1.0" date="2012-08-01" compatibility="2.0" installRequired="true">
<e107Plugin name="Chatbox" lan="LAN_PLUGIN_CHATBOX_MENU_NAME" version="1.0" date="2012-08-01" compatibility="2.0" installRequired="true">
<author name="e107 Inc." url="http://e107.org" email="jalist@e107.org" />
<description lan="CHBLAN_41">Chatbox Menu</description>
<description lan="LAN_PLUGIN_CHATBOX_MENU_DESCRIPTION">Chatbox Menu</description>
<category>content</category>
<copyright>Copyright e107 Inc e107.org, Licensed under GPL (http://www.gnu.org/licenses/gpl.txt)</copyright>
<languageFiles>
<file type='log' path='languages/--LAN--/--LAN--_config.php' />
</languageFiles>
<adminLinks>
<link url='admin_chatbox.php' description='LAN_CONFIGURE' icon='images/chatbox_32.png' iconSmall='images/chatbox_16.png' primary='true' >LAN_CONFIGURE</link>
</adminLinks>