Implemented the missing email field translation

This commit is contained in:
Glenn de Haan
2025-05-09 18:52:01 +02:00
parent f633f9fd89
commit 4dff2dc28b
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
"scan": "Scan to connect",
"email": "Email Voucher",
"optional": "optional",
"enterEmail": "Enter your email address",
"send": "Send Voucher",
"sending": "Sending Email",
"sent": "Email Sent",

View File

@@ -130,7 +130,7 @@
<label for="email" class="block text-sm font-medium text-gray-700 dark:text-gray-300">
<%= t('email') %> (<%= t('optional') %>)
</label>
<input id="email" type="email" name="email" placeholder="Enter your email address" class="block w-full rounded-md border-0 py-1.5 text-gray-900 dark:text-white bg-white dark:bg-gray-900 ring-1 ring-inset ring-gray-300 dark:ring-white/10 focus:ring-2 focus:ring-sky-600 sm:text-sm sm:leading-6" required/>
<input id="email" type="email" name="email" placeholder="<%= t('enterEmail') %>" class="block w-full rounded-md border-0 py-1.5 text-gray-900 dark:text-white bg-white dark:bg-gray-900 ring-1 ring-inset ring-gray-300 dark:ring-white/10 focus:ring-2 focus:ring-sky-600 sm:text-sm sm:leading-6" required/>
</div>
<input id="voucher" type="hidden" name="id" value="<%= voucherId %>"/>