From 0599b2d13cb51932555deb4a850535eec0afd62d Mon Sep 17 00:00:00 2001 From: "David A. Kennedy" Date: Fri, 28 Oct 2016 23:43:54 +0000 Subject: [PATCH] Twenty Seventeen: Adds missing theme text domains to starter content * Also, changes the top menu label so it has better context when read alone by assistive technology. Props anilbasnet. Fixes #38542. git-svn-id: https://develop.svn.wordpress.org/trunk@39001 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/functions.php b/src/wp-content/themes/twentyseventeen/functions.php index 4090cbfad8..5a0c03cd5a 100644 --- a/src/wp-content/themes/twentyseventeen/functions.php +++ b/src/wp-content/themes/twentyseventeen/functions.php @@ -57,7 +57,7 @@ function twentyseventeen_setup() { // This theme uses wp_nav_menu() in two locations. register_nav_menus( array( - 'top' => __( 'Top', 'twentyseventeen' ), + 'top' => __( 'Top Menu', 'twentyseventeen' ), 'social' => __( 'Social Links Menu', 'twentyseventeen' ), ) ); @@ -143,7 +143,7 @@ function twentyseventeen_setup() { 'nav_menus' => array( 'top' => array( - 'name' => __( 'Top' ), + 'name' => __( 'Top', 'twentyseventeen' ), 'items' => array( 'page_home', 'page_about', @@ -152,7 +152,7 @@ function twentyseventeen_setup() { ), ), 'social' => array( - 'name' => __( 'Social' ), + 'name' => __( 'Social', 'twentyseventeen' ), 'items' => array( 'link_yelp', 'link_facebook',