Skip to content

Commit

Permalink
Add translators comments based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpayton committed Oct 25, 2018
1 parent 62cc8a6 commit 4593fb8
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ export class BlockInvalidWarning extends Component {
if ( compare ) {
return (
<Modal
title={ _x( 'Resolve Block', 'title for ways to fix an invalid block' ) }
title={
// translators: Dialog title to fix block content
__( 'Resolve Block' )
}
onRequestClose={ this.onCompareClose }
className="editor-block-compare"
>
Expand All @@ -64,7 +67,10 @@ export class BlockInvalidWarning extends Component {
<Warning
actions={ [
<Button key="convert" onClick={ this.onCompare } isLarge isPrimary={ ! hasHTMLBlock }>
{ _x( 'Resolve', 'imperative verb: show ways to fix an invalid block' ) }
{
// translators: Button to fix block content
_x( 'Resolve', 'imperative verb' )
}
</Button>,
hasHTMLBlock && (
<Button key="edit" onClick={ convertToHTML } isLarge isPrimary>
Expand Down

0 comments on commit 4593fb8

Please sign in to comment.