#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

@@ -14,7 +14,7 @@ class Help extends SignatureHandler
use ListsHandlers;
protected $signature = "toby pomoc";
protected $description = "Wyświetl wszystkie dostępne polecenia";
protected $description = "Show all available commands";
public function handle(Request $request): Response
{
@@ -22,7 +22,7 @@ class Help extends SignatureHandler
$attachmentFields = $this->mapHandlersToAttachments($handlers);
return $this->respondToSlack("Dostępne polecenia:")
return $this->respondToSlack(__("Available commands:"))
->withAttachment(
Attachment::create()
->setColor("good")