diff --git a/extensions/blocks/contact-form/index.js b/extensions/blocks/contact-form/index.js index 865449657cabb..e2a90c89b9545 100644 --- a/extensions/blocks/contact-form/index.js +++ b/extensions/blocks/contact-form/index.js @@ -1,7 +1,7 @@ /** * External dependencies */ -import { __ } from '@wordpress/i18n'; +import { __, _x } from '@wordpress/i18n'; import { getBlockType, createBlock } from '@wordpress/blocks'; import { Path, Circle } from '@wordpress/components'; import { Fragment } from '@wordpress/element'; @@ -26,7 +26,11 @@ export const settings = { icon: renderMaterialIcon( ), - keywords: [ __( 'email', 'jetpack' ), __( 'feedback', 'jetpack' ), __( 'contact', 'jetpack' ) ], + keywords: [ + _x( 'email', 'block search term', 'jetpack' ), + _x( 'feedback', 'block search term', 'jetpack' ), + _x( 'contact', 'block search term', 'jetpack' ), + ], category: 'jetpack', supports: { reusable: false, diff --git a/extensions/blocks/gif/index.js b/extensions/blocks/gif/index.js index b3eda39895e10..54ed026c4d9d1 100644 --- a/extensions/blocks/gif/index.js +++ b/extensions/blocks/gif/index.js @@ -1,7 +1,7 @@ /** * External dependencies */ -import { __ } from '@wordpress/i18n'; +import { __, _x } from '@wordpress/i18n'; import { Path, SVG } from '@wordpress/components'; /** @@ -27,7 +27,11 @@ export const settings = { title, icon, category: 'jetpack', - keywords: [ __( 'animated', 'jetpack' ), __( 'giphy', 'jetpack' ), __( 'image', 'jetpack' ) ], + keywords: [ + _x( 'animated', 'block search term', 'jetpack' ), + _x( 'giphy', 'block search term', 'jetpack' ), + _x( 'image', 'block search term', 'jetpack' ), + ], description: __( 'Search for and insert an animated image.', 'jetpack' ), attributes: { align: { diff --git a/extensions/blocks/map/settings.js b/extensions/blocks/map/settings.js index f939f139067db..e8bc87d253c57 100644 --- a/extensions/blocks/map/settings.js +++ b/extensions/blocks/map/settings.js @@ -3,7 +3,7 @@ /** * External dependencies */ -import { __ } from '@wordpress/i18n'; +import { __, _x } from '@wordpress/i18n'; export const settings = { name: 'map', @@ -25,7 +25,11 @@ export const settings = { ), category: 'jetpack', - keywords: [ __( 'map', 'jetpack' ), __( 'location', 'jetpack' ) ], + keywords: [ + _x( 'map', 'block search term', 'jetpack' ), + _x( 'location', 'block search term', 'jetpack' ), + _x( 'navigation', 'block search term', 'jetpack' ), + ], description: __( 'Add an interactive map showing one or more locations.', 'jetpack' ), attributes: { align: { diff --git a/extensions/blocks/markdown/index.js b/extensions/blocks/markdown/index.js index dbce97110f097..ff5d3dc8c2ce9 100644 --- a/extensions/blocks/markdown/index.js +++ b/extensions/blocks/markdown/index.js @@ -1,7 +1,7 @@ /** * External dependencies */ -import { __ } from '@wordpress/i18n'; +import { __, _x } from '@wordpress/i18n'; import { ExternalLink, Path, Rect, SVG } from '@wordpress/components'; import { Fragment } from '@wordpress/element'; @@ -49,7 +49,11 @@ export const settings = { category: 'jetpack', - keywords: [ __( 'formatting', 'jetpack' ), __( 'syntax', 'jetpack' ), __( 'markup', 'jetpack' ) ], + keywords: [ + _x( 'formatting', 'block search term', 'jetpack' ), + _x( 'syntax', 'block search term', 'jetpack' ), + _x( 'markup', 'block search term', 'jetpack' ), + ], attributes: { //The Markdown source is saved in the block content comments delimiter diff --git a/extensions/blocks/slideshow/index.js b/extensions/blocks/slideshow/index.js index 8988a4f891f21..7a83283cd7970 100644 --- a/extensions/blocks/slideshow/index.js +++ b/extensions/blocks/slideshow/index.js @@ -1,7 +1,7 @@ /** * External dependencies */ -import { __ } from '@wordpress/i18n'; +import { __, _x } from '@wordpress/i18n'; import { Path, SVG } from '@wordpress/components'; /** @@ -71,7 +71,11 @@ export const name = 'slideshow'; export const settings = { title: __( 'Slideshow', 'jetpack' ), category: 'jetpack', - keywords: [ __( 'image', 'jetpack' ), __( 'gallery', 'jetpack' ), __( 'slider', 'jetpack' ) ], + keywords: [ + _x( 'image', 'block search term', 'jetpack' ), + _x( 'gallery', 'block search term', 'jetpack' ), + _x( 'slider', 'block search term', 'jetpack' ), + ], description: __( 'Add an interactive slideshow.', 'jetpack' ), attributes, supports: { diff --git a/extensions/blocks/subscriptions/index.js b/extensions/blocks/subscriptions/index.js index 0883994e9ef62..007b0d1ed2310 100644 --- a/extensions/blocks/subscriptions/index.js +++ b/extensions/blocks/subscriptions/index.js @@ -1,7 +1,7 @@ /** * External dependencies */ -import { __ } from '@wordpress/i18n'; +import { __, _x } from '@wordpress/i18n'; import { isEmpty } from 'lodash'; import { Path } from '@wordpress/components'; import { RawHTML } from '@wordpress/element'; @@ -30,7 +30,11 @@ export const settings = { ), category: 'jetpack', - keywords: [ __( 'subscribe', 'jetpack' ), __( 'join', 'jetpack' ), __( 'follow', 'jetpack' ) ], + keywords: [ + _x( 'subscribe', 'block search term', 'jetpack' ), + _x( 'join', 'block search term', 'jetpack' ), + _x( 'follow', 'block search term', 'jetpack' ), + ], attributes: { subscribePlaceholder: { type: 'string', default: __( 'Email Address', 'jetpack' ) },