WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/26/2015 08:55:34 PM (6 years ago)
Author:
ocean90
Message:

Improve newly added strings for i18n:

  • Use a placeholder for the theme name to be able to reorder words.
  • Uppercase D for "Theme Details" to match existing strings.
  • Merge two revision date formats.
  • Add translator comment to strings with placeholders.

props obenland.
see #31776.

File:
1 edited

Legend:

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

    r31850 r31905  
    805805
    806806    if ( empty( $args['id'] ) ) {
    807         _doing_it_wrong( __FUNCTION__, sprintf( __( 'You should set %s in the arguments array.' ), 'id' ), '4.2.0' );
     807        /* translators: %s: the id argument */
     808        _doing_it_wrong( __FUNCTION__, sprintf( __( 'You should set %s in the arguments array.' ), '<code>id</code>' ), '4.2.0' );
    808809    }
    809810
Note: See TracChangeset for help on using the changeset viewer.