diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index fdff31732..b14b3f526 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -2,26 +2,14 @@ /* * e107 website system * -* Copyright (C) 2008-2011 e107 Inc (e107.org) +* Copyright (C) 2008-2016 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * * Text processing and parsing functions * -* $URL$ -* $Id$ -* */ -/** - * @package e107 - * @subpackage e107_handlers - * @version $Id$ - * - * Text processing and parsing functions. - * Simple parse data model. - */ - if (!defined('e107_INIT')) { exit(); } // Directory for the hard-coded utf-8 handling routines @@ -4096,8 +4084,8 @@ class e_parser e107::getFile()->getRemoteFile($thumbSrc, $filename,'media'); } - return "Youtube Video -
Click to watch video
"; + return "".LAN_YOUTUBE_VIDEO." +
".LAN_CLICK_TO_VIEW."
"; } if($thumb == 'src') @@ -4127,7 +4115,7 @@ class e_parser { $thumbSrc = e_IMAGE_ABS."generic/playlist_120.png"; } - return "Youtube Video Playlist"; + return "".LAN_YOUTUBE_PLAYLIST.""; } diff --git a/e107_languages/English/English.php b/e107_languages/English/English.php index 439d3ac9e..92ace83d9 100644 --- a/e107_languages/English/English.php +++ b/e107_languages/English/English.php @@ -99,6 +99,8 @@ define("LAN_INCORRECT_PASSWORD", "Incorrect Password"); define("LAN_TYPE", "Type"); define("LAN_SCREENSHOT", "Screenshot"); define("LAN_FILE", "File"); +define("LAN_YOUTUBE_VIDEO", "Youtube Video"); +define("LAN_YOUTUBE_PLAYLIST", "Youtube Playlist"); define("LAN_FILETYPES", "Filetypes"); define("LAN_FILE_NOT_FOUND", "File Not Found"); define("LAN_FILES","Files");