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/theme-install.php

    r45926 r45932  
    5959            'back'                => __( 'Back' ),
    6060            'error'               => sprintf(
    61                 /* translators: %s: support forums URL */
     61                /* translators: %s: Support forums URL. */
    6262                __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
    6363                __( 'https://wordpress.org/support/forums/' )
    6464            ),
    6565            'tryAgain'            => __( 'Try Again' ),
    66             /* translators: %d: number of themes */
     66            /* translators: %d: Number of themes. */
    6767            'themesFound'         => __( 'Number of Themes found: %d' ),
    6868            'noThemesFound'       => __( 'No themes found. Try a different search.' ),
    6969            'collapseSidebar'     => __( 'Collapse Sidebar' ),
    7070            'expandSidebar'       => __( 'Expand Sidebar' ),
    71             /* translators: accessibility text */
     71            /* translators: Accessibility text. */
    7272            'selectFeatureFilter' => __( 'Select one or more Theme features to filter by' ),
    7373        ),
     
    9494$help_overview =
    9595    '<p>' . sprintf(
    96         /* translators: %s: Theme Directory URL */
     96        /* translators: %s: Theme Directory URL. */
    9797        __( 'You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s">WordPress Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.' ),
    9898        __( 'https://wordpress.org/themes/' )
     
    271271    <div class="theme-author">
    272272        <?php
    273         /* translators: %s: Theme author name */
     273        /* translators: %s: Theme author name. */
    274274        printf( __( 'By %s' ), '{{ data.author }}' );
    275275        ?>
     
    282282            <# if ( data.installed ) { #>
    283283                <?php
    284                 /* translators: %s: Theme name */
     284                /* translators: %s: Theme name. */
    285285                $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' );
    286286                ?>
     
    295295            <# } else { #>
    296296                <?php
    297                 /* translators: %s: Theme name */
     297                /* translators: %s: Theme name. */
    298298                $aria_label = sprintf( __( 'Install %s' ), '{{ data.name }}' );
    299299                ?>
     
    326326                    <span class="theme-by">
    327327                        <?php
    328                         /* translators: %s: Theme author name */
     328                        /* translators: %s: Theme author name. */
    329329                        printf( __( 'By %s' ), '{{ data.author }}' );
    330330                        ?>
     
    339339                                <a class="num-ratings" href="{{ data.reviews_url }}">
    340340                                    <?php
    341                                     /* translators: %s: number of ratings */
     341                                    /* translators: %s: Number of ratings. */
    342342                                    echo sprintf( __( '(%s ratings)' ), '{{ data.num_ratings }}' );
    343343                                    ?>
     
    349349                        <div class="theme-version">
    350350                            <?php
    351                             /* translators: %s: Theme version */
     351                            /* translators: %s: Theme version. */
    352352                            printf( __( 'Version: %s' ), '{{ data.version }}' );
    353353                            ?>
Note: See TracChangeset for help on using the changeset viewer.