From 4ff41983d327f538bef846ce44139afefd99fe38 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 12 Nov 2007 06:18:46 +0000 Subject: [PATCH] added entity git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44648 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/sitefeatures/PageComment.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/sitefeatures/PageComment.php b/code/sitefeatures/PageComment.php index da69610a..47e83556 100755 --- a/code/sitefeatures/PageComment.php +++ b/code/sitefeatures/PageComment.php @@ -166,7 +166,11 @@ class PageComment extends DataObject { } function RSSTitle() { - return "Comment by '". Convert::raw2xml($this->Name) . "' on " . $this->Parent()->Title; + return sprintf( + _t('PageComment.COMMENTBY', "Comment by '%s' on %s", PR_MEDIUM, 'Name, Page Title'), + Convert::raw2xml($this->Name), + $this->Parent()->Title + ); } function rss() { $parentcheck = isset($_REQUEST['pageid']) ? "ParentID = {$_REQUEST['pageid']}" : "ParentID > 0";