if (!$id) {
// TRANS: Server exception.
- throw new ServerException(_m("Couldn't create anonymous user session."));
+ throw new ServerException(_m("Could not create anonymous user session."));
}
// Stick the Profile ID into the nickname
if (!$result) {
// TRANS: Server exception.
- throw new ServerException(_m("Couldn't create anonymous user session."));
+ throw new ServerException(_m("Could not create anonymous user session."));
}
common_log(
$msg = sprintf(
// TRANS: Server exception.
// TRANS: %d is the notice ID (number).
- _m("Couldn't update favorite tally for notice ID %d."),
+ _m("Could not update favorite tally for notice ID %d."),
$noticeID
);
throw new ServerException($msg);
$msg = sprintf(
// TRANS: Server exception.
// TRANS: %d is the notice ID (number).
- _m("Couldn't update favorite tally for notice ID %d."),
+ _m("Could not update favorite tally for notice ID %d."),
$noticeID
);
throw new ServerException($msg);
$msg = sprintf(
// TRANS: Server exception.
// TRANS: %d is the notice ID (number).
- _m("Couldn't create favorite tally for notice ID %d."),
+ _m("Could not create favorite tally for notice ID %d."),
$noticeID
);
throw new ServerException($msg);
if (empty($profile) || $_SERVER['REQUEST_METHOD'] != 'POST') {
// TRANS: Client error.
- $this->clientError( _m('Could not favor notice! Please make sure your browser has cookies enabled.')
+ $this->clientError(_m('Could not favor notice! Please make sure your browser has cookies enabled.')
);
return;
}
'homepage' => 'http://status.net/wiki/Plugin:ApiLogger',
'rawdescription' =>
// TRANS: Plugin description.
- _m('Logging of API requests.'));
+ _m('Allows random sampling of API requests.'));
return true;
}
}