mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Language file cleanup
This commit is contained in:
@@ -90,7 +90,7 @@ class plugin_gallery_index_controller extends eControllerFront
|
|||||||
$text .= e107::getParser()->parseTemplate($template['CAT_ITEM'],TRUE);
|
$text .= e107::getParser()->parseTemplate($template['CAT_ITEM'],TRUE);
|
||||||
}
|
}
|
||||||
$text = $template['CAT_START'].$text.$template['CAT_END'];
|
$text = $template['CAT_START'].$text.$template['CAT_END'];
|
||||||
$this->addTitle(GALLERY_LAN_TITLE)
|
$this->addTitle(LAN_PLUGIN_GALLERY_TITLE)
|
||||||
->addBody($text);
|
->addBody($text);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,7 +150,7 @@ class plugin_gallery_index_controller extends eControllerFront
|
|||||||
$text .= $tp->parseTemplate($template['LIST_END'],TRUE);
|
$text .= $tp->parseTemplate($template['LIST_END'],TRUE);
|
||||||
|
|
||||||
$this->addTitle($catname)
|
$this->addTitle($catname)
|
||||||
->addTitle(GALLERY_LAN_TITLE)
|
->addTitle(LAN_PLUGIN_GALLERY_TITLE)
|
||||||
->addBody($text);
|
->addBody($text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
10
e107_plugins/gallery/languages/English/English_global.php
Normal file
10
e107_plugins/gallery/languages/English/English_global.php
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright (c) e107 Inc 2008-2012 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Gallery Global Language
|
||||||
|
*/
|
||||||
|
define("LAN_PLUGIN_GALLERY_TITLE", "Gallery");
|
||||||
|
define("LAN_PLUGIN_GALLERY_DIZ", "A simple image gallery");
|
||||||
|
|
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright (c) e107 Inc 2008-2012 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
* Gallery back-end laguage defines
|
|
||||||
*/
|
|
||||||
//define('GALLERY_ALAN_1', '');
|
|
@@ -1,9 +0,0 @@
|
|||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright (c) e107 Inc 2008-2012 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
* Gallery front-end laguage defines
|
|
||||||
*/
|
|
||||||
define('GALLERY_LAN_TITLE', 'Gallery');
|
|
||||||
//define('GALLERY_LAN_1', '');
|
|
@@ -1,17 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- $Id: plugin.xml,v 1.15 2009-10-22 04:14:45 e107coders Exp $ -->
|
<e107Plugin name="Gallery" lan="LAN_PLUGIN_GALLERY_TITLE" version="1.0" date="2012-08-01" compatibility="2.0" installRequired="true">
|
||||||
<e107Plugin name="Gallery" lan="Gallery" version="1.0" date="2012-08-01" compatibility="2.0" installRequired="true">
|
|
||||||
<author name="e107 Inc." url="http://e107.org" />
|
<author name="e107 Inc." url="http://e107.org" />
|
||||||
<description>Gallery</description>
|
<description lan="LAN_PLUGIN_GALLERY_DIZ">A simple image gallery</description>
|
||||||
<category>content</category>
|
<category>content</category>
|
||||||
<languageFiles>
|
|
||||||
<file type='install' path='languages/--LAN--/admin_gallery.php' />
|
|
||||||
</languageFiles>
|
|
||||||
<adminLinks>
|
<adminLinks>
|
||||||
<link url='admin_gallery.php' description='LAN_CONFIGURE' icon='images/gallery_32.png' iconSmall='images/gallery_16.png' primary='true' >LAN_CONFIGURE</link>
|
<link url='admin_gallery.php' description='LAN_CONFIGURE' icon='images/gallery_32.png' iconSmall='images/gallery_16.png' primary='true' >LAN_CONFIGURE</link>
|
||||||
</adminLinks>
|
</adminLinks>
|
||||||
<siteLinks>
|
<siteLinks>
|
||||||
<link url="{e_PLUGIN}gallery/gallery.php" sef="gallery" perm="everyone" >Gallery</link>
|
<link url="{e_PLUGIN}gallery/gallery.php" sef="gallery" perm="everyone" >LAN_PLUGIN_GALLERY_TITLE</link>
|
||||||
</siteLinks>
|
</siteLinks>
|
||||||
<mainPrefs>
|
<mainPrefs>
|
||||||
</mainPrefs>
|
</mainPrefs>
|
||||||
|
Reference in New Issue
Block a user