From 4de0dd7403a5b5aa09b5387c3bfc7a9ca9b171c4 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 15 Dec 2012 13:40:09 -0800 Subject: [PATCH] Language file cleanup --- e107_plugins/gallery/controllers/index.php | 4 ++-- .../gallery/languages/English/English_global.php | 10 ++++++++++ e107_plugins/gallery/languages/English/admin.php | 8 -------- e107_plugins/gallery/languages/English/front.php | 9 --------- e107_plugins/gallery/plugin.xml | 10 +++------- 5 files changed, 15 insertions(+), 26 deletions(-) create mode 100644 e107_plugins/gallery/languages/English/English_global.php delete mode 100644 e107_plugins/gallery/languages/English/admin.php delete mode 100644 e107_plugins/gallery/languages/English/front.php diff --git a/e107_plugins/gallery/controllers/index.php b/e107_plugins/gallery/controllers/index.php index 957be86e0..42c7cc326 100644 --- a/e107_plugins/gallery/controllers/index.php +++ b/e107_plugins/gallery/controllers/index.php @@ -90,7 +90,7 @@ class plugin_gallery_index_controller extends eControllerFront $text .= e107::getParser()->parseTemplate($template['CAT_ITEM'],TRUE); } $text = $template['CAT_START'].$text.$template['CAT_END']; - $this->addTitle(GALLERY_LAN_TITLE) + $this->addTitle(LAN_PLUGIN_GALLERY_TITLE) ->addBody($text); } @@ -150,7 +150,7 @@ class plugin_gallery_index_controller extends eControllerFront $text .= $tp->parseTemplate($template['LIST_END'],TRUE); $this->addTitle($catname) - ->addTitle(GALLERY_LAN_TITLE) + ->addTitle(LAN_PLUGIN_GALLERY_TITLE) ->addBody($text); } } diff --git a/e107_plugins/gallery/languages/English/English_global.php b/e107_plugins/gallery/languages/English/English_global.php new file mode 100644 index 000000000..b906b82d1 --- /dev/null +++ b/e107_plugins/gallery/languages/English/English_global.php @@ -0,0 +1,10 @@ + - - + - Gallery + A simple image gallery content - - - LAN_CONFIGURE - Gallery + LAN_PLUGIN_GALLERY_TITLE