#132 - added translations

This commit is contained in:
EwelinaLasowy
2022-05-06 08:01:09 +02:00
parent 3404bf1da8
commit 35b5b344b6
19 changed files with 69 additions and 38 deletions

View File

@@ -30,7 +30,7 @@ trait FindsUserBySlackId
$user = $this->findUserBySlackId($slackId);
if (!$user) {
throw new UserNotFoundException("Użytkownik {$slackId} nie istnieje w tobym");
throw new UserNotFoundException(__("User :input does not exist in toby", ["input"=> $slackId]));
}
return $user;

View File

@@ -37,7 +37,7 @@ trait ListsHandlers
)
->map(
fn(SignatureHandler $handler): AttachmentField => AttachmentField::create(
$handler->getDescription(),
__($handler->getDescription()) ,
"`/{$handler->getSignature()}`",
),
)