From 4ff657e03f364cc232dc8e09b5eee4e7c93c365d Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 17 May 2010 00:23:53 +0000 Subject: [PATCH] MINOR Translations in PageCommentInterface.ss (fixes #5598, thanks Pike) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@104970 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- lang/en_US.php | 1 + templates/PageCommentInterface.ss | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lang/en_US.php b/lang/en_US.php index cc657347..db2f845c 100755 --- a/lang/en_US.php +++ b/lang/en_US.php @@ -456,6 +456,7 @@ $lang['en_US']['PageComment']['SINGULARNAME'] = array( 'Singular name of the object, used in dropdowns and to generally identify a single object in the interface' ); $lang['en_US']['PageCommentInterface']['COMMENTERURL'] = 'Your website URL'; +$lang['en_US']['PageCommentInterface']['DELETEALLCOMMENTS'] = 'Delete all comments on this page'; $lang['en_US']['PageCommentInterface']['POST'] = 'Post'; $lang['en_US']['PageCommentInterface']['SPAMQUESTION'] = 'Spam protection question: %s'; $lang['en_US']['PageCommentInterface']['YOURCOMMENT'] = 'Comments'; diff --git a/templates/PageCommentInterface.ss b/templates/PageCommentInterface.ss index 321e89b7..f4b124bb 100755 --- a/templates/PageCommentInterface.ss +++ b/templates/PageCommentInterface.ss @@ -54,7 +54,9 @@ <% end_if %> <% if DeleteAllLink %> -

Delete all comments on this page

+

+ <% _t('PageCommentInterface.DELETEALLCOMMENTS','Delete all comments on this page' %> +

<% end_if %>

<% _t('RSSFEEDCOMMENTS', 'RSS feed for comments on this page') %> |