From d1f8f18f23f523dd05b369c8be46232c2559999d Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Date: Fri, 18 Dec 2020 16:23:54 +0100
Subject: [PATCH] Bug 27280: (bug 27026 follow-up) Make consistent the
 explanation for "Days mode"

We have "Skip closed days" in the dropdown, but "Calendar" on the table. Both must match

Test plan:
Go to the circ rules, select a value for "Days mode", save the rule,
confirm that the dropdown list values are matching the ones we displayed
in the cells
---
 .../intranet-tmpl/prog/en/modules/admin/smart-rules.tt    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
index 1aae3e0ba1..5da9b3fb10 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
@@ -216,10 +216,10 @@
                                     <td>[% issuelength | html %]</td>
                                     <td>
                                         [% SWITCH daysmode %]
-                                        [% CASE 'Calendar' %]<span title="Use the calendar to skip days the library is closed">Calendar</span>
-                                        [% CASE 'Datedue' %]<span title="Use the calendar to push the due date to the next open day">Datedue</span>
-                                        [% CASE 'Days' %]<span title="Ignore the calendar">Days</span>
-                                        [% CASE 'Dayweek' %]<span title="Use the calendar to push the due date to the next open matching weekday for weekly loan periods, or the next open day otherwise">Dayweek</span>
+                                        [% CASE 'Calendar' %]<span title="Use the calendar to skip days the library is closed">Skip closed days</span>
+                                        [% CASE 'Datedue' %]<span title="Use the calendar to push the due date to the next open day">Next open day</span>
+                                        [% CASE 'Days' %]<span title="Ignore the calendar">Ignore the calendar</span>
+                                        [% CASE 'Dayweek' %]<span title="Use the calendar to push the due date to the next open matching weekday for weekly loan periods, or the next open day otherwise">Same week day</span>
                                         [% CASE %]<span title="Use the system preference 'useDaysMode' as a default value">Default</span>
                                         [% END %]
                                     </td>
-- 
2.20.1