diff --git src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php
index ff7c70c2fa..94b34f2ab4 100644
|
|
if ( ! class_exists( 'TwentyTwenty_Customize' ) ) { |
122 | 122 | 'section' => 'colors', |
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 | ) |
129 | 129 | ); |
diff --git src/wp-content/themes/twentytwenty/functions.php src/wp-content/themes/twentytwenty/functions.php
index 5fe5f58e8a..7a7bf51264 100644
|
|
function twentytwenty_block_editor_settings() { |
491 | 491 | 'color' => twentytwenty_get_color_for_area( 'content', 'accent' ), |
492 | 492 | ), |
493 | 493 | array( |
494 | | 'name' => __( 'Primary', 'twentytwenty' ), |
| 494 | 'name' => _x( 'Primary', 'color', 'twentytwenty' ), |
495 | 495 | 'slug' => 'primary', |
496 | 496 | 'color' => twentytwenty_get_color_for_area( 'content', 'text' ), |
497 | 497 | ), |
498 | 498 | array( |
499 | | 'name' => __( 'Secondary', 'twentytwenty' ), |
| 499 | 'name' => _x( 'Secondary', 'color', 'twentytwenty' ), |
500 | 500 | 'slug' => 'secondary', |
501 | 501 | 'color' => twentytwenty_get_color_for_area( 'content', 'secondary' ), |
502 | 502 | ), |
diff --git src/wp-content/themes/twentytwenty/header.php src/wp-content/themes/twentytwenty/header.php
index 7095b4a8a9..dd63f33767 100644
|
|
|
50 | 50 | <span class="toggle-icon"> |
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 --> |
56 | 56 | |
… |
… |
|
85 | 85 | if ( has_nav_menu( 'primary' ) || ! has_nav_menu( 'expanded' ) ) { |
86 | 86 | ?> |
87 | 87 | |
88 | | <nav class="primary-menu-wrapper" aria-label="<?php esc_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"> |
91 | 91 | |
… |
… |
|
154 | 154 | <button class="toggle search-toggle desktop-search-toggle" data-toggle-target=".search-modal" data-toggle-body-class="showing-search-modal" data-set-focus=".search-modal .search-field" aria-expanded="false"> |
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 --> |
160 | 160 | |
diff --git src/wp-content/themes/twentytwenty/template-parts/modal-menu.php src/wp-content/themes/twentytwenty/template-parts/modal-menu.php
index f1d86e3822..5702c4fa8b 100644
|
|
|
45 | 45 | |
46 | 46 | ?> |
47 | 47 | |
48 | | <nav class="expanded-menu<?php echo esc_attr( $expanded_nav_classes ); ?>" aria-label="<?php esc_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"> |
51 | 51 | <?php |
… |
… |
|
70 | 70 | if ( 'expanded' !== $mobile_menu_location ) { |
71 | 71 | ?> |
72 | 72 | |
73 | | <nav class="mobile-menu" aria-label="<?php esc_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"> |
76 | 76 | |