style(auth): the code mail as dart format writes it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-20 23:34:16 +02:00
commit 91a839e43a
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -99,17 +99,13 @@ final class LogCodeMailer implements CodeMailer {
'\n'
'Gib diesen Code in $app ein, ${switch (purpose) {
EmailCodePurpose.signUp => 'um dein Konto auf $instance anzulegen',
EmailCodePurpose.finishSetup =>
'um die Einrichtung deines Kontos auf $instance abzuschließen',
EmailCodePurpose.authenticatorReset =>
'um die Codes deiner Authenticator-App für dein Konto auf '
'$instance abzuschalten (72 Stunden später)',
EmailCodePurpose.accountReset =>
'um dein Konto auf $instance zurückzusetzen: ein neues Passwort '
'und neue Schlüssel; was mit den alten verschlüsselt war, ist '
'dann verloren',
EmailCodePurpose.deletion =>
'um dein Konto auf $instance mit allem darin zu löschen',
EmailCodePurpose.finishSetup => 'um die Einrichtung deines Kontos auf $instance abzuschließen',
EmailCodePurpose.authenticatorReset => 'um die Codes deiner Authenticator-App für dein Konto auf '
'$instance abzuschalten (72 Stunden später)',
EmailCodePurpose.accountReset => 'um dein Konto auf $instance zurückzusetzen: ein neues Passwort '
'und neue Schlüssel; was mit den alten verschlüsselt war, ist '
'dann verloren',
EmailCodePurpose.deletion => 'um dein Konto auf $instance mit allem darin zu löschen',
}}. Er gilt 15 Minuten.\n'
'\n'
'Gib ihn nur in $app auf $instance ein, nirgends sonst, auch wenn '
@ -128,16 +124,12 @@ final class LogCodeMailer implements CodeMailer {
'\n'
'Type this code in $app ${switch (purpose) {
EmailCodePurpose.signUp => 'to create your account on $instance',
EmailCodePurpose.finishSetup =>
'to finish setting up your account on $instance',
EmailCodePurpose.authenticatorReset =>
"to switch off your authenticator app's codes for your account "
'on $instance (72 hours later)',
EmailCodePurpose.accountReset =>
'to reset your account on $instance: a new password and new '
'keys, and what was encrypted with the old ones is lost',
EmailCodePurpose.deletion =>
'to delete your account on $instance with everything in it',
EmailCodePurpose.finishSetup => 'to finish setting up your account on $instance',
EmailCodePurpose.authenticatorReset => "to switch off your authenticator app's codes for your account "
'on $instance (72 hours later)',
EmailCodePurpose.accountReset => 'to reset your account on $instance: a new password and new '
'keys, and what was encrypted with the old ones is lost',
EmailCodePurpose.deletion => 'to delete your account on $instance with everything in it',
}}. It is valid for 15 minutes.\n'
'\n'
'Type it only in $app on $instance, nowhere else, even if a page or '