From ce62df7beffeb162db6539bb42cc3e71b3f4da66 Mon Sep 17 00:00:00 2001 From: Liangent Date: Tue, 29 May 2012 11:22:54 +0800 Subject: [PATCH] Use message 'parentheses' in prefs-changeemail. Change-Id: Iba4498b93e3ae45be84b6716bd6764ddfab7c113 --- includes/Preferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Preferences.php b/includes/Preferences.php index 9ec3b64349..3eee19101d 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -371,7 +371,7 @@ class Preferences { $emailAddress = $user->getEmail() ? htmlspecialchars( $user->getEmail() ) : ''; if ( $wgAuth->allowPropChange( 'emailaddress' ) ) { - $emailAddress .= $emailAddress == '' ? $link : " ($link)"; + $emailAddress .= $emailAddress == '' ? $link : ( ' ' . $context->msg( 'parentheses' )->rawParams( $link )->plain() ); } -- 2.20.1