47 <p> |
47 <p> |
48 <?php echo _x( 'Where do you want this menu to appear?', 'menu locations' ); ?> |
48 <?php echo _x( 'Where do you want this menu to appear?', 'menu locations' ); ?> |
49 <em class="new-menu-locations-widget-note"> |
49 <em class="new-menu-locations-widget-note"> |
50 <?php |
50 <?php |
51 printf( |
51 printf( |
52 /* translators: 1: Codex URL, 2: additional link attributes, 3: accessibility text */ |
52 /* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */ |
53 _x( '(If you plan to use a menu <a href="%1$s" %2$s>widget%3$s</a>, skip this step.)', 'menu locations' ), |
53 _x( '(If you plan to use a menu <a href="%1$s" %2$s>widget%3$s</a>, skip this step.)', 'menu locations' ), |
54 __( 'https://codex.wordpress.org/WordPress_Widgets' ), |
54 __( 'https://wordpress.org/support/article/wordpress-widgets/' ), |
55 ' class="external-link" target="_blank"', |
55 ' class="external-link" target="_blank"', |
56 sprintf( |
56 sprintf( |
57 '<span class="screen-reader-text"> %s</span>', |
57 '<span class="screen-reader-text"> %s</span>', |
58 /* translators: accessibility text */ |
58 /* translators: Accessibility text. */ |
59 __( '(opens in a new tab)' ) |
59 __( '(opens in a new tab)' ) |
60 ) |
60 ) |
61 ); |
61 ); |
62 ?> |
62 ?> |
63 </em> |
63 </em> |
75 <label for="{{ elementId }}"> |
75 <label for="{{ elementId }}"> |
76 <?php echo $description; ?> |
76 <?php echo $description; ?> |
77 <span class="theme-location-set"> |
77 <span class="theme-location-set"> |
78 <?php |
78 <?php |
79 printf( |
79 printf( |
80 /* translators: %s: menu name */ |
80 /* translators: %s: Menu name. */ |
81 _x( '(Current: %s)', 'menu location' ), |
81 _x( '(Current: %s)', 'menu location' ), |
82 '<span class="current-menu-location-name-' . esc_attr( $location ) . '"></span>' |
82 '<span class="current-menu-location-name-' . esc_attr( $location ) . '"></span>' |
83 ); |
83 ); |
84 ?> |
84 ?> |
85 </span> |
85 </span> |