Skip to content

[6.x]: alpha.14 - element actions delete action reveals dialog with buggy dynamic copy #19311

Description

@joepagan

What happened?

Description

When trying to delete multiple assets in the asset manager using checkboxes + element actions menu > delete, it loads a JS confirm dialog with the following copy

Are you sure you want to delete {numElements, plural, =1{this} other{these}} assets?

Steps to reproduce

  1. select 2 assets checkboxes in the asset manager
  2. select delete from the element actions menu

Expected behavior

Actual behavior

Craft CMS version

6.0.0-alpha.14

PHP version

8.5

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions