Opened 7 years ago
Closed 7 years ago
#49134 closed defect (bug) (fixed)
Missing translation string in media-views.js
| Reported by: | audrasjb | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3.3 |
| Component: | Media | Version: | 5.3 |
| Severity: | normal | Keywords: | has-patch fixed-major |
| Cc: | Focuses: |
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
@
7 years ago
- Component I18N → Media
- Keywords has-patch fixed-major added; needs-patch removed
- Milestone Awaiting Review → 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
@
7 years ago
- Resolution → fixed
- Status new → closed
Thanks for committing this patch.
Closing as fixed.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
To reproduce the issue, use for example a gallery block and select one or more items in the media library.