Skip to content

Commit

Permalink
Rename "Modes" to "Tools" in the header.
Browse files Browse the repository at this point in the history
Also rewords the description a bit for more clarity.
  • Loading branch information
mtias committed May 3, 2021
1 parent ab2a61a commit b5d39e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/block-editor/src/components/tool-selector/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ function ToolSelector( props, ref ) {
aria-haspopup="true"
onClick={ onToggle }
/* translators: button label text should, if possible, be under 16 characters. */
label={ __( 'Modes' ) }
label={ __( 'Tools' ) }
/>
) }
position="bottom right"
renderContent={ () => (
<>
<NavigableMenu role="menu" aria-label={ __( 'Modes' ) }>
<NavigableMenu role="menu" aria-label={ __( 'Tools' ) }>
<MenuItemsChoice
value={ isNavigationTool ? 'select' : 'edit' }
onSelect={ onSwitchMode }
Expand Down Expand Up @@ -86,7 +86,7 @@ function ToolSelector( props, ref ) {
</NavigableMenu>
<div className="block-editor-tool-selector__help">
{ __(
'Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.'
'Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.'
) }
</div>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ characters. */
>
{ () => (
<div className="edit-post-header__dropdown">
<MenuGroup label={ __( 'Modes' ) }>
<MenuGroup label={ __( 'Tools' ) }>
<MenuItemsChoice
value={
isNavigationTool ? 'select' : 'edit'
Expand Down

0 comments on commit b5d39e8

Please sign in to comment.