Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (5 years 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-admin/network/themes.php

    r45926 r45932  
    138138                    foreach ( $theme_info as $theme ) {
    139139                        echo '<li>' . sprintf(
    140                             /* translators: 1: theme name, 2: theme author */
     140                            /* translators: 1: Theme name, 2: Theme author. */
    141141                            _x( '%1$s by %2$s', 'theme' ),
    142142                            '<strong>' . $theme->display( 'Name' ) . '</strong>',
     
    275275<?php
    276276if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    277     /* translators: %s: search keywords */
     277    /* translators: %s: Search query. */
    278278    printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $s ) );
    279279}
     
    288288        $message = __( 'Theme enabled.' );
    289289    } else {
    290         /* translators: %s: number of themes */
     290        /* translators: %s: Number of themes. */
    291291        $message = _n( '%s theme enabled.', '%s themes enabled.', $enabled );
    292292    }
     
    297297        $message = __( 'Theme disabled.' );
    298298    } else {
    299         /* translators: %s: number of themes */
     299        /* translators: %s: Number of themes. */
    300300        $message = _n( '%s theme disabled.', '%s themes disabled.', $disabled );
    301301    }
     
    306306        $message = __( 'Theme deleted.' );
    307307    } else {
    308         /* translators: %s: number of themes */
     308        /* translators: %s: Number of themes. */
    309309        $message = _n( '%s theme deleted.', '%s themes deleted.', $deleted );
    310310    }
Note: See TracChangeset for help on using the changeset viewer.