Changeset 42827
- Timestamp:
- 03/11/2018 04:43:59 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin-header.php
r42343 r42827 36 36 37 37 if ( is_network_admin() ) { 38 /* translators: Network admin screen title. 1: Network name */38 /* translators: Network admin screen title. %s: Network name */ 39 39 $admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_network()->site_name ) ); 40 40 } elseif ( is_user_admin() ) { 41 /* translators: User dashboard screen title. 1: Network name */41 /* translators: User dashboard screen title. %s: Network name */ 42 42 $admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ) ); 43 43 } else { … … 46 46 47 47 if ( $admin_title == $title ) { 48 /* translators: Admin screen title. 1: Admin screen name */49 $admin_title = sprintf( __( '% 1$s — WordPress' ), $title );48 /* translators: Admin screen title. %s: Admin screen name */ 49 $admin_title = sprintf( __( '%s — WordPress' ), $title ); 50 50 } else { 51 51 /* translators: Admin screen title. 1: Admin screen name, 2: Network or site name */ -
trunk/src/wp-admin/edit-comments.php
r42719 r42827 147 147 $draft_or_post_title = wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ); 148 148 if ( $comments_count->moderated > 0 ) { 149 /* translators: 1: comments count 2: post title */149 /* translators: 1: comments count, 2: post title */ 150 150 $title = sprintf( 151 151 __( 'Comments (%1$s) on “%2$s”' ), -
trunk/src/wp-admin/includes/class-bulk-upgrader-skin.php
r42343 r42827 42 42 /* translators: 1: Title of an update, 2: Error message */ 43 43 $this->upgrader->strings['skin_update_failed_error'] = __( 'An error occurred while updating %1$s: %2$s' ); 44 /* translators: 1: Title of an update */45 $this->upgrader->strings['skin_update_failed'] = __( 'The update of % 1$s failed.' );46 /* translators: 1: Title of an update */47 $this->upgrader->strings['skin_update_successful'] = __( '% 1$s updated successfully.' );44 /* translators: %s: Title of an update */ 45 $this->upgrader->strings['skin_update_failed'] = __( 'The update of %s failed.' ); 46 /* translators: %s: Title of an update */ 47 $this->upgrader->strings['skin_update_successful'] = __( '%s updated successfully.' ); 48 48 $this->upgrader->strings['skin_upgrade_end'] = __( 'All updates have been completed.' ); 49 49 } -
trunk/src/wp-admin/includes/class-language-pack-upgrader.php
r42786 r42827 338 338 return new WP_Error( 339 339 'incompatible_archive_pomo', $this->strings['incompatible_archive'], 340 /* translators: 1: .po 2: .mo */340 /* translators: 1: .po, 2: .mo */ 341 341 sprintf( 342 342 __( 'The language pack is missing either the %1$s or %2$s files.' ), -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r42631 r42827 505 505 case 'install': 506 506 if ( $status['url'] ) { 507 /* translators: 1: Plugin name and version. */ 508 $action_links[] = '<a class="install-now button" data-slug="' . esc_attr( $plugin['slug'] ) . '" href="' . esc_url( $status['url'] ) . '" aria-label="' . esc_attr( sprintf( __( 'Install %s now' ), $name ) ) . '" data-name="' . esc_attr( $name ) . '">' . __( 'Install Now' ) . '</a>'; 507 $action_links[] = sprintf( 508 '<a class="install-now button" data-slug="%s" href="%s" aria-label="%s" data-name="%s">%s</a>', 509 esc_attr( $plugin['slug'] ), 510 esc_url( $status['url'] ), 511 /* translators: %s: plugin name and version */ 512 esc_attr( sprintf( __( 'Install %s now' ), $name ) ), 513 esc_attr( $name ), 514 __( 'Install Now' ) 515 ); 509 516 } 510 517 break; … … 512 519 case 'update_available': 513 520 if ( $status['url'] ) { 514 /* translators: 1: Plugin name and version */ 515 $action_links[] = '<a class="update-now button aria-button-if-js" data-plugin="' . esc_attr( $status['file'] ) . '" data-slug="' . esc_attr( $plugin['slug'] ) . '" href="' . esc_url( $status['url'] ) . '" aria-label="' . esc_attr( sprintf( __( 'Update %s now' ), $name ) ) . '" data-name="' . esc_attr( $name ) . '">' . __( 'Update Now' ) . '</a>'; 521 $action_links[] = sprintf( 522 '<a class="update-now button aria-button-if-js" data-plugin="%s" data-slug="%s" href="%s" aria-label="%s" data-name="%s">%s</a>', 523 esc_attr( $status['file'] ), 524 esc_attr( $plugin['slug'] ), 525 esc_url( $status['url'] ), 526 /* translators: %s: plugin name and version */ 527 esc_attr( sprintf( __( 'Update %s now' ), $name ) ), 528 esc_attr( $name ), 529 __( 'Update Now' ) 530 ); 516 531 } 517 532 break; … … 520 535 case 'newer_installed': 521 536 if ( is_plugin_active( $status['file'] ) ) { 522 $action_links[] = '<button type="button" class="button button-disabled" disabled="disabled">' . _x( 'Active', 'plugin' ) . '</button>'; 537 $action_links[] = sprintf( 538 '<button type="button" class="button button-disabled" disabled="disabled">%s</button>', 539 _x( 'Active', 'plugin' ) 540 ); 523 541 } elseif ( current_user_can( 'activate_plugin', $status['file'] ) ) { 524 542 $button_text = __( 'Activate' ); 525 /* translators: %s: Plugin name */543 /* translators: %s: plugin name */ 526 544 $button_label = _x( 'Activate %s', 'plugin' ); 527 545 $activate_url = add_query_arg( … … 535 553 if ( is_network_admin() ) { 536 554 $button_text = __( 'Network Activate' ); 537 /* translators: %s: Plugin name */555 /* translators: %s: plugin name */ 538 556 $button_label = _x( 'Network Activate %s', 'plugin' ); 539 557 $activate_url = add_query_arg( array( 'networkwide' => 1 ), $activate_url ); … … 547 565 ); 548 566 } else { 549 $action_links[] = '<button type="button" class="button button-disabled" disabled="disabled">' . _x( 'Installed', 'plugin' ) . '</button>'; 567 $action_links[] = sprintf( 568 '<button type="button" class="button button-disabled" disabled="disabled">%s</button>', 569 _x( 'Installed', 'plugin' ) 570 ); 550 571 } 551 572 break; … … 558 579 ); 559 580 560 /* translators: 1: Plugin name and version. */ 561 $action_links[] = '<a href="' . esc_url( $details_link ) . '" class="thickbox open-plugin-details-modal" aria-label="' . esc_attr( sprintf( __( 'More information about %s' ), $name ) ) . '" data-title="' . esc_attr( $name ) . '">' . __( 'More Details' ) . '</a>'; 581 $action_links[] = sprintf( 582 '<a href="%s" class="thickbox open-plugin-details-modal" aria-label="%s" data-title="%s">%s</a>', 583 esc_url( $details_link ), 584 /* translators: %s: plugin name and version */ 585 esc_attr( sprintf( __( 'More information about %s' ), $name ) ), 586 esc_attr( $name ), 587 __( 'More Details' ) 588 ); 562 589 563 590 if ( ! empty( $plugin['icons']['svg'] ) ) { -
trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php
r42343 r42827 265 265 $author = wp_kses( $theme->author, $themes_allowedtags ); 266 266 267 /* translators: %s: theme name */ 267 268 $preview_title = sprintf( __( 'Preview “%s”' ), $name ); 268 269 $preview_url = add_query_arg( … … 293 294 switch ( $status ) { 294 295 case 'update_available': 295 $actions[] = '<a class="install-now" href="' . esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ) . '">' . __( 'Update' ) . '</a>'; 296 $actions[] = sprintf( 297 '<a class="install-now" href="%s" title="%s">%s</a>', 298 esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ), 299 /* translators: %s: theme version */ 300 esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ), 301 __( 'Update' ) 302 ); 296 303 break; 297 304 case 'newer_installed': 298 305 case 'latest_installed': 299 $actions[] = '<span class="install-now" title="' . esc_attr__( 'This theme is already installed and is up to date' ) . '">' . _x( 'Installed', 'theme' ) . '</span>'; 306 $actions[] = sprintf( 307 '<span class="install-now" title="%s">%s</span>', 308 esc_attr__( 'This theme is already installed and is up to date' ), 309 _x( 'Installed', 'theme' ) 310 ); 300 311 break; 301 312 case 'install': 302 313 default: 303 $actions[] = '<a class="install-now" href="' . esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Install %s' ), $name ) ) . '">' . __( 'Install Now' ) . '</a>'; 304 break; 305 } 306 307 $actions[] = '<a class="install-theme-preview" href="' . esc_url( $preview_url ) . '" title="' . esc_attr( sprintf( __( 'Preview %s' ), $name ) ) . '">' . __( 'Preview' ) . '</a>'; 314 $actions[] = sprintf( 315 '<a class="install-now" href="%s" title="%s">%s</a>', 316 esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ), 317 /* translators: %s: theme name */ 318 esc_attr( sprintf( __( 'Install %s' ), $name ) ), 319 __( 'Install Now' ) 320 ); 321 break; 322 } 323 324 $actions[] = sprintf( 325 '<a class="install-theme-preview" href="%s" title="%s">%s</a>', 326 esc_url( $preview_url ), 327 /* translators: %s: theme name */ 328 esc_attr( sprintf( __( 'Preview %s' ), $name ) ), 329 __( 'Preview' ) 330 ); 308 331 309 332 /** … … 324 347 325 348 <h3><?php echo $name; ?></h3> 326 <div class="theme-author"><?php printf( __( 'By %s' ), $author ); ?></div> 349 <div class="theme-author"><?php 350 /* translators: %s: theme author */ 351 printf( __( 'By %s' ), $author ); 352 ?></div> 327 353 328 354 <div class="action-links"> … … 422 448 switch ( $status ) { 423 449 case 'update_available': 424 echo '<a class="theme-install button button-primary" href="' . esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ) . '">' . __( 'Update' ) . '</a>'; 450 printf( 451 '<a class="theme-install button button-primary" href="%s" title="%s">%s</a>', 452 esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ), 453 /* translators: %s: theme version */ 454 esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ), 455 __( 'Update' ) 456 ); 425 457 break; 426 458 case 'newer_installed': 427 459 case 'latest_installed': 428 echo '<span class="theme-install" title="' . esc_attr__( 'This theme is already installed and is up to date' ) . '">' . _x( 'Installed', 'theme' ) . '</span>'; 460 printf( 461 '<span class="theme-install" title="%s">%s</span>', 462 esc_attr__( 'This theme is already installed and is up to date' ), 463 _x( 'Installed', 'theme' ) 464 ); 429 465 break; 430 466 case 'install': 431 467 default: 432 echo '<a class="theme-install button button-primary" href="' . esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ) . '">' . __( 'Install' ) . '</a>'; 468 printf( 469 '<a class="theme-install button button-primary" href="%s">%s</a>', 470 esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ), 471 __( 'Install' ) 472 ); 433 473 break; 434 474 } 435 475 ?> 436 476 <h3 class="theme-name"><?php echo $name; ?></h3> 437 <span class="theme-by"><?php printf( __( 'By %s' ), $author ); ?></span> 477 <span class="theme-by"><?php 478 /* translators: %s: theme author */ 479 printf( __( 'By %s' ), $author ); 480 ?></span> 438 481 <?php if ( isset( $theme->screenshot_url ) ) : ?> 439 482 <img class="theme-screenshot" src="<?php echo esc_url( $theme->screenshot_url ); ?>" alt="" /> -
trunk/src/wp-admin/includes/media.php
r42759 r42827 349 349 350 350 if ( ! empty( $meta['year'] ) ) { 351 /* translators: Audio file track information. 1: Year of audio track release */351 /* translators: Audio file track information. %d: Year of audio track release */ 352 352 $content .= ' ' . sprintf( __( 'Released: %d.' ), $meta['year'] ); 353 353 } … … 359 359 $content .= ' ' . sprintf( __( 'Track %1$s of %2$s.' ), number_format_i18n( $track_number[0] ), number_format_i18n( $track_number[1] ) ); 360 360 } else { 361 /* translators: Audio file track information. 1: Audio track number */362 $content .= ' ' . sprintf( __( 'Track % 1$s.' ), number_format_i18n( $track_number[0] ) );361 /* translators: Audio file track information. %s: Audio track number */ 362 $content .= ' ' . sprintf( __( 'Track %s.' ), number_format_i18n( $track_number[0] ) ); 363 363 } 364 364 } 365 365 366 366 if ( ! empty( $meta['genre'] ) ) { 367 /* translators: Audio file genre information. 1: Audio genre name */367 /* translators: Audio file genre information. %s: Audio genre name */ 368 368 $content .= ' ' . sprintf( __( 'Genre: %s.' ), $meta['genre'] ); 369 369 } -
trunk/src/wp-admin/includes/meta-boxes.php
r42674 r42827 199 199 if ( 0 != $post->ID ) { 200 200 if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date 201 /* translators: Post date information. 1: Date on which the post is currently scheduled to be published */202 $stamp = __( 'Scheduled for: <b>% 1$s</b>' );201 /* translators: Post date information. %s: Date on which the post is currently scheduled to be published */ 202 $stamp = __( 'Scheduled for: <b>%s</b>' ); 203 203 } elseif ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published 204 /* translators: Post date information. 1: Date on which the post was published */205 $stamp = __( 'Published on: <b>% 1$s</b>' );204 /* translators: Post date information. %s: Date on which the post was published */ 205 $stamp = __( 'Published on: <b>%s</b>' ); 206 206 } elseif ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified 207 207 $stamp = __( 'Publish <b>immediately</b>' ); 208 208 } elseif ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified 209 /* translators: Post date information. 1: Date on which the post is to be published */210 $stamp = __( 'Schedule for: <b>% 1$s</b>' );209 /* translators: Post date information. %s: Date on which the post is to be published */ 210 $stamp = __( 'Schedule for: <b>%s</b>' ); 211 211 } else { // draft, 1 or more saves, date specified 212 /* translators: Post date information. 1: Date on which the post is to be published */213 $stamp = __( 'Publish on: <b>% 1$s</b>' );212 /* translators: Post date information. %s: Date on which the post is to be published */ 213 $stamp = __( 'Publish on: <b>%s</b>' ); 214 214 } 215 215 $date = date_i18n( $datef, strtotime( $post->post_date ) ); … … 223 223 <div class="misc-pub-section misc-pub-revisions"> 224 224 <?php 225 /* translators: Post revisions heading. 1: The number of available revisions */225 /* translators: Post revisions heading. %s: The number of available revisions */ 226 226 printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); 227 227 ?> -
trunk/src/wp-admin/includes/ms.php
r42343 r42827 33 33 $file_size = filesize( $file['tmp_name'] ); 34 34 if ( $space_left < $file_size ) { 35 /* translators: 1: Required disk space in kilobytes */36 $file['error'] = sprintf( __( 'Not enough space to upload. % 1$s KB needed.' ), number_format( ( $file_size - $space_left ) / KB_IN_BYTES ) );35 /* translators: %s: required disk space in kilobytes */ 36 $file['error'] = sprintf( __( 'Not enough space to upload. %s KB needed.' ), number_format( ( $file_size - $space_left ) / KB_IN_BYTES ) ); 37 37 } 38 38 39 39 if ( $file_size > ( KB_IN_BYTES * get_site_option( 'fileupload_maxk', 1500 ) ) ) { 40 /* translators: 1: Maximum allowed file size in kilobytes */41 $file['error'] = sprintf( __( 'This file is too big. Files must be less than % 1$s KB in size.' ), get_site_option( 'fileupload_maxk', 1500 ) );40 /* translators: %s: maximum allowed file size in kilobytes */ 41 $file['error'] = sprintf( __( 'This file is too big. Files must be less than %s KB in size.' ), get_site_option( 'fileupload_maxk', 1500 ) ); 42 42 } 43 43 -
trunk/src/wp-admin/includes/network.php
r42343 r42827 265 265 <?php 266 266 printf( 267 /* translators: 1: site url 2: host name 3.www */267 /* translators: 1: site url, 2: host name, 3: www */ 268 268 __( 'We recommend you change your siteurl to %1$s before enabling the network feature. It will still be possible to visit your site using the %3$s prefix with an address like %2$s but any links will not have the %3$s prefix.' ), 269 269 '<code>' . substr( $hostname, 4 ) . '</code>', … … 297 297 <?php 298 298 printf( 299 /* translators: 1: localhost 2: localhost.localdomain */299 /* translators: 1: localhost, 2: localhost.localdomain */ 300 300 __( 'Because you are using %1$s, the sites in your WordPress network must use sub-directories. Consider using %2$s if you wish to use sub-domains.' ), 301 301 '<code>localhost</code>', … … 437 437 echo '<strong>' . __( 'Caution:' ) . '</strong> '; 438 438 printf( 439 /* translators: 1: wp-config.php 2: .htaccess */439 /* translators: 1: wp-config.php, 2: .htaccess */ 440 440 __( 'We recommend you back up your existing %1$s and %2$s files.' ), 441 441 '<code>wp-config.php</code>', … … 445 445 echo '<strong>' . __( 'Caution:' ) . '</strong> '; 446 446 printf( 447 /* translators: 1: wp-config.php 2: web.config */447 /* translators: 1: wp-config.php, 2: web.config */ 448 448 __( 'We recommend you back up your existing %1$s and %2$s files.' ), 449 449 '<code>wp-config.php</code>', … … 453 453 echo '<strong>' . __( 'Caution:' ) . '</strong> '; 454 454 printf( 455 /* translators: 1: wp-config.php */455 /* translators: %s: wp-config.php */ 456 456 __( 'We recommend you back up your existing %s file.' ), 457 457 '<code>wp-config.php</code>' … … 467 467 <?php 468 468 printf( 469 /* translators: 1: wp-config.php 2: location of wp-config file, 3: translated version of "That's all, stop editing! Happy blogging." */469 /* translators: 1: wp-config.php, 2: location of wp-config file, 3: translated version of "That's all, stop editing! Happy blogging." */ 470 470 __( 'Add the following to your %1$s file in %2$s <strong>above</strong> the line reading %3$s:' ), 471 471 '<code>wp-config.php</code>', … … 524 524 if ( 1 == $num_keys_salts ) { 525 525 printf( 526 /* translators: 1: wp-config.php */526 /* translators: %s: wp-config.php */ 527 527 __( 'This unique authentication key is also missing from your %s file.' ), 528 528 '<code>wp-config.php</code>' … … 530 530 } else { 531 531 printf( 532 /* translators: 1: wp-config.php */532 /* translators: %s: wp-config.php */ 533 533 __( 'These unique authentication keys are also missing from your %s file.' ), 534 534 '<code>wp-config.php</code>' … … 599 599 echo '<li><p>'; 600 600 printf( 601 /* translators: 1: a filename like .htaccess . 2: a file path.*/601 /* translators: 1: a filename like .htaccess, 2: a file path */ 602 602 __( 'Add the following to your %1$s file in %2$s, <strong>replacing</strong> other WordPress rules:' ), 603 603 '<code>web.config</code>', … … 641 641 echo '<li><p>'; 642 642 printf( 643 /* translators: 1: a filename like .htaccess . 2: a file path.*/643 /* translators: 1: a filename like .htaccess, 2: a file path */ 644 644 __( 'Add the following to your %1$s file in %2$s, <strong>replacing</strong> other WordPress rules:' ), 645 645 '<code>.htaccess</code>', -
trunk/src/wp-admin/includes/template.php
r42676 r42827 2203 2203 'convert_to_screen(), add_meta_box()', 2204 2204 sprintf( 2205 /* translators: 1: wp-admin/includes/template.php 2: add_meta_box()3: add_meta_boxes */2205 /* translators: 1: wp-admin/includes/template.php, 2: add_meta_box(), 3: add_meta_boxes */ 2206 2206 __( 'Likely direct inclusion of %1$s in order to use %2$s. This is very wrong. Hook the %2$s call into the %3$s action instead.' ), 2207 2207 '<code>wp-admin/includes/template.php</code>', … … 2286 2286 2287 2287 if ( $r['number'] ) { 2288 /* translators: 1: The rating, 2: The number of ratings */2288 /* translators: 1: the rating, 2: the number of ratings */ 2289 2289 $format = _n( '%1$s rating based on %2$s rating', '%1$s rating based on %2$s ratings', $r['number'] ); 2290 2290 $title = sprintf( $format, number_format_i18n( $rating, 1 ), number_format_i18n( $r['number'] ) ); 2291 2291 } else { 2292 /* translators: 1: The rating */2292 /* translators: %s: the rating */ 2293 2293 $title = sprintf( __( '%s rating' ), number_format_i18n( $rating, 1 ) ); 2294 2294 } -
trunk/src/wp-admin/includes/user.php
r42761 r42827 557 557 $roles = get_editable_roles(); 558 558 $role = $roles[ $_REQUEST['role'] ]; 559 /* translators: 1: Site name, 2: site URL, 3: role */559 /* translators: 1: site name, 2: site URL, 3: role */ 560 560 return sprintf( 561 561 __( -
trunk/src/wp-admin/maint/repair.php
r42343 r42827 66 66 echo '<h2 class="screen-reader-text">' . __( 'Check secret keys' ) . '</h2>'; 67 67 68 / / Translators: 1: wp-config.php; 2: Secret key service URL.68 /* translators: 1: wp-config.php, 2: secret key service URL */ 69 69 echo '<p>' . sprintf( __( 'While you are editing your %1$s file, take a moment to make sure you have all 8 keys and that they are unique. You can generate these using the <a href="%2$s">WordPress.org secret key service</a>.' ), '<code>wp-config.php</code>', 'https://api.wordpress.org/secret-key/1.1/salt/' ) . '</p>'; 70 70 } -
trunk/src/wp-admin/network/settings.php
r42606 r42827 208 208 if ( is_subdomain_install() ) { 209 209 echo '<p class="description">'; 210 /* translators: 1: NOBLOGREDIRECT 2: wp-config.php */210 /* translators: 1: NOBLOGREDIRECT, 2: wp-config.php */ 211 211 printf( 212 212 __( 'If registration is disabled, please set %1$s in %2$s to a URL you will redirect visitors to if they visit a non-existent site.' ), -
trunk/src/wp-admin/plugins.php
r42343 r42827 464 464 echo '<div id="message" class="error"><p>'; 465 465 printf( 466 /* translators: 1: plugin file 2: error message */466 /* translators: 1: plugin file, 2: error message */ 467 467 __( 'The plugin %1$s has been <strong>deactivated</strong> due to an error: %2$s' ), 468 468 '<code>' . esc_html( $plugin_file ) . '</code>', -
trunk/src/wp-admin/revision.php
r42795 r42827 89 89 $post_edit_link = get_edit_post_link(); 90 90 $post_title = '<a href="' . $post_edit_link . '">' . _draft_or_post_title() . '</a>'; 91 /* translators: 1: Post title */92 $h1 = sprintf( __( 'Compare Revisions of “% 1$s”' ), $post_title );91 /* translators: %s: post title */ 92 $h1 = sprintf( __( 'Compare Revisions of “%s”' ), $post_title ); 93 93 $return_to_post = '<a href="' . $post_edit_link . '">' . __( '← Return to editor' ) . '</a>'; 94 94 $title = __( 'Revisions' ); -
trunk/src/wp-admin/setup-config.php
r42672 r42827 60 60 wp_die( 61 61 '<p>' . sprintf( 62 /* translators: 1: wp-config.php 2: install.php */62 /* translators: 1: wp-config.php, 2: install.php */ 63 63 __( 'The file %1$s already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href="%2$s">installing now</a>.' ), 64 64 '<code>wp-config.php</code>', … … 72 72 wp_die( 73 73 '<p>' . sprintf( 74 /* translators: 1: wp-config.php 2: install.php */74 /* translators: 1: wp-config.php, 2: install.php */ 75 75 __( 'The file %1$s already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href="%2$s">installing now</a>.' ), 76 76 '<code>wp-config.php</code>', -
trunk/src/wp-admin/user-edit.php
r42688 r42827 676 676 <p class="description"> 677 677 <?php 678 /* translators: 1: User's display name.*/678 /* translators: %s: user's display name */ 679 679 printf( __( 'Log %s out of all locations.' ), $profileuser->display_name ); 680 680 ?> -
trunk/src/wp-includes/class-wp-customize-nav-menus.php
r42630 r42827 948 948 949 949 $data = array( 950 /* translators: %1$s is the post type name and %2$s is the error message.*/950 /* translators: 1: post type name, 2: error message */ 951 951 'message' => sprintf( __( '%1$s could not be created: %2$s' ), $singular_name, $error->get_error_message() ), 952 952 ); … … 982 982 <span class="screen-reader-text"> 983 983 <?php 984 /* translators: 1: Title of a menu item, 2: Type of a menu item */984 /* translators: 1: title of a menu item, 2: type of a menu item */ 985 985 printf( __( 'Add to menu: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.type_label }}' ); 986 986 ?> -
trunk/src/wp-includes/class-wp-http-curl.php
r42746 r42827 191 191 return new WP_Error( 192 192 'http_request_failed', sprintf( 193 /* translators: 1: fopen() 2: file name */193 /* translators: 1: fopen(), 2: file name */ 194 194 __( 'Could not open handle for %1$s to %2$s.' ), 195 195 'fopen()', -
trunk/src/wp-includes/class-wp-http-streams.php
r42746 r42827 251 251 return new WP_Error( 252 252 'http_request_failed', sprintf( 253 /* translators: 1: fopen() 2: file name */253 /* translators: 1: fopen(), 2: file name */ 254 254 __( 'Could not open handle for %1$s to %2$s.' ), 255 255 'fopen()', -
trunk/src/wp-includes/comment-template.php
r42815 r42827 1541 1541 1542 1542 if ( false === $more ) { 1543 /* translators: 1: Number of comments2: post title */1543 /* translators: 1: number of comments, 2: post title */ 1544 1544 $more = _n( '%1$s Comment<span class="screen-reader-text"> on %2$s</span>', '%1$s Comments<span class="screen-reader-text"> on %2$s</span>', $number ); 1545 1545 $more = sprintf( $more, number_format_i18n( $number ), $title ); … … 1630 1630 'respond_id' => 'respond', 1631 1631 'reply_text' => __( 'Reply' ), 1632 /* translators: Comment reply button text. 1: Comment author name */1632 /* translators: Comment reply button text. %s: Comment author name */ 1633 1633 'reply_to_text' => __( 'Reply to %s' ), 1634 1634 'login_text' => __( 'Log in to Reply' ), -
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php
r42343 r42827 135 135 <p class="link-to-original"> 136 136 <?php 137 /* translators: Nav menu item original title. 1: Original title */137 /* translators: Nav menu item original title. %s: Original title */ 138 138 printf( __( 'Original: %s' ), '<a class="original-link" href="{{ data.url }}">{{ data.original_title }}</a>' ); 139 139 ?> -
trunk/src/wp-includes/feed-atom-comments.php
r42343 r42827 31 31 <?php 32 32 if ( is_singular() ) { 33 /* translators: Comments feed title. 1: Post title */33 /* translators: Comments feed title. %s: Post title */ 34 34 printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() ); 35 35 } elseif ( is_search() ) { … … 37 37 printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); 38 38 } else { 39 /* translators: Comments feed title. 1: Site name */39 /* translators: Comments feed title. %s: Site name */ 40 40 printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() ); 41 41 } … … 88 88 printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() ); 89 89 } else { 90 /* translators: Comment author title. 1: Comment author name */90 /* translators: Comment author title. %s: Comment author name */ 91 91 printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() ); 92 92 } -
trunk/src/wp-includes/feed-rss2-comments.php
r42343 r42827 36 36 <?php 37 37 if ( is_singular() ) { 38 /* translators: Comments feed title. 1: Post title */38 /* translators: Comments feed title. %s: Post title */ 39 39 printf( ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() ); 40 40 } elseif ( is_search() ) { … … 42 42 printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); 43 43 } else { 44 /* translators: Comments feed title. 1: Site name */44 /* translators: Comments feed title. %s: Site name */ 45 45 printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() ); 46 46 } … … 91 91 printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() ); 92 92 } else { 93 /* translators: Comment author title. 1: Comment author name */93 /* translators: Comment author title. %s: Comment author name */ 94 94 printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() ); 95 95 } -
trunk/src/wp-includes/formatting.php
r42821 r42827 3559 3559 $mins = 1; 3560 3560 } 3561 /* translators: Time difference between two dates, in minutes (min=minute). 1: Number of minutes */3561 /* translators: Time difference between two dates, in minutes (min=minute). %s: Number of minutes */ 3562 3562 $since = sprintf( _n( '%s min', '%s mins', $mins ), $mins ); 3563 3563 } elseif ( $diff < DAY_IN_SECONDS && $diff >= HOUR_IN_SECONDS ) { … … 3566 3566 $hours = 1; 3567 3567 } 3568 /* translators: Time difference between two dates, in hours. 1: Number of hours */3568 /* translators: Time difference between two dates, in hours. %s: Number of hours */ 3569 3569 $since = sprintf( _n( '%s hour', '%s hours', $hours ), $hours ); 3570 3570 } elseif ( $diff < WEEK_IN_SECONDS && $diff >= DAY_IN_SECONDS ) { … … 3573 3573 $days = 1; 3574 3574 } 3575 /* translators: Time difference between two dates, in days. 1: Number of days */3575 /* translators: Time difference between two dates, in days. %s: Number of days */ 3576 3576 $since = sprintf( _n( '%s day', '%s days', $days ), $days ); 3577 3577 } elseif ( $diff < MONTH_IN_SECONDS && $diff >= WEEK_IN_SECONDS ) { … … 3580 3580 $weeks = 1; 3581 3581 } 3582 /* translators: Time difference between two dates, in weeks. 1: Number of weeks */3582 /* translators: Time difference between two dates, in weeks. %s: Number of weeks */ 3583 3583 $since = sprintf( _n( '%s week', '%s weeks', $weeks ), $weeks ); 3584 3584 } elseif ( $diff < YEAR_IN_SECONDS && $diff >= MONTH_IN_SECONDS ) { … … 3587 3587 $months = 1; 3588 3588 } 3589 /* translators: Time difference between two dates, in months. 1: Number of months */3589 /* translators: Time difference between two dates, in months. %s: Number of months */ 3590 3590 $since = sprintf( _n( '%s month', '%s months', $months ), $months ); 3591 3591 } elseif ( $diff >= YEAR_IN_SECONDS ) { … … 3594 3594 $years = 1; 3595 3595 } 3596 /* translators: Time difference between two dates, in years. 1: Number of years */3596 /* translators: Time difference between two dates, in years. %s: Number of years */ 3597 3597 $since = sprintf( _n( '%s year', '%s years', $years ), $years ); 3598 3598 } -
trunk/src/wp-includes/general-template.php
r42765 r42827 1491 1491 function get_the_archive_title() { 1492 1492 if ( is_category() ) { 1493 /* translators: Category archive title. 1: Category name */1493 /* translators: Category archive title. %s: Category name */ 1494 1494 $title = sprintf( __( 'Category: %s' ), single_cat_title( '', false ) ); 1495 1495 } elseif ( is_tag() ) { 1496 /* translators: Tag archive title. 1: Tag name */1496 /* translators: Tag archive title. %s: Tag name */ 1497 1497 $title = sprintf( __( 'Tag: %s' ), single_tag_title( '', false ) ); 1498 1498 } elseif ( is_author() ) { 1499 /* translators: Author archive title. 1: Author name */1499 /* translators: Author archive title. %s: Author name */ 1500 1500 $title = sprintf( __( 'Author: %s' ), '<span class="vcard">' . get_the_author() . '</span>' ); 1501 1501 } elseif ( is_year() ) { 1502 /* translators: Yearly archive title. 1: Year */1502 /* translators: Yearly archive title. %s: Year */ 1503 1503 $title = sprintf( __( 'Year: %s' ), get_the_date( _x( 'Y', 'yearly archives date format' ) ) ); 1504 1504 } elseif ( is_month() ) { 1505 /* translators: Monthly archive title. 1: Month name and year */1505 /* translators: Monthly archive title. %s: Month name and year */ 1506 1506 $title = sprintf( __( 'Month: %s' ), get_the_date( _x( 'F Y', 'monthly archives date format' ) ) ); 1507 1507 } elseif ( is_day() ) { 1508 /* translators: Daily archive title. 1: Date */1508 /* translators: Daily archive title. %s: Date */ 1509 1509 $title = sprintf( __( 'Day: %s' ), get_the_date( _x( 'F j, Y', 'daily archives date format' ) ) ); 1510 1510 } elseif ( is_tax( 'post_format' ) ) { … … 1529 1529 } 1530 1530 } elseif ( is_post_type_archive() ) { 1531 /* translators: Post type archive title. 1: Post type name */1531 /* translators: Post type archive title. %s: Post type name */ 1532 1532 $title = sprintf( __( 'Archives: %s' ), post_type_archive_title( '', false ) ); 1533 1533 } elseif ( is_tax() ) { … … 2141 2141 // any posts today? 2142 2142 $date_format = date( _x( 'F j, Y', 'daily archives date format' ), strtotime( "{$thisyear}-{$thismonth}-{$day}" ) ); 2143 /* translators: Post calendar label. 1: Date */2143 /* translators: Post calendar label. %s: Date */ 2144 2144 $label = sprintf( __( 'Posts published on %s' ), $date_format ); 2145 2145 $calendar_output .= sprintf( -
trunk/src/wp-includes/load.php
r42787 r42827 488 488 wp_load_translations_early(); 489 489 wp_die( 490 /* translators: 1: $table_prefix 2: wp-config.php */490 /* translators: 1: $table_prefix, 2: wp-config.php */ 491 491 sprintf( 492 492 __( '<strong>ERROR</strong>: %1$s in %2$s can only contain numbers, letters, and underscores.' ), -
trunk/src/wp-includes/ms-functions.php
r42678 r42827 2162 2162 2163 2163 if ( strlen( $upload['bits'] ) > ( KB_IN_BYTES * get_site_option( 'fileupload_maxk', 1500 ) ) ) { 2164 return sprintf( __( 'This file is too big. Files must be less than %d KB in size.' ) . '<br />', get_site_option( 'fileupload_maxk', 1500 ) ); 2164 /* translators: %s: maximum allowed file size in kilobytes */ 2165 return sprintf( __( 'This file is too big. Files must be less than %s KB in size.' ) . '<br />', get_site_option( 'fileupload_maxk', 1500 ) ); 2165 2166 } 2166 2167 -
trunk/src/wp-includes/pluggable.php
r42710 r42827 1524 1524 switch ( $comment->comment_type ) { 1525 1525 case 'trackback': 1526 /* translators: 1: Post title */1526 /* translators: %s: post title */ 1527 1527 $notify_message = sprintf( __( 'New trackback on your post "%s"' ), $post->post_title ) . "\r\n"; 1528 /* translators: 1: Trackback/pingback website name, 2: website IP address, 3: website hostname */1528 /* translators: 1: trackback/pingback website name, 2: website IP address, 3: website hostname */ 1529 1529 $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1530 /* translators: %s: trackback/pingback/comment author URL */ 1530 1531 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1532 /* translators: %s: comment text */ 1531 1533 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; 1532 1534 $notify_message .= __( 'You can see all trackbacks on this post here:' ) . "\r\n"; … … 1535 1537 break; 1536 1538 case 'pingback': 1537 /* translators: 1: Post title */1539 /* translators: %s: post title */ 1538 1540 $notify_message = sprintf( __( 'New pingback on your post "%s"' ), $post->post_title ) . "\r\n"; 1539 /* translators: 1: Trackback/pingback website name, 2: website IP address, 3: website hostname */1541 /* translators: 1: trackback/pingback website name, 2: website IP address, 3: website hostname */ 1540 1542 $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1543 /* translators: %s: trackback/pingback/comment author URL */ 1541 1544 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1545 /* translators: %s: comment text */ 1542 1546 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; 1543 1547 $notify_message .= __( 'You can see all pingbacks on this post here:' ) . "\r\n"; … … 1546 1550 break; 1547 1551 default: // Comments 1552 /* translators: %s: post title */ 1548 1553 $notify_message = sprintf( __( 'New comment on your post "%s"' ), $post->post_title ) . "\r\n"; 1549 1554 /* translators: 1: comment author, 2: comment author's IP address, 3: comment author's hostname */ 1550 1555 $notify_message .= sprintf( __( 'Author: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1556 /* translators: %s: comment author email */ 1551 1557 $notify_message .= sprintf( __( 'Email: %s' ), $comment->comment_author_email ) . "\r\n"; 1558 /* translators: %s: trackback/pingback/comment author URL */ 1552 1559 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1560 /* translators: %s: comment text */ 1553 1561 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; 1554 1562 $notify_message .= __( 'You can see all comments on this post here:' ) . "\r\n"; … … 1562 1570 if ( user_can( $post->post_author, 'edit_comment', $comment->comment_ID ) ) { 1563 1571 if ( EMPTY_TRASH_DAYS ) { 1572 /* translators: Comment moderation. %s: Comment action URL */ 1564 1573 $notify_message .= sprintf( __( 'Trash it: %s' ), admin_url( "comment.php?action=trash&c={$comment->comment_ID}#wpbody-content" ) ) . "\r\n"; 1565 1574 } else { 1575 /* translators: Comment moderation. %s: Comment action URL */ 1566 1576 $notify_message .= sprintf( __( 'Delete it: %s' ), admin_url( "comment.php?action=delete&c={$comment->comment_ID}#wpbody-content" ) ) . "\r\n"; 1567 1577 } 1578 /* translators: Comment moderation. %s: Comment action URL */ 1568 1579 $notify_message .= sprintf( __( 'Spam it: %s' ), admin_url( "comment.php?action=spam&c={$comment->comment_ID}#wpbody-content" ) ) . "\r\n"; 1569 1580 } … … 1688 1699 switch ( $comment->comment_type ) { 1689 1700 case 'trackback': 1690 /* translators: 1: Post title */1701 /* translators: %s: post title */ 1691 1702 $notify_message = sprintf( __( 'A new trackback on the post "%s" is waiting for your approval' ), $post->post_title ) . "\r\n"; 1692 1703 $notify_message .= get_permalink( $comment->comment_post_ID ) . "\r\n\r\n"; 1693 /* translators: 1: Trackback/pingback website name, 2: website IP address, 3: website hostname */1704 /* translators: 1: trackback/pingback website name, 2: website IP address, 3: website hostname */ 1694 1705 $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1695 /* translators: 1: Trackback/pingback/comment author URL */1706 /* translators: %s: trackback/pingback/comment author URL */ 1696 1707 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1697 1708 $notify_message .= __( 'Trackback excerpt: ' ) . "\r\n" . $comment_content . "\r\n\r\n"; 1698 1709 break; 1699 1710 case 'pingback': 1700 /* translators: 1: Post title */1711 /* translators: %s: post title */ 1701 1712 $notify_message = sprintf( __( 'A new pingback on the post "%s" is waiting for your approval' ), $post->post_title ) . "\r\n"; 1702 1713 $notify_message .= get_permalink( $comment->comment_post_ID ) . "\r\n\r\n"; 1703 /* translators: 1: Trackback/pingback website name, 2: website IP address, 3: website hostname */1714 /* translators: 1: trackback/pingback website name, 2: website IP address, 3: website hostname */ 1704 1715 $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1705 /* translators: 1: Trackback/pingback/comment author URL */1716 /* translators: %s: trackback/pingback/comment author URL */ 1706 1717 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1707 1718 $notify_message .= __( 'Pingback excerpt: ' ) . "\r\n" . $comment_content . "\r\n\r\n"; 1708 1719 break; 1709 1720 default: // Comments 1710 /* translators: 1: Post title */1721 /* translators: %s: post title */ 1711 1722 $notify_message = sprintf( __( 'A new comment on the post "%s" is waiting for your approval' ), $post->post_title ) . "\r\n"; 1712 1723 $notify_message .= get_permalink( $comment->comment_post_ID ) . "\r\n\r\n"; 1713 /* translators: 1: Comment author name, 2: comment author's IP address, 3: comment author's hostname */1724 /* translators: 1: comment author name, 2: comment author's IP address, 3: comment author's hostname */ 1714 1725 $notify_message .= sprintf( __( 'Author: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1715 /* translators: 1: Comment author URL*/1726 /* translators: %s: comment author email */ 1716 1727 $notify_message .= sprintf( __( 'Email: %s' ), $comment->comment_author_email ) . "\r\n"; 1717 /* translators: 1: Trackback/pingback/comment author URL */1728 /* translators: %s: trackback/pingback/comment author URL */ 1718 1729 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1719 /* translators: 1: Comment text */1730 /* translators: %s: comment text */ 1720 1731 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; 1721 1732 break; 1722 1733 } 1723 1734 1724 /* translators: Comment moderation. 1: Comment action URL */1735 /* translators: Comment moderation. %s: Comment action URL */ 1725 1736 $notify_message .= sprintf( __( 'Approve it: %s' ), admin_url( "comment.php?action=approve&c={$comment_id}#wpbody-content" ) ) . "\r\n"; 1726 1737 1727 1738 if ( EMPTY_TRASH_DAYS ) { 1728 /* translators: Comment moderation. 1: Comment action URL */1739 /* translators: Comment moderation. %s: Comment action URL */ 1729 1740 $notify_message .= sprintf( __( 'Trash it: %s' ), admin_url( "comment.php?action=trash&c={$comment_id}#wpbody-content" ) ) . "\r\n"; 1730 1741 } else { 1731 /* translators: Comment moderation. 1: Comment action URL */1742 /* translators: Comment moderation. %s: Comment action URL */ 1732 1743 $notify_message .= sprintf( __( 'Delete it: %s' ), admin_url( "comment.php?action=delete&c={$comment_id}#wpbody-content" ) ) . "\r\n"; 1733 1744 } 1734 1745 1735 /* translators: Comment moderation. 1: Comment action URL */1746 /* translators: Comment moderation. %s: Comment action URL */ 1736 1747 $notify_message .= sprintf( __( 'Spam it: %s' ), admin_url( "comment.php?action=spam&c={$comment_id}#wpbody-content" ) ) . "\r\n"; 1737 1748 1738 /* translators: Comment moderation. 1: Number of comments awaiting approval */1749 /* translators: Comment moderation. %s: Number of comments awaiting approval */ 1739 1750 $notify_message .= sprintf( 1740 1751 _n( -
trunk/src/wp-includes/taxonomy.php
r42755 r42827 2850 2850 $slug = wp_unique_term_slug( $slug, (object) $args ); 2851 2851 } else { 2852 /* translators: 1: Taxonomy term slug */2852 /* translators: %s: taxonomy term slug */ 2853 2853 return new WP_Error( 'duplicate_term_slug', sprintf( __( 'The slug “%s” is already in use by another term.' ), $slug ) ); 2854 2854 } -
trunk/src/wp-includes/theme.php
r42816 r42827 2538 2538 // Can be called in functions.php but must happen before wp_loaded, i.e. not in header.php. 2539 2539 if ( did_action( 'wp_loaded' ) ) { 2540 /* translators: 1: Theme support 2: hook name*/2540 /* translators: 1: title-tag, 2: wp_loaded */ 2541 2541 _doing_it_wrong( 2542 2542 "add_theme_support( 'title-tag' )", sprintf( -
trunk/src/wp-includes/update.php
r42653 r42827 666 666 $titles = array(); 667 667 if ( $counts['wordpress'] ) { 668 /* translators: 1: Number of updates available to WordPress */668 /* translators: %d: number of updates available to WordPress */ 669 669 $titles['wordpress'] = sprintf( __( '%d WordPress Update' ), $counts['wordpress'] ); 670 670 } 671 671 if ( $counts['plugins'] ) { 672 /* translators: 1: Number of updates available to plugins */672 /* translators: %d: number of updates available to plugins */ 673 673 $titles['plugins'] = sprintf( _n( '%d Plugin Update', '%d Plugin Updates', $counts['plugins'] ), $counts['plugins'] ); 674 674 } 675 675 if ( $counts['themes'] ) { 676 /* translators: 1: Number of updates available to themes */676 /* translators: %d: number of updates available to themes */ 677 677 $titles['themes'] = sprintf( _n( '%d Theme Update', '%d Theme Updates', $counts['themes'] ), $counts['themes'] ); 678 678 } -
trunk/src/wp-includes/user.php
r42791 r42827 1953 1953 $pass_change_email = array( 1954 1954 'to' => $user['user_email'], 1955 /* translators: User password change notification email subject. 1: Site name */1955 /* translators: User password change notification email subject. %s: Site name */ 1956 1956 'subject' => __( '[%s] Notice of Password Change' ), 1957 1957 'message' => $pass_change_text, … … 2010 2010 $email_change_email = array( 2011 2011 'to' => $user['user_email'], 2012 /* translators: User email change notification email subject. 1: Site name */2012 /* translators: User email change notification email subject. %s: Site name */ 2013 2013 'subject' => __( '[%s] Notice of Email Change' ), 2014 2014 'message' => $email_change_text, -
trunk/src/wp-includes/widgets/class-wp-widget-media-image.php
r42533 r42827 349 349 <p class="hidden" id="{{ describedById }}"> 350 350 <?php 351 /* translators: placeholder isimage filename */351 /* translators: %s: image filename */ 352 352 echo sprintf( __( 'Current image: %s' ), '{{ data.currentFilename }}' ); 353 353 ?> -
trunk/src/wp-includes/wp-db.php
r42789 r42827 1649 1649 1650 1650 $message .= '<p>' . sprintf( 1651 /* translators: 1: wp-config.php .2: database host */1651 /* translators: 1: wp-config.php, 2: database host */ 1652 1652 __( 'This either means that the username and password information in your %1$s file is incorrect or we can’t contact the database server at %2$s. This could mean your host’s database server is down.' ), 1653 1653 '<code>wp-config.php</code>', -
trunk/src/wp-links-opml.php
r42343 r42827 30 30 <title> 31 31 <?php 32 /* translators: 1: Site name */32 /* translators: %s: site name */ 33 33 printf( __( 'Links for %s' ), esc_attr( get_bloginfo( 'name', 'display' ) ) ); 34 34 ?> -
trunk/src/wp-login.php
r42791 r42827 955 955 } elseif ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) { 956 956 // If cookies are disabled we can't log in even with a valid user+pass 957 /* translators: 1: Browser cookie documentation URL */957 /* translators: %s: Browser cookie documentation URL */ 958 958 $user = new WP_Error( 959 959 'test_cookie', sprintf(
Note: See TracChangeset
for help on using the changeset viewer.