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-signup.php

    r45927 r45932  
    134134        printf(
    135135            '<p>(<strong>%s</strong>) %s</p>',
    136             /* translators: %s: site address */
     136            /* translators: %s: Site address. */
    137137            sprintf( __( 'Your address will be %s.' ), $site ),
    138138            __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' )
     
    339339    $errors     = $filtered_results['errors'];
    340340
    341     /* translators: %s: Network's site name. */
     341    /* translators: %s: Network title. */
    342342    echo '<h2>' . sprintf( __( 'Get <em>another</em> %s site in seconds' ), get_network()->site_name ) . '</h2>';
    343343
     
    519519    <h2>
    520520    <?php
    521         /* translators: %s: site name */
     521        /* translators: %s: Site title. */
    522522        printf( __( 'The site %s is yours.' ), $site );
    523523    ?>
     
    526526        <?php
    527527        printf(
    528             /* translators: 1: link to new site, 2: login URL, 3: username */
     528            /* translators: 1: Link to new site, 2: Login URL, 3: Username. */
    529529            __( '%1$s is your new site. <a href="%2$s">Log in</a> as &#8220;%3$s&#8221; using your existing password.' ),
    530530            sprintf(
     
    593593    <h2>
    594594    <?php
    595         /* translators: %s: name of the network */
     595        /* translators: %s: Name of the network. */
    596596        printf( __( 'Get your own %s account in seconds' ), get_network()->site_name );
    597597    ?>
     
    666666    <h2>
    667667    <?php
    668     /* translators: %s: username */
     668    /* translators: %s: Username. */
    669669    printf( __( '%s is your new username' ), $user_name )
    670670    ?>
     
    673673    <p>
    674674    <?php
    675     /* translators: %s: email address */
     675    /* translators: %s: Email address. */
    676676    printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' );
    677677    ?>
     
    823823    <h2>
    824824    <?php
    825     /* translators: %s: site address */
     825    /* translators: %s: Site address. */
    826826    printf( __( 'Congratulations! Your new site, %s, is almost ready.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" )
    827827    ?>
     
    831831    <p>
    832832    <?php
    833     /* translators: %s: email address */
     833    /* translators: %s: Email address. */
    834834    printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' );
    835835    ?>
     
    844844            <li>
    845845            <?php
    846                 /* translators: %s: email address */
     846                /* translators: %s: Email address. */
    847847                printf( __( 'Have you entered your email correctly? You have entered %s, if it&#8217;s incorrect, you will not receive your email.' ), $user_email );
    848848            ?>
     
    923923    echo ' ';
    924924
    925     /* translators: %s: network settings URL */
     925    /* translators: %s: URL to Network Settings screen. */
    926926    printf( __( 'To change or disable registration go to your <a href="%s">Options page</a>.' ), esc_url( network_admin_url( 'settings.php' ) ) );
    927927    echo '</div>';
     
    935935} elseif ( 'blog' === $active_signup && ! is_user_logged_in() ) {
    936936    $login_url = wp_login_url( network_site_url( 'wp-signup.php' ) );
    937     /* translators: %s: login URL */
     937    /* translators: %s: Login URL. */
    938938    printf( __( 'You must first <a href="%s">log in</a>, and then you can create a new site.' ), $login_url );
    939939} else {
     
    984984                if ( 'blog' === $active_signup || 'all' === $active_signup ) {
    985985                    printf(
    986                         /* translators: %s: site address */
     986                        /* translators: %s: Site address. */
    987987                        '<p><em>' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '</em></p>',
    988988                        '<strong>' . $newblog . '</strong>'
     
    990990                } else {
    991991                    printf(
    992                         /* translators: %s: site address */
     992                        /* translators: %s: Site address. */
    993993                        '<p><em>' . __( 'The site you were looking for, %s, does not exist.' ) . '</em></p>',
    994994                        '<strong>' . $newblog . '</strong>'
Note: See TracChangeset for help on using the changeset viewer.