Remove "show" prefix from dashboard store performance toggles.
Also nix an unnecessary translation on chart toggles.
This commit is contained in:
parent
b6c34109f0
commit
c55bc5f22d
|
@ -84,7 +84,7 @@ class DashboardCharts extends Component {
|
|||
} );
|
||||
} }
|
||||
>
|
||||
{ __( `${ chart.label }`, 'woocommerce-admin' ) }
|
||||
{ chart.label }
|
||||
</MenuItem>
|
||||
);
|
||||
} ) }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
import { __, sprintf } from '@wordpress/i18n';
|
||||
import { __ } from '@wordpress/i18n';
|
||||
import { Component, Fragment } from '@wordpress/element';
|
||||
import { compose } from '@wordpress/compose';
|
||||
import { withDispatch } from '@wordpress/data';
|
||||
|
@ -74,7 +74,7 @@ class StorePerformance extends Component {
|
|||
} );
|
||||
} }
|
||||
>
|
||||
{ sprintf( __( 'Show %s', 'woocommerce-admin' ), indicator.label ) }
|
||||
{ indicator.label }
|
||||
</MenuItem>
|
||||
);
|
||||
} ) }
|
||||
|
|
Loading…
Reference in New Issue