-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
569 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"mail": { | ||
"inviteUser": { | ||
"title": "Deine Einladung", | ||
"content": { | ||
"text": "Hey %s, du wurdest von %s zum Liga-Manager eingeladen.", | ||
"action": "Registrieren" | ||
}, | ||
"hints": { | ||
"validity": "Deine Einladung ist gültig bis: %s", | ||
"disclosure": "Bitte leite deine Einladung nicht an eine andere Person weiter." | ||
} | ||
}, | ||
"resetPassword": { | ||
"title": "Passwort zurücksetzen", | ||
"content": { | ||
"text": "Hey %s, nutze den folgenden Link um ein neues Passwort zu vergeben.", | ||
"action": "Neues Passwort setzen" | ||
}, | ||
"hints": { | ||
"validity": "Der Link ist gültig bis: %s", | ||
"disclosure": "Bitte leite diese E-Mail nicht an eine andere Person weiter.", | ||
"flooding": "Wenn du diese E-Mail wiederholt bekommst ohne sie selbst angefordert zu haben, melde dich bitte beim Admin-Team." | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"mail": { | ||
"inviteUser": { | ||
"title": "Your invite", | ||
"content": { | ||
"text": "Hey %s, you have been invited from %s to join Liga-Manager.", | ||
"action": "Register" | ||
}, | ||
"hints": { | ||
"validity": "Your invite is valid until: %s", | ||
"disclosure": "Please do not forward your invite to another person." | ||
} | ||
}, | ||
"resetPassword": { | ||
"title": "Password reset", | ||
"content": { | ||
"text": "Hey %s, use the following link for setting a new password.", | ||
"action": "Set new password" | ||
}, | ||
"hints": { | ||
"validity": "The link is valid until: %s", | ||
"disclosure": "Please do not forward this mail to another person.", | ||
"flooding": "If you receive this mail repeatedly, but you did not request it, please contact the admin team." | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace HexagonalPlayground\Application\Email; | ||
|
||
class MessageBody | ||
{ | ||
/** | ||
* @param string $title Text to display as the title | ||
* @param string $content Text to display as the main content | ||
* @param array $actions Assotiative array with action label as key and URL as value | ||
* @param array $hints Array of text items to serve as hints | ||
*/ | ||
public function __construct( | ||
public string $title, | ||
public string $content, | ||
public array $actions = [], | ||
public array $hints = [] | ||
) { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.