Changeset 48991
- Timestamp:
- 09/18/2020 10:35:41 AM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r48958 r48991 216 216 /* translators: 1: Comment date, 2: Comment time. */ 217 217 __( '%1$s at %2$s' ), 218 /* translators: Comment date format. See https://www.php.net/ date*/218 /* translators: Comment date format. See https://www.php.net/manual/datetime.format.php */ 219 219 get_comment_date( __( 'Y/m/d' ), $comment ), 220 /* translators: Comment time format. See https://www.php.net/ date*/220 /* translators: Comment time format. See https://www.php.net/manual/datetime.format.php */ 221 221 get_comment_date( __( 'g:i a' ), $comment ) 222 222 ); -
trunk/src/wp-admin/edit-form-advanced.php
r48942 r48991 172 172 /* translators: Publish box date string. 1: Date, 2: Time. */ 173 173 __( '%1$s at %2$s' ), 174 /* translators: Publish box date format, see https://www.php.net/ date*/174 /* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */ 175 175 date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ), 176 /* translators: Publish box time format, see https://www.php.net/ date*/176 /* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */ 177 177 date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) ) 178 178 ); -
trunk/src/wp-admin/edit-form-comment.php
r48594 r48991 125 125 /* translators: 1: Comment date, 2: Comment time. */ 126 126 __( '%1$s at %2$s' ), 127 /* translators: Publish box date format, see https://www.php.net/ date*/127 /* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */ 128 128 date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ), 129 /* translators: Publish box time format, see https://www.php.net/ date*/129 /* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */ 130 130 date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) ) 131 131 ); -
trunk/src/wp-admin/includes/ajax-actions.php
r48946 r48991 2206 2206 $time = ''; 2207 2207 } else { 2208 /* translators: Date format in table columns, see https://www.php.net/ date*/2208 /* translators: Date format in table columns, see https://www.php.net/manual/datetime.format.php */ 2209 2209 $time = mysql2date( __( 'Y/m/d' ), $post->post_date ); 2210 2210 } -
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r48943 r48991 956 956 /* translators: 1: Comment date, 2: Comment time. */ 957 957 __( '%1$s at %2$s' ), 958 /* translators: Comment date format. See https://www.php.net/ date*/958 /* translators: Comment date format. See https://www.php.net/manual/datetime.format.php */ 959 959 get_comment_date( __( 'Y/m/d' ), $comment ), 960 /* translators: Comment time format. See https://www.php.net/ date*/960 /* translators: Comment time format. See https://www.php.net/manual/datetime.format.php */ 961 961 get_comment_date( __( 'g:i a' ), $comment ) 962 962 ); -
trunk/src/wp-admin/includes/class-wp-community-events.php
r48110 r48991 376 376 * are available, without having to open the link. 377 377 */ 378 /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/ date*/378 /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/manual/datetime.format.php */ 379 379 $formatted_date = date_i18n( __( 'l, M j, Y' ), $timestamp ); 380 380 $formatted_time = date_i18n( get_option( 'time_format' ), $timestamp ); … … 385 385 386 386 if ( 'meetup' !== $event['type'] && $formatted_end_date !== $formatted_date ) { 387 /* translators: Upcoming events month format. See https://www.php.net/ date*/387 /* translators: Upcoming events month format. See https://www.php.net/manual/datetime.format.php */ 388 388 $start_month = date_i18n( _x( 'F', 'upcoming events month format' ), $timestamp ); 389 389 $end_month = date_i18n( _x( 'F', 'upcoming events month format' ), $end_timestamp ); … … 394 394 __( '%1$s %2$d–%3$d, %4$d' ), 395 395 $start_month, 396 /* translators: Upcoming events day format. See https://www.php.net/ date*/396 /* translators: Upcoming events day format. See https://www.php.net/manual/datetime.format.php */ 397 397 date_i18n( _x( 'j', 'upcoming events day format' ), $timestamp ), 398 398 date_i18n( _x( 'j', 'upcoming events day format' ), $end_timestamp ), 399 /* translators: Upcoming events year format. See https://www.php.net/ date*/399 /* translators: Upcoming events year format. See https://www.php.net/manual/datetime.format.php */ 400 400 date_i18n( _x( 'Y', 'upcoming events year format' ), $timestamp ) 401 401 ); -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r48668 r48991 1082 1082 /* translators: 1: Post date, 2: Post time. */ 1083 1083 __( '%1$s at %2$s' ), 1084 /* translators: Post date format. See https://www.php.net/ date*/1084 /* translators: Post date format. See https://www.php.net/manual/datetime.format.php */ 1085 1085 get_the_time( __( 'Y/m/d' ), $post ), 1086 /* translators: Post time format. See https://www.php.net/ date*/1086 /* translators: Post time format. See https://www.php.net/manual/datetime.format.php */ 1087 1087 get_the_time( __( 'g:i a' ), $post ) 1088 1088 ); -
trunk/src/wp-admin/includes/dashboard.php
r48586 r48991 966 966 $relative = __( 'Tomorrow' ); 967 967 } elseif ( gmdate( 'Y', $time ) !== $year ) { 968 /* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://www.php.net/ date*/968 /* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://www.php.net/manual/datetime.format.php */ 969 969 $relative = date_i18n( __( 'M jS Y' ), $time ); 970 970 } else { 971 /* translators: Date and time format for recent posts on the dashboard, see https://www.php.net/ date*/971 /* translators: Date and time format for recent posts on the dashboard, see https://www.php.net/manual/datetime.format.php */ 972 972 $relative = date_i18n( __( 'M jS' ), $time ); 973 973 } -
trunk/src/wp-admin/includes/meta-boxes.php
r48594 r48991 213 213 214 214 <?php 215 /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/ date*/215 /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/manual/datetime.format.php */ 216 216 $date_string = __( '%1$s at %2$s' ); 217 /* translators: Publish box date format, see https://www.php.net/ date*/217 /* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */ 218 218 $date_format = _x( 'M j, Y', 'publish box date format' ); 219 /* translators: Publish box time format, see https://www.php.net/ date*/219 /* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */ 220 220 $time_format = _x( 'H:i', 'publish box time format' ); 221 221 … … 405 405 <?php 406 406 $uploaded_on = sprintf( 407 /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/ date*/407 /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/manual/datetime.format.php */ 408 408 __( '%1$s at %2$s' ), 409 /* translators: Publish box date format, see https://www.php.net/ date*/409 /* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */ 410 410 date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ), 411 /* translators: Publish box time format, see https://www.php.net/ date*/411 /* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */ 412 412 date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) ) 413 413 ); -
trunk/src/wp-admin/includes/misc.php
r48823 r48991 1247 1247 ); 1248 1248 } else { 1249 /* translators: Draft saved date format, see https://www.php.net/ date*/1249 /* translators: Draft saved date format, see https://www.php.net/manual/datetime.format.php */ 1250 1250 $draft_saved_date_format = __( 'g:i:s a' ); 1251 1251 $response['wp_autosave'] = array( -
trunk/src/wp-admin/includes/schema.php
r48586 r48991 423 423 'default_pingback_flag' => 1, 424 424 'posts_per_page' => 10, 425 /* translators: Default date format, see https://www.php.net/ date*/425 /* translators: Default date format, see https://www.php.net/manual/datetime.format.php */ 426 426 'date_format' => __( 'F j, Y' ), 427 /* translators: Default time format, see https://www.php.net/ date*/427 /* translators: Default time format, see https://www.php.net/manual/datetime.format.php */ 428 428 'time_format' => __( 'g:i a' ), 429 /* translators: Links last updated date format, see https://www.php.net/ date*/429 /* translators: Links last updated date format, see https://www.php.net/manual/datetime.format.php */ 430 430 'links_updated_date_format' => __( 'F j, Y g:i a' ), 431 431 'comment_moderation' => 0, -
trunk/src/wp-admin/options-general.php
r47550 r48991 19 19 $title = __( 'General Settings' ); 20 20 $parent_file = 'options-general.php'; 21 /* translators: Date and time format for exact current time, mainly about timezones, see https://www.php.net/ date*/21 /* translators: Date and time format for exact current time, mainly about timezones, see https://www.php.net/manual/datetime.format.php */ 22 22 $timezone_format = _x( 'Y-m-d H:i:s', 'timezone date format' ); 23 23 -
trunk/src/wp-includes/class-wp-locale.php
r47808 r48991 360 360 */ 361 361 public function _strings_for_pot() { 362 /* translators: Localized date format, see https://www.php.net/ date*/362 /* translators: Localized date format, see https://www.php.net/manual/datetime.format.php */ 363 363 __( 'F j, Y' ); 364 /* translators: Localized time format, see https://www.php.net/ date*/364 /* translators: Localized time format, see https://www.php.net/manual/datetime.format.php */ 365 365 __( 'g:i a' ); 366 /* translators: Localized date and time format, see https://www.php.net/ date*/366 /* translators: Localized date and time format, see https://www.php.net/manual/datetime.format.php */ 367 367 __( 'F j, Y g:i a' ); 368 368 } -
trunk/src/wp-includes/post-template.php
r48574 r48991 1825 1825 } 1826 1826 1827 /* translators: Revision date format, see https://www.php.net/ date*/1827 /* translators: Revision date format, see https://www.php.net/manual/datetime.format.php */ 1828 1828 $datef = _x( 'F j, Y @ H:i:s', 'revision date format' ); 1829 1829 /* translators: %s: Revision date. */ … … 1867 1867 1868 1868 $author = get_the_author_meta( 'display_name', $revision->post_author ); 1869 /* translators: Revision date format, see https://www.php.net/ date*/1869 /* translators: Revision date format, see https://www.php.net/manual/datetime.format.php */ 1870 1870 $datef = _x( 'F j, Y @ H:i:s', 'revision date format' ); 1871 1871 -
trunk/src/wp-includes/script-loader.php
r48923 r48991 345 345 ), 346 346 'formats' => array( 347 /* translators: Time format, see https://www.php.net/ date*/347 /* translators: Time format, see https://www.php.net/manual/datetime.format.php */ 348 348 'time' => get_option( 'time_format', __( 'g:i a' ) ), 349 /* translators: Date format, see https://www.php.net/ date*/349 /* translators: Date format, see https://www.php.net/manual/datetime.format.php */ 350 350 'date' => get_option( 'date_format', __( 'F j, Y' ) ), 351 /* translators: Date/Time format, see https://www.php.net/ date*/351 /* translators: Date/Time format, see https://www.php.net/manual/datetime.format.php */ 352 352 'datetime' => __( 'F j, Y g:i a' ), 353 /* translators: Abbreviated date/time format, see https://www.php.net/ date*/353 /* translators: Abbreviated date/time format, see https://www.php.net/manual/datetime.format.php */ 354 354 'datetimeAbbreviated' => __( 'M j, Y g:i a' ), 355 355 ),
Note: See TracChangeset
for help on using the changeset viewer.