diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl index 423c7da37e..38b12dd99a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl @@ -21,7 +21,7 @@ $("#showHoliday").slideDown("fast"); $('#showDaynameOutput').html(dayName); $('#showDayname').val(dayName); - $('#showBranchNameOutput').html($("#branch").val()); + $('#showBranchNameOutput').html($("#branch :selected").text()); $('#showBranchName').val($("#branch").val()); $('#showDayOutput').html(day); $('#showDay').val(day); @@ -35,14 +35,14 @@ $('#showHolidayType').val(holidayType); if (holidayType == 'exception') { - $("#showOperationDelLabel").html('Delete this exception.'); - $("#holtype").attr("class","key exception").html("Holiday exception"); + $("#showOperationDelLabel").html(_('Delete this exception.')); + $("#holtype").attr("class","key exception").html(_("Holiday exception")); } else if(holidayType == 'weekday') { - $("#showOperationDelLabel").html('Delete this holiday.'); - $("#holtype").attr("class","key repeatableday").html("Repeatable holiday"); + $("#showOperationDelLabel").html(_('Delete this holiday.')); + $("#holtype").attr("class","key repeatableday").html(_("Repeatable holiday")); } else { - $("#showOperationDelLabel").html('Delete this holiday.'); - $("#holtype").attr("class","key holiday").html("Unique holiday"); + $("#showOperationDelLabel").html(_('Delete this holiday.')); + $("#holtype").attr("class","key holiday").html(_("Unique holiday")); } if (exceptionPosibility == 1) { @@ -58,7 +58,7 @@ $("#newHoliday").slideDown("fast"); $("#newDaynameOutput").html(dayName); $("#newDayname").val(dayName); - $("#newBranchNameOutput").html($('#branch').val()); + $("#newBranchNameOutput").html($('#branch :selected').text()); $("#newBranchName").val($('#branch').val()); $("#newDayOutput").html(day); $("#newDay").val(day); @@ -201,7 +201,7 @@