Changeset 48861
- Timestamp:
- 08/26/2020 01:33:45 AM (4 years ago)
- Location:
- trunk/src/wp-content/themes/twentytwenty
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php
r48782 r48861 123 123 'label' => __( 'Primary Color', 'twentytwenty' ), 124 124 'choices' => array( 125 'default' => _ _( 'Default', 'twentytwenty' ),126 'custom' => _ _( 'Custom', 'twentytwenty' ),125 'default' => _x( 'Default', 'color', 'twentytwenty' ), 126 'custom' => _x( 'Custom', 'color', 'twentytwenty' ), 127 127 ), 128 128 ) -
trunk/src/wp-content/themes/twentytwenty/functions.php
r48102 r48861 487 487 ), 488 488 array( 489 'name' => _ _( 'Primary', 'twentytwenty' ),489 'name' => _x( 'Primary', 'color', 'twentytwenty' ), 490 490 'slug' => 'primary', 491 491 'color' => twentytwenty_get_color_for_area( 'content', 'text' ), 492 492 ), 493 493 array( 494 'name' => _ _( 'Secondary', 'twentytwenty' ),494 'name' => _x( 'Secondary', 'color', 'twentytwenty' ), 495 495 'slug' => 'secondary', 496 496 'color' => twentytwenty_get_color_for_area( 'content', 'secondary' ), -
trunk/src/wp-content/themes/twentytwenty/header.php
r46827 r48861 51 51 <?php twentytwenty_the_theme_svg( 'search' ); ?> 52 52 </span> 53 <span class="toggle-text"><?php _e ( 'Search', 'twentytwenty' ); ?></span>53 <span class="toggle-text"><?php _ex( 'Search', 'toggle text', 'twentytwenty' ); ?></span> 54 54 </span> 55 55 </button><!-- .search-toggle --> … … 86 86 ?> 87 87 88 <nav class="primary-menu-wrapper" aria-label="<?php e sc_attr_e( 'Horizontal', 'twentytwenty' ); ?>" role="navigation">88 <nav class="primary-menu-wrapper" aria-label="<?php echo esc_attr_x( 'Horizontal', 'menu', 'twentytwenty' ); ?>" role="navigation"> 89 89 90 90 <ul class="primary-menu reset-list-style"> … … 155 155 <span class="toggle-inner"> 156 156 <?php twentytwenty_the_theme_svg( 'search' ); ?> 157 <span class="toggle-text"><?php _e ( 'Search', 'twentytwenty' ); ?></span>157 <span class="toggle-text"><?php _ex( 'Search', 'toggle text', 'twentytwenty' ); ?></span> 158 158 </span> 159 159 </button><!-- .search-toggle --> -
trunk/src/wp-content/themes/twentytwenty/template-parts/modal-menu.php
r46827 r48861 46 46 ?> 47 47 48 <nav class="expanded-menu<?php echo esc_attr( $expanded_nav_classes ); ?>" aria-label="<?php e sc_attr_e( 'Expanded', 'twentytwenty' ); ?>" role="navigation">48 <nav class="expanded-menu<?php echo esc_attr( $expanded_nav_classes ); ?>" aria-label="<?php echo esc_attr_x( 'Expanded', 'menu', 'twentytwenty' ); ?>" role="navigation"> 49 49 50 50 <ul class="modal-menu reset-list-style"> … … 71 71 ?> 72 72 73 <nav class="mobile-menu" aria-label="<?php e sc_attr_e( 'Mobile', 'twentytwenty' ); ?>" role="navigation">73 <nav class="mobile-menu" aria-label="<?php echo esc_attr_x( 'Mobile', 'menu', 'twentytwenty' ); ?>" role="navigation"> 74 74 75 75 <ul class="modal-menu reset-list-style">
Note: See TracChangeset
for help on using the changeset viewer.