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

UI refers to "files" when you can only upload one file

$
0
0

Problem/Motivation

The Add or Select Media dialog is inconsistent about use of singular and plural, which could cause editor confusion. It would be better to be consistent.

Steps to reproduce

1. Create a Drupal Core site in simplytest.me
2. Log in as admin
3. Go to /admin/modules
4. Filter on media
5. Enable Media and Media Library
6. Click Install
7. Upon completion, go to /admin/config/content/formats/manage/basic_html
8. Drag the picture icon out of the active area
9. Drag the media icon into the active area
10. Under Enabled Filters, check Embed media
11. Under Filter Settings, Embed media, check all boxes
12. Click Save configuration
13. Go to /node/add/page
14. Click the Insert media icon

Expected result:
Add file
Choose file
no file selected
One file only

Actual result:
Add file
Choose files
no files selected
One file only

Screen capture of Add or select media dialog, showing actual result as stated

Proposed resolution

Change above plurals to singular

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 291521

Trending Articles



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