From: Raimond Spekking Date: Tue, 10 Jun 2008 10:44:13 +0000 (+0000) Subject: Support plural for 'throttled-mailpassword' X-Git-Tag: 1.31.0-rc.0~47075 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=ada9f26c5ea5be910d002533c6f51411f322fcae;p=lhc%2Fweb%2Fwiklou.git Support plural for 'throttled-mailpassword' --- diff --git a/includes/SpecialUserlogin.php b/includes/SpecialUserlogin.php index e2d802b945..179ef3f9d2 100644 --- a/includes/SpecialUserlogin.php +++ b/includes/SpecialUserlogin.php @@ -595,7 +595,7 @@ class LoginForm { if ( $u->isPasswordReminderThrottled() ) { global $wgPasswordReminderResendTime; # Round the time in hours to 3 d.p., in case someone is specifying minutes or seconds. - $this->mainLoginForm( wfMsg( 'throttled-mailpassword', + $this->mainLoginForm( wfMsgExt( 'throttled-mailpassword', array( 'parsemag' ), round( $wgPasswordReminderResendTime, 3 ) ) ); return; } diff --git a/languages/messages/MessagesDe.php b/languages/messages/MessagesDe.php index 4500759520..72b5b4a42e 100644 --- a/languages/messages/MessagesDe.php +++ b/languages/messages/MessagesDe.php @@ -597,7 +597,7 @@ Bitte melde dich damit an, sobald du es erhalten hast. Das alte Passwort bleibt 'eauthentsent' => 'Eine Bestätigungs-E-Mail wurde an die angegebene Adresse verschickt. Bevor eine E-Mail von anderen Benutzern über die E-Mail-Funktion empfangen werden kann, muss die Adresse und ihre tatsächliche Zugehörigkeit zu diesem Benutzerkonto erst bestätigt werden. Bitte befolge die Hinweise in der Bestätigungs-E-Mail.', -'throttled-mailpassword' => 'Es wurde innerhalb der letzten $1 Stunden bereits ein neues Passwort angefordert. Um einen Missbrauch der Funktion zu verhindern, kann nur alle $1 Stunden ein neues Passwort angefordert werden.', +'throttled-mailpassword' => 'Es wurde innerhalb der letzten {{PLURAL:$1|Stunde|$1 Stunden}} bereits ein neues Passwort angefordert. Um einen Missbrauch der Funktion zu verhindern, kann nur {{PLURAL:$1|einmal pro Stunde|alle $1 Stunden}} ein neues Passwort angefordert werden.', 'mailerror' => 'Fehler beim Senden der E-Mail: $1', 'acct_creation_throttle_hit' => 'Du hast schon $1 Benutzerkonten angelegt und kannst jetzt keine weiteren mehr anlegen.', 'emailauthenticated' => 'Deine E-Mail-Adresse wurde bestätigt: $1.', diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index da45d18ba7..14c948c286 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -920,8 +920,8 @@ Please log in again after you receive it.', 'blocked-mailpassword' => 'Your IP address is blocked from editing, and so is not allowed to use the password recovery function to prevent abuse.', 'eauthentsent' => 'A confirmation e-mail has been sent to the nominated e-mail address. Before any other e-mail is sent to the account, you will have to follow the instructions in the e-mail, to confirm that the account is actually yours.', -'throttled-mailpassword' => 'A password reminder has already been sent, within the last $1 hours. -To prevent abuse, only one password reminder will be sent per $1 hours.', +'throttled-mailpassword' => 'A password reminder has already been sent, within the last {{PLURAL:$1|hour|$1 hours}}. +To prevent abuse, only one password reminder will be sent per {{PLURAL:$1|hour|$1 hours}}.', 'loginstart' => '', # do not translate or duplicate this message to other languages 'loginend' => '', # do not translate or duplicate this message to other languages 'signupend' => '{{int:loginend}}', # do not translate or duplicate this message to other languages