Просмотр исходного кода

Merge pull request #24644 from overleaf/td-contact-form-react-email-validation

Add validation to email field in React version of contact form

GitOrigin-RevId: 9804af9fd5c4cf8e29e47a8661c50198eb0f6bcf
Tim Down 1 год назад
Родитель
Сommit
ef958f97a1
2 измененных файлов с 2 добавлено и 0 удалено
  1. 1 0
      services/web/frontend/extracted-translations.json
  2. 1 0
      services/web/locales/en.json

+ 1 - 0
services/web/frontend/extracted-translations.json

@@ -1206,6 +1206,7 @@
   "please_link_before_making_primary": "",
   "please_provide_a_message": "",
   "please_provide_a_subject": "",
+  "please_provide_a_valid_email_address": "",
   "please_reconfirm_institutional_email": "",
   "please_reconfirm_your_affiliation_before_making_this_primary": "",
   "please_refresh": "",

+ 1 - 0
services/web/locales/en.json

@@ -1610,6 +1610,7 @@
   "please_link_before_making_primary": "Please confirm your email by linking to your institutional account before making it the primary email.",
   "please_provide_a_message": "Please provide a message",
   "please_provide_a_subject": "Please provide a subject",
+  "please_provide_a_valid_email_address": "Please provide a valid email address",
   "please_reconfirm_institutional_email": "Please take a moment to confirm your institutional email address or <0>remove it</0> from your account.",
   "please_reconfirm_your_affiliation_before_making_this_primary": "Please confirm your affiliation before making this the primary.",
   "please_refresh": "Please refresh the page to continue.",