Skip to content
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

Pricing page i5: update copy #47389

Merged
merged 6 commits into from
Nov 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
color: var( --studio-gray-60 );

@include breakpoint-deprecated( '>660px' ) {
min-height: 100px;
min-height: 108px;
}
}

Expand Down Expand Up @@ -145,6 +145,10 @@

font-size: 1rem;
font-weight: 700;

em {
font-style: normal;
}
}

.jetpack-product-card-i5__features {
Expand All @@ -155,6 +159,10 @@
margin: 32px 0;

list-style-type: none;

em {
font-style: normal;
}
}

.jetpack-product-card-i5__features-item {
Expand Down
4 changes: 3 additions & 1 deletion client/jetpack-cloud/sections/pricing/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ const Header: React.FC = () => {
{
[ Iterations.V1 ]: translate( 'Security, performance, and growth tools for WordPress' ),
[ Iterations.V2 ]: translate( 'Security, performance, and growth tools for WordPress' ),
[ Iterations.I5 ]: translate( 'Security, performance, and growth tools for WordPress' ),
[ Iterations.I5 ]: translate(
'Security, performance, and marketing tools made for WordPress'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 19 times:
translate( 'Security, performance, and marketing tools for WordPress' ) ES Score: 8
See 1 additional suggestions in the PR translation status page

),
}[ iteration ] ?? translate( 'Security, performance, and marketing tools for WordPress' );
const tagline =
{
Expand Down
105 changes: 65 additions & 40 deletions client/lib/plans/features-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,10 @@ export const FEATURES_LIST = {

[ constants.FEATURE_BACKUP_REALTIME_V2 ]: {
getSlug: () => constants.FEATURE_BACKUP_REALTIME_V2,
getTitle: () => i18n.translate( 'Automated real-time site backups' ),
getTitle: () =>
( {
i5: i18n.translate( 'Automated real-time backups' ),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆗 This change will be queued for retranslation. We'll use the existing translations in the meantime.

}[ getJetpackCROActiveVersion() ] || i18n.translate( 'Automated real-time site backups' ) ),
},

[ constants.FEATURE_PRODUCT_BACKUP_V2 ]: {
Expand All @@ -1101,18 +1104,20 @@ export const FEATURES_LIST = {
getSlug: () => constants.FEATURE_PRODUCT_BACKUP_DAILY_V2,
getIcon: () => 'cloud-upload',
getTitle: () =>
getJetpackCROActiveVersion() === 'v2'
? i18n.translate( 'Backup {{strong}}{{em}}Daily{{/em}}{{/strong}}', {
components: {
em: <em />,
strong: <strong />,
},
} )
: i18n.translate( 'Backup {{em}}Daily{{/em}}', {
components: {
em: <em />,
},
} ),
( {
v2: i18n.translate( 'Backup {{strong}}{{em}}Daily{{/em}}{{/strong}}', {
components: {
em: <em />,
strong: <strong />,
},
} ),
i5: i18n.translate( 'Backup Daily (off-site)' ),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 25 times:
translate( 'Daily Off-site Backups' ) ES Score: 9

}[ getJetpackCROActiveVersion() ] ||
i18n.translate( 'Backup {{em}}Daily{{/em}}', {
components: {
em: <em />,
},
} ) ),
getDescription: () =>
i18n.translate(
'Automatic daily backups of your entire site, with unlimited, WordPress-optimized secure storage. {{link}}Learn more{{/link}}.',
Expand All @@ -1129,20 +1134,22 @@ export const FEATURES_LIST = {
getSlug: () => constants.FEATURE_PRODUCT_BACKUP_REALTIME_V2,
getIcon: () => 'cloud-upload',
getTitle: () =>
getJetpackCROActiveVersion() === 'v2'
? i18n.translate( 'Backup {{strong}}{{em}}Real{{nbh/}}time{{/em}}{{/strong}}', {
components: {
em: <em />,
strong: <strong />,
nbh: <>&#8209;</>,
},
comment: '{{nbh}} represents a non breakable hyphen',
} )
: i18n.translate( 'Backup {{em}}Real-time{{/em}}', {
components: {
em: <em />,
},
} ),
( {
v2: i18n.translate( 'Backup {{strong}}{{em}}Real{{nbh/}}time{{/em}}{{/strong}}', {
components: {
em: <em />,
strong: <strong />,
nbh: <>&#8209;</>,
},
comment: '{{nbh}} represents a non breakable hyphen',
} ),
i5: i18n.translate( 'Backup Real-time (off-site)' ),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 25 times:
translate( 'Real-time Off-site Backups' ) ES Score: 9

}[ getJetpackCROActiveVersion() ] ||
i18n.translate( 'Backup {{em}}Real-time{{/em}}', {
components: {
em: <em />,
},
} ) ),
getDescription: () =>
i18n.translate(
'Real-time backups of your entire site and database with unlimited secure storage. {{link}}Learn more{{/link}}.',
Expand Down Expand Up @@ -1204,11 +1211,14 @@ export const FEATURES_LIST = {
getSlug: () => constants.FEATURE_PRODUCT_SCAN_DAILY_V2,
getIcon: () => ( { icon: 'security', component: MaterialIcon } ),
getTitle: () =>
( {
i5: i18n.translate( 'Scan Daily (automated)' ),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 7 times:
translate( 'Daily, automated malware scanning' ) ES Score: 8
See 1 additional suggestions in the PR translation status page

}[ getJetpackCROActiveVersion() ] ||
i18n.translate( 'Scan {{em}}Daily{{/em}}', {
components: {
em: <em />,
},
} ),
} ) ),
getDescription: () =>
i18n.translate(
'Automated daily scanning for security vulnerabilities or threats on your site. Includes instant notifications and automatic security fixes. {{link}}Learn more{{/link}}.',
Expand All @@ -1229,11 +1239,14 @@ export const FEATURES_LIST = {
getSlug: () => constants.FEATURE_PRODUCT_SCAN_REALTIME_V2,
getIcon: () => ( { icon: 'security', component: MaterialIcon } ),
getTitle: () =>
( {
i5: i18n.translate( 'Real-time Scan (automated)' ),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 19 times:
translate( 'Automated real-time scanning' ) ES Score: 10

}[ getJetpackCROActiveVersion() ] ||
i18n.translate( 'Scan {{em}}Real-time{{/em}}', {
components: {
em: <em />,
},
} ),
} ) ),
getDescription: () =>
i18n.translate(
'Automated real-time scanning for security vulnerabilities or threats on your site. Includes instant notifications and automatic security fixes. {{link}}Learn more{{/link}}.',
Expand All @@ -1248,7 +1261,10 @@ export const FEATURES_LIST = {

[ constants.FEATURE_ANTISPAM_V2 ]: {
getSlug: () => constants.FEATURE_ANTISPAM_V2,
getTitle: () => i18n.translate( 'Automated spam protection' ),
getTitle: () =>
( {
i5: i18n.translate( 'Always-on spam protection' ),
}[ getJetpackCROActiveVersion() ] || i18n.translate( 'Automated spam protection' ) ),
},

[ constants.FEATURE_PRODUCT_ANTISPAM_V2 ]: {
Expand Down Expand Up @@ -1300,7 +1316,10 @@ export const FEATURES_LIST = {
[ constants.FEATURE_ACTIVITY_LOG_1_YEAR_V2 ]: {
getSlug: () => constants.FEATURE_ACTIVITY_LOG_1_YEAR_V2,
getIcon: () => 'clipboard',
getTitle: () => i18n.translate( 'Activity log: 1-year archive' ),
getTitle: () =>
( {
i5: i18n.translate( "1-year's worth of activity events" ),
}[ getJetpackCROActiveVersion() ] || i18n.translate( 'Activity log: 1-year archive' ) ),
getDescription: () =>
i18n.translate(
'View every change to your site in the last year. Pairs with Backup to restore your site to any earlier version. {{link}}Learn more.{{/link}}',
Expand All @@ -1321,14 +1340,16 @@ export const FEATURES_LIST = {
getSlug: () => constants.FEATURE_PRODUCT_SEARCH_V2,
getIcon: () => ( getJetpackCROActiveVersion() === 'v2' ? 'search' : null ),
getTitle: () =>
getJetpackCROActiveVersion() === 'v2'
? i18n.translate( 'Jetpack Search {{strong}}{{em}}Up to 100k records{{/em}}{{/strong}}', {
components: {
em: <em />,
strong: <strong />,
},
} )
: i18n.translate( 'Search: up to 100k records' ),
( {
v2: i18n.translate( 'Jetpack Search {{strong}}{{em}}Up to 100k records{{/em}}{{/strong}}', {
components: {
em: <em />,
strong: <strong />,
},
} ),
i5: i18n.translate( 'Site Search: up to 100k records' ),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 18 times:
translate( 'Search: up to 100k records' ) ES Score: 11
See 1 additional suggestions in the PR translation status page

}[ getJetpackCROActiveVersion() ] || i18n.translate( 'Search: up to 100k records' ) ),

getDescription: () =>
i18n.translate(
'Help your site visitors find answers instantly so they keep reading and buying. Powerful filtering and customization options. {{link}}Learn more.{{/link}}',
Expand Down Expand Up @@ -1496,7 +1517,11 @@ export const FEATURES_LIST = {

[ constants.FEATURE_ONE_CLICK_RESTORE_V2 ]: {
getSlug: () => constants.FEATURE_ONE_CLICK_RESTORE_V2,
getTitle: () => i18n.translate( 'One-click restores from desktop or mobile' ),
getTitle: () =>
( {
i5: i18n.translate( 'One-click restores' ),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 18 times:
translate( 'Automated one-click restores' ) ES Score: 9
See 1 additional suggestions in the PR translation status page

}[ getJetpackCROActiveVersion() ] ||
i18n.translate( 'One-click restores from desktop or mobile' ) ),
},

[ constants.FEATURE_ONE_CLICK_FIX_V2 ]: {
Expand Down
Loading