1 | Index: wp-includes/widgets.php |
---|
2 | =================================================================== |
---|
3 | --- wp-includes/widgets.php (revision 43342) |
---|
4 | +++ wp-includes/widgets.php (working copy) |
---|
5 | @@ -175,7 +175,9 @@ |
---|
6 | $_args = $args; |
---|
7 | |
---|
8 | if ( $number > 1 ) { |
---|
9 | - $_args['name'] = isset( $args['name'] ) ? sprintf( $args['name'], $i ) : sprintf( __( 'Sidebar %d' ), $i ); |
---|
10 | + $_args['name'] = isset( $args['name'] ) ? sprintf( $args['name'], $i ) : sprintf( |
---|
11 | + /* translators: %d: Sidebar Number */ |
---|
12 | + __( 'Sidebar %d' ), $i ); |
---|
13 | } else { |
---|
14 | $_args['name'] = isset( $args['name'] ) ? $args['name'] : __( 'Sidebar' ); |
---|
15 | } |
---|
16 | @@ -247,7 +249,9 @@ |
---|
17 | $id_is_empty = empty( $args['id'] ); |
---|
18 | |
---|
19 | $defaults = array( |
---|
20 | - 'name' => sprintf( __( 'Sidebar %d' ), $i ), |
---|
21 | + 'name' => sprintf( |
---|
22 | + /* translators: %d: Sidebar Number */ |
---|
23 | + __( 'Sidebar %d' ), $i ), |
---|
24 | 'id' => "sidebar-$i", |
---|
25 | 'description' => '', |
---|
26 | 'class' => '', |
---|