We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ba7c24 commit d3ce65aCopy full SHA for d3ce65a
packages/edit-post/src/components/sidebar/template/actions.js
@@ -6,7 +6,7 @@ import { kebabCase } from 'lodash';
6
/**
7
* WordPress dependencies
8
*/
9
-import { __ } from '@wordpress/i18n';
+import { __, _x } from '@wordpress/i18n';
10
import {
11
Button,
12
Modal,
@@ -129,7 +129,10 @@ function PostTemplateActions() {
129
</Button>
130
) }
131
<Button variant="link" onClick={ () => setIsModalOpen( true ) }>
132
- { __( 'New' ) }
+ {
133
+ /* translators: button to create a new template */
134
+ _x( 'New', 'action' )
135
+ }
136
137
</div>
138
{ isModalOpen && (
0 commit comments