Commit 4e1b8026 authored by catch's avatar catch
Browse files

Issue #3337356 by Lugir: Change Date widgets' Time increments options to plural forms

parent d6ad1ec9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -116,10 +116,10 @@ public function settingsForm(array $form, FormStateInterface $form_state) {
        '#default_value' => $this->getSetting('increment'),
        '#options' => [
          1 => $this->t('1 minute'),
          5 => $this->t('5 minute'),
          10 => $this->t('10 minute'),
          15 => $this->t('15 minute'),
          30 => $this->t('30 minute'),
          5 => $this->t('5 minutes'),
          10 => $this->t('10 minutes'),
          15 => $this->t('15 minutes'),
          30 => $this->t('30 minutes'),
        ],
      ];
    }
+4 −4
Original line number Diff line number Diff line
@@ -117,10 +117,10 @@ public function settingsForm(array $form, FormStateInterface $form_state) {
        '#default_value' => $this->getSetting('increment'),
        '#options' => [
          1 => $this->t('1 minute'),
          5 => $this->t('5 minute'),
          10 => $this->t('10 minute'),
          15 => $this->t('15 minute'),
          30 => $this->t('30 minute'),
          5 => $this->t('5 minutes'),
          10 => $this->t('10 minutes'),
          15 => $this->t('15 minutes'),
          30 => $this->t('30 minutes'),
        ],
      ];
    }