L10n and whitespace updates.
This commit is contained in:
parent
e25cb9b570
commit
cc78aca0d2
@ -235,7 +235,7 @@ class AnonymousFavePlugin extends Plugin
|
|||||||
|
|
||||||
if (!$id) {
|
if (!$id) {
|
||||||
// TRANS: Server exception.
|
// 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
|
// Stick the Profile ID into the nickname
|
||||||
@ -246,7 +246,7 @@ class AnonymousFavePlugin extends Plugin
|
|||||||
|
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
// TRANS: Server exception.
|
// 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(
|
common_log(
|
||||||
|
@ -152,7 +152,7 @@ class Fave_tally extends Memcached_DataObject
|
|||||||
$msg = sprintf(
|
$msg = sprintf(
|
||||||
// TRANS: Server exception.
|
// TRANS: Server exception.
|
||||||
// TRANS: %d is the notice ID (number).
|
// 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
|
$noticeID
|
||||||
);
|
);
|
||||||
throw new ServerException($msg);
|
throw new ServerException($msg);
|
||||||
@ -181,7 +181,7 @@ class Fave_tally extends Memcached_DataObject
|
|||||||
$msg = sprintf(
|
$msg = sprintf(
|
||||||
// TRANS: Server exception.
|
// TRANS: Server exception.
|
||||||
// TRANS: %d is the notice ID (number).
|
// 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
|
$noticeID
|
||||||
);
|
);
|
||||||
throw new ServerException($msg);
|
throw new ServerException($msg);
|
||||||
@ -212,7 +212,7 @@ class Fave_tally extends Memcached_DataObject
|
|||||||
$msg = sprintf(
|
$msg = sprintf(
|
||||||
// TRANS: Server exception.
|
// TRANS: Server exception.
|
||||||
// TRANS: %d is the notice ID (number).
|
// 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
|
$noticeID
|
||||||
);
|
);
|
||||||
throw new ServerException($msg);
|
throw new ServerException($msg);
|
||||||
|
@ -57,7 +57,7 @@ class AnonFavorAction extends RedirectingAction
|
|||||||
|
|
||||||
if (empty($profile) || $_SERVER['REQUEST_METHOD'] != 'POST') {
|
if (empty($profile) || $_SERVER['REQUEST_METHOD'] != 'POST') {
|
||||||
// TRANS: Client error.
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,7 @@ class ApiLoggerPlugin extends Plugin
|
|||||||
'homepage' => 'http://status.net/wiki/Plugin:ApiLogger',
|
'homepage' => 'http://status.net/wiki/Plugin:ApiLogger',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
// TRANS: Plugin description.
|
// TRANS: Plugin description.
|
||||||
_m('Logging of API requests.'));
|
_m('Allows random sampling of API requests.'));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user