Opened 5 years ago
Closed 5 years ago
#49134 closed defect (bug) (fixed)
Missing translation string in media-views.js
Reported by: | audrasjb | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.3.3 | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | Media | Keywords: | has-patch fixed-major |
Focuses: | Cc: |
Description (last modified by )
Since changeset [46375], there is a missing translation string in media-views.js.
In trunk, this file is located in src/js/media/views/selection.js
The following string doesn't appear in translate.w.org:
sprintf( _n( '%s item selected', '%s items selected', collection.length ), collection.length )
Thanks @ysatis who initially raised this regression on the French support forum: https://wpfr.net/support/sujet/une-expression-sest-retransformee-en-anglais/
Attachments (1)
Change History (7)
#2
@
5 years ago
- Component changed from I18N to Media
- Keywords has-patch fixed-major added; needs-patch removed
- Milestone changed from Awaiting Review to 5.3.3
The string is available for translation but the translation wasn't loaded because the text domain wasn't set for the script.
#3
@
5 years ago
- Resolution set to fixed
- Status changed from new to closed
Thanks for committing this patch.
Closing as fixed.
Note: See
TracTickets for help on using
tickets.
To reproduce the issue, use for example a gallery block and select one or more items in the media library.