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.

git-svn-id: https://develop.svn.wordpress.org/trunk@31905 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90)
2015-03-26 20:55:34 +00:00
parent dacd36bcaa
commit 4b3cc5c55e
6 changed files with 26 additions and 8 deletions

View File

@@ -804,7 +804,8 @@ function register_sidebar($args = array()) {
$i = count($wp_registered_sidebars) + 1;
if ( empty( $args['id'] ) ) {
_doing_it_wrong( __FUNCTION__, sprintf( __( 'You should set %s in the arguments array.' ), 'id' ), '4.2.0' );
/* translators: %s: the id argument */
_doing_it_wrong( __FUNCTION__, sprintf( __( 'You should set %s in the arguments array.' ), '<code>id</code>' ), '4.2.0' );
}
$defaults = array(