X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/0459461f9ea42e0b090759ff6fe5f48360bef750..refs/tags/wordpress-4.5:/wp-admin/options-general.php?ds=sidebyside diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 220b07e8..9091d5e3 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -73,7 +73,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); class="regular-text code" /> - +

want your site home page to be different from your WordPress installation directory.' ); ?>

@@ -105,10 +105,15 @@ $new_admin_email = get_option( 'new_admin_email' ); if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?>

Cancel' ), - '' . esc_html( $new_admin_email ) . '', - esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) + printf( + /* translators: %s: new admin email */ + __( 'There is a pending change of the admin email to %s.' ), + '' . esc_html( $new_admin_email ) . '' + ); + printf( + ' %2$s', + esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ), + __( 'Cancel' ) ); ?>

@@ -145,23 +150,28 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists +

+ +

UTC time is %s' ), + /* translators: 1: UTC abbreviation, 2: UTC time */ + printf( __( 'Universal time (%1$s) is %2$s.' ), + '' . __( 'UTC' ) . '', '' . date_i18n( $timezone_format, false, 'gmt' ) . '' ); ?> - + ' . date_i18n( $timezone_format ) . '' ); ?> -

- -
+

+ + +

' . date_i18n( - get_option( 'date_format' ) . ' ' . get_option( 'time_format' ), + __( 'F j, Y' ) . ' ' . __( 'g:i a' ), $tr['ts'] + ( $tz_offset - $tr['offset'] ) ) . '' ); @@ -210,6 +220,7 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists date_default_timezone_set('UTC'); ?> +

@@ -232,18 +243,21 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists $custom = true; foreach ( $date_formats as $format ) { - echo "\t
\n"; + echo ' /> ' . date_i18n( $format ) . '' . esc_html( $format ) . "
\n"; } - echo ' \n"; - echo ' ' . __( 'example:' ) . ' ' . date_i18n( get_option('date_format') ) . " \n"; + echo '/> ' . __( 'Custom:' ) . ' ' . __( 'enter a custom date format in the following field' ) . '' . + '' . + '' . + '' . __( 'example:' ) . ' ' . date_i18n( get_option( 'date_format' ) ) . '' . + "\n"; ?> @@ -265,20 +279,23 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists $custom = true; foreach ( $time_formats as $format ) { - echo "\t
\n"; + echo ' /> ' . date_i18n( $format ) . '' . esc_html( $format ) . "
\n"; } - echo ' \n"; - echo ' ' . __( 'example:' ) . ' ' . date_i18n( get_option('time_format') ) . " \n"; + echo '/> ' . __( 'Custom:' ) . ' ' . __( 'enter a custom time format in the following field' ) . '' . + '' . + '' . + '' . __( 'example:' ) . ' ' . date_i18n( get_option( 'time_format' ) ) . '' . + "\n"; - echo "\t

" . __('Documentation on date and time formatting.') . "

\n"; + echo "\t

" . __('Documentation on date and time formatting.') . "

\n"; ?>