Skip to content

Commit d7a45c3

Browse files
Update translators comment
1 parent f73db11 commit d7a45c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/view-transitions/includes/theme.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ function plvt_inject_animation_duration( string $css, int $animation_duration ):
381381

382382
// Inject animation duration as CSS variable to take effect.
383383
$css .= sprintf(
384-
/* translators: %s is animation duration in seconds. */
385-
'::view-transition-group(*) { %s: %ss; }',
384+
/* translators: %1$s: CSS property name. %2$s: Animation duration in seconds. */
385+
'::view-transition-group(*) { %1$s: %2$ss; }',
386386
'' !== $css ? '--plvt-view-transition-animation-duration' : 'animation-duration',
387387
$seconds
388388
);

0 commit comments

Comments
 (0)