From: Siebrand Mazeland Date: Tue, 3 Dec 2013 14:46:51 +0000 (+0100) Subject: Localise brackets in log entry X-Git-Tag: 1.31.0-rc.0~17812^2~1 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=04854a4b41720d5ff9d9e8b8bddb7464664d3bb9;p=lhc%2Fweb%2Fwiklou.git Localise brackets in log entry Change-Id: Idd9eff2f09f8764dbc8cc958a0165f1a94983cc6 --- diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index 35fb7cc26c..7f87dc24fc 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -289,7 +289,11 @@ class LogPage { // Cascading flag... if ( $params[2] ) { - $details .= ' [' . wfMessage( 'protect-summary-cascade' )->inLanguage( $langObj )->text() . ']'; + $text = wfMessage( 'protect-summary-cascade' ) + ->inLanguage( $langObj )->text(); + $details .= ' '; + $details .= wfMessage( 'brackets', $text )->inLanguage( $langObj )->text(); + } }