import { __, sprintf } from '@wordpress/i18n'; import { countryPriceInfo } from '../../utils/countryPriceInfo'; import { CommonHooks } from '../../data'; const PricingDescription = () => { const { storeCountry } = CommonHooks.useWooSettings(); if ( ! countryPriceInfo[ storeCountry ] ) { return null; } const lastDate = 'October 25th, 2024'; // TODO -- needs to be the last plugin update date. const detailsUrl = 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input'; const label = sprintf( // translators: %1$s: Pricing date, %2$s Link to PayPal price-details page. __( 'Prices based on domestic transactions as of %1$s. Click here for full pricing details.', 'woocommerce-paypal-payments' ), lastDate, detailsUrl ); return (
1
); }; export default PricingDescription;