[wp-trac] [WordPress Trac] #32228: "Page updated" notification should fade as soon as another change is made.

WordPress Trac noreply at wordpress.org
Sun Dec 13 15:06:03 UTC 2015


#32228: "Page updated" notification should fade as soon as another change is made.
-------------------------------------------------+-------------------------
 Reporter:  nthnldtk                             |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Editor                               |  Review
 Severity:  normal                               |     Version:
 Keywords:  ux-feedback good-first-bug needs-    |  Resolution:
  patch                                          |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------

Comment (by juanfra):

 Nice idea!

 I'd use the `sprintf()` function to format the "Updated Message"
 string(what you do with `$saved_timeago` and `$messages['post'][1]`). You
 cannot imagine how the sentence structure can vary in many other
 languages.

 Another thing, the strings for the js library must be translated in php
 and not in js as the library suggest. This would be localizing the js
 script and sending the variables using the gettext functions.

 Still, I'm not sure if including a new library is the best idea. We'll
 need to, at least, check the strings every time we need to update it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32228#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list