WordPress.org

Making WordPress.org

Ticket #1254: 1254.patch

File 1254.patch, 1.5 KB (added by tyxla, 4 years ago)

Improve tense for "subscribe" in trac_notifications_box_render()

  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-notifications.php

     
    288288                }
    289289                if ( $intersected_focuses ) {
    290290                        if ( count( $intersected_focuses ) === 1 ) {
    291                                 $reasons['focus'] = sprintf( 'you subscribe to the %s focus', $intersected_focuses[0] );
     291                                $reasons['focus'] = sprintf( 'you have subscribed to the %s focus', $intersected_focuses[0] );
    292292                        } else {
    293                                 $reasons['focus'] = 'you subscribe to the ' . wp_sprintf( '%l focuses', $intersected_focuses );
     293                                $reasons['focus'] = 'you have subscribed to the ' . wp_sprintf( '%l focuses', $intersected_focuses );
    294294                        }
    295295                }
    296296
    297297                if ( ! empty( $notifications['component'][ $ticket->component ] ) ) {
    298                         $reasons['component'] = sprintf( 'you subscribe to the %s component', $ticket->component );
     298                        $reasons['component'] = sprintf( 'you have subscribed to the %s component', $ticket->component );
    299299                }
    300300                if ( ! empty( $notifiations['milestone'][ $ticket->milestone ] ) ) {
    301                         $reasons['milestone'] = sprintf( 'you subscribe to the %s milestone', $ticket->milestone );
     301                        $reasons['milestone'] = sprintf( 'you have subscribed to the %s milestone', $ticket->milestone );
    302302                }
    303303
    304304                if ( 1 === $ticket_sub ) {