Ticket #32327: error_strings.patch
File error_strings.patch, 1.1 KB (added by , 9 years ago) |
---|
-
src/wp-admin/link-parse-opml.php
77 77 if ( ! xml_parse( $xml_parser, $opml, true ) ) { 78 78 printf( 79 79 /* translators: 1: error message, 2: line number */ 80 __( 'XML Error: %1$s at line %2$s' ),80 __( 'XML error: %s at line %d' ), 81 81 xml_error_string( xml_get_error_code( $xml_parser ) ), 82 82 xml_get_current_line_number( $xml_parser ) 83 83 ); -
src/wp-admin/themes.php
149 149 $ct = wp_get_theme(); 150 150 151 151 if ( $ct->errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) { 152 echo '<div class="error"><p>' . sprintf( __( 'E RROR: %s' ), $ct->errors()->get_error_message() ) . '</p></div>';152 echo '<div class="error"><p>' . sprintf( __( 'Error: %s' ), $ct->errors()->get_error_message() ) . '</p></div>'; 153 153 } 154 154 155 155 /*