Skip to content

Commit

Permalink
"Appointment schedule", juste like G*****
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Herbinet <[email protected]>

"Appointment request form" notion

Signed-off-by: Jérôme Herbinet <[email protected]>

Update AppointmentConfigList.vue

Signed-off-by: Jérôme Herbinet <[email protected]>

Update AppointmentConfigModal.vue

Signed-off-by: Jérôme Herbinet <[email protected]>

"Appointment schedule" (and "Create new"), like Google

Signed-off-by: Jérôme Herbinet <[email protected]>

"Appointment schedule", like Google

Signed-off-by: Jérôme Herbinet <[email protected]>
  • Loading branch information
Jerome-Herbinet committed Sep 25, 2024
1 parent 7253e42 commit c0a4d4c
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 schedule')">
<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')

Check warning on line 205 in src/components/AppointmentConfigModal.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppointmentConfigModal.vue#L205

Added line #L205 was not covered by tests
},
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')

Check warning on line 52 in src/components/AppointmentConfigModal/Confirmation.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppointmentConfigModal/Confirmation.vue#L52

Added line #L52 was not covered by tests
}
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 c0a4d4c

Please sign in to comment.