Making WordPress.org


Ignore:
Timestamp:
12/23/2015 08:41:21 PM (9 years ago)
Author:
coffee2code
Message:

Make home theme: Fix i18n handling.

  • Make all strings translatable.
  • Consistently use 'make-wporg' as text domain.

Fixes #1287.
Props ramiy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/archive-meeting.php

    r1982 r2225  
    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>
     
    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(
     38            __( 'January',   'make-wporg' ),
     39            __( 'February',  'make-wporg' ),
     40            __( 'March',     'make-wporg' ),
     41            __( 'April',     'make-wporg' ),
     42            __( 'May',       'make-wporg' ),
     43            __( 'June',      'make-wporg' ),
     44            __( 'July',      'make-wporg' ),
     45            __( 'August',    'make-wporg' ),
     46            __( 'September', 'make-wporg' ),
     47            __( 'October',   'make-wporg' ),
     48            __( 'November',  'make-wporg' ),
     49            __( 'December',  'make-wporg' )
     50        ),
    3851    );
    3952?>
Note: See TracChangeset for help on using the changeset viewer.