Update translator documentation.

This commit is contained in:
Siebrand Mazeland 2011-06-05 19:40:25 +02:00
parent eb0fb9c2b7
commit 59006ffee1

View File

@ -93,9 +93,12 @@ class RecaptchaPlugin extends Plugin
if (!$resp->is_valid) { if (!$resp->is_valid) {
if($this->display_errors) { if($this->display_errors) {
$action->showForm(sprintf(_m("(reCAPTCHA error: %s)", $resp->error))); // TRANS: Error message displayed if there is in error communicating with the
// TRANS: reCAPTCHA server. %s is the error.
$action->showForm(sprintf(_m('(reCAPTCHA error: %s)', $resp->error)));
} }
$action->showForm(_m("Captcha does not match!")); // TRANS: Error message displayed if a provided captcha response does not match.
$action->showForm(_m('Captcha does not match!'));
return false; return false;
} }
} }
@ -107,6 +110,7 @@ class RecaptchaPlugin extends Plugin
'author' => 'Eric Helgeson', 'author' => 'Eric Helgeson',
'homepage' => 'http://status.net/wiki/Plugin:Recaptcha', 'homepage' => 'http://status.net/wiki/Plugin:Recaptcha',
'rawdescription' => 'rawdescription' =>
// TRANS: Plugin description.
_m('Uses <a href="http://recaptcha.org/">Recaptcha</a> service to add a '. _m('Uses <a href="http://recaptcha.org/">Recaptcha</a> service to add a '.
'captcha to the registration page.')); 'captcha to the registration page.'));
return true; return true;