Skip to content

Commit

Permalink
Social Links: Consistently rebrand as Social Icons (#20101)
Browse files Browse the repository at this point in the history
* Social Links: Consistently rebrand as Social Icons

Since #19887, `core/social-link` was already titled "Social Icon". This
PR does the same to parent `core/social-links`.

* Update packages/block-library/src/social-links/index.js

Co-Authored-By: Grzegorz (Greg) Ziółkowski <[email protected]>

* Update index.js

Co-authored-by: Grzegorz (Greg) Ziółkowski <[email protected]>
  • Loading branch information
mcsf and gziolo authored Feb 10, 2020
1 parent 000da75 commit 6094fcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 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'
'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 6094fcd

Please sign in to comment.