Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298122

Not possible to translate "items selected" strings in media library

$
0
0

Problem/Motivation

Correct me if I am wrong, but it seems impossible to translate the "...items selected" from the media_library.ui.js file.

I guess this is the line(?):

Drupal.formatPlural(currentSelection.length, '1 item selected', '@count items selected') : Drupal.formatPlural(remaining, '@selected of @count item selected', '@selected of @count items selected'

Steps to reproduce

  • Create multilingual site.
  • Enable media library module.
  • Add media file and choose "unlimited" items
  • Go to /admin/config/regional/translate and search for "items selected" or "item selected"

Viewing all articles
Browse latest Browse all 298122

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>