This results in tooltips like Add %s and Reusable Block: %s:

Add %s

 %s

Comments

codebymikey created an issue. See original summary.

codebymikey’s picture

Assigned: codebymikey » marcofernandes
Status: Active » Needs review
StatusFileSize
new7.8 KB

Added a patch adding sprintf.js support, as well as ensuring that context is correctly passed into the translations.

The change relies on this PR being merged in the upstream drupal-gutenberg-translations node module.

marcofernandes’s picture

Status: Needs review » Fixed

Reviewed and tested. Great work, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.