From 652f96f53b78c4ca940f551f3eb5dafe96691ece Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 24 Jan 2022 14:23:29 +0100 Subject: [PATCH] Use translation key instead of hard coded title. --- assets/js/utils/calendar_default_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/utils/calendar_default_view.js b/assets/js/utils/calendar_default_view.js index 4a723ae1..07ffb3a8 100755 --- a/assets/js/utils/calendar_default_view.js +++ b/assets/js/utils/calendar_default_view.js @@ -162,7 +162,7 @@ App.Utils.CalendarDefaultView = (function () { App.Components.UnavailabilitiesModal.resetModal(); // Apply unavailability data to dialog. - $unavailabilitiesModal.find('.modal-header h3').text('Edit Unavailability Period'); + $unavailabilitiesModal.find('.modal-header h3').text(lang('edit_unavailability_title')); $unavailabilitiesModal.find('#unavailability-start').datetimepicker('setDate', startMoment.toDate()); $unavailabilitiesModal.find('#unavailability-id').val(unavailability.id); $unavailabilitiesModal.find('#unavailability-provider').val(unavailability.id_users_provider);