fix: move email verification strings to locale file

This commit is contained in:
limes
2026-08-29 18:14:25 +02:00
parent 14b25ffd3c
commit 949e3e04cf
2 changed files with 8 additions and 4 deletions

View File

@@ -273,6 +273,11 @@
"resend": "Resend verification email"
}
},
"emailVerification": {
"verifiedTitle": "Email successfully verified",
"verifiedCaption": "You may now close this tab.",
"failedTitle": "Failed to verify email"
},
"accountLevel": [
"Standard",
"Tester",

View File

@@ -46,17 +46,16 @@ await callOnce(async () => {
<div class="account-form-wrapper">
<h1
class="title dot"
data-title-suffix="!"
>
Email successfully verified{{ '' }}
{{ $t('account.emailVerification.verifiedTitle') }}
</h1>
<p>You may now close this tab.</p>
<p>{{ $t('account.emailVerification.verifiedCaption') }}</p>
</div>
</div>
<div v-else>
<div class="account-form-wrapper">
<h1 class="title dot">
Failed to verify email{{ '' }}
{{ $t('account.emailVerification.failedTitle') }}
</h1>
<p>{{ errorMessage }}</p>
</div>