1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-29 10:50:25 +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). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_plugins/download/download.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/download/download.php,v $
| $Revision: 1.6 $ | $Revision: 1.7 $
| $Date: 2009-05-03 21:16:15 $ | $Date: 2009-05-04 20:09:45 $
| $Author: bugrain $ | $Author: bugrain $
| |
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
require_once("../../class2.php"); require_once("../../class2.php");
if (!plugInstalled('download')) { exit(); } 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/download_class.php');
require_once(e_PLUGIN.'download/handlers/category_class.php'); require_once(e_PLUGIN.'download/handlers/category_class.php');
require_once(e_PLUGIN.'download/download_shortcodes.php'); require_once(e_PLUGIN.'download/download_shortcodes.php');

View File

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

View File

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

View File

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