Ticket #41974: 41974.diff
File 41974.diff, 2.4 KB (added by , 8 years ago) |
---|
-
src/wp-includes/class-wp-customize-manager.php
2356 2356 if ( $update_transactionally && $invalid_setting_count > 0 ) { 2357 2357 $response = array( 2358 2358 'setting_validities' => $setting_validities, 2359 /* translators: placeholder isnumber of invalid settings */2359 /* translators: %s: number of invalid settings */ 2360 2360 'message' => sprintf( _n( 'Unable to save due to %s invalid setting.', 'Unable to save due to %s invalid settings.', $invalid_setting_count ), number_format_i18n( $invalid_setting_count ) ), 2361 2361 ); 2362 2362 return new WP_Error( 'transaction_fail', '', $response ); … … 4188 4188 if ( 'false' !== wp_get_current_user()->syntax_highlighting ) { 4189 4189 $section_description .= '<p>'; 4190 4190 $section_description .= sprintf( 4191 /* translators: placeholder islink to user profile */4191 /* translators: %s: link to user profile */ 4192 4192 __( 'The edit field automatically highlights code syntax. You can disable this in your %s to work in plain text mode.' ), 4193 4193 sprintf( 4194 4194 ' <a href="%1$s" class="external-link" target="_blank">%2$s<span class="screen-reader-text">%3$s</span></a>', -
src/wp-includes/widgets/class-wp-widget-custom-html.php
176 176 177 177 $l10n = array( 178 178 'errorNotice' => wp_array_slice_assoc( 179 /* translators: placeholder iserror count */179 /* translators: %d: error count */ 180 180 _n_noop( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.' ), 181 181 array( 'singular', 'plural' ) 182 182 ), … … 257 257 if ( 'false' !== wp_get_current_user()->syntax_highlighting ) { 258 258 $content .= '<p>'; 259 259 $content .= sprintf( 260 /* translators: placeholder islink to user profile */260 /* translators: %s: link to user profile */ 261 261 __( 'The edit field automatically highlights code syntax. You can disable this in your %s to work in plain text mode.' ), 262 262 sprintf( 263 263 ' <a href="%1$s" class="external-link" target="_blank">%2$s<span class="screen-reader-text">%3$s</span></a>',