1
- import { __ , sprintf } from '@wordpress/i18n' ;
1
+ import { __ } from '@wordpress/i18n' ;
2
2
3
3
import BadgeBox from '../../../ReusableComponents/BadgeBox' ;
4
4
import { Separator } from '../../../ReusableComponents/Elements' ;
@@ -24,14 +24,13 @@ const AcdcOptionalPaymentMethods = ( {
24
24
'icon-button-discover.svg' ,
25
25
] }
26
26
textBadge = { < PricingTitleBadge item = "ccf" /> }
27
- description = { sprintf (
28
- // translators: %s: Link to PayPal business fees guide
29
- __ (
30
- 'Style the credit card fields to match your own style. Includes advanced processing with risk management, 3D Secure, fraud protection options, and chargeback protection. <a target="_blank" href="%s">Learn more</a>' ,
31
- 'woocommerce-paypal-payments'
32
- ) ,
33
- 'https://www.paypal.com/us/business/paypal-business-fees'
27
+ description = { __ (
28
+ 'Style the credit card fields to match your own style. Includes advanced processing with risk management, 3D Secure, fraud protection options, and chargeback protection.' ,
29
+ 'woocommerce-paypal-payments'
34
30
) }
31
+ learnMoreLink = {
32
+ 'https://www.paypal.com/us/business/paypal-business-fees'
33
+ }
35
34
/>
36
35
< Separator className = "ppcp-r-optional-payment-methods__separator" />
37
36
< BadgeBox
@@ -44,14 +43,13 @@ const AcdcOptionalPaymentMethods = ( {
44
43
'icon-button-google-pay.svg' ,
45
44
] }
46
45
textBadge = { < PricingTitleBadge item = "dw" /> }
47
- description = { sprintf (
48
- // translators: %s: Link to PayPal business fees guide
49
- __ (
50
- 'Accept Apple Pay on eligible devices and Google Pay through mobile and web. <a target="_blank" href="%s">Learn more</a>' ,
51
- 'woocommerce-paypal-payments'
52
- ) ,
53
- 'https://www.paypal.com/us/business/paypal-business-fees'
46
+ description = { __ (
47
+ 'Accept Apple Pay on eligible devices and Google Pay through mobile and web.' ,
48
+ 'woocommerce-paypal-payments'
54
49
) }
50
+ learnMoreLink = {
51
+ 'https://www.paypal.com/us/business/paypal-business-fees'
52
+ }
55
53
/>
56
54
< Separator className = "ppcp-r-optional-payment-methods__separator" />
57
55
< BadgeBox
@@ -65,14 +63,13 @@ const AcdcOptionalPaymentMethods = ( {
65
63
'icon-button-bancontact.svg' ,
66
64
] }
67
65
textBadge = { < PricingTitleBadge item = "apm" /> }
68
- description = { sprintf (
69
- // translators: %s: Link to PayPal business fees guide
70
- __ (
71
- 'Seamless payments for customers across the globe using their preferred payment methods. <a target="_blank" href="%s">Learn more</a>' ,
72
- 'woocommerce-paypal-payments'
73
- ) ,
74
- 'https://www.paypal.com/us/business/paypal-business-fees'
66
+ description = { __ (
67
+ 'Seamless payments for customers across the globe using their preferred payment methods.' ,
68
+ 'woocommerce-paypal-payments'
75
69
) }
70
+ learnMoreLink = {
71
+ 'https://www.paypal.com/us/business/paypal-business-fees'
72
+ }
76
73
/>
77
74
< Separator className = "ppcp-r-optional-payment-methods__separator" />
78
75
< BadgeBox
@@ -81,14 +78,13 @@ const AcdcOptionalPaymentMethods = ( {
81
78
textBadge = {
82
79
< PricingTitleBadge item = "fast country currency=storeCurrency=storeCountrylane" />
83
80
}
84
- description = { sprintf (
85
- // translators: %s: Link to PayPal business fees guide
86
- __ (
87
- 'Speed up guest checkout with Fatslane. Link a customer\'s email address to their payment details. <a target="_blank" href="%s">Learn more</a>' ,
88
- 'woocommerce-paypal-payments'
89
- ) ,
90
- 'https://www.paypal.com/us/business/paypal-business-fees'
81
+ description = { __ (
82
+ "Speed up guest checkout with Fatslane. Link a customer's email address to their payment details." ,
83
+ 'woocommerce-paypal-payments'
91
84
) }
85
+ learnMoreLink = {
86
+ 'https://www.paypal.com/us/business/paypal-business-fees'
87
+ }
92
88
/>
93
89
</ div >
94
90
) ;
@@ -109,14 +105,13 @@ const AcdcOptionalPaymentMethods = ( {
109
105
'icon-button-discover.svg' ,
110
106
] }
111
107
textBadge = { < PricingTitleBadge item = "ccf" /> }
112
- description = { sprintf (
113
- // translators: %s: Link to PayPal business fees guide
114
- __ (
115
- 'Style the credit card fields to match your own style. Includes advanced processing with risk management, 3D Secure, fraud protection options, and chargeback protection. <a target="_blank" href="%s">Learn more</a>' ,
116
- 'woocommerce-paypal-payments'
117
- ) ,
118
- 'https://www.paypal.com/us/business/paypal-business-fees'
108
+ description = { __ (
109
+ 'Style the credit card fields to match your own style. Includes advanced processing with risk management, 3D Secure, fraud protection options, and chargeback protection.' ,
110
+ 'woocommerce-paypal-payments'
119
111
) }
112
+ learnMoreLink = {
113
+ 'https://www.paypal.com/us/business/paypal-business-fees'
114
+ }
120
115
/>
121
116
< Separator className = "ppcp-r-optional-payment-methods__separator" />
122
117
< BadgeBox
@@ -129,14 +124,13 @@ const AcdcOptionalPaymentMethods = ( {
129
124
'icon-button-google-pay.svg' ,
130
125
] }
131
126
textBadge = { < PricingTitleBadge item = "dw" /> }
132
- description = { sprintf (
133
- // translators: %s: Link to PayPal business fees guide
134
- __ (
135
- 'Accept Apple Pay on eligible devices and Google Pay through mobile and web. <a target="_blank" href="%s">Learn more</a>' ,
136
- 'woocommerce-paypal-payments'
137
- ) ,
138
- 'https://www.paypal.com/us/business/paypal-business-fees'
127
+ description = { __ (
128
+ 'Accept Apple Pay on eligible devices and Google Pay through mobile and web.' ,
129
+ 'woocommerce-paypal-payments'
139
130
) }
131
+ learnMoreLink = {
132
+ 'https://www.paypal.com/us/business/paypal-business-fees'
133
+ }
140
134
/>
141
135
< Separator className = "ppcp-r-optional-payment-methods__separator" />
142
136
< BadgeBox
@@ -151,14 +145,13 @@ const AcdcOptionalPaymentMethods = ( {
151
145
'icon-button-bancontact.svg' ,
152
146
] }
153
147
textBadge = { < PricingTitleBadge item = "apm" /> }
154
- description = { sprintf (
155
- // translators: %s: Link to PayPal business fees guide
156
- __ (
157
- 'Seamless payments for customers across the globe using their preferred payment methods. <a target="_blank" href="%s">Learn more</a>' ,
158
- 'woocommerce-paypal-payments'
159
- ) ,
160
- 'https://www.paypal.com/us/business/paypal-business-fees'
148
+ description = { __ (
149
+ 'Seamless payments for customers across the globe using their preferred payment methods.' ,
150
+ 'woocommerce-paypal-payments'
161
151
) }
152
+ learnMoreLink = {
153
+ 'https://www.paypal.com/us/business/paypal-business-fees'
154
+ }
162
155
/>
163
156
</ div >
164
157
) ;
@@ -178,14 +171,13 @@ const AcdcOptionalPaymentMethods = ( {
178
171
'icon-button-discover.svg' ,
179
172
] }
180
173
textBadge = { < PricingTitleBadge item = "ccf" /> }
181
- description = { sprintf (
182
- // translators: %s: Link to PayPal business fees guide
183
- __ (
184
- 'Style the credit card fields to match your own style. Includes advanced processing with risk management, 3D Secure, fraud protection options, and chargeback protection. <a target="_blank" href="%s">Learn more</a>' ,
185
- 'woocommerce-paypal-payments'
186
- ) ,
187
- 'https://www.paypal.com/us/business/paypal-business-fees'
174
+ description = { __ (
175
+ 'Style the credit card fields to match your own style. Includes advanced processing with risk management, 3D Secure, fraud protection options, and chargeback protection.' ,
176
+ 'woocommerce-paypal-payments'
188
177
) }
178
+ learnMoreLink = {
179
+ 'https://www.paypal.com/us/business/paypal-business-fees'
180
+ }
189
181
/>
190
182
< Separator className = "ppcp-r-optional-payment-methods__separator" />
191
183
< BadgeBox
@@ -195,14 +187,13 @@ const AcdcOptionalPaymentMethods = ( {
195
187
'icon-button-google-pay.svg' ,
196
188
] }
197
189
textBadge = { < PricingTitleBadge item = "dw" /> }
198
- description = { sprintf (
199
- // translators: %s: Link to PayPal business fees guide
200
- __ (
201
- 'Accept Apple Pay on eligible devices and Google Pay through mobile and web. <a target="_blank" href="%s">Learn more</a>' ,
202
- 'woocommerce-paypal-payments'
203
- ) ,
204
- 'https://www.paypal.com/us/business/paypal-business-fees'
190
+ description = { __ (
191
+ 'Accept Apple Pay on eligible devices and Google Pay through mobile and web.' ,
192
+ 'woocommerce-paypal-payments'
205
193
) }
194
+ learnMoreLink = {
195
+ 'https://www.paypal.com/us/business/paypal-business-fees'
196
+ }
206
197
/>
207
198
< Separator className = "ppcp-r-optional-payment-methods__separator" />
208
199
< BadgeBox
@@ -217,14 +208,13 @@ const AcdcOptionalPaymentMethods = ( {
217
208
'icon-button-bancontact.svg' ,
218
209
] }
219
210
textBadge = { < PricingTitleBadge item = "apm" /> }
220
- description = { sprintf (
221
- // translators: %s: Link to PayPal business fees guide
222
- __ (
223
- 'Seamless payments for customers across the globe using their preferred payment methods. <a target="_blank" href="%s">Learn more</a>' ,
224
- 'woocommerce-paypal-payments'
225
- ) ,
226
- 'https://www.paypal.com/us/business/paypal-business-fees'
211
+ description = { __ (
212
+ 'Seamless payments for customers across the globe using their preferred payment methods.' ,
213
+ 'woocommerce-paypal-payments'
227
214
) }
215
+ learnMoreLink = {
216
+ 'https://www.paypal.com/us/business/paypal-business-fees'
217
+ }
228
218
/>
229
219
</ div >
230
220
) ;
0 commit comments