mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
♻️ Remove footnote-number from translatable string
This commit is contained in:
parent
985f2f8e9f
commit
bdb53dfced
1 changed files with 7 additions and 5 deletions
|
@ -16,16 +16,18 @@ const PricingTitleBadge = ( { item } ) => {
|
||||||
const fixedFee = `${ infos.currencySymbol }${ infos.fixedFee }`;
|
const fixedFee = `${ infos.currencySymbol }${ infos.fixedFee }`;
|
||||||
|
|
||||||
const label = sprintf(
|
const label = sprintf(
|
||||||
__(
|
__( 'from %1$s%% + %2$s %3$s', 'woocommerce-paypal-payments' ),
|
||||||
'from %1$s%% + %2$s %2$s<sup>1</sup>',
|
|
||||||
'woocommerce-paypal-payments'
|
|
||||||
),
|
|
||||||
percentage,
|
percentage,
|
||||||
fixedFee,
|
fixedFee,
|
||||||
infos.currencySymbol
|
infos.currencySymbol
|
||||||
);
|
);
|
||||||
|
|
||||||
return <TitleBadge type={ TITLE_BADGE_INFO } text={ label } />;
|
return (
|
||||||
|
<TitleBadge
|
||||||
|
type={ TITLE_BADGE_INFO }
|
||||||
|
text={ `${ label }<sup>1</sup>` }
|
||||||
|
/>
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default PricingTitleBadge;
|
export default PricingTitleBadge;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue