WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (6 weeks ago)
Author:
SergeyBiryukov
Message:

I18N: Capitalize translator comments consistently, add trailing punctuation.

Includes minor code layout fixes.

See #44360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/inc/back-compat.php

    r45604 r45932  
    3737 */
    3838function twentyseventeen_upgrade_notice() {
    39     /* translators: %s: The current WordPress version */
     39    /* translators: %s: The current WordPress version. */
    4040    $message = sprintf( __( 'Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentyseventeen' ), $GLOBALS['wp_version'] );
    4141    printf( '<div class="error"><p>%s</p></div>', $message );
     
    5151function twentyseventeen_customize() {
    5252    wp_die(
    53         /* translators: %s: The current WordPress version */
     53        /* translators: %s: The current WordPress version. */
    5454        sprintf( __( 'Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentyseventeen' ), $GLOBALS['wp_version'] ),
    5555        '',
     
    7070function twentyseventeen_preview() {
    7171    if ( isset( $_GET['preview'] ) ) {
    72         /* translators: %s: The current WordPress version */
     72        /* translators: %s: The current WordPress version. */
    7373        wp_die( sprintf( __( 'Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentyseventeen' ), $GLOBALS['wp_version'] ) );
    7474    }
Note: See TracChangeset for help on using the changeset viewer.