Skip to content
Snippets Groups Projects
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
Branches
Tags
Loading
...@@ -116,10 +116,10 @@ public function settingsForm(array $form, FormStateInterface $form_state) { ...@@ -116,10 +116,10 @@ public function settingsForm(array $form, FormStateInterface $form_state) {
'#default_value' => $this->getSetting('increment'), '#default_value' => $this->getSetting('increment'),
'#options' => [ '#options' => [
1 => $this->t('1 minute'), 1 => $this->t('1 minute'),
5 => $this->t('5 minute'), 5 => $this->t('5 minutes'),
10 => $this->t('10 minute'), 10 => $this->t('10 minutes'),
15 => $this->t('15 minute'), 15 => $this->t('15 minutes'),
30 => $this->t('30 minute'), 30 => $this->t('30 minutes'),
], ],
]; ];
} }
......
...@@ -117,10 +117,10 @@ public function settingsForm(array $form, FormStateInterface $form_state) { ...@@ -117,10 +117,10 @@ public function settingsForm(array $form, FormStateInterface $form_state) {
'#default_value' => $this->getSetting('increment'), '#default_value' => $this->getSetting('increment'),
'#options' => [ '#options' => [
1 => $this->t('1 minute'), 1 => $this->t('1 minute'),
5 => $this->t('5 minute'), 5 => $this->t('5 minutes'),
10 => $this->t('10 minute'), 10 => $this->t('10 minutes'),
15 => $this->t('15 minute'), 15 => $this->t('15 minutes'),
30 => $this->t('30 minute'), 30 => $this->t('30 minutes'),
], ],
]; ];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment