Opened 7 years ago
Closed 6 years ago
#47917 closed defect (bug) (reported-upstream)
block editor confirmation message is not translated
| Reported by: | tmatsuur | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Editor | Version: | 5.2.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.