Changeset 41640 for trunk/src/wp-includes/class-wp-customize-widgets.php
- Timestamp:
- 09/29/2017 11:41:06 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-widgets.php
r41205 r41640 711 711 $some_non_rendered_areas_messages = array(); 712 712 $some_non_rendered_areas_messages[1] = html_entity_decode( 713 /* translators: placeholder is the number of other widget areas registered but not rendered */714 713 __( 'Your theme has 1 other widget area, but this particular page doesn’t display it.' ), 715 714 ENT_QUOTES, … … 719 718 for ( $non_rendered_count = 2; $non_rendered_count < $registered_sidebar_count; $non_rendered_count++ ) { 720 719 $some_non_rendered_areas_messages[ $non_rendered_count ] = html_entity_decode( sprintf( 721 /* translators: placeholder isthe number of other widget areas registered but not rendered */720 /* translators: %s: the number of other widget areas registered but not rendered */ 722 721 _n( 723 722 'Your theme has %s other widget area, but this particular page doesn’t display it.', … … 731 730 if ( 1 === $registered_sidebar_count ) { 732 731 $no_areas_shown_message = html_entity_decode( sprintf( 733 /* translators: placeholder is the total number of widget areas registered */734 732 __( 'Your theme has 1 widget area, but this particular page doesn’t display it.' ) 735 733 ), ENT_QUOTES, get_bloginfo( 'charset' ) ); 736 734 } else { 737 735 $no_areas_shown_message = html_entity_decode( sprintf( 738 /* translators: placeholder isthe total number of widget areas registered */736 /* translators: %s: the total number of widget areas registered */ 739 737 _n( 740 738 'Your theme has %s widget area, but this particular page doesn’t display it.', … … 764 762 'reorderModeOff' => __( 'Reorder mode closed' ), 765 763 'reorderLabelOn' => esc_attr__( 'Reorder widgets' ), 766 /* translators: placeholder is the count forthe number of widgets found */764 /* translators: %d: the number of widgets found */ 767 765 'widgetsFound' => __( 'Number of widgets found: %d' ), 768 766 'noWidgetsFound' => __( 'No widgets found.' ),
Note: See TracChangeset
for help on using the changeset viewer.