Localise brackets in log entry
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 3 Dec 2013 14:46:51 +0000 (15:46 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 3 Dec 2013 14:46:51 +0000 (15:46 +0100)
Change-Id: Idd9eff2f09f8764dbc8cc958a0165f1a94983cc6

includes/logging/LogPage.php

index 35fb7cc..7f87dc2 100644 (file)
@@ -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();
+
                                                }
                                        }