From 22b00ec69d2ab7d20b959c0eaee5fd88f9cde792 Mon Sep 17 00:00:00 2001 From: Liangent Date: Tue, 29 May 2012 16:03:59 +0800 Subject: [PATCH] (bug 37186) Remove hard coded parentheses in ImagePage.php Change-Id: Ib516e501953f37a69707a5de3e2ed96004760caa --- includes/ImagePage.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 3aeb70afe8..22984a5166 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -1099,7 +1099,10 @@ class ImageHistoryList extends ContextSource { // Image dimensions + size $row .= ''; $row .= htmlspecialchars( $file->getDimensionsString() ); - $row .= ' (' . Linker::formatSize( $file->getSize() ) . ')'; + $row .= $this->getContext()->msg( 'word-separator' )->plain(); + $row .= ''; + $row .= $this->getContext()->msg( 'parentheses' )->rawParams( Linker::formatSize( $file->getSize() ) )->plain(); + $row .= ''; $row .= ''; // Uploading user -- 2.20.1