From 6fc731a92bb12a9c05c3ca9895d5060cf09462e3 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Thu, 20 Feb 2025 22:33:17 +0100 Subject: [PATCH] fix: always show alarm unit in pural Signed-off-by: Richard Steinmetz --- src/components/Editor/Alarm/AlarmTimeUnitSelect.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Editor/Alarm/AlarmTimeUnitSelect.vue b/src/components/Editor/Alarm/AlarmTimeUnitSelect.vue index f1c64701de..689e5f875a 100644 --- a/src/components/Editor/Alarm/AlarmTimeUnitSelect.vue +++ b/src/components/Editor/Alarm/AlarmTimeUnitSelect.vue @@ -71,28 +71,28 @@ export default { if (this.unit === 'seconds') { options.push({ - label: this.$n('calendar', 'second', 'seconds', this.count), + label: this.$t('calendar', 'seconds'), unit: 'seconds', }) } if (!this.isAllDay || ['minutes', 'hours'].indexOf(this.unit) !== -1) { options.push({ - label: this.$n('calendar', 'minute', 'minutes', this.count), + label: this.$t('calendar', 'minutes'), unit: 'minutes', }) options.push({ - label: this.$n('calendar', 'hour', 'hours', this.count), + label: this.$t('calendar', 'hours'), unit: 'hours', }) } options.push({ - label: this.$n('calendar', 'day', 'days', this.count), + label: this.$t('calendar', 'days'), unit: 'days', }) options.push({ - label: this.$n('calendar', 'week', 'weeks', this.count), + label: this.$t('calendar', 'weeks'), unit: 'weeks', })