diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-20 19:34:27 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-20 19:34:27 +0200 |
commit | dc62cf1c0b6f77ebd4e4bf885aa3de7846b3232a (patch) | |
tree | 3948a0a0daa392e5aadf1aafad6a34874ae2c568 /lib/apiauth.php | |
parent | 17f5cc4f29c2f9408636dd3e628cf1521b4a08e2 (diff) |
* i18n/L10n fixes.
* translator documentation updated/added.
* superfluous whitespace removed.
Diffstat (limited to 'lib/apiauth.php')
-rw-r--r-- | lib/apiauth.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/apiauth.php b/lib/apiauth.php index 0ebd7aa10..1dacf1409 100644 --- a/lib/apiauth.php +++ b/lib/apiauth.php @@ -263,7 +263,7 @@ class ApiAuthAction extends ApiAction // show error if the user clicks 'cancel' // TRANS: Client error thrown when authentication fails becaus a user clicked "Cancel". - $this->clientError(_("Could not authenticate you."), 401, $this->format); + $this->clientError(_('Could not authenticate you.'), 401, $this->format); exit; } else { @@ -290,7 +290,7 @@ class ApiAuthAction extends ApiAction ); $this->logAuthFailure($msg); // TRANS: Client error thrown when authentication fails. - $this->clientError(_("Could not authenticate you."), 401, $this->format); + $this->clientError(_('Could not authenticate you.'), 401, $this->format); exit; } } @@ -342,7 +342,6 @@ class ApiAuthAction extends ApiAction * * @param string $logMsg additional log message */ - function logAuthFailure($logMsg) { list($proxy, $ip) = common_client_ip(); |