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/site-new.php

    r45926 r45932  
    5656            wp_die(
    5757                sprintf(
    58                     /* translators: %s: reserved names list */
     58                    /* translators: %s: Reserved names list. */
    5959                    __( 'The following words are reserved for use by WordPress functions and cannot be used as blog names: %s' ),
    6060                    '<code>' . implode( '</code>, <code>', $subdirectory_reserved_names ) . '</code>'
     
    148148            get_site_option( 'admin_email' ),
    149149            sprintf(
    150                 /* translators: New site notification email subject. %s: Network name */
     150                /* translators: New site notification email subject. %s: Network title. */
    151151                __( '[%s] New Site Created' ),
    152152                get_network()->site_name
    153153            ),
    154154            sprintf(
    155                 /* translators: New site notification email. 1: User login, 2: Site URL, 3: Site title */
     155                /* translators: New site notification email. 1: User login, 2: Site URL, 3: Site title. */
    156156                __(
    157157                    'New site created by %1$s
     
    190190    if ( 'added' == $_GET['update'] ) {
    191191        $messages[] = sprintf(
    192             /* translators: 1: dashboard url, 2: network admin edit url */
     192            /* translators: 1: Dashboard URL, 2: Network admin edit URL. */
    193193            __( 'Site added. <a href="%1$s">Visit Dashboard</a> or <a href="%2$s">Edit Site</a>' ),
    194194            esc_url( get_admin_url( absint( $_GET['id'] ) ) ),
     
    219219<?php
    220220printf(
    221     /* translators: %s: asterisk to mark required form fields. */
     221    /* translators: %s: Asterisk symbol (*). */
    222222    __( 'Required fields are marked %s' ),
    223223    '<span class="required">*</span>'
Note: See TracChangeset for help on using the changeset viewer.