Translation error

Issue #1104 resolved
Valentina R created an issue

The translation in file \woocommerce-appointments\includes\admin\class-wc-appointments-admin-report-dashboard.php on lines 52 and 60 should be adjusted.

From this:

printf( wp_kses_post( _n( '<strong>%s appointment</strong> new this month', '<strong>%s appointments</strong> new this month', 'woocommerce-appointments' ) ), esc_html( $new_appointments ) );

To this:

printf( wp_kses_post( _n( '<strong>%s appointment</strong> new this month', '<strong>%s appointments</strong> new this month', $new_appointments, 'woocommerce-appointments' ) ), esc_html( $new_appointments ) );

Throwing a fatal error on for one customer, cannot reproduce myself.

Comments (1)

  1. Log in to comment