Making WordPress.org

Ticket #1269: meta-1269.2.patch

File meta-1269.2.patch, 1.1 KB (added by ramiy, 10 years ago)

Add wporg-themes textdomain to the _x() function

  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/theme-single.php

     
    3737                                <?php } ?>
    3838
    3939                                <div class="theme-meta-info">
    40                                         <p class="updated"><?php printf( __( 'Last updated: %s', 'wporg-themes' ), '<strong>' . date_i18n( 'F j, Y', strtotime( $theme->last_updated ) ) . '</strong>' ); ?></p>
     40                                        <p class="updated">
     41                                                <?php printf( __( 'Last updated: %s', 'wporg-themes' ),
     42                                                        /* translators: localized date format, see http://php.net/date */
     43                                                        '<strong>' . date_i18n( _x( 'F j, Y', 'last update date format', 'wporg-themes' ), strtotime( $theme->last_updated ) ) . '</strong>'
     44                                                ); ?>
     45                                        </p>
    4146                                        <?php if ( $theme->theme_url ) { ?>
    4247                                        <a href="<?php echo esc_url( $theme->theme_url ); ?>"><?php _e( 'Theme Homepage', 'wporg-themes' ); ?></a>
    4348                                        <?php } ?>