From f3dbbd508a260e8ec8ee50fbf43d5315a02a9dc1 Mon Sep 17 00:00:00 2001 From: Ian Ramos <5714212+IanRamosC@users.noreply.github.com> Date: Wed, 27 Nov 2024 00:16:26 -0300 Subject: [PATCH] Fix sentences --- .../_inc/components/welcome-flow/LoadingStep.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/projects/packages/my-jetpack/_inc/components/welcome-flow/LoadingStep.tsx b/projects/packages/my-jetpack/_inc/components/welcome-flow/LoadingStep.tsx index fd60045a66729..3fe9d5e7d9a2a 100644 --- a/projects/packages/my-jetpack/_inc/components/welcome-flow/LoadingStep.tsx +++ b/projects/packages/my-jetpack/_inc/components/welcome-flow/LoadingStep.tsx @@ -45,10 +45,13 @@ const LoadingStep = ( { type }: LoadingStepProps ) => { 'Getting things ready in the background — almost there!', 'jetpack-my-jetpack' ); - /* translators: %s: is an emoji 🎉 */ - const connectionReadyTitle = __( 'Jetpack is connected %s', 'jetpack-my-jetpack' ); + const connectionReadyTitle = sprintf( + /* translators: %s: is an emoji */ + __( 'Jetpack is connected %s', 'jetpack-my-jetpack' ), + '🎉' + ); const connectionReadyDescription = __( - 'Youre connected and ready to fly!', + 'You’re connected and ready to fly!', 'jetpack-my-jetpack' ); @@ -62,7 +65,7 @@ const LoadingStep = ( { type }: LoadingStepProps ) => { - { type === 'connecting' ? connectingTitle : sprintf( connectionReadyTitle, '🎉' ) } + { type === 'connecting' ? connectingTitle : connectionReadyTitle } { type === 'connecting' ? connectingDescription : connectionReadyDescription } @@ -82,7 +85,7 @@ const LoadingStep = ( { type }: LoadingStepProps ) => { { __( - 'We‘re crunching the numbers to find the Jetpack tools that are the best match for your site.', + 'We’re crunching the numbers to find the Jetpack tools that are the best match for your site.', 'jetpack-my-jetpack' ) }