* #132 - added translations * wip * #132 - added translations * #132 - cs fix * #132 - cs fix Co-authored-by: Adrian Hopek <adrian.hopek@blumilk.pl>
This commit is contained in:
@@ -16,7 +16,7 @@ use Toby\Infrastructure\Slack\Elements\RemotesAttachment;
|
||||
class DailySummary extends SignatureHandler
|
||||
{
|
||||
protected $signature = "toby dzisiaj";
|
||||
protected $description = "Codzienne podsumowanie";
|
||||
protected $description = "Daily summary";
|
||||
|
||||
public function handle(Request $request): Response
|
||||
{
|
||||
@@ -30,7 +30,7 @@ class DailySummary extends SignatureHandler
|
||||
new BirthdaysAttachment($dailySummaryRetriever->getBirthdays($now)),
|
||||
]);
|
||||
|
||||
return $this->respondToSlack("Podsumowanie dla dnia {$now->toDisplayString()}")
|
||||
return $this->respondToSlack(__("Summary for the day :day", ["day" => $now->toDisplayString()]))
|
||||
->withAttachments($attachments->all());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user