Opened 6 years ago
Closed 5 years ago
#47917 closed defect (bug) (reported-upstream)
block editor confirmation message is not translated
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 5.2.2 |
| Component: | Editor | Keywords: | |
| Focuses: | Cc: |
Description
The confirmation message displayed when deleting a reusable block is not translated.
/wp-includes/js/dist/block-editor.js:17631
var hasConfirmed = window.confirm(Object(external_this_wp_i18n_["__"])('Are you sure you want to delete this Reusable Block?\n\n' + 'It will be permanently removed from all posts and pages that use it.'));
This message is translated in the Gutenberg plugin.
I think there is a problem with extracting text for translation.
Change History (3)
Note: See
TracTickets for help on using
tickets.
I was able to confirm this by setting my language to French, creating a reusable block, then selecting "Remove from reusable blocks" in the More menu. The AYS was not translated.
When I activate the Gutenberg plugin, no strings are translated.