diff --git a/e107_plugins/gallery/controllers/index.php b/e107_plugins/gallery/controllers/index.php index e239de58e..b4ad2d0de 100644 --- a/e107_plugins/gallery/controllers/index.php +++ b/e107_plugins/gallery/controllers/index.php @@ -62,6 +62,7 @@ class plugin_gallery_index_controller extends eControllerFront public function init() { + e107::plugLan('gallery', 'front'); $this->catList = e107::getMedia()->getCategories('gallery'); } @@ -89,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') + $this->addTitle(GALLERY_LAN_TITLE) ->addBody($text); } @@ -149,7 +150,7 @@ class plugin_gallery_index_controller extends eControllerFront $text .= $tp->parseTemplate($template['LIST_END'],TRUE); $this->addTitle($catname) - ->addTitle('Gallery') + ->addTitle(GALLERY_LAN_TITLE) ->addBody($text); } } diff --git a/e107_plugins/gallery/languages/English/admin.php b/e107_plugins/gallery/languages/English/admin.php new file mode 100644 index 000000000..2900debba --- /dev/null +++ b/e107_plugins/gallery/languages/English/admin.php @@ -0,0 +1,8 @@ +