♻️ Remove footnote-number from translatable string

This commit is contained in:
Philipp Stracker 2024-12-12 18:28:23 +01:00
parent 985f2f8e9f
commit bdb53dfced
No known key found for this signature in database

View file

@ -16,16 +16,18 @@ const PricingTitleBadge = ( { item } ) => {
const fixedFee = `${ infos.currencySymbol }${ infos.fixedFee }`;
const label = sprintf(
__(
'from %1$s%% + %2$s %2$s<sup>1</sup>',
'woocommerce-paypal-payments'
),
__( 'from %1$s%% + %2$s %3$s', 'woocommerce-paypal-payments' ),
percentage,
fixedFee,
infos.currencySymbol
);
return <TitleBadge type={ TITLE_BADGE_INFO } text={ label } />;
return (
<TitleBadge
type={ TITLE_BADGE_INFO }
text={ `${ label }<sup>1</sup>` }
/>
);
};
export default PricingTitleBadge;