From 2231ad64942fb3ccd9d6aacda32d236fc52a619f Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 26 Oct 2015 06:39:38 -0400 Subject: [PATCH] Bug 14310 [QA Followup] - Enable translations, set svc script to be executable Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc | 5 +++++ koha-tmpl/intranet-tmpl/prog/en/js/holds.js | 12 ++++++------ svc/hold/resume | 0 svc/hold/suspend | 0 4 files changed, 11 insertions(+), 6 deletions(-) mode change 100644 => 100755 svc/hold/resume mode change 100644 => 100755 svc/hold/suspend diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc index 3226ad3..3995b6d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc @@ -30,5 +30,10 @@ var NO = _("No"); var YES = _("Yes"); var INHOUSE_USE = _("On-site checkout"); + var CANCEL = _("Cancel"); + var RESUME = _("Resume"); + var SUSPEND = _("Suspend"); + var SUSPEND_HOLD_ON = _("Suspend hold on"); + var CLEAR_DATE_TO_SUSPEND_INDEFINITELY = _("Clear date to suspend indefinitely"); //]]> diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js b/koha-tmpl/intranet-tmpl/prog/en/js/holds.js index bf7ea44..a6c8ca6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/holds.js @@ -130,10 +130,10 @@ $(document).ready(function() { return ""; } else if ( oObj.suspend == 1 ) { return "" - + " " + _("Resume") + ""; + + " " + RESUME + ""; } else { return "" - + " " + _("Suspend") + ""; + + " " + SUSPEND + ""; } } } @@ -181,7 +181,7 @@ $(document).ready(function() {
\ \ \ \ \ \
\ \ diff --git a/svc/hold/resume b/svc/hold/resume old mode 100644 new mode 100755 diff --git a/svc/hold/suspend b/svc/hold/suspend old mode 100644 new mode 100755 -- 2.1.0