diff --git a/ConfirmAccount/frontend/language/RequestAccountPage.i18n.php b/ConfirmAccount/frontend/language/RequestAccountPage.i18n.php index d365efb..e5aa584 100644 --- a/ConfirmAccount/frontend/language/RequestAccountPage.i18n.php +++ b/ConfirmAccount/frontend/language/RequestAccountPage.i18n.php @@ -69,6 +69,13 @@ The e-mail address has been confirmed. You can confirm the request here "$2".', 'acct_request_throttle_hit' => "Sorry, you have already requested {{PLURAL:$1|1 account|$1 accounts}}. You cannot make any more requests.", + + //Scratch-specific stuff + 'requestaccount-user-verification' => 'User verification', + 'requestaccount-code-troubleshoot' => 'Note:If you are having problems with User verification not working, please see our Troubleshooting page', + 'requestaccount-set-pwd' => 'Set password', + 'requestaccount-project-info' => 'Please go to the user verification project and comment the following code:
$2', + 'requestaccount-project-link' => 'http://scratch.mit.edu/projects/10135908/' ); /** Message documentation (Message documentation) diff --git a/ConfirmAccount/frontend/specialpages/actions/RequestAccount_body.php b/ConfirmAccount/frontend/specialpages/actions/RequestAccount_body.php index e4ea063..06c6e39 100644 --- a/ConfirmAccount/frontend/specialpages/actions/RequestAccount_body.php +++ b/ConfirmAccount/frontend/specialpages/actions/RequestAccount_body.php @@ -211,14 +211,14 @@ class RequestAccountPage extends SpecialPage { //Scratch user verification $form .= '
'; - $form .= 'User verification'; - $form .= '

Please go to the user verification project and comment the following code:
' . sha1($_SERVER['REMOTE_ADDR'] . date('m')) . '

-

Note:If you are having problems with User verification not working, please see our Troubleshooting page

' . "\n"; + $form .= '' . $this->msg('requestaccount-user-verification') . ''; + $form .= '

' . $this->msg('requestaccount-project-info', $this->msg('requestaccount-project-link'), sha1($_SERVER['REMOTE_ADDR'] . date('m'))) . '

+

' . $this->msg('requestaccount-code-troubleshoot') . '

' . "\n"; $form .= '
'; //Set temporary password $form .= '
'; - $form .= 'Set password'; + $form .= '' . $this->msg('requestaccount-set-pwd') . ''; $form .= '
Password