Skip to content

Commit

Permalink
Social Links: Consistently rebrand as Social Icons
Browse files Browse the repository at this point in the history
Since #19887, `core/social-link` was already titled "Social Icon". This
PR does the same to parent `core/social-links`.
  • Loading branch information
mcsf committed Feb 10, 2020
1 parent a57c555 commit 3714158
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/block-library/src/social-links/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { __, _x } from '@wordpress/i18n';

/**
* Internal dependencies
Expand All @@ -15,10 +15,11 @@ const { name } = metadata;
export { metadata, name };

export const settings = {
title: __( 'Social links' ),
title: __( 'Social Icons' ),
description: __(
'Create a block of links to your social media or external sites'
),
keywords: [ _x( 'links', 'block keywords' ) ],
supports: {
align: [ 'left', 'center', 'right' ],
},
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/fixtures/block-transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ export const EXPECTED_TRANSFORMS = {
originalBlock: 'YouTube',
},
'core__social-links': {
originalBlock: 'Social links',
originalBlock: 'Social Icons',
availableTransforms: [ 'Group' ],
},
core__spacer: {
Expand Down

0 comments on commit 3714158

Please sign in to comment.