Problem/Motivation

It currently reads “Created the ENTITY_NAME Storage.” and should be changed to “Created the STORAGE_ENTITY_TYPE ENTITY_NAME.”,

Steps to reproduce

Install module and create storage type,
Under that create storage it will display the success message.

Proposed resolution

Created the patch for the issue.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Nishant created an issue. See original summary.

nishant’s picture

Status: Needs work » Needs review

Added patch for above issue.

nishant’s picture

Updated the patch.

erutan’s picture

This works for me, and is a small but nice improvement.

One minor suggestion, it's a little odd that STORAGE_ENTITY_TYPE is also italicized along with ENTITY_NAME sort of making the two of them blur together. That seems to be some deeper Drupal styling though.

If we are aiming to keep things more consistent with content/nodes, something like the following seems more appropriate:

STORAGE_ENTITY_TYPE ENTITY_NAME has been created.

STORAGE_ENTITY_TYPE ENTITY_NAME has been updated.

erutan’s picture

Here's a quick edit for wording based on my comment above (italicization still isn't what I want it to be).

  • mandclu committed 0a0bba26 on 1.4.x
    Issue #3404361 by nishant, erutan: Friendly Names for Storage Entities
    
mandclu’s picture

Category: Bug report » Feature request
Status: Needs review » Fixed

Thanks for everyone's work here. I do agree that this is an improvement, including structuring the messages to be more like core.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.