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-includes/theme-compat/sidebar.php

    r45926 r45932  
    88 */
    99_deprecated_file(
    10     /* translators: %s: template name */
     10    /* translators: %s: Template name. */
    1111    sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
    1212    '3.0.0',
    1313    null,
    14     /* translators: %s: template name */
     14    /* translators: %s: Template name. */
    1515    sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
    1616);
     
    4343                <?php
    4444                    printf(
    45                         /* translators: %s: category name */
     45                        /* translators: %s: Category name. */
    4646                        __( 'You are currently browsing the archives for the %s category.' ),
    4747                        single_cat_title( '', false )
     
    5454                <?php
    5555                    printf(
    56                         /* translators: 1: site link, 2: archive date */
     56                        /* translators: 1: Site link, 2: Archive date. */
    5757                        __( 'You are currently browsing the %1$s blog archives for the day %2$s.' ),
    5858                        sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ),
     
    6666                <?php
    6767                    printf(
    68                         /* translators: 1: site link, 2: archive month */
     68                        /* translators: 1: Site link, 2: Archive month. */
    6969                        __( 'You are currently browsing the %1$s blog archives for %2$s.' ),
    7070                        sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ),
     
    7878                <?php
    7979                    printf(
    80                         /* translators: 1: site link, 2: archive year */
     80                        /* translators: 1: Site link, 2: Archive year. */
    8181                        __( 'You are currently browsing the %1$s blog archives for the year %2$s.' ),
    8282                        sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ),
     
    9090                <?php
    9191                    printf(
    92                         /* translators: 1: site link, 2: search query */
     92                        /* translators: 1: Site link, 2: Search query. */
    9393                        __( 'You have searched the %1$s blog archives for <strong>&#8216;%2$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links.' ),
    9494                        sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ),
     
    102102                <?php
    103103                    printf(
    104                         /* translators: %s: site link */
     104                        /* translators: %s: Site link. */
    105105                        __( 'You are currently browsing the %s blog archives.' ),
    106106                        sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) )
Note: See TracChangeset for help on using the changeset viewer.