]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Update translator documentation.
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 5 Jun 2011 17:40:25 +0000 (19:40 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 5 Jun 2011 17:40:25 +0000 (19:40 +0200)
plugins/Recaptcha/RecaptchaPlugin.php

index fbc0e0cac1ecf43a4b708c034580f9784ab6f80c..d0932efe22c2454907ac30533fdbf3a21646395f 100644 (file)
@@ -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 <a href="http://recaptcha.org/">Recaptcha</a> service to add a  '.
                                'captcha to the registration page.'));
         return true;