[wp-trac] [WordPress Trac] #37290: Shiny Updates: Different strings for plugins and themes?

WordPress Trac noreply at wordpress.org
Fri Jul 8 20:02:33 UTC 2016


#37290: Shiny Updates: Different strings for plugins and themes?
-------------------------------------+----------------------------
 Reporter:  pavelevap                |       Owner:  swissspidy
     Type:  defect (bug)             |      Status:  assigned
 Priority:  high                     |   Milestone:  4.6
Component:  Upgrade/Install          |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  accessibility
-------------------------------------+----------------------------

Comment (by SergeyBiryukov):

 Nitpicking:
 {{{
 'activatePlugin'             => is_network_admin() ? __( 'Network
 Activate' ) : __( 'Activate' ),
 'activateTheme'              => is_network_admin() ? __( 'Network Enable'
 ) : __( 'Activate' ),
 }}}
 This strings are fine without a context. They are used without a context
 elsewhere, so adding a context in this single instance would be
 inconsistent and would just duplicate the string for no reason.

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


More information about the wp-trac mailing list