Skip to content

Commit

Permalink
Merge pull request #6371 from nextcloud/Jerome-Herbinet-appointment-r…
Browse files Browse the repository at this point in the history
…equest-form-notion

"Appointment schedule" notion instead of only "Appointments" for a better UX
  • Loading branch information
st3iny committed Sep 25, 2024
2 parents 7253e42 + 2a87755 commit 280468e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/AppNavigation/AppointmentConfigList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<div v-if="hasAtLeastOneCalendar"
class="appointment-config-list">
<AppNavigationCaption class="appointment-config-list__caption"
:name="t('calendar', 'Appointments')">
:name="t('calendar', 'Appointment schedules')">
<template v-if="hasUserEmailAddress"
#actions>
<ActionButton :close-after-click="true"
@click="showModalForNewConfig = true">
<template #icon>
<PlusIcon :size="20" decorative />
</template>
{{ t('calendar', 'Add new') }}
{{ t('calendar', 'Create new') }}
</ActionButton>
</template>
</AppNavigationCaption>
Expand Down
4 changes: 2 additions & 2 deletions src/components/AppointmentConfigModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ export default {
...mapStores(useAppointmentConfigsStore, useCalendarsStore, useSettingsStore),
formTitle() {
if (this.isNew) {
return this.$t('calendar', 'Create appointment')
return this.$t('calendar', 'Create appointment schedule')
}
return this.$t('calendar', 'Edit appointment')
return this.$t('calendar', 'Edit appointment schedule')
},
saveButtonText() {
if (this.isNew) {
Expand Down
4 changes: 2 additions & 2 deletions src/components/AppointmentConfigModal/Confirmation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ export default {
computed: {
title() {
if (this.isNew) {
return this.$t('calendar', 'Appointment was created successfully')
return this.$t('calendar', 'Appointment schedule successfully created')
}
return this.$t('calendar', 'Appointment was updated successfully')
return this.$t('calendar', 'Appointment schedule successfully updated')
},
showCopyLinkButton() {
return navigator && navigator.clipboard
Expand Down

0 comments on commit 280468e

Please sign in to comment.