Disambiguate "Cover" translatable string in the context of background-panel.js
#62426
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Internationalization (i18n)
Issues or PRs related to internationalization efforts
[Type] Bug
An existing feature does not function as intended
Description
In image block's
background-panel.js
context, there is a "Cover" string sharing its translation with other occurrences of "Cover", like the Cover block. It results in wrong translation of the setting in some locales, like in French where the Cover Block is translated into "Bloc Bannière" while "Cover Size" cannot be translated into "Taille Bannière".I'd recommend to add some context using
_x()
, just like we did in this other occurrence of "Cover", in a very similar context.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: