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

Merge pull request #32175 from overleaf/jel-show-why-verify-failed

[web] Show reason domain failed verification

GitOrigin-RevId: 7d506776eaacb0f8a274de6821ed9fecf7739500
Jessica Lawshe 4 месяцев назад
Родитель
Сommit
7db4dfd780

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

@@ -487,7 +487,10 @@
   "doing_this_will_verify_affiliation_and_allow_log_in_2": "",
   "domain": "",
   "domain_capture": "",
+  "domain_verification_failed_dns_error": "",
   "domain_verification_failed_internal_error": "",
+  "domain_verification_failed_no_token": "",
+  "domain_verification_failed_wrong_token": "",
   "done": "",
   "dont_create_personal_projects_in_managed_account": "",
   "dont_forget_you_currently_have": "",
@@ -2207,6 +2210,7 @@
   "verified": "",
   "verify_email_address_before_enabling_managed_users": "",
   "verify_your_email_address": "",
+  "verifying_domain": "",
   "view": "",
   "view_all": "",
   "view_all_plans": "",
@@ -2250,6 +2254,7 @@
   "we_logged_you_in": "",
   "we_sent_code": "",
   "we_sent_new_code": "",
+  "we_were_unable_to_verify_your_domain": "",
   "we_will_charge_you_now_for_the_cost_of_your_additional_licenses_based_on_remaining_months": "",
   "we_will_charge_you_now_for_your_new_plan_based_on_the_remaining_months_of_your_current_subscription": "",
   "we_will_invoice_you_now_for_the_additional_licenses_based_on_remaining_months": "",

+ 4 - 0
services/web/frontend/stylesheets/pages/group-settings.scss

@@ -343,4 +343,8 @@ h4.group-settings-title {
   .domain-verification-status-table-cell {
     text-wrap: nowrap;
   }
+
+  .domain-verification-failure-reason {
+    margin-bottom: var(--spacing-05);
+  }
 }

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

@@ -616,7 +616,10 @@
   "doing_this_will_verify_affiliation_and_allow_log_in_2": "Doing this will verify your affiliation with <0>__institutionName__</0> and will allow you to log in to <0>__appName__</0> through your institution.",
   "domain": "Domain",
   "domain_capture": "Domain capture",
+  "domain_verification_failed_dns_error": "Your DNS returned an error. Please try again in a few moments.",
   "domain_verification_failed_internal_error": "Domain verification failed due to an internal error. Please try again in a few moments. If the problem continues please <0>contact us</0>.",
+  "domain_verification_failed_no_token": "We could not find the TXT record in your DNS settings. If you just updated your DNS settings, please allow some time for the changes to propagate and try again.",
+  "domain_verification_failed_wrong_token": "The TXT record in your DNS settings does not match the token we provided. Please verify the token we provided matches your DNS TXT record.",
   "done": "Done",
   "dont_create_personal_projects_in_managed_account": "Don’t create personal projects in a managed account. You can set up a personal __appName__ account under another email address.",
   "dont_forget_you_currently_have": "Don’t forget, you currently have:",
@@ -2766,6 +2769,7 @@
   "verified": "Verified",
   "verify_email_address_before_enabling_managed_users": "You need to verify your email address before enabling managed users.",
   "verify_your_email_address": "Verify your email address",
+  "verifying_domain": "Verifying domain",
   "view": "View",
   "view_all": "View all",
   "view_all_plans": "View all plans",
@@ -2813,6 +2817,7 @@
   "we_may_also_contact_you_from_time_to_time_by_email_with_a_survey": "<0>We may also contact you</0> from time to time by email with a survey, or to see if you would like to participate in other user research initiatives",
   "we_sent_code": "We’ve sent you a confirmation code",
   "we_sent_new_code": "We’ve sent a new code. If it doesn’t arrive, make sure to check your spam and any promotions folders.",
+  "we_were_unable_to_verify_your_domain": "We were unable to verify your domain.",
   "we_will_charge_you_now_for_the_cost_of_your_additional_licenses_based_on_remaining_months": "We’ll charge you now for the cost of your additional licenses based on the remaining months of your current subscription.",
   "we_will_charge_you_now_for_your_new_plan_based_on_the_remaining_months_of_your_current_subscription": "We’ll charge you now for your new plan based on the remaining months of your current subscription.",
   "we_will_invoice_you_now_for_the_additional_licenses_based_on_remaining_months": "We’ll invoice you now for the additional licences based on the remaining months of your current subscription, and payment will be due in __days__ days.",