[wp-trac] [WordPress Trac] #50773: Merge duplicate strings in bulk actions and row actions for list tables

WordPress Trac noreply at wordpress.org
Sun Jul 26 12:15:17 UTC 2020


#50773: Merge duplicate strings in bulk actions and row actions for list tables
--------------------------------+--------------------
 Reporter:  SergeyBiryukov      |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  5.6
Component:  I18N                |    Version:
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+--------------------
 Backround: #40244, #50747.

 As noted by @ramiy in comment:25:ticket:40244 and me in
 comment:5:ticket:50747, as part of the changes in [48352] and [48595] some
 strings were duplicated with a different case:

 * `_x( 'Not Spam', 'comment' )`
 * `_x( 'Not spam', 'comment' )`
 * `_x( 'Not Spam', 'site' )`
 * `_x( 'Not spam', 'site' )`

 Additionally, some strings kept title casing and should be switched to
 sentence casing for consistency with others:
 * `__( 'Enable Auto-updates' )`
 * `__( 'Disable Auto-updates' )`
 * `__( 'Network Activate' )`
 * `__( 'Network Deactivate' )`
 * `__( 'Network Enable' )`
 * `__( 'Network Disable' )`

 The problem is that some of these strings are not only used in bulk
 actions, but also in row actions.

 While most of bulk action strings appear to be switched to sentence casing
 across the admin now, row actions are not. It seems like that would be the
 next step to bring some consistency here.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50773>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list