WordPress.org

Plugin Directory

Changeset 622277


Ignore:
Timestamp:
11/07/12 20:48:47 (18 months ago)
Author:
mdawaffe
Message:

Add textdomain

Location:
jetpack/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/functions.opengraph.php

    r622258 r622277  
    7272    // Facebook whines if you give it an empty title 
    7373    if ( empty( $tags['og:title'] ) ) 
    74         $tags['og:title'] = __( '(no title)' ); 
     74        $tags['og:title'] = __( '(no title)', 'jetpack' ); 
    7575 
    7676    // Shorten the description if it's too long 
  • jetpack/trunk/modules/contact-form/grunion-contact-form.php

    r619533 r622277  
    519519 
    520520            if ( $post ) { 
    521                 $default_subject = sprintf( _x( '%1$s %2$s', '%1$s = blog name, %2$s = post title' ), $default_subject, Grunion_Contact_Form_Plugin::strip_tags( $post->post_title ) ); 
     521                $default_subject = sprintf( _x( '%1$s %2$s', '%1$s = blog name, %2$s = post title', 'jetpack' ), $default_subject, Grunion_Contact_Form_Plugin::strip_tags( $post->post_title ) ); 
    522522                $post_author = get_userdata( $post->post_author ); 
    523523                $default_to = $post_author->user_email; 
  • jetpack/trunk/modules/infinite-scroll/infinity.php

    r621846 r622277  
    239239 
    240240        // Add the setting field [infinite_scroll] and place it in Settings > Reading 
    241         add_settings_field( self::$option_name_enabled, '<span id="infinite-scroll-options">' . __( 'To infinity and beyond' ) . '</span>', array( $this, 'infinite_setting_html' ), 'reading' ); 
     241        add_settings_field( self::$option_name_enabled, '<span id="infinite-scroll-options">' . __( 'To infinity and beyond', 'jetpack' ) . '</span>', array( $this, 'infinite_setting_html' ), 'reading' ); 
    242242        register_setting( 'reading', self::$option_name_enabled, 'esc_attr' ); 
    243243 
    244244        // Add setting field for Google Analytics tracking in IS 
    245         add_settings_field( self::$option_name_google_analytics, '<span id="infinite-scroll-google-analytics">' . __( 'Use Google Analytics with Infinite Scroll' ) . '</span>', array( $this, 'infinite_setting_google_analytics_html' ), 'reading' ); 
     245        add_settings_field( self::$option_name_google_analytics, '<span id="infinite-scroll-google-analytics">' . __( 'Use Google Analytics with Infinite Scroll', 'jetpack' ) . '</span>', array( $this, 'infinite_setting_google_analytics_html' ), 'reading' ); 
    246246        register_setting( 'reading', self::$option_name_google_analytics, array( $this, 'sanitize_boolean_value' ) ); 
    247247    } 
     
    252252     */ 
    253253    function infinite_setting_html() { 
    254         $notice = '<em>' . __( "We've disabled this option for you since you have footer widgets in Appearance &rarr; Widgets, or because your theme does not support infinite scroll." ) . '</em>'; 
     254        $notice = '<em>' . __( "We've disabled this option for you since you have footer widgets in Appearance &rarr; Widgets, or because your theme does not support infinite scroll.", 'jetpack' ) . '</em>'; 
    255255 
    256256        // If the blog has footer widgets, show a notice instead of the checkbox 
     
    258258            echo '<label>' . $notice . '</label>'; 
    259259        } else { 
    260             echo '<label><input name="infinite_scroll" type="checkbox" value="1" ' . checked( 1, '' !== get_option( self::$option_name_enabled ), false ) . ' /> ' . __( 'Scroll Infinitely' ) . '</br><small>' . sprintf( __( '(Shows %s posts on each load)' ), number_format_i18n( self::get_settings()->posts_per_page ) ) . '</small>' . '</label>'; 
     260            echo '<label><input name="infinite_scroll" type="checkbox" value="1" ' . checked( 1, '' !== get_option( self::$option_name_enabled ), false ) . ' /> ' . __( 'Scroll Infinitely', 'jetpack' ) . '</br><small>' . sprintf( __( '(Shows %s posts on each load)', 'jetpack' ), number_format_i18n( self::get_settings()->posts_per_page ) ) . '</small>' . '</label>'; 
    261261        } 
    262262    } 
     
    269269     */ 
    270270    function infinite_setting_google_analytics_html() { 
    271         echo '<label><input name="infinite_scroll_google_analytics" type="checkbox" value="1" ' . checked( true, (bool) get_option( self::$option_name_google_analytics, false ), false ) . ' /> ' . __( 'Track each Infinite Scroll post load as a page view in Google Analytics' ) . '</br><small>' . __( 'By checking the box above, each new set of posts loaded via Infinite Scroll will be recorded as a page view in Google Analytics.' ) . '</small>' . '</label>'; 
     271        echo '<label><input name="infinite_scroll_google_analytics" type="checkbox" value="1" ' . checked( true, (bool) get_option( self::$option_name_google_analytics, false ), false ) . ' /> ' . __( 'Track each Infinite Scroll post load as a page view in Google Analytics', 'jetpack' ) . '</br><small>' . __( 'By checking the box above, each new set of posts loaded via Infinite Scroll will be recorded as a page view in Google Analytics.', 'jetpack' ) . '</small>' . '</label>'; 
    272272    } 
    273273 
     
    467467            'wrapper_class'    => is_string( self::get_settings()->wrapper ) ? esc_js( self::get_settings()->wrapper ) : 'infinite-wrap', 
    468468            'footer'           => is_string( self::get_settings()->footer ) ? esc_js( self::get_settings()->footer ) : self::get_settings()->footer, 
    469             'text'             => esc_js( __( 'Load more posts' ) ), 
    470             'totop'            => esc_js( __( 'Scroll back to top' ) ), 
     469            'text'             => esc_js( __( 'Load more posts', 'jetpack' ) ), 
     470            'totop'            => esc_js( __( 'Scroll back to top', 'jetpack' ) ), 
    471471            'order'            => 'DESC', 
    472472            'scripts'          => array(), 
     
    849849                <div class="blog-credits"> 
    850850                    <a href="http://wordpress.org/" rel="generator">Proudly powered by WordPress</a> 
    851                     <?php printf( __( 'Theme: %1$s.' ), $theme_name ); ?> 
     851                    <?php printf( __( 'Theme: %1$s.', 'jetpack' ), $theme_name ); ?> 
    852852                </div> 
    853853            </div> 
  • jetpack/trunk/modules/publicize.php

    r621784 r622277  
    7373 
    7474        // @see wp_trim_words() 
    75         if ( 'characters' == _x( 'words', 'word count: words or characters?' ) ) { 
     75        if ( 'characters' == _x( 'words', 'word count: words or characters?', 'jetpack' ) ) { 
    7676            return trim( mb_substr( $string, 0, $length - 1, 'UTF-8' ) ) . "\xE2\x80\xA6"; // ellipsis 
    7777        } 
  • jetpack/trunk/modules/publicize/publicize-jetpack.php

    r621732 r622277  
    312312            <p><?php printf( 
    313313                esc_html__( 'Publicize to my %s:', 'jetpack' ), 
    314                 '<strong>' . esc_html__( 'Facebook Wall' ) . '</strong>' 
     314                '<strong>' . esc_html__( 'Facebook Wall', 'jetpack' ) . '</strong>' 
    315315            ); ?></p> 
    316316            <table id="option-profile"> 
     
    328328                <p><?php printf( 
    329329                    esc_html__( 'Publicize to my %s:', 'jetpack' ), 
    330                     '<strong>' . esc_html__( 'Facebook Page' ) . '</strong>' 
     330                    '<strong>' . esc_html__( 'Facebook Page', 'jetpack' ) . '</strong>' 
    331331                ); ?></p> 
    332332                <table id="option-fb-fanpage"> 
     
    452452            <p><?php printf( 
    453453                esc_html__( 'Publicize to my %s:', 'jetpack' ), 
    454                 '<strong>' . esc_html__( 'Tumblr blog' ) . '</strong>' 
     454                '<strong>' . esc_html__( 'Tumblr blog', 'jetpack' ) . '</strong>' 
    455455            ); ?></p> 
    456456 
  • jetpack/trunk/modules/publicize/ui.php

    r621732 r622277  
    167167                                </ul> 
    168168                            <?php endif; ?> 
    169                             <a id="<?php echo esc_attr( $name ); ?>" class="publicize-add-connection" href="<?php echo esc_url( $connect_url); ?>"><?php esc_html_e( sprintf( __( 'Add new %s connection.', 'jetpack' ), $this->publicize->get_service_label( $name ) ) ); ?></a> 
     169                            <a id="<?php echo esc_attr( $name ); ?>" class="publicize-add-connection" href="<?php echo esc_url( $connect_url); ?>"><?php echo esc_html( sprintf( __( 'Add new %s connection.', 'jetpack' ), $this->publicize->get_service_label( $name ) ) ); ?></a> 
    170170                        </div> 
    171171                    </div> 
     
    427427 
    428428                            $label = sprintf( 
    429                                 _x( '%1$s: %2$s', 'Service: Account connected as' ), 
     429                                _x( '%1$s: %2$s', 'Service: Account connected as', 'jetpack' ), 
    430430                                esc_html( $this->publicize->get_service_label( $name ) ), 
    431431                                esc_html( $this->publicize->get_display_name( $name, $connection ) ) 
     
    488488                        <?php foreach ( $available_services as $service_name => $service ) : ?> 
    489489                        <li> 
    490                             <a class="pub-service" data-service="<?php esc_attr_e( $service_name ); ?>" title="<?php esc_attr_e( sprintf( __( 'Connect and share your posts on %s', 'jetpack' ), $this->publicize->get_service_label( $service_name ) ) ); ?>" target="_blank" href="<?php echo $this->publicize->connect_url( $service_name ); ?>"> 
     490                            <a class="pub-service" data-service="<?php echo esc_attr( $service_name ); ?>" title="<?php echo esc_attr( sprintf( __( 'Connect and share your posts on %s', 'jetpack' ), $this->publicize->get_service_label( $service_name ) ) ); ?>" target="_blank" href="<?php echo $this->publicize->connect_url( $service_name ); ?>"> 
    491491                                <?php echo esc_html( $this->publicize->get_service_label( $service_name ) ); ?> 
    492492                            </a> 
  • jetpack/trunk/modules/stats.php

    r622215 r622277  
    708708 
    709709    <p> 
    710     <label for="top"><?php _e( 'Show top posts over', 'jetpack'); ?></label> 
     710    <label for="top"><?php _e( 'Show top posts over', 'jetpack' ); ?></label> 
    711711    <select id="top" name="top"> 
    712712    <?php 
     
    721721 
    722722    <p> 
    723     <label for="search"><?php _e( 'Show top search terms over', 'jetpack'); ?></label> 
     723    <label for="search"><?php _e( 'Show top search terms over', 'jetpack' ); ?></label> 
    724724    <select id="search" name="search"> 
    725725    <?php 
     
    944944?> 
    945945    <div class="wrap"> 
    946     <p><?php printf( __( 'We were unable to get your stats just now. Please reload this page to try again. If this error persists, please <a href="%1$s">contact support</a>. In your report please include the information below.' ), 'http://support.wordpress.com/contact/?jetpack=needs-service' ); ?></p> 
     946    <p><?php printf( __( 'We were unable to get your stats just now. Please reload this page to try again. If this error persists, please <a href="%1$s">contact support</a>. In your report please include the information below.', 'jetpack' ), 'http://support.wordpress.com/contact/?jetpack=needs-service' ); ?></p> 
    947947    <pre> 
    948948    User Agent: "<?php print htmlspecialchars( $_SERVER['HTTP_USER_AGENT'] ); ?>" 
Note: See TracChangeset for help on using the changeset viewer.