From fc12c77fcb187fdd252a92a910e23bfb3c6a3321 Mon Sep 17 00:00:00 2001 From: Robert Franklin <42627630+robertf4@users.noreply.github.com> Date: Tue, 15 Oct 2019 14:22:55 -0500 Subject: [PATCH] Undid move of the 'powered by VaultPress' text --- _inc/client/my-plan/my-plan-body.jsx | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/_inc/client/my-plan/my-plan-body.jsx b/_inc/client/my-plan/my-plan-body.jsx index d00c382ccc670..c01696d1e887c 100644 --- a/_inc/client/my-plan/my-plan-body.jsx +++ b/_inc/client/my-plan/my-plan-body.jsx @@ -169,26 +169,23 @@ class MyPlanBody extends React.Component { let description = ''; switch ( planClass ) { case 'is-personal-plan': - // Note: these first 3 descriptions add the "powered by VaultPress" string like they do in order to avoid retranslating. - // However this pattern should be dropped the next time these strings are changed. - description = - __( 'Daily backup of all your site data with unlimited space and one-click restores' ) + - __( ' (powered by VaultPress).' ); + description = __( + 'Daily backup of all your site data with unlimited space and one-click restores' + ); break; case 'is-premium-plan': - description = - __( - 'Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support' - ) + __( ' (powered by VaultPress).' ); + description = __( + 'Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support' + ); break; case 'is-business-plan': - description = - __( - 'Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support' - ) + __( ' (powered by VaultPress).' ); + description = __( + 'Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support' + ); break; default: description = ''; + break; } return ( @@ -202,7 +199,7 @@ class MyPlanBody extends React.Component {
{ description }
+{ description + __( ' (powered by VaultPress).' ) }
{ this.props.isPluginInstalled( 'vaultpress/vaultpress.php' ) && this.props.isPluginActive( 'vaultpress/vaultpress.php' ) ? (