From 1509e8747f526baed2520d2ce1b85517651467dd 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 9bb435d758..444a73f7d0 100644 --- a/src/components/Editor/Alarm/AlarmTimeUnitSelect.vue +++ b/src/components/Editor/Alarm/AlarmTimeUnitSelect.vue @@ -54,28 +54,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', })