From 459d102fae1b2dd05879f62df67b86c2a29ad2da Mon Sep 17 00:00:00 2001 From: Bryan Elliott Date: Fri, 20 Dec 2024 14:56:47 -0500 Subject: [PATCH] Fix missing placeholder descriptions (%2$s & %3$s) in translation comments. --- .../protect-card/use-protect-tooltip-copy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/use-protect-tooltip-copy.ts b/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/use-protect-tooltip-copy.ts index fa19409cbf001..c6bdab86dcfc9 100644 --- a/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/use-protect-tooltip-copy.ts +++ b/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/use-protect-tooltip-copy.ts @@ -195,7 +195,7 @@ export function useProtectTooltipCopy(): TooltipContent { text: criticalThreatCount ? createInterpolateElement( sprintf( - /* translators: %1$s is the number of threats and %2$s is the numner of critical threats on the site, and %3$s */ + /* translators: %1$s is the number of threats, %2$s is the numner of critical threats on the site, and %3$s is either "Scan" or "Protect" (the type of dashboard). */ __( 'The last scan identified %1$s (%2$d\u00A0critical). But don’t worry, Protect is usually able to “Auto-fix” threats, in most cases. Visit the %3$s dashboard to view more details.', 'jetpack-my-jetpack' @@ -217,7 +217,7 @@ export function useProtectTooltipCopy(): TooltipContent { ) : createInterpolateElement( sprintf( - /* translators: %s is the singular or plural of number of detected threats on the site. */ + /* translators: %1$s is the singular or plural of number of detected threats on the site, and %2$s is either "Scan" or "Protect" (the type of dashboard). */ __( 'The last scan identified %1$s. But don’t worry, Protect is usually able to “Auto-fix” threats, in most cases. Visit the %2$s dashboard to view more details.', 'jetpack-my-jetpack'