Make WordPress Core

Changeset 34298


Ignore:
Timestamp:
09/18/2015 06:38:54 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Add missing translator comments after [34293].

See #31851.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/schema.php

    r34293 r34298  
    10471047        if ( ! $vhost_ok ) {
    10481048            $msg = '<p><strong>' . __( 'Warning! Wildcard DNS may not be configured correctly!' ) . '</strong></p>';
     1049
    10491050            $msg .= '<p>' . sprintf(
     1051                /* translators: %s: host name */
    10501052                __( 'The installer attempted to contact a random hostname (%s) on your domain.' ),
    10511053                '<code>' . $hostname . '</code>'
    10521054            );
    1053             if ( ! empty ( $errstr ) )
     1055            if ( ! empty ( $errstr ) ) {
     1056                /* translators: %s: error message */
    10541057                $msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '<code>' . $errstr . '</code>' );
     1058            }
    10551059            $msg .= '</p>';
     1060
    10561061            $msg .= '<p>' . sprintf(
     1062                /* translators: %s: asterisk symbol (*) */
    10571063                __( 'To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a %s hostname record pointing at your web server in your DNS configuration tool.' ),
    10581064                '<code>*</code>'
    10591065            ) . '</p>';
     1066
    10601067            $msg .= '<p>' . __( 'You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message.' ) . '</p>';
     1068
    10611069            return new WP_Error( 'no_wildcard_dns', $msg );
    10621070        }
Note: See TracChangeset for help on using the changeset viewer.