Fix for issue #785

Translatable widget area descriptions
This commit is contained in:
IanDelMar 2018-08-30 06:51:11 +02:00 committed by GitHub
parent 35eaec8dd9
commit 2f1228a812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ if ( ! function_exists( 'understrap_widgets_init' ) ) {
register_sidebar( array(
'name' => __( 'Right Sidebar', 'understrap' ),
'id' => 'right-sidebar',
'description' => 'Right sidebar widget area',
'description' => __( 'Right sidebar widget area', 'understrap' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
@ -64,7 +64,7 @@ if ( ! function_exists( 'understrap_widgets_init' ) ) {
register_sidebar( array(
'name' => __( 'Left Sidebar', 'understrap' ),
'id' => 'left-sidebar',
'description' => 'Left sidebar widget area',
'description' => __( 'Left sidebar widget area', 'understrap' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
@ -74,7 +74,7 @@ if ( ! function_exists( 'understrap_widgets_init' ) ) {
register_sidebar( array(
'name' => __( 'Hero Slider', 'understrap' ),
'id' => 'hero',
'description' => 'Hero slider area. Place two or more widgets here and they will slide!',
'description' => __( 'Hero slider area. Place two or more widgets here and they will slide!', 'understrap' ),
'before_widget' => '<div class="carousel-item">',
'after_widget' => '</div>',
'before_title' => '',
@ -84,7 +84,7 @@ if ( ! function_exists( 'understrap_widgets_init' ) ) {
register_sidebar( array(
'name' => __( 'Hero Canvas', 'understrap' ),
'id' => 'herocanvas',
'description' => 'Full size canvas hero area for Bootstrap and other custom HTML markup',
'description' => __( 'Full size canvas hero area for Bootstrap and other custom HTML markup', 'understrap' ),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
@ -94,7 +94,7 @@ if ( ! function_exists( 'understrap_widgets_init' ) ) {
register_sidebar( array(
'name' => __( 'Top Full', 'understrap' ),
'id' => 'statichero',
'description' => 'Full top widget with dynamic grid',
'description' => __( 'Full top widget with dynamic grid', 'understrap' ),
'before_widget' => '<div id="%1$s" class="static-hero-widget %2$s '. understrap_slbd_count_widgets( 'statichero' ) .'">',
'after_widget' => '</div><!-- .static-hero-widget -->',
'before_title' => '<h3 class="widget-title">',
@ -104,7 +104,7 @@ if ( ! function_exists( 'understrap_widgets_init' ) ) {
register_sidebar( array(
'name' => __( 'Footer Full', 'understrap' ),
'id' => 'footerfull',
'description' => 'Full sized footer widget with dynamic grid',
'description' => __( 'Full sized footer widget with dynamic grid', 'understrap' ),
'before_widget' => '<div id="%1$s" class="footer-widget %2$s '. understrap_slbd_count_widgets( 'footerfull' ) .'">',
'after_widget' => '</div><!-- .footer-widget -->',
'before_title' => '<h3 class="widget-title">',