diff --git a/packages/kolibri-common/components/SyncSchedule/EditDeviceSyncSchedule.vue b/packages/kolibri-common/components/SyncSchedule/EditDeviceSyncSchedule.vue index adcb67fa3f2..0f261f18dd4 100644 --- a/packages/kolibri-common/components/SyncSchedule/EditDeviceSyncSchedule.vue +++ b/packages/kolibri-common/components/SyncSchedule/EditDeviceSyncSchedule.vue @@ -437,7 +437,12 @@ promise .then(() => { this.goBack(); - this.showSnackbarNotification('syncAdded'); + if (this.currentTask) { + // the sync schedule has already been created and we are editing it + this.showSnackbarNotification('syncUpdated'); + } else { + this.showSnackbarNotification('syncAdded'); + } }) .catch(() => { this.createTaskFailedSnackbar(); diff --git a/packages/kolibri/uiText/notificationStrings.js b/packages/kolibri/uiText/notificationStrings.js index cd4e291eec6..3e5e81aa321 100644 --- a/packages/kolibri/uiText/notificationStrings.js +++ b/packages/kolibri/uiText/notificationStrings.js @@ -131,6 +131,10 @@ export default createTranslator('NotificationStrings', { message: 'Sync schedule added', context: 'Snackbar message for adding the sync schedule', }, + syncUpdated: { + message: 'Sync schedule updated', + context: 'Snackbar message for updating the sync schedule', + }, deviceRemove: { message: 'Device removed', context: 'Snackbar message when a device is removed from the sync schedule',