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/themes.php

    r45926 r45932  
    172172            'search'            => __( 'Search Installed Themes' ),
    173173            'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis)
    174             /* translators: %d: number of themes */
     174            /* translators: %d: Number of themes. */
    175175            'themesFound'       => __( 'Number of Themes found: %d' ),
    176176            'noThemesFound'     => __( 'No themes found. Try a different search.' ),
     
    335335    <div class="theme-author">
    336336        <?php
    337         /* translators: %s: Theme author name */
     337        /* translators: %s: Theme author name. */
    338338        printf( __( 'By %s' ), $theme['author'] );
    339339        ?>
     
    344344            <h2 class="theme-name" id="<?php echo $aria_name; ?>">
    345345                <?php
    346                 /* translators: %s: Theme name */
     346                /* translators: %s: Theme name. */
    347347                printf( __( '<span>Active:</span> %s' ), $theme['name'] );
    348348                ?>
     
    359359        <?php } else { ?>
    360360            <?php
    361             /* translators: %s: Theme name */
     361            /* translators: %s: Theme name. */
    362362            $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' );
    363363            ?>
     
    502502    <div class="theme-author">
    503503        <?php
    504         /* translators: %s: Theme author name */
     504        /* translators: %s: Theme author name. */
    505505        printf( __( 'By %s' ), '{{{ data.author }}}' );
    506506        ?>
     
    511511            <h2 class="theme-name" id="{{ data.id }}-name">
    512512                <?php
    513                 /* translators: %s: Theme name */
     513                /* translators: %s: Theme name. */
    514514                printf( __( '<span>Active:</span> %s' ), '{{{ data.name }}}' );
    515515                ?>
     
    526526            <# } else { #>
    527527                <?php
    528                 /* translators: %s: Theme name */
     528                /* translators: %s: Theme name. */
    529529                $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' );
    530530                ?>
     
    559559                <h2 class="theme-name">{{{ data.name }}}<span class="theme-version">
    560560                    <?php
    561                     /* translators: %s: Theme version */
     561                    /* translators: %s: Theme version. */
    562562                    printf( __( 'Version: %s' ), '{{ data.version }}' );
    563563                    ?>
     
    565565                <p class="theme-author">
    566566                    <?php
    567                     /* translators: %s: Theme author link */
     567                    /* translators: %s: Theme author link. */
    568568                    printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' );
    569569                    ?>
     
    581581                    <p class="parent-theme">
    582582                        <?php
    583                         /* translators: %s: Theme name */
     583                        /* translators: %s: Theme name. */
    584584                        printf( __( 'This is a child theme of %s.' ), '<strong>{{{ data.parent }}}</strong>' );
    585585                        ?>
     
    600600            <div class="inactive-theme">
    601601                <?php
    602                 /* translators: %s: Theme name */
     602                /* translators: %s: Theme name. */
    603603                $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' );
    604604                ?>
Note: See TracChangeset for help on using the changeset viewer.