Skip to content

Commit

Permalink
Add i18n support for template part variations' descriptions (#29612)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Mar 8, 2021
1 parent 7047eac commit a5d0ebc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/block-library/src/template-part/variations.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,19 @@ const variations = [
{
name: 'header',
title: __( 'Header' ),
description:
"The header template defines a page area that typically contains a title, logo, and main navigation. Since it's a global element it can be present across all pages and posts.",
description: __(
"The header template defines a page area that typically contains a title, logo, and main navigation. Since it's a global element it can be present across all pages and posts."
),
icon: header,
isActive: createIsActiveBasedOnArea( 'header' ),
scope: [],
},
{
name: 'footer',
title: __( 'Footer' ),
description:
"The footer template defines a page area that typically contains site credits, social links, or any other combination of blocks. Since it's a global element it can be present across all pages and posts.",
description: __(
"The footer template defines a page area that typically contains site credits, social links, or any other combination of blocks. Since it's a global element it can be present across all pages and posts."
),
icon: footer,
isActive: createIsActiveBasedOnArea( 'footer' ),
scope: [],
Expand Down

0 comments on commit a5d0ebc

Please sign in to comment.