1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 18:30:53 +02:00

Fixed hard coded language text in plugin.xml

Renamed language files to match standard approach
This commit is contained in:
bugrain
2009-05-04 20:09:45 +00:00
parent 78c7030698
commit ed00f81db3
5 changed files with 25 additions and 20 deletions

View File

@@ -11,15 +11,15 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/download/download.php,v $
| $Revision: 1.6 $
| $Date: 2009-05-03 21:16:15 $
| $Revision: 1.7 $
| $Date: 2009-05-04 20:09:45 $
| $Author: bugrain $
|
+----------------------------------------------------------------------------+
*/
require_once("../../class2.php");
if (!plugInstalled('download')) { exit(); }
include_lan(e_PLUGIN.'download/languages/'.e_LANGUAGE.'/lan_download.php');
include_lan(e_PLUGIN.'download/languages/'.e_LANGUAGE.'/download.php');
require_once(e_PLUGIN.'download/handlers/download_class.php');
require_once(e_PLUGIN.'download/handlers/category_class.php');
require_once(e_PLUGIN.'download/download_shortcodes.php');

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/download/download_admin.php,v $
| $Revision: 1.9 $
| $Date: 2009-05-03 21:16:15 $
| $Revision: 1.10 $
| $Date: 2009-05-04 20:09:45 $
| $Author: bugrain $
+----------------------------------------------------------------------------+
*/
@@ -27,8 +27,8 @@ if (!getperms("P") || !plugInstalled('download'))
exit() ;
}
include_lan(e_PLUGIN.'download/languages/'.e_LANGUAGE.'/lan_download.php');
include_lan(e_PLUGIN.'download/languages/'.e_LANGUAGE.'/lan_download_admin.php');
include_lan(e_PLUGIN.'download/languages/'.e_LANGUAGE.'/download.php');
include_lan(e_PLUGIN.'download/languages/'.e_LANGUAGE.'/admin_download.php');
require_once(e_PLUGIN.'download/handlers/adminDownload_class.php');
require_once(e_HANDLER."form_handler.php");
require_once(e_HANDLER."ren_help.php");

View File

@@ -3,9 +3,9 @@
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/download/languages/English/lan_download_admin.php,v $
| $Revision: 1.6 $
| $Date: 2009-05-03 21:16:15 $
| $Source: /cvs_backup/e107_0.8/e107_plugins/download/languages/English/admin_download.php,v $
| $Revision: 1.1 $
| $Date: 2009-05-04 20:09:45 $
| $Author: bugrain $
+----------------------------------------------------------------------------+
*/
@@ -192,4 +192,8 @@ define("DOWLAN_HELP_7", "Help for mirror");
define("DOWLAN_HELP_8", "Help for ");
define("DOWLAN_HELP_9", "Help for ");
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");
?>

View File

@@ -3,9 +3,9 @@
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/download/languages/English/lan_download.php,v $
| $Revision: 1.2 $
| $Date: 2009-02-11 21:41:54 $
| $Source: /cvs_backup/e107_0.8/e107_plugins/download/languages/English/download.php,v $
| $Revision: 1.1 $
| $Date: 2009-05-04 20:09:45 $
| $Author: bugrain $
+----------------------------------------------------------------------------+
*/

View File

@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Id: plugin.xml,v 1.4 2009-02-11 21:41:54 bugrain Exp $ -->
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: plugin.xml,v 1.5 2009-05-04 20:09:45 bugrain Exp $ -->
<e107Plugin name="Download" version="1.0" compatibility="0.8" installRequired="true">
<author name="e107dev" url="http://e107.org"/>
<description>This plugin is a fully featured Download system</description>
<author name="bugrain" url="http://e107.org"/>
<description>DOWLAN_DESCRIPTION</description>
<folder>download</folder>
<installLanguageFile filename="languages/--LAN--/admin_download.php" />
<administration>
<configFile>download_admin.php</configFile>
<subMenuItem title="DOWLAN_29" description="" link="download_admin.php" icon="manage" />
@@ -14,10 +15,10 @@
<subMenuItem title="DOWLAN_128" description="" link="download_admin.php?mirror" icon="images/downloads_32.png" />
<icon>images/downloads_32.png</icon>
<iconSmall>images/downloads_16.png</iconSmall>
<caption>Configure Download</caption>
<installDone>Your download plugin is now installed</installDone>
<caption>DOWLAN_CAPTION</caption>
<installDone>DOWLAN_INSTALL_DONE</installDone>
</administration>
<menuLink name="Download" url="download/download.php" perm="everyone"/>
<menuLink name="DOWLAN_29" url="download/download.php" perm="everyone"/>
<mainPrefs>
<pref name="download_php" value="" />
<pref name="download_subsub" value="1" />