Skip to content

Commit bb8be80

Browse files
authored
Add sprintf param for extra clarity
1 parent ffa36a6 commit bb8be80

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

woocommerce/payment-gateway/class-sv-wc-payment-gateway.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4162,12 +4162,13 @@ public function get_checkout_order_received_order_id() {
41624162
public function get_not_configured_error_message() {
41634163

41644164
return sprintf(
4165-
/* translators: %1$s - gateway name, %2$s - <a> tag, %3$s - </a> tag, %4$s - <a> tag */
4166-
__( 'Heads up! %1$s is not fully configured and cannot accept payments. Please %2$sreview the documentation%3$s and configure the %4$sgateway settings%3$s.', 'woocommerce-plugin-framework' ),
4165+
/* translators: %1$s - gateway name, %2$s - <a> tag, %3$s - </a> tag, %4$s - <a> tag, %5$s - </a> tag */
4166+
__( 'Heads up! %1$s is not fully configured and cannot accept payments. Please %2$sreview the documentation%3$s and configure the %4$sgateway settings%5$s.', 'woocommerce-plugin-framework' ),
41674167
$this->get_method_title(),
41684168
'<a href="' . $this->get_plugin()->get_documentation_url() . '" target="_blank">',
41694169
'</a>',
4170-
'<a href="' . $this->get_plugin()->get_settings_url( $this->get_id() ) . '">'
4170+
'<a href="' . $this->get_plugin()->get_settings_url( $this->get_id() ) . '">',
4171+
'</a>'
41714172
);
41724173
}
41734174

0 commit comments

Comments
 (0)