From ae1f6e066b0d0a5680e616df6a69c0ac038e645a Mon Sep 17 00:00:00 2001 From: EwelinaLasowy Date: Mon, 25 Apr 2022 15:23:42 +0200 Subject: [PATCH] #116 - fix --- app/Domain/Slack/Handlers/DailySummary.php | 2 +- app/Domain/Slack/Handlers/KeyList.php | 2 +- app/Infrastructure/Console/Commands/SendDailySummaryToSlack.php | 2 +- resources/lang/pl.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Domain/Slack/Handlers/DailySummary.php b/app/Domain/Slack/Handlers/DailySummary.php index 07dd420..64895fe 100644 --- a/app/Domain/Slack/Handlers/DailySummary.php +++ b/app/Domain/Slack/Handlers/DailySummary.php @@ -44,7 +44,7 @@ class DailySummary extends SignatureHandler $birthdayAttachment = Attachment::create() ->setTitle("Urodziny :birthday:") - ->setColor("#3C5F97") + ->setColor("#3c5f97") ->setText($birthdays->isNotEmpty() ? $birthdays->implode("\n") : "Dzisiaj nikt nie ma urodzin :cry:"); return $this->respondToSlack("Podsumowanie dla dnia {$now->toDisplayString()}") diff --git a/app/Domain/Slack/Handlers/KeyList.php b/app/Domain/Slack/Handlers/KeyList.php index 7a8adef..9d71bc1 100644 --- a/app/Domain/Slack/Handlers/KeyList.php +++ b/app/Domain/Slack/Handlers/KeyList.php @@ -24,7 +24,7 @@ class KeyList extends SignatureHandler return $this->respondToSlack("Lista kluczy :key:") ->withAttachment( Attachment::create() - ->setColor("#3C5F97") + ->setColor("#3c5f97") ->setText($keys->isNotEmpty() ? $keys->implode("\n") : "Nie ma żadnych kluczy w tobym"), ); } diff --git a/app/Infrastructure/Console/Commands/SendDailySummaryToSlack.php b/app/Infrastructure/Console/Commands/SendDailySummaryToSlack.php index c487c1f..1630a5b 100644 --- a/app/Infrastructure/Console/Commands/SendDailySummaryToSlack.php +++ b/app/Infrastructure/Console/Commands/SendDailySummaryToSlack.php @@ -48,7 +48,7 @@ class SendDailySummaryToSlack extends Command $birthdayAttachment = Attachment::create() ->setTitle("Urodziny :birthday:") - ->setColor("#3C5F97") + ->setColor("#3c5f97") ->setText($birthdays->isNotEmpty() ? $birthdays->implode("\n") : "Dzisiaj nikt nie ma urodzin :cry:"); $baseUrl = config("services.slack.url"); diff --git a/resources/lang/pl.json b/resources/lang/pl.json index 192ce08..8485773 100644 --- a/resources/lang/pl.json +++ b/resources/lang/pl.json @@ -56,7 +56,7 @@ "All rights reserved.": "Wszelkie prawa zastrzeżone", "Show vacation request": "Pokaż wniosek", "Vacation request :title has been created" : "Wniosek :title został utworzony", - "The vacation request :title from user :requester has been created sucessfully.": "Wniosek :title użytkownika :requester został utworzony pomyślnie.", + "The vacation request :title from user :requester has been created successfully.": "Wniosek :title użytkownika :requester został utworzony pomyślnie.", "Vacation type: :type": "Rodzaj wniosku: :type", "From :from to :to (number of days: :days)": "Od :from do :to (liczba dni: :days)", "Click here for details": "Kliknij, aby zobaczyć szczegóły",