From 60dda5cc3e1d12b5567ebae9b780431403299b76 Mon Sep 17 00:00:00 2001 From: Michal Kuklis Date: Wed, 4 Oct 2023 13:57:39 -0400 Subject: [PATCH] UICIRC-983: Rename hours to minutes in reminder fees --- src/constants.js | 6 +++--- translations/ui-circulation/en.json | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/constants.js b/src/constants.js index e62878e1..dafe6c7a 100644 --- a/src/constants.js +++ b/src/constants.js @@ -378,7 +378,7 @@ export const closingTypesMap = { }; export const timeUnitsMap = { - HOUR: 'hour', + MINUTE: 'minute', DAY: 'day', WEEK: 'week', }; @@ -411,8 +411,8 @@ export const closedLoansRules = { export const timeUnits = [ { - value: timeUnitsMap.HOUR, - label: 'ui-circulation.settings.finePolicy.reminderFees.timeUnit.hours', + value: timeUnitsMap.MINUTE, + label: 'ui-circulation.settings.finePolicy.reminderFees.timeUnit.minutes', }, { value: timeUnitsMap.DAY, diff --git a/translations/ui-circulation/en.json b/translations/ui-circulation/en.json index db10be68..9dc9b8bf 100644 --- a/translations/ui-circulation/en.json +++ b/translations/ui-circulation/en.json @@ -440,6 +440,7 @@ "settings.finePolicy.reminderFees.selectNoticeMethod": "Select notice method", "settings.finePolicy.reminderFees.selectNoticeTemplate": "Select notice template", "settings.finePolicy.reminderFees.selectBlockTemplate": "Select block template", + "settings.finePolicy.reminderFees.timeUnit.minutes": "Minute(s)", "settings.finePolicy.reminderFees.timeUnit.hours": "Hour(s)", "settings.finePolicy.reminderFees.timeUnit.days": "Day(s)", "settings.finePolicy.reminderFees.timeUnit.weeks": "Week(s)",