Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix i18n issues in the block-compare component. #48161

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions packages/block-editor/src/components/block-compare/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ function BlockCompare( {
return (
<div className="block-editor-block-compare__wrapper">
<BlockView
title={ __( 'Current' ) }
title={
/* translators: Current block HTML before conversion, for comparisons. */
__( 'Current' )
}
className="block-editor-block-compare__current"
action={ onKeep }
actionText={ __( 'Convert to HTML' ) }
Expand All @@ -70,7 +73,7 @@ function BlockCompare( {
/>

<BlockView
title={ __( 'After Conversion' ) }
title={ __( 'After conversion' ) }
className="block-editor-block-compare__converted"
action={ onConvert }
actionText={ convertButtonText }
Expand Down