]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/js/dojo/openils/booking/nls/reservation.js
Patch from Lebbeous Fogle-Weekley adding a pull list interface for booking reservations
[Evergreen.git] / Open-ILS / web / js / dojo / openils / booking / nls / reservation.js
1 {
2     'NO_BRT_RESULTS': "There are no bookable resource types registered.",
3     'NO_TARG_DIV': "Could not find target div",
4     'NO_BRA_RESULTS': "Couldn't retrieve booking resource attributes.",
5     'SELECT_A_BRSRC_THEN': "Select a resource from the big list above.",
6     'CREATE_BRESV_LOCAL_ERROR': "Exception trying to create reservation: ",
7     'CREATE_BRESV_SERVER_ERROR': "Server error trying to create reservation: ",
8     'CREATE_BRESV_SERVER_NO_RESPONSE':
9         "No response from server after trying to create reservation: ",
10     /* FIXME: Users aren't likely to be able to do anything with the following
11      * message.  Figure out a way to do something more helpful.
12      */
13     'CREATE_BRESV_OK_MISSING_TARGET': function(n, m) {
14         return "Created " + n + " reservation(s), but " + m + " of these " +
15             "couldn't target any resources.\n\n" +
16             "This means that it won't be possible to fulfill some of these\n" +
17             "reservations until a suitable resource becomes available.";
18     },
19     'CREATE_BRESV_OK': function(n) {
20         return "Created " + n + " reservation" + (n == 1 ? "" : "s") + ".";
21     },
22     'WHERES_THE_BARCODE': "Enter a patron's barcode to make a reservation.",
23     'ACTOR_CARD_NOT_FOUND': "Patron barcode not found. Please try again.",
24     'GET_BRESV_LIST_ERR': "Error while retrieving reservation list: ",
25     'GET_BRESV_LIST_NO_RESULT':
26         "No results from server retrieving reservation list.",
27     'OUTSTANDING_BRESV': "Outstanding reservations for patron",
28     'UNTARGETED': "None targeted",
29     'GET_PATRON_NO_RESULT':
30         "No server response after attempting to look up patron by barcode.",
31     'HERE_ARE_EXISTING_BRESV': "Existing reservations for",
32     'NO_EXISTING_BRESV': "This user has no existing reservations at this time.",
33     'NO_USABLE_BRSRC':
34         "No reservable resources.  Adjust start and end time\n" +
35         "until a resource is available for reservation.",
36     'CXL_BRESV_SUCCESS': function(n) {
37         return ("Canceled " + n + " reservation" + (n == 1 ? "" : "s") + ".");
38     },
39     'CXL_BRESV_FAILURE': "Error canceling reservations.",
40     'CXL_BRESV_SELECT_SOMETHING':
41         "You have not selected any reservations to cancel.",
42     'NEED_EXACTLY_ONE_BRT_PASSED_IN':
43         "Can't book multiple resource types at once",
44     'COULD_NOT_RETRIEVE_BRT_PASSED_IN':
45         "Error retrieving booking resource type",
46     'INVALID_TS_RANGE':
47         "You must choose a valid start and end time for the reservation.",
48     'BRSRC_NOT_FOUND': "Could not locate that resource.",
49     'BRSRC_RETRIVE_ERROR': "Error retrieving resource: ",
50     'ANY': "ANY",
51
52     'AUTO_choose_a_brt': "Choose a Bookable Resource Type",
53     'AUTO_i_need_this_resource': "I need this resource...",
54     'AUTO_starting_at': "Between",
55     'AUTO_ending_at': "and",
56     'AUTO_with_these_attr': "With these attributes:",
57     'AUTO_patron_barcode': "Reserve to patron barcode:",
58     'AUTO_ATTR_VALUE_next': "Next",
59     'AUTO_ATTR_VALUE_reserve_brsrc': "Reserve Selected",
60     'AUTO_ATTR_VALUE_reserve_brt': "Reserve Any",
61     'AUTO_ATTR_VALUE_button_edit_existing': "Edit selected",
62     'AUTO_ATTR_VALUE_button_cancel_existing': "Cancel selcted",
63     'AUTO_bresv_grid_type': "Type",
64     'AUTO_bresv_grid_resource': "Resource",
65     'AUTO_bresv_grid_start_time': "Start time",
66     'AUTO_bresv_grid_end_time': "End time",
67     'AUTO_brt_noncat_only': "Show only non-cataloged bookable resource types",
68     'AUTO_arbitrary_resource':
69         "Enter the barcode of a cataloged, bookable resource:",
70     'AUTO_explain_bookable':
71         "To reserve an item that is not yet registered as a bookable " +
72         "resource, find it in the catalog or under <em>Display Item</em>, and "+
73         "select <em>Make Item Bookable</em> or <em>Book Item Now</em> there.",
74     'AUTO_or': '- Or -'
75 }