-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atomic: update eligibility warning messages #17469
Merged
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,24 +51,28 @@ function getHoldMessages( siteSlug, translate ) { | |
supportUrl: 'https://support.wordpress.com/domains/', | ||
}, | ||
NO_WPCOM_NAMESERVERS: { | ||
title: translate( 'No WordPress.com name servers' ), | ||
description: translate( 'Use WordPress.com name servers on your custom domain to resolve.' ), | ||
supportUrl: 'https://support.wordpress.com/domain-helper/', | ||
title: translate( 'Domain not using WordPress.com name servers' ), | ||
description: translate( 'Your domain must use WordPress.com name servers to support custom code. ' + | ||
'Ask your domain provider to update your DNS settings.' ), | ||
supportUrl: 'https://en.support.wordpress.com/domains/map-existing-domain/' + | ||
'#2-ask-your-domain-provider-to-update-your-dns-settings', | ||
}, | ||
NOT_RESOLVING_TO_WPCOM: { | ||
title: translate( 'Primary domain not pointing to WordPress.com servers' ), | ||
description: translate( 'Point your primary domain to WordPress.com servers to resolve.' ), | ||
supportUrl: 'https://support.wordpress.com/domain-helper/', | ||
title: translate( 'Domain not pointing to WordPress.com servers' ), | ||
description: translate( 'We cannot manage your site because your domain does not point to WordPress.com servers. ' + | ||
'Follow the instructions to reset your domain\'s A records to resolve this.' ), | ||
supportUrl: 'https://support.wordpress.com/move-domain/setting-custom-a-records/', | ||
}, | ||
NO_SSL_CERTIFICATE: { | ||
title: translate( "Primary domain doesn't have a valid SSL certificate" ), | ||
title: translate( 'Security certificate required' ), | ||
description: translate( | ||
'Please try again in a few minutes: you will be able to proceed once we finish setting up your security settings.' | ||
'We are setting up a security certificate for you domain now. Please try again in a few minutes.' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
should be "for your domain" |
||
), | ||
}, | ||
EMAIL_UNVERIFIED: { | ||
title: translate( 'Unconfirmed email' ), | ||
description: translate( | ||
'You must have verified your email address with WordPress.com to install custom code. ' + | ||
'Please check your email to confirm your address.' | ||
), | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,7 @@ export const EligibilityWarnings = ( { | |
<Card className="eligibility-warnings__confirm-box"> | ||
<div className="eligibility-warnings__confirm-text"> | ||
{ ! isEligible && translate( | ||
'You must resolve the errors above before proceeding. ' | ||
'The errors above must be resolved before proceeding. ' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😞 17 existing translations will be lost with this change. |
||
) } | ||
{ isEligible && warnings.length > 0 && translate( | ||
'If you proceed you will no longer be able to use these features. ' | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🆗 This change is safe, we'll keep the existing 17 translations.