Make WordPress Core

Changeset 57887


Ignore:
Timestamp:
03/27/2024 10:42:19 PM (7 months ago)
Author:
audrasjb
Message:

I18n: Add context to the "Patterns" translatable string for the related admin menu item.

This changeset put back the context parameter of the "Patterns" string which was previously removed to fix a translation issue without introducing a string change during WP 6.5 string freeze period.

Follow-up to [57864].

Props kebbet, narenin, nestea29950.
Fixes #60827.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/menu.php

    r57864 r57887  
    207207    $submenu['themes.php'][6] = array( _x( 'Editor', 'site editor menu item' ), 'edit_theme_options', 'site-editor.php' );
    208208} else {
    209     $submenu['themes.php'][6] = array( __( 'Patterns' ), 'edit_theme_options', 'edit.php?post_type=wp_block' );
     209    $submenu['themes.php'][6] = array( _x( 'Patterns', 'patterns menu item' ), 'edit_theme_options', 'edit.php?post_type=wp_block' );
    210210}
    211211
Note: See TracChangeset for help on using the changeset viewer.