Make WordPress Core

Ticket #32327: error_strings.patch

File error_strings.patch, 1.1 KB (added by pavelevap, 9 years ago)
  • src/wp-admin/link-parse-opml.php

     
    7777if ( ! xml_parse( $xml_parser, $opml, true ) ) {
    7878        printf(
    7979                /* translators: 1: error message, 2: line number */
    80                 __( 'XML Error: %1$s at line %2$s' ),
     80                __( 'XML error: %s at line %d' ),
    8181                xml_error_string( xml_get_error_code( $xml_parser ) ),
    8282                xml_get_current_line_number( $xml_parser )
    8383        );
  • src/wp-admin/themes.php

     
    149149$ct = wp_get_theme();
    150150
    151151if ( $ct->errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) {
    152         echo '<div class="error"><p>' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '</p></div>';
     152        echo '<div class="error"><p>' . sprintf( __( 'Error: %s' ), $ct->errors()->get_error_message() ) . '</p></div>';
    153153}
    154154
    155155/*