From 5f393e761cf9fae363b56a9e9e56830c398b9de5 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 01:45:13 +0000 Subject: [PATCH] MINOR Translations in PageCommentInterface.ss (fixes #5598, thanks Pike) (from r104970) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112460 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 1925b523..a2f7ef61 100755 --- a/lang/en_US.php +++ b/lang/en_US.php @@ -406,6 +406,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') %> |