From: Niklas Laxström Date: Thu, 22 May 2008 18:13:47 +0000 (+0000) Subject: * Plural for badsiglength X-Git-Tag: 1.31.0-rc.0~47465 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=9e65cfee37f27eacdbd5333f4426340fd90ac6e8;p=lhc%2Fweb%2Fwiklou.git * Plural for badsiglength --- diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 89db89109a..ce87ace49e 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -251,7 +251,7 @@ class PreferencesForm { if( mb_strlen( $this->mNick ) > $wgMaxSigChars ) { global $wgLang; $this->mainPrefsForm( 'error', - wfMsg( 'badsiglength', $wgLang->formatNum( $wgMaxSigChars ) ) ); + wfMsgExt( 'badsiglength', 'parsemag', $wgLang->formatNum( $wgMaxSigChars ) ) ); return; } elseif( $this->mToggles['fancysig'] ) { if( $wgParser->validateSig( $this->mNick ) !== false ) { @@ -643,7 +643,7 @@ class PreferencesForm { $invalidSig = $this->tableRow( ' ', Xml::element( 'span', array( 'class' => 'error' ), - wfMsg( 'badsiglength', $wgLang->formatNum( $wgMaxSigChars ) ) ) + wfMsgExt( 'badsiglength', 'parsemag', $wgLang->formatNum( $wgMaxSigChars ) ) ) ); } elseif( !empty( $this->mToggles['fancysig'] ) && false === $wgParser->validateSig( $this->mNick ) ) { diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 02b2dfd424..270cb2312e 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -878,7 +878,7 @@ Please choose a different name.', 'yournick' => 'Signature:', 'badsig' => 'Invalid raw signature; check HTML tags.', 'badsiglength' => 'The signature is too long. -It must be under $1 characters.', +It must be under $1 {{PLURAL:$1|character|characters}}.', 'email' => 'E-mail', 'prefs-help-realname' => 'Real name is optional. If you choose to provide it, this will be used for giving you attribution for your work.',