added entity

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44648 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-11-12 06:18:46 +00:00
parent 2a86989f02
commit 4ff41983d3

View File

@ -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";