Changeset 45932 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r45926 r45932 534 534 <div class="trash-undo-inside"> 535 535 <?php 536 /* translators: %s: comment author, filled by AJAX*/536 /* translators: %s: Comment author, filled by AJAX. */ 537 537 printf( __( 'Comment by %s moved to the trash.' ), '<strong></strong>' ); 538 538 ?> … … 543 543 <div class="spam-undo-inside"> 544 544 <?php 545 /* translators: %s: comment author, filled by AJAX*/545 /* translators: %s: Comment author, filled by AJAX. */ 546 546 printf( __( 'Comment by %s marked as spam.' ), '<strong></strong>' ); 547 547 ?> … … 813 813 $monthtext = $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ); 814 814 $month .= "\t\t\t" . '<option value="' . $monthnum . '" data-text="' . $monthtext . '" ' . selected( $monthnum, $mm, false ) . '>'; 815 /* translators: 1: month number (01, 02, etc.), 2: month abbreviation*/815 /* translators: 1: Month number (01, 02, etc.), 2: Month abbreviation. */ 816 816 $month .= sprintf( __( '%1$s-%2$s' ), $monthnum, $monthtext ) . "</option>\n"; 817 817 } … … 824 824 825 825 echo '<div class="timestamp-wrap">'; 826 /* translators: 1: month, 2: day, 3: year, 4: hour, 5: minute*/826 /* translators: 1: Month, 2: Day, 3: Year, 4: Hour, 5: Minute. */ 827 827 printf( __( '%1$s %2$s, %3$s @ %4$s:%5$s' ), $month, $day, $year, $hour, $minute ); 828 828 … … 972 972 '<label for="upload">%s</label> (%s)', 973 973 __( 'Choose a file from your computer:' ), 974 /* translators: %s: maximum allowed file size*/974 /* translators: %s: Maximum allowed file size. */ 975 975 sprintf( __( 'Maximum size: %s' ), $size ) 976 976 ); … … 1126 1126 echo '<p>'; 1127 1127 if ( $plugin ) { 1128 /* translators: %s: the name of the plugin that generated this meta box. */1128 /* translators: %s: The name of the plugin that generated this meta box. */ 1129 1129 printf( __( "This meta box, from the %s plugin, isn't compatible with the block editor." ), "<strong>{$plugin['Name']}</strong>" ); 1130 1130 } else { … … 1310 1310 echo '<button type="button" class="handlediv" aria-expanded="true">'; 1311 1311 echo '<span class="screen-reader-text">' . sprintf( 1312 /* translators: meta box title*/1312 /* translators: Meta box title. */ 1313 1313 __( 'Toggle panel: %s' ), 1314 1314 $widget_title … … 1333 1333 <p> 1334 1334 <?php 1335 /* translators: %s: the name of the plugin that generated this meta box. */1335 /* translators: %s: The name of the plugin that generated this meta box. */ 1336 1336 printf( __( "This meta box, from the %s plugin, isn't compatible with the block editor." ), "<strong>{$plugin['Name']}</strong>" ); 1337 1337 ?> … … 2512 2512 2513 2513 if ( $parsed_args['number'] ) { 2514 /* translators: 1: the rating, 2: the number of ratings*/2514 /* translators: 1: The rating, 2: The number of ratings. */ 2515 2515 $format = _n( '%1$s rating based on %2$s rating', '%1$s rating based on %2$s ratings', $parsed_args['number'] ); 2516 2516 $title = sprintf( $format, number_format_i18n( $rating, 1 ), number_format_i18n( $parsed_args['number'] ) ); 2517 2517 } else { 2518 /* translators: %s: the rating*/2518 /* translators: %s: The rating. */ 2519 2519 $title = sprintf( __( '%s rating' ), number_format_i18n( $rating, 1 ) ); 2520 2520 }
Note: See TracChangeset
for help on using the changeset viewer.