Koha/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc
Owen Leonard 9ea7fbcb30
Bug 25002: JS Includes should be wrapped with template comments
This patch adds HTML comments to Template::Toolkit include files which
contain <script> tags so that it is clear where the embedded scripts can
be found in the code.

To test, apply the patch and view source on the following pages to
verify the presence of the comments:

Acquisitions home page:
  - acquisitions-toolbar.inc
  - validtor-strings.inc
  - js_includes.inc
  - format-price.inc
Acquisitions -> Add order from new record,
Acquisitions -> Receive order:
  - additem.js.inc
Cataloging -> Add/Edit item:
  - columns_settings.inc
  - strings.inc
  - select2.inc
  - calendar.inc
  - str/cataloging_additem.inc
Authorities home page:
  - authorities_js.inc
Bibliographic detail page:
  - catalog-strings.inc
Cataloging -> Advanced editor:
  - cateditor-ui.inc
  - cateditor-widgets-marc21.inc
Administration -> Item types:
  - greybox.inc
ILL requests:
  - ill-list-table-strings.inc
Web installer
  - installer-intranet-bottom.inc
Web installer -> Onboarding
  - installer-strings.inc
Lists -> List contents -> Merge records
  - merge-record-strings.inc
Patrons -> Patron -> Change password
  - password_check.inc
  - str/members-menu.inc
Patrons -> Patron -> Print summary
  - slip-print.inc
Circulation -> Check out
  - timepicker.inc
Administration -> System preferences:
  - str/tinymce_i18n.inc
  - wysiwyg-systempreferences.inc
Cataloging -> Z39.50 Search:
  - z3950_search.inc

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-29 17:15:20 +01:00

61 lines
3.2 KiB
PHP

<!-- strings.inc -->
<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 RETURN_CLAIMED = _("Return claimed");
var RETURN_CLAIMED_FAILURE = _("Unable to claim as returned");
var RETURN_CLAIMED_MAKE = _("Claim returned");
var RETURN_CLAIMED_NOTES = _("Notes about return claim");
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 PLACE_HOLD = _("Place 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");
var PATRON_NOTE = _("Patron note");
var CONFIRM_DELETE_RETURN_CLAIM = _("Are you sure you want to delete this return claim?");
var BROWSER_RETURN_TO_SEARCH = _("Results");
var BROWSER_PREVIOUS = _("Previous");
var BROWSER_NEXT = _("Next");
</script>
<!-- / strings.inc -->