Onboarding: Fix RTL translation in revenue ranges and translation notes (https://github.com/woocommerce/woocommerce-admin/pull/3059)
This commit is contained in:
parent
7b39e9f68c
commit
0c490d430f
|
@ -120,11 +120,14 @@ class BusinessDetails extends Component {
|
||||||
|
|
||||||
getNumberRangeString( min, max = false, format = numberFormat ) {
|
getNumberRangeString( min, max = false, format = numberFormat ) {
|
||||||
if ( ! max ) {
|
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(
|
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( min ),
|
||||||
format( max )
|
format( max )
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue