Skip to content

Commit

Permalink
Change tooltips to use text
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Mar 13, 2019
1 parent 349e25e commit c013263
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/block-editor/src/components/rich-text/list-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

import { Toolbar } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import { __, _x } from '@wordpress/i18n';
import { Fragment } from '@wordpress/element';
import {
indentListItems,
Expand Down Expand Up @@ -149,15 +149,15 @@ export const ListEdit = ( {
{
icon: 'editor-outdent',
title: __( 'Outdent list item' ),
shortcut: '⌫',
shortcut: _x( 'Backspace', 'keyboard key' ),
onClick: () => {
onChange( outdentListItems( value ) );
},
},
{
icon: 'editor-indent',
title: __( 'Indent list item' ),
shortcut: '␣',
shortcut: _x( 'Space', 'keyboard key' ),
onClick: () => {
onChange( indentListItems( value, { type: tagName } ) );
},
Expand Down

0 comments on commit c013263

Please sign in to comment.