WordPress.org

Make WordPress Core

Ticket #12228: dst-spelling.diff

File dst-spelling.diff, 1.6 KB (added by kurtmckee, 8 years ago)

Fix DST misspelling and normalize capitalization

  • options-general.php

     
    143143        <span id="local-time"><?php printf(__('UTC %1$s is <code>%2$s</code>'), $current_offset_name, date_i18n($time_format)); ?></span>
    144144<?php endif; ?>
    145145<br />
    146 <span class="description"><?php _e('Unfortunately, you have to manually update this for Daylight Savings Time. Lame, we know, but will be fixed in the future.'); ?></span>
     146<span class="description"><?php _e('Unfortunately, you have to manually update this for daylight saving time. Lame, we know, but will be fixed in the future.'); ?></span>
    147147</td>
    148148<?php
    149149else: // looks like we can do nice timezone selection!
     
    185185<?php if ($check_zone_info && $tzstring) : ?>
    186186        <?php
    187187        $now = localtime(time(),true);
    188         if ($now['tm_isdst']) _e('This timezone is currently in daylight savings time.');
     188        if ($now['tm_isdst']) _e('This timezone is currently in daylight saving time.');
    189189        else _e('This timezone is currently in standard time.');
    190190        ?>
    191191        <br />
     
    202202                if ( isset($found) && $found === true ) {
    203203                        echo ' ';
    204204                        $message = $tr['isdst'] ?
    205                                 __('Daylight savings time begins on: <code>%s</code>.') :
     205                                __('Daylight saving time begins on: <code>%s</code>.') :
    206206                                __('Standard time begins  on: <code>%s</code>.');
    207207                        printf( $message, date_i18n(get_option('date_format').' '.get_option('time_format'), $tr['ts'] ) );
    208208                } else {
    209                         _e('This timezone does not observe daylight savings time.');
     209                        _e('This timezone does not observe daylight saving time.');
    210210                }
    211211        }
    212212        ?>