justintadlock / block-pattern-builder

Build block patterns from the WordPress admin.
GNU General Public License v2.0
41 stars 9 forks source link

Update copy of notice of successful block pattern update and creation from 'post' to 'block pattern' #3

Closed skorasaurus closed 3 years ago

skorasaurus commented 4 years ago

Hi,

Thank you for making this plugin. This really helped me conceptualize what block patterns are and hopefully will help drive the conversation forward among developers of how they can be used in Gutenberg and serve as a model of what this looks in Gutenberg core.

The language notifying the user that the block pattern has been successfully updated (lower-left hand corner). says "Post updated". perhaps it should say "block pattern updated" instead?

Screenshot from 2020-04-21 10-28-27

As far as I can tell, this language is, in part, passed along through the notices package. I couldn't find where it's generally sent for other post types but I've found that the notice for reusable blocks (which says "block updated" is located here.

I understand it's a relatively minor issue; you may already be aware of it; and that the core full-site-editing also has this problem (I haven't found a ticket for it yet).

justintadlock commented 4 years ago

Thanks for posting this issue. I somehow missed it until today. I'll look into it. Ideally, this should be pulled from a label when registering the custom post type.