Koha/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc
Owen Leonard 9c4f368622 Bug 22973: Remove type attribute from script tags: Staff client includes 2/2
This patch removes the "type" attribute from <script> tags in several
staff client include files. Also removed: Obsolete "//<![CDATA[ //]]>"
markers.

This patch also makes minor indentation changes, so diff using the "-w"
flag.

To test, apply the patch and confirm that examples of affected pages
work properly without any JavaScript errors in the browser console:

 - Installer -> Onboarding (uses installer-strings.inc,
   validator-strings.inc)
 - Patrons -> Patron details -> Change password (uses
   password_check.inc)
 - Patrons -> Patron details -> Print summary (slip-print.inc)
 - Circulation -> Check out (strings.inc, timepicker.inc)
 - Cataloging -> New from Z39.50/SRU (z3950_search.inc)

Validating the HTML source of any of these pages should return no errors
related to the "type" attribute.

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-05-30 10:25:21 +00:00

49 lines
2.6 KiB
PHP

<script>
var CIRCULATION_RETURNED = _("Checked in");
var CIRCULATION_NOT_RETURNED = _("Unable to check in");
var NOT_RENEWABLE_OVERDUE = _("Not allowed: overdue");
var NOT_RENEWABLE_RESTRICTION = _("Not allowed: patron restricted");
var CIRCULATION_RENEWED_DUE = _("Renewed, due:");
var CIRCULATION_RENEW_FAILED = _("Renew failed:");
var NOT_CHECKED_OUT = _("not checked out");
var TOO_MANY_RENEWALS = _("too many renewals");
var ON_RESERVE = _("on hold");
var REASON_UNKNOWN = _("reason unknown");
var TODAYS_CHECKOUTS = _("Today's checkouts");
var PREVIOUS_CHECKOUTS = _("Previous checkouts");
var BY = _("by _AUTHOR_");
var ON_HOLD = _("On hold");
var NOT_RENEWABLE = _("Not renewable");
var NOT_RENEWABLE_TOO_SOON = _("No renewal before %s");
var NOT_RENEWABLE_AUTO_TOO_SOON = _("Scheduled for automatic renewal");
var NOT_RENEWABLE_AUTO_TOO_LATE = _("Can no longer be auto-renewed - number of checkout days exceeded");
var NOT_RENEWABLE_AUTO_TOO_MUCH_OWEING = _("Automatic renewal failed, patron has unpaid fines");
var NOT_RENEWABLE_AUTO_ACCOUNT_EXPIRED = _("Automatic renewal failed, account expired");
var NOT_RENEWABLE_AUTO_RENEW = _("Scheduled for automatic renewal");
var NOT_RENEWABLE_DENIED = _("Renewal denied by syspref");
var RENEWALS_REMAINING = _("%s of %s renewals remaining");
var HOLD_IS_SUSPENDED = _("Hold is <strong>suspended</strong>");
var UNTIL = _("until %s");
var NEXT_AVAILABLE_ITYPE = _("Next available %s item");
var ITEM_IS_WAITING = _("Item is <strong>waiting</strong>");
var ITEM_IS_WAITING_HERE = _("Item is <strong>waiting here</strong>");
var AT = _("at %s");
var ITEM_IS_IN_TRANSIT = _("Item is <strong>in transit</strong> from %s since %s");
var FROM = _("from");
var NOT_TRANSFERRED_YET = _("Item hasn't been transferred yet from %s");
var NO = _("No");
var YES = _("Yes");
var INHOUSE_USE = _("On-site checkout");
var CANCEL = _("Cancel");
var RESUME = _("Resume");
var SUSPEND = _("Suspend");
var SUSPEND_UNTIL = _("Suspend until:");
var SUSPEND_HOLD_ON = _("Suspend hold on");
var CLEAR_DATE_TO_SUSPEND_INDEFINITELY = _("Clear date to suspend indefinitely");
var SUSPEND_HOLD_ERROR_DATE = _("Unable to suspend hold, invalid date");
var SUSPEND_HOLD_ERROR_NOT_FOUND = _("Unable to suspend hold, hold not found");
var RESUME_HOLD_ERROR_NOT_FOUND = _("Unable to resume, hold not found");
var CURRENT = _(" (current) ");
var MSG_NO_ITEMTYPE = _("No itemtype");
var MSG_CHECKOUTS_BY_ITEMTYPE = _("Number of checkouts by item type");
</script>