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
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | friendly-names-for-storage-entities3404361-05.patch | 1.54 KB | erutan |
| #3 | friendly-names-for-storage-entities-3404361.patch | 1.53 KB | nishant |
| friendly-names-for-storage-entities.patch | 1.33 KB | nishant |
Comments
Comment #2
nishantAdded patch for above issue.
Comment #3
nishantUpdated the patch.
Comment #4
erutan commentedThis 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.
Comment #5
erutan commentedHere's a quick edit for wording based on my comment above (italicization still isn't what I want it to be).
Comment #7
mandclu commentedThanks for everyone's work here. I do agree that this is an improvement, including structuring the messages to be more like core.