diff options
author | Christopher Ng <chrng8@gmail.com> | 2023-08-08 15:47:29 -0700 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2023-08-10 12:28:19 +0200 |
commit | f6a84410edfdd10a7eae0a814e3af219acdca910 (patch) | |
tree | 010f1a356adabf24efd41bc318017d27a1df841e /apps/files_reminders | |
parent | c71db8aada3c85a247a2dcd77c7c1d15e661b1e5 (diff) | |
download | nextcloud-server-f6a84410edfdd10a7eae0a814e3af219acdca910.tar.gz nextcloud-server-f6a84410edfdd10a7eae0a814e3af219acdca910.zip |
enh: en dash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit ce3119ef078e9685b3a1b6a3148cfe473b01bebd)
Diffstat (limited to 'apps/files_reminders')
-rw-r--r-- | apps/files_reminders/src/components/SetReminderActions.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_reminders/src/components/SetReminderActions.vue b/apps/files_reminders/src/components/SetReminderActions.vue index 17e742d125e..d705f309ea0 100644 --- a/apps/files_reminders/src/components/SetReminderActions.vue +++ b/apps/files_reminders/src/components/SetReminderActions.vue @@ -36,7 +36,7 @@ <template #icon> <CloseCircleOutline :size="20" /> </template> - {{ t('files_reminders', 'Clear reminder') }} — {{ getDateString(dueDate) }} + {{ t('files_reminders', 'Clear reminder') }} – {{ getDateString(dueDate) }} </NcActionButton> <NcActionSeparator /> @@ -45,7 +45,7 @@ :key="label" :aria-label="ariaLabel" @click="action"> - {{ label }} — {{ dateString }} + {{ label }} – {{ dateString }} </NcActionButton> <NcActionSeparator /> @@ -180,14 +180,14 @@ export default Vue.extend({ }, clearAriaLabel(): string { - return `${t('files_reminders', 'Clear reminder')} — ${getVerboseDateString(this.dueDate as Date)}` + return `${t('files_reminders', 'Clear reminder')} – ${getVerboseDateString(this.dueDate as Date)}` }, customAriaLabel(): null | string { if (this.customDueDate === '') { return null } - return `${t('files_reminders', 'Set reminder at custom date & time')} — ${getVerboseDateString(this.customDueDate)}` + return `${t('files_reminders', 'Set reminder at custom date & time')} – ${getVerboseDateString(this.customDueDate)}` }, options(): ReminderOption[] { @@ -195,7 +195,7 @@ export default Vue.extend({ const dateTime = getDateTime(option.dateTimePreset) return { ...option, - ariaLabel: `${option.ariaLabel} — ${getVerboseDateString(dateTime)}`, + ariaLabel: `${option.ariaLabel} – ${getVerboseDateString(dateTime)}`, dateString: getDateString(dateTime), action: () => this.set(dateTime), } |