Untranslatable “Next ” string in Presto playlist block
-
It has been identified that the “Next ” string used in the Presto playlist block is not properly internationalized. The string is currently hardcoded and not wrapped in the wp.i18n.__ function, making it impossible to translate.
Steps to reproduce:
1. Locate the Presto playlist block in the codebase
2. Find the “Next ” string implementation as the screenshot indicates.
Current behavior:
The “Next ” string is hardcoded and cannot be translated.
Expected behavior:
The “Next ” string should be wrapped in the wp.i18n.__ function to allow for translation.
Suggested fix:
Replace the hardcoded “Next ” string with:wp.i18n.__('Next ', 'presto-player')
https://snipboard.io/64wIcq.jpg
Thanks for your investigation!
- You must be logged in to reply to this topic.