Skip to content

Commit

Permalink
Disambiguate "Import" button string. (#52907)
Browse files Browse the repository at this point in the history
* Disambiguate "Import" button string.

* Add _x to import

---------

Co-authored-by: Andrew Serong <14988353+andrewserong@users.noreply.github.com>
  • Loading branch information
2 people authored and tellthemachines committed Jul 25, 2023
1 parent 3ccb2ef commit 9bebf84
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* WordPress dependencies
*/
import { __, sprintf } from '@wordpress/i18n';
import { __, _x, sprintf } from '@wordpress/i18n';
import { useMemo, useState } from '@wordpress/element';
import { useDispatch, useSelect, useRegistry } from '@wordpress/data';
import {
Expand Down Expand Up @@ -163,7 +163,7 @@ export function TemplatePartImportControls( { area, setAttributes } ) {
isBusy={ isBusy }
aria-disabled={ isBusy || ! selectedSidebar }
>
{ __( 'Import' ) }
{ _x( 'Import', 'button label' ) }
</Button>
</FlexItem>
</HStack>
Expand Down

0 comments on commit 9bebf84

Please sign in to comment.