From 9ec7516fecc8e21af6429b7cdb30b03a6cb5e623 Mon Sep 17 00:00:00 2001 From: lesion Date: Wed, 7 Dec 2022 10:38:19 +0100 Subject: [PATCH] improve SMTP admin email settings help explanation --- components/admin/SMTP.vue | 4 +++- locales/en.json | 3 ++- locales/it.json | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/components/admin/SMTP.vue b/components/admin/SMTP.vue index 0bda92fd..67b2d7a6 100644 --- a/components/admin/SMTP.vue +++ b/components/admin/SMTP.vue @@ -7,7 +7,9 @@ v-card v-text-field(v-model='admin_email' @blur="save('admin_email', admin_email )" - :label="$t('admin.sender_email')" + :label="$t('admin.admin_email')" + :hint="$t('admin.admin_email_help')" + persistent-hint :rules="$validators.email") v-switch(v-model='smtp.sendmail' diff --git a/locales/en.json b/locales/en.json index 86918dc7..50cb988a 100644 --- a/locales/en.json +++ b/locales/en.json @@ -253,7 +253,8 @@ "smtp_test_success": "A test email is sent to {admin_email}, please check your inbox", "smtp_test_button": "Send a test email", "smtp_use_sendmail": "Use sendmail", - "sender_email": "Sender e-mail", + "admin_email": "Admin e-mail", + "admin_email_help": "The address we use as the sender to send emails. This is also the address to which admin emails are sent", "widget": "Widget", "wrong_domain_warning": "The baseurl configured in config.json ({baseurl}) differs from the one you're visiting ({url})", "new_collection": "New collection", diff --git a/locales/it.json b/locales/it.json index 10640c20..a5709d0e 100644 --- a/locales/it.json +++ b/locales/it.json @@ -248,6 +248,7 @@ "smtp_test_success": "Una mail di test è stata inviata all'indirizzo {admin_email}, controlla la tua casella di posta", "smtp_test_button": "Invia una mail di prova", "admin_email": "E-mail dell'admin", + "admin_email_help": "L'indirizzo che usiamo come mittente per inviare le e-mail. È anche l'indirizzo a cui vengono spedite le e-mail di amministrazione", "new_collection": "Crea bolla", "wrong_domain_warning": "Il \"baseurl\" configurato in config.json ({baseurl}) è diverso da quello che stai visitando ({url})", "collections_description": "Le bolle sono raggruppamenti di eventi per tag e posti.",