forked from GNUsocial/gnu-social
* i18n/L10n fixes.
* translator documentation updated/added. * superfluous whitespace removed.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user