From 2f1228a812e6495498abac9380cf3daa3e61ccd1 Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Thu, 30 Aug 2018 06:51:11 +0200 Subject: [PATCH] Fix for issue #785 Translatable widget area descriptions --- inc/widgets.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inc/widgets.php b/inc/widgets.php index bf63ac2..88ffb91 100644 --- a/inc/widgets.php +++ b/inc/widgets.php @@ -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' => '', 'before_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' => '', 'before_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' => '', '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' => '
', 'after_widget' => '
', 'before_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' => '', 'before_title' => '

',