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

change navigation block description #25531

Merged
merged 9 commits into from
Sep 23, 2020
20 changes: 10 additions & 10 deletions packages/block-library/src/navigation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@ const { name } = metadata;
export { metadata, name };

export const settings = {
title: __( 'Navigation' ),
title: __('Navigation'),
devfle marked this conversation as resolved.
Show resolved Hide resolved

icon,

description: __( 'Add a navigation block to your site.' ),
description: __('A collection of blocks that allow visitors to get around your site.'),
devfle marked this conversation as resolved.
Show resolved Hide resolved

keywords: [ __( 'menu' ), __( 'navigation' ), __( 'links' ) ],
keywords: [__('menu'), __('navigation'), __('links')],
devfle marked this conversation as resolved.
Show resolved Hide resolved

variations: [
{
name: 'horizontal',
isDefault: true,
title: __( 'Navigation (horizontal)' ),
description: __( 'Links shown in a row.' ),
title: __('Navigation (horizontal)'),
description: __('Links shown in a row.'),
devfle marked this conversation as resolved.
Show resolved Hide resolved
attributes: { orientation: 'horizontal' },
},
{
name: 'vertical',
title: __( 'Navigation (vertical)' ),
description: __( 'Links shown in a column.' ),
title: __('Navigation (vertical)'),
description: __('Links shown in a column.'),
devfle marked this conversation as resolved.
Show resolved Hide resolved
attributes: { orientation: 'vertical' },
},
],
Expand All @@ -47,23 +47,23 @@ export const settings = {
name: 'core/navigation-link',
attributes: {
// translators: 'Home' as in a website's home page.
label: __( 'Home' ),
label: __('Home'),
devfle marked this conversation as resolved.
Show resolved Hide resolved
url: 'https://make.wordpress.org/',
},
},
{
name: 'core/navigation-link',
attributes: {
// translators: 'About' as in a website's about page.
label: __( 'About' ),
label: __('About'),
devfle marked this conversation as resolved.
Show resolved Hide resolved
url: 'https://make.wordpress.org/',
},
},
{
name: 'core/navigation-link',
attributes: {
// translators: 'Contact' as in a website's contact page.
label: __( 'Contact' ),
label: __('Contact'),
devfle marked this conversation as resolved.
Show resolved Hide resolved
url: 'https://make.wordpress.org/',
},
},
Expand Down