mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +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 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue