Do these three lines have a syntax error?
-
Hello.
Do these three lines have a syntax error with sprintf’s placeholder format?
‘Rewind %1ss’ instead of ‘Rewind %1$s’ or ‘Rewind %1$ss’:
https://plugins.trac.ww.wp.xz.cn/browser/presto-player/tags/4.0.5/inc/Services/Translation.php#L103
‘Forward %1ss’ instead of ‘Forward %1$s’ or ‘Forward %1$ss’:
https://plugins.trac.ww.wp.xz.cn/browser/presto-player/tags/4.0.5/inc/Services/Translation.php#L107
‘%1$1s of %2$2s’ instead of ‘%1$s of %2$s’:
https://plugins.trac.ww.wp.xz.cn/browser/presto-player/tags/4.0.5/inc/Services/Translation.php#L110
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.