diff --git a/blocks/api/categories.js b/blocks/api/categories.js index acf5fa57f3ed64..bb6e3576e92c70 100644 --- a/blocks/api/categories.js +++ b/blocks/api/categories.js @@ -1,3 +1,7 @@ +/** + * WordPress dependencies + */ +import { __ } from 'i18n'; /** * Block categories. @@ -8,8 +12,8 @@ * @var {Array} categories */ const categories = [ - { slug: 'common', title: 'Common Blocks' }, - { slug: 'layout', title: 'Layout Blocks' } + { slug: 'common', title: __( 'Common Blocks' ) }, + { slug: 'layout', title: __( 'Layout Blocks' ) } ]; /**