-
+
-The new address will not become active until confirmed.' ) ?>
+The new address will not become active until confirmed.' ) ?>
-
%1$s. Cancel '), esc_html( $new_admin_email ), esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?>
+
' . esc_html( $new_admin_email ) . ''
+ );
+ printf(
+ ' %2$s ',
+ esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ),
+ __( 'Cancel' )
+ );
+?>
@@ -196,13 +150,28 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
- UTC time is %s
'), date_i18n($timezone_format, false, 'gmt')); ?>
-
- %1$s'), date_i18n($timezone_format)); ?>
-
-
-
+
+
+ ' . __( 'UTC' ) . '',
+ '' . date_i18n( $timezone_format, false, 'gmt' ) . '
'
+ );
+ ?>
+
+ ' . date_i18n( $timezone_format ) . ''
+ );
+ ?>
+
+
+
+
+
%s.') :
- __('Standard time begins on: %s
.');
+ /* translators: %s: date and time */
+ __( 'Daylight saving time begins on: %s.') :
+ /* translators: %s: date and time */
+ __( 'Standard time begins on: %s.' );
// Add the difference between the current offset and the new offset to ts to get the correct transition time from date_i18n().
- printf( $message, date_i18n(get_option('date_format') . ' ' . get_option('time_format'), $tr['ts'] + ($tz_offset - $tr['offset']) ) );
+ printf( $message,
+ '' . date_i18n(
+ __( 'F j, Y' ) . ' ' . __( 'g:i a' ),
+ $tr['ts'] + ( $tz_offset - $tr['offset'] )
+ ) . '
'
+ );
} else {
- _e('This timezone does not observe daylight saving time.');
+ _e( 'This timezone does not observe daylight saving time.' );
}
}
// Set back to UTC.
date_default_timezone_set('UTC');
?>
+
@@ -266,18 +243,21 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
$custom = true;
foreach ( $date_formats as $format ) {
- echo "\t ' . date_i18n( $format ) . " \n";
+ echo ' /> ' . date_i18n( $format ) . ' ' . esc_html( $format ) . "
\n";
}
- echo ' ' . __( 'Custom:' ) . ' ' . __( 'enter a custom date format in the following field' ) . " \n";
- echo '' . __( 'Custom date format:' ) . ' ' . __( 'example:' ) . ' ' . date_i18n( get_option('date_format') ) . " \n";
+ echo '/> ' . __( 'Custom:' ) . ' ' . __( 'enter a custom date format in the following field' ) . ' ' .
+ '' . __( 'Custom date format:' ) . ' ' .
+ ' ' .
+ '' . __( 'example:' ) . ' ' . date_i18n( get_option( 'date_format' ) ) . ' ' .
+ " \n";
?>
@@ -299,20 +279,23 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
$custom = true;
foreach ( $time_formats as $format ) {
- echo "\t ' . date_i18n( $format ) . " \n";
+ echo ' /> ' . date_i18n( $format ) . ' ' . esc_html( $format ) . "
\n";
}
- echo ' ' . __( 'Custom:' ) . ' ' . __( 'enter a custom time format in the following field' ) . " \n";
- echo '' . __( 'Custom time format:' ) . ' ' . __( 'example:' ) . ' ' . date_i18n( get_option('time_format') ) . " \n";
+ echo '/> ' . __( 'Custom:' ) . ' ' . __( 'enter a custom time format in the following field' ) . ' ' .
+ '' . __( 'Custom time format:' ) . ' ' .
+ ' ' .
+ '' . __( '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";
?>
@@ -321,6 +304,9 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists