From ee38aaeb821148b8003d12e044030c533c37f846 Mon Sep 17 00:00:00 2001 From: Herb Miller Date: Tue, 31 Aug 2021 21:00:36 +0100 Subject: [PATCH] Internationalize Person block #47 --- src/oik-person/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/oik-person/index.js b/src/oik-person/index.js index a328a52..c42d0be 100644 --- a/src/oik-person/index.js +++ b/src/oik-person/index.js @@ -29,9 +29,9 @@ import { Fragment} from '@wordpress/element'; import { map, partial } from 'lodash'; var themeOptions = { - none: "Logos", - //dash: "Dashicons", - gener: "Genericons", + none: __("Logos", 'oik-blocks' ), + //dash: __("Dashicons", 'oik-blocks' ), + gener: __("Genericons", 'oik-blocks' ), }; themeOptions = map( themeOptions, ( key, label ) => ( { value: label, label: key } ) ); @@ -68,17 +68,17 @@ export default registerBlockType( - - + - @@ -105,4 +105,4 @@ export default registerBlockType( return null; }, }, -); +); \ No newline at end of file