Skip to content

Commit

Permalink
Fix missing placeholder descriptions (%2$s & %3$s) in translation com…
Browse files Browse the repository at this point in the history
…ments.
  • Loading branch information
elliottprogrammer committed Dec 20, 2024
1 parent ca6226f commit 459d102
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a>%3$s dashboard</a> to view more details.',
'jetpack-my-jetpack'
Expand All @@ -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 <a>%2$s dashboard</a> to view more details.',
'jetpack-my-jetpack'
Expand Down

0 comments on commit 459d102

Please sign in to comment.