chg: [inboxProcessors:localTool] Finalize -> Finalise

pull/59/head
mokaddem 2021-06-21 15:25:16 +02:00
parent 2b8daf7960
commit 91f94e1a74
1 changed files with 2 additions and 2 deletions

View File

@ -334,7 +334,7 @@ class AcceptedRequestProcessor extends LocalToolInboxProcessor implements Generi
$resultTitle = __('Could not finalize inter-connection for `{0}`\'s {1}', $inboxRequest['origin'], $inboxRequest['local_tool_name']); $resultTitle = __('Could not finalize inter-connection for `{0}`\'s {1}', $inboxRequest['origin'], $inboxRequest['local_tool_name']);
$errors = $connectorResult['errors'] ?? $thrownErrorMessage; $errors = $connectorResult['errors'] ?? $thrownErrorMessage;
if ($connectionSuccessfull) { if ($connectionSuccessfull) {
$resultTitle = __('Interconnection for `{0}`\'s {1} finalized', $inboxRequest['origin'], $inboxRequest['local_tool_name']); $resultTitle = __('Interconnection for `{0}`\'s {1} finalised', $inboxRequest['origin'], $inboxRequest['local_tool_name']);
$this->discard($id, $requestData); $this->discard($id, $requestData);
} }
return $this->genActionResult( return $this->genActionResult(
@ -407,7 +407,7 @@ class DeclinedRequestProcessor extends LocalToolInboxProcessor implements Generi
return $this->genActionResult( return $this->genActionResult(
$interConnectionResult, $interConnectionResult,
$connectionSuccessfull, $connectionSuccessfull,
$connectionSuccessfull ? __('Interconnection for `{0}`\'s {1} finalized', $requestData['origin'], $requestData['local_tool_name']) : __('Could not inter-connect `{0}`\'s {1}', $requestData['origin'], $requestData['local_tool_name']), $connectionSuccessfull ? __('Interconnection for `{0}`\'s {1} finalised', $requestData['origin'], $requestData['local_tool_name']) : __('Could not inter-connect `{0}`\'s {1}', $requestData['origin'], $requestData['local_tool_name']),
[] []
); );
} }