Skip to content

Commit

Permalink
Fix missing translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Copons committed Apr 15, 2020
1 parent 52f7eca commit 758bbcf
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions extensions/blocks/revue/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
TextControl,
} from '@wordpress/components';
import { useEffect, useState } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
import { __, _x } from '@wordpress/i18n';

/**
* Internal dependencies
Expand Down Expand Up @@ -164,7 +164,15 @@ export default function RevueEdit( { attributes, className, setAttributes } ) {
/>
) }
<InnerBlocks
template={ [ [ 'jetpack/button', { element: 'button', text: 'Subscribe' } ] ] }
template={ [
[
'jetpack/button',
{
element: 'button',
text: _x( 'Subscribe', 'verb: e.g. subscribe to a newsletter.', 'jetpack' ),
},
],
] }
templateLock="all"
/>
</>
Expand Down

0 comments on commit 758bbcf

Please sign in to comment.