From 59006ffee1e95b18a9a1c269f6706640825e6221 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 5 Jun 2011 19:40:25 +0200 Subject: [PATCH] Update translator documentation. --- plugins/Recaptcha/RecaptchaPlugin.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/Recaptcha/RecaptchaPlugin.php b/plugins/Recaptcha/RecaptchaPlugin.php index fbc0e0cac1..d0932efe22 100644 --- a/plugins/Recaptcha/RecaptchaPlugin.php +++ b/plugins/Recaptcha/RecaptchaPlugin.php @@ -93,9 +93,12 @@ class RecaptchaPlugin extends Plugin if (!$resp->is_valid) { 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; } } @@ -107,6 +110,7 @@ class RecaptchaPlugin extends Plugin 'author' => 'Eric Helgeson', 'homepage' => 'http://status.net/wiki/Plugin:Recaptcha', 'rawdescription' => + // TRANS: Plugin description. _m('Uses Recaptcha service to add a '. 'captcha to the registration page.')); return true;