diff --git a/gp-limit-choices/gplc-spots-left.php b/gp-limit-choices/gplc-spots-left.php index 09d4f1de0..7a68275ed 100644 --- a/gp-limit-choices/gplc-spots-left.php +++ b/gp-limit-choices/gplc-spots-left.php @@ -15,7 +15,7 @@ function my_add_how_many_left_message( $choice, $exceeded_limit, $field, $form, $how_many_left = max( $limit - $count, 0 ); // translators: placeholder is number of remaining spots left - $message = sprintf( _n( '(%s spot left)', '(%s spots left)', $count, 'gp-limit-choices' ), number_format_i18n( $how_many_left ) ); + $message = sprintf( _n( '(%s spot left)', '(%s spots left)', $how_many_left, 'gp-limit-choices' ), number_format_i18n( $how_many_left ) ); $choice['text'] = $choice['text'] . " $message";