WordPress.org

Plugin Directory

Changeset 613801


Ignore:
Timestamp:
10/17/12 21:03:07 (18 months ago)
Author:
jblz
Message:

Jetpack: add translation textdomain

Location:
jetpack/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/jetpack.php

    r613655 r613801  
    30343034        $token = Jetpack_Data::get_access_token( 1 ); 
    30353035        if ( !$token || empty( $token->secret ) ) { 
    3036             wp_die( __( 'You must connect your Jetpack plugin to WordPress.com to use this feature.' ) ); 
     3036            wp_die( __( 'You must connect your Jetpack plugin to WordPress.com to use this feature.' , 'jetpack') ); 
    30373037        } 
    30383038 
     
    30653065            $old_nonce_time = get_option( "jetpack_nonce_{$timestamp}_{$nonce}" ); 
    30663066            if ( $old_nonce_time < time() - 300 ) { 
    3067                 wp_die( __( 'The authorization process expired.  Please go back and try again.' ) ); 
     3067                wp_die( __( 'The authorization process expired.  Please go back and try again.' , 'jetpack') ); 
    30683068            } 
    30693069        } 
     
    31053105    function login_message_json_api_authorization( $message ) { 
    31063106        return '<p class="message">' . sprintf( 
    3107             esc_html__( '%s wants to access your site&#8217;s data.  Log in to authorize that access.' ), 
     3107            esc_html__( '%s wants to access your site&#8217;s data.  Log in to authorize that access.' , 'jetpack'), 
    31083108            '<strong>' . esc_html( $this->json_api_authorization_request['client_title'] ) . '</strong>' 
    31093109        ) . '<img src="' . esc_url( $this->json_api_authorization_request['client_image'] ) . '" /></p>'; 
  • jetpack/trunk/modules/subscriptions.php

    r611752 r613801  
    235235 
    236236    public function reading_section() { 
    237         _e( 'These settings change emails sent from your blog to followers.' ); 
     237        _e( 'These settings change emails sent from your blog to followers.' , 'jetpack'); 
    238238    } 
    239239 
     
    241241        $settings = $this->get_settings(); 
    242242        echo '<textarea name="subscription_options[invitation]" class="large-text" cols="50" rows="5">'.$settings['invitation'].'</textarea>'; 
    243         echo '<p><span class="description">'.__( 'Introduction text sent when someone follows your blog. (Site and confirmation details will be automatically added for you.)' ).'</span></p>'; 
     243        echo '<p><span class="description">'.__( 'Introduction text sent when someone follows your blog. (Site and confirmation details will be automatically added for you.)' , 'jetpack').'</span></p>'; 
    244244    } 
    245245 
     
    247247        $settings = $this->get_settings(); 
    248248        echo '<textarea name="subscription_options[comment_follow]" class="large-text" cols="50" rows="5">'.$settings['comment_follow'].'</textarea>'; 
    249         echo '<p><span class="description">'.__( 'Introduction text sent when someone follows a post on your blog. (Site and confirmation details will be automatically added for you.)' ).'</span></p>'; 
     249        echo '<p><span class="description">'.__( 'Introduction text sent when someone follows a post on your blog. (Site and confirmation details will be automatically added for you.)' , 'jetpack').'</span></p>'; 
    250250    } 
    251251 
    252252    function get_default_settings() { 
    253253        return array( 
    254             'invitation'             => __( "Howdy.\n\nYou recently followed this blog's posts. This means you will receive each new post by email.\n\nTo activate, click confirm below. If you believe this is an error, ignore this message and we'll never bother you again." ), 
    255             'comment_follow'  => __( "Howdy.\n\nYou recently followed one of my posts. This means you will receive an email when new comments are posted.\n\nTo activate, click confirm below. If you believe this is an error, ignore this message and we'll never bother you again." ) 
     254            'invitation'             => __( "Howdy.\n\nYou recently followed this blog's posts. This means you will receive each new post by email.\n\nTo activate, click confirm below. If you believe this is an error, ignore this message and we'll never bother you again." , 'jetpack'), 
     255            'comment_follow'  => __( "Howdy.\n\nYou recently followed one of my posts. This means you will receive an email when new comments are posted.\n\nTo activate, click confirm below. If you believe this is an error, ignore this message and we'll never bother you again." , 'jetpack') 
    256256        ); 
    257257    } 
Note: See TracChangeset for help on using the changeset viewer.