WordPress.org

Make WordPress Core

Changeset 39311


Ignore:
Timestamp:
11/19/16 01:56:01 (4 months ago)
Author:
SergeyBiryukov
Message:

I18N: Merge two 'RSS Error:' strings.

Props ramiy.
Fixes #38861.

File:
1 edited

Legend:

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

    r37544 r39311  
    12341234    if ( is_wp_error($rss) ) { 
    12351235        if ( is_admin() || current_user_can('manage_options') ) 
    1236             echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), $rss->get_error_message() ) . '</p>'; 
     1236            echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>'; 
    12371237        return; 
    12381238    } 
     
    13431343 
    13441344    if ( ! empty( $args['error'] ) ) { 
    1345         echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), $args['error'] ) . '</strong></p>'; 
     1345        echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error'] . '</p>'; 
    13461346    } 
    13471347 
Note: See TracChangeset for help on using the changeset viewer.