wp/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    44 				<li class="customize-control assigned-menu-locations-title">
    44 				<li class="customize-control assigned-menu-locations-title">
    45 					<span class="customize-control-title">{{ wp.customize.Menus.data.l10n.locationsTitle }}</span>
    45 					<span class="customize-control-title">{{ wp.customize.Menus.data.l10n.locationsTitle }}</span>
    46 					<# if ( data.isCreating ) { #>
    46 					<# if ( data.isCreating ) { #>
    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 							<?php
    50 								<?php
    50 							printf(
    51 								printf(
    51 								/* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */
    52 									/* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */
    52 								_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' ),
    53 								__( 'https://wordpress.org/support/article/wordpress-widgets/' ),
    54 									__( 'https://wordpress.org/support/article/wordpress-widgets/' ),
    54 								' class="external-link" target="_blank"',
    55 									' class="external-link" target="_blank"',
    55 								sprintf(
    56 									sprintf(
    56 									'<span class="screen-reader-text"> %s</span>',
    57 										'<span class="screen-reader-text"> %s</span>',
    57 									/* translators: Accessibility text. */
    58 										/* translators: Accessibility text. */
    58 									__( '(opens in a new tab)' )
    59 										__( '(opens in a new tab)' )
    59 								)
    60 									)
    60 							);
    61 								);
    61 							?>
    62 								?>
       
    63 							</em>
       
    64 						</p>
    62 						</p>
    65 					<# } else { #>
    63 					<# } else { #>
    66 						<p><?php echo _x( 'Here&#8217;s where this menu appears. If you&#8217;d like to change that, pick another location.', 'menu locations' ); ?></p>
    64 						<p><?php echo _x( 'Here&#8217;s where this menu appears. If you&#8217;d like to change that, pick another location.', 'menu locations' ); ?></p>
    67 					<# } #>
    65 					<# } #>
    68 				</li>
    66 				</li>