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
This commit is contained in:
parent
0890bf838e
commit
0599b2d13c
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user