Making WordPress.org


Ignore:
Timestamp:
09/27/2015 10:37:06 PM (9 years ago)
Author:
drewapicture
Message:

Trac: Use present perfect tense for messages conveying focus, component, and milestone subscriptions.

Props tyxla.
Fixes #1254.

File:
1 edited

Legend:

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

    r1740 r1917  
    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
Note: See TracChangeset for help on using the changeset viewer.