Making WordPress.org

Ticket #1489: wporg-make-i18n.patch

File wporg-make-i18n.patch, 4.2 KB (added by ramiy, 9 years ago)
  • trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/404.php

     
    55
    66    <div id="404" class="post 404">
    77
    8                 <h2 class="section-title">Not Found</h2>
     8                <h2 class="section-title"><?php _e( 'Not Found', 'make-wporg' ); ?></h2>
    99                <article style="width:100%">
    10                         <p>Are you looking to contribute to WordPress? Check out the <a href="//make.wordpress.org/">many ways to get involved</a>.</p>
     10                        <p><?php _e( 'Are you looking to contribute to WordPress? Check out the <a href="//make.wordpress.org/">many ways to get involved</a>.', 'make-wporg' ); ?></p>
    1111                </article>
    1212        </div>
    1313</div><!-- /wrapper -->
  • trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/archive-meeting.php

     
    11<?php get_header(); ?>
    22
    33<div class="wrapper">
    4         <h2 class="title"><?php _e('Upcoming WordPress Meetings','wporg'); ?></h2>
     4        <h2 class="title"><?php _e( 'Upcoming WordPress Meetings', 'make-wporg' ); ?></h2>
    55<table class="schedule">
    66        <thead>
    77                <tr>
    8                 <th><?php _e('Team','wporg'); ?></th>
    9                 <th><?php _e('Name','wporg'); ?></th>
    10                 <th><?php _e('Next Meeting','wporg'); ?></th>
    11                 <th><?php _e('Location','wporg'); ?></th>
     8                <th><?php _e( 'Team', 'make-wporg' ); ?></th>
     9                <th><?php _e( 'Name', 'make-wporg' ); ?></th>
     10                <th><?php _e( 'Next Meeting', 'make-wporg' ); ?></th>
     11                <th><?php _e( 'Location', 'make-wporg' ); ?></th>
    1212                </tr>
    1313        </thead>
    1414        <tbody>
     
    3434// convert the displayed date time to a local one to the viewing browser, if possible
    3535function wporg_makehome_time_converter_script() {
    3636    $timestrings = array(
    37         'months' => array(__('January'), __('February'), __('March'),__('April'),__('May'),__('June'),__('July'),__('August'),__('September'),__('October'),__('November'),     __('December')),
     37        'months' => array(__('January'), __('February'), __('March'),__('April'),__('May'),__('June'),__('July'),__('August'),__('September'),__('October'),__('November'),__('December')),
    3838    );
    3939?>
    4040    <script type="text/javascript">
  • trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/front-page.php

     
    2929                                <div class="team-description">
    3030                                        <?php the_content(); ?>
    3131                                        <?php if ( $url ) : ?>
    32                                                 <p><a href="<?php echo esc_url( $url ); ?>">Learn more about <?php the_title(); ?> &raquo;</a></p>
     32                                                <p><a href="<?php echo esc_url( $url ); ?>"><?php printf( __( 'Learn more about %s &raquo;', 'make-wporg' ), get_the_title() ); ?></a></p>
    3333                                        <?php endif; ?>
    3434                                </div>
    3535                               
  • trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/subhead.php

     
    88                <?php /* jetpack_do_subscription_form( $args = array() ); */ ?>
    99                <form action="#" method="post">
    1010                        <fieldset>
    11                                 <label for="signup-email">Get news updates in your email:</label>
     11                                <label for="signup-email"><?php _e( 'Get news updates in your email:', 'make-wporg' ); ?></label>
    1212                                <input type="email" name="email" class="text" id="signup-email" />
    13                                 <button type="submit" class="button button-primary">Sign Up</button>
     13                                <button type="submit" class="button button-primary"><?php _e( 'Sign Up', 'make-wporg' ); ?></button>
    1414                        </fieldset>
    1515                </form>
    1616                <?php endif; ?>