The code which increments the $choice_count is not locale aware. It only works if trigger element value is in English and has not been string replaced.

  if (isset($form_state['triggering_element']['#value']) && $form_state['triggering_element']['#value'] == Add more items) {
    $choice_count += 3;
  }

Attached is a patch.

Comments

Status: Needs review » Needs work

The last submitted patch, merci_i18n.choice_count_locale.patch, failed testing.

darrick’s picture

Status: Needs work » Fixed

Thank you for the patch I committed it here: http://drupalcode.org/project/merci.git/commit/57ba5af

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.