Onboarding: Fix RTL translation in revenue ranges and translation notes (https://github.com/woocommerce/woocommerce-admin/pull/3059)

This commit is contained in:
Joshua T Flowers 2019-10-21 08:48:30 +08:00 committed by GitHub
parent 7b39e9f68c
commit 0c490d430f
1 changed files with 5 additions and 2 deletions

View File

@ -120,11 +120,14 @@ class BusinessDetails extends Component {
getNumberRangeString( min, max = false, format = numberFormat ) {
if ( ! max ) {
return sprintf( _x( '%s+', 'store product count', 'woocommerce-admin' ), format( min ) );
return sprintf(
_x( '%s+', 'store product count or revenue', 'woocommerce-admin' ),
format( min )
);
}
return sprintf(
_x( '%s - %s', 'store product count', 'woocommerce-admin' ),
_x( '%1$s - %2$s', 'store product count or revenue range', 'woocommerce-admin' ),
format( min ),
format( max )
);