Ver Fonte

Merge pull request #34214 from overleaf/kc-domain-capture-grace-period-ui

[web] Domain capture grace period UI

GitOrigin-RevId: 90ff8cc186ec12d5cd227d52405862ddca63c33d
Jessica Lawshe há 2 meses atrás
pai
commit
035549dec0

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

@@ -64,6 +64,7 @@
   "account_not_linked_to_dropbox": "",
   "account_not_linked_to_dropbox": "",
   "account_settings": "",
   "account_settings": "",
   "acct_linked_to_institution_acct_2": "",
   "acct_linked_to_institution_acct_2": "",
+  "action_needed": "",
   "actions": "",
   "actions": "",
   "active": "",
   "active": "",
   "add": "",
   "add": "",
@@ -525,6 +526,8 @@
   "domain_verification_failed_internal_error": "",
   "domain_verification_failed_internal_error": "",
   "domain_verification_failed_no_token": "",
   "domain_verification_failed_no_token": "",
   "domain_verification_failed_wrong_token": "",
   "domain_verification_failed_wrong_token": "",
+  "domain_verification_grace_period_warning": "",
+  "domain_verification_grace_period_warning_plural": "",
   "domain_verification_invalid_domain": "",
   "domain_verification_invalid_domain": "",
   "domain_verification_pending_no_attempt_yet": "",
   "domain_verification_pending_no_attempt_yet": "",
   "done": "",
   "done": "",

+ 1 - 0
services/web/frontend/js/utils/meta.ts

@@ -123,6 +123,7 @@ export interface Meta {
   'ol-dictionariesRoot': 'string'
   'ol-dictionariesRoot': 'string'
   'ol-domainCaptureEnabled': boolean | undefined
   'ol-domainCaptureEnabled': boolean | undefined
   'ol-domainCaptureTestURL': string | undefined
   'ol-domainCaptureTestURL': string | undefined
+  'ol-domainVerificationGracePeriodDays': number
   'ol-domainVerificationUIEnabled': boolean
   'ol-domainVerificationUIEnabled': boolean
   'ol-dropbox': { error: boolean; registered: boolean }
   'ol-dropbox': { error: boolean; registered: boolean }
   'ol-editorThemes': { name: string; dark: boolean }[]
   'ol-editorThemes': { name: string; dark: boolean }[]

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

@@ -73,6 +73,7 @@
   "account_settings": "Account settings",
   "account_settings": "Account settings",
   "account_with_email_exists": "It looks like an <b>__appName__</b> account with the email <b>__email__</b> already exists.",
   "account_with_email_exists": "It looks like an <b>__appName__</b> account with the email <b>__email__</b> already exists.",
   "acct_linked_to_institution_acct_2": "You can <0>log in</0> to Overleaf through your <0>__institutionName__</0> institutional login.",
   "acct_linked_to_institution_acct_2": "You can <0>log in</0> to Overleaf through your <0>__institutionName__</0> institutional login.",
+  "action_needed": "Action needed",
   "actions": "Actions",
   "actions": "Actions",
   "activate": "Activate",
   "activate": "Activate",
   "activate_account": "Activate your account",
   "activate_account": "Activate your account",
@@ -687,6 +688,8 @@
   "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_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": "No TXT record found in your DNS settings. If you’ve just updated them, it can take up to 24 hours for changes to take effect. Try again later.",
   "domain_verification_failed_no_token": "No TXT record found in your DNS settings. If you’ve just updated them, it can take up to 24 hours for changes to take effect. Try again later.",
   "domain_verification_failed_wrong_token": "The TXT record in your DNS settings doesn’t match the token. Check both and try again.",
   "domain_verification_failed_wrong_token": "The TXT record in your DNS settings doesn’t match the token. Check both and try again.",
+  "domain_verification_grace_period_warning": "This domain will be uncaptured in <0>__count__ day</0> if verification doesn’t succeed. Update your DNS records and retry.",
+  "domain_verification_grace_period_warning_plural": "This domain will be uncaptured in <0>__count__ days</0> if verification doesn’t succeed. Update your DNS records and retry.",
   "domain_verification_invalid_domain": "The domain you entered is not valid. Please check the format and try again.",
   "domain_verification_invalid_domain": "The domain you entered is not valid. Please check the format and try again.",
   "domain_verification_pending_no_attempt_yet": "Domain verification can take up to 24 hours. You can check the status manually using the retry button, or we’ll notify you by email when it’s done.",
   "domain_verification_pending_no_attempt_yet": "Domain verification can take up to 24 hours. You can check the status manually using the retry button, or we’ll notify you by email when it’s done.",
   "done": "Done",
   "done": "Done",