Skip to content

Commit

Permalink
enh: en dash
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Aug 9, 2023
1 parent 597abe0 commit ce3119e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/files_reminders/src/components/SetReminderActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand All @@ -45,7 +45,7 @@
:key="label"
:aria-label="ariaLabel"
@click="action">
{{ label }} {{ dateString }}
{{ label }} {{ dateString }}
</NcActionButton>

<NcActionSeparator />
Expand Down Expand Up @@ -180,22 +180,22 @@ 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[] {
const computeOption = (option: ReminderOption) => {
const dateTime = getDateTime(option.dateTimePreset)
return {
...option,
ariaLabel: `${option.ariaLabel} ${getVerboseDateString(dateTime)}`,
ariaLabel: `${option.ariaLabel} ${getVerboseDateString(dateTime)}`,
dateString: getDateString(dateTime),
action: () => this.set(dateTime),
}
Expand Down

0 comments on commit ce3119e

Please sign in to comment.