Skip to content

Commit

Permalink
Merge pull request #759 from WordPress/update/localize-categories
Browse files Browse the repository at this point in the history
Localize category labels
  • Loading branch information
aduth authored May 11, 2017
2 parents 2dd6dbf + c6a4201 commit b8bf441
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions blocks/api/categories.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* WordPress dependencies
*/
import { __ } from 'i18n';

/**
* Block categories.
Expand All @@ -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' ) }
];

/**
Expand Down

0 comments on commit b8bf441

Please sign in to comment.