Skip to content

Commit

Permalink
Make table of contents label in placeholder translatable (#46788)
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Dec 27, 2022
1 parent c3e52c7 commit 71883f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/table-of-contents/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export default function TableOfContentsEdit( {
<div { ...blockProps }>
<Placeholder
icon={ <BlockIcon icon={ icon } /> }
label="Table of Contents"
label={ __( 'Table of Contents' ) }
instructions={ __(
'Start adding Heading blocks to create a table of contents. Headings with HTML anchors will be linked here.'
) }
Expand Down

1 comment on commit 71883f4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3786485559
📝 Reported issues:

Please sign in to comment.