1 | var calendarLabel = 'Calendar';
|
2 | var closeDatePicker = 'Close';
|
3 | var focusStartDate = 'Interact with the calendar and add the check-in date for your trip.';
|
4 | var clearDate = 'Clear Date';
|
5 | var clearDates = 'Clear Dates';
|
6 | var jumpToPrevMonth = 'Move backward to switch to the previous month.';
|
7 | var jumpToNextMonth = 'Move forward to switch to the next month.';
|
8 | var keyboardShortcuts = 'Keyboard Shortcuts';
|
9 | var showKeyboardShortcutsPanel = 'Open the keyboard shortcuts panel.';
|
10 | var hideKeyboardShortcutsPanel = 'Close the shortcuts panel.';
|
11 | var openThisPanel = 'Open this panel.';
|
12 | var enterKey = 'Enter key';
|
13 | var leftArrowRightArrow = 'Right and left arrow keys';
|
14 | var upArrowDownArrow = 'up and down arrow keys';
|
15 | var pageUpPageDown = 'page up and page down keys';
|
16 | var homeEnd = 'Home and end keys';
|
17 | var escape = 'Escape key';
|
18 | var questionMark = 'Question mark';
|
19 | var selectFocusedDate = 'Select the date in focus.';
|
20 | var moveFocusByOneDay = 'Move backward (left) and forward (right) by one day.';
|
21 | var moveFocusByOneWeek = 'Move backward (up) and forward (down) by one week.';
|
22 | var moveFocusByOneMonth = 'Switch months.';
|
23 | var moveFocustoStartAndEndOfWeek = 'Go to the first or last day of a week.';
|
24 | var returnFocusToInput = 'Return to the date input field.';
|
25 | var keyboardNavigationInstructions = "Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.";
|
26 |
|
27 | var chooseAvailableStartDate = function chooseAvailableStartDate(_ref) {
|
28 | var date = _ref.date;
|
29 | return "Choose ".concat(date, " as your check-in date. It\u2019s available.");
|
30 | };
|
31 |
|
32 | var chooseAvailableEndDate = function chooseAvailableEndDate(_ref2) {
|
33 | var date = _ref2.date;
|
34 | return "Choose ".concat(date, " as your check-out date. It\u2019s available.");
|
35 | };
|
36 |
|
37 | var chooseAvailableDate = function chooseAvailableDate(_ref3) {
|
38 | var date = _ref3.date;
|
39 | return date;
|
40 | };
|
41 |
|
42 | var dateIsUnavailable = function dateIsUnavailable(_ref4) {
|
43 | var date = _ref4.date;
|
44 | return "Not available. ".concat(date);
|
45 | };
|
46 |
|
47 | var dateIsSelected = function dateIsSelected(_ref5) {
|
48 | var date = _ref5.date;
|
49 | return "Selected. ".concat(date);
|
50 | };
|
51 |
|
52 | var dateIsSelectedAsStartDate = function dateIsSelectedAsStartDate(_ref6) {
|
53 | var date = _ref6.date;
|
54 | return "Selected as start date. ".concat(date);
|
55 | };
|
56 |
|
57 | var dateIsSelectedAsEndDate = function dateIsSelectedAsEndDate(_ref7) {
|
58 | var date = _ref7.date;
|
59 | return "Selected as end date. ".concat(date);
|
60 | };
|
61 |
|
62 | export default {
|
63 | calendarLabel: calendarLabel,
|
64 | closeDatePicker: closeDatePicker,
|
65 | focusStartDate: focusStartDate,
|
66 | clearDate: clearDate,
|
67 | clearDates: clearDates,
|
68 | jumpToPrevMonth: jumpToPrevMonth,
|
69 | jumpToNextMonth: jumpToNextMonth,
|
70 | keyboardShortcuts: keyboardShortcuts,
|
71 | showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
|
72 | hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
|
73 | openThisPanel: openThisPanel,
|
74 | enterKey: enterKey,
|
75 | leftArrowRightArrow: leftArrowRightArrow,
|
76 | upArrowDownArrow: upArrowDownArrow,
|
77 | pageUpPageDown: pageUpPageDown,
|
78 | homeEnd: homeEnd,
|
79 | escape: escape,
|
80 | questionMark: questionMark,
|
81 | selectFocusedDate: selectFocusedDate,
|
82 | moveFocusByOneDay: moveFocusByOneDay,
|
83 | moveFocusByOneWeek: moveFocusByOneWeek,
|
84 | moveFocusByOneMonth: moveFocusByOneMonth,
|
85 | moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
|
86 | returnFocusToInput: returnFocusToInput,
|
87 | keyboardNavigationInstructions: keyboardNavigationInstructions,
|
88 | chooseAvailableStartDate: chooseAvailableStartDate,
|
89 | chooseAvailableEndDate: chooseAvailableEndDate,
|
90 | dateIsUnavailable: dateIsUnavailable,
|
91 | dateIsSelected: dateIsSelected,
|
92 | dateIsSelectedAsStartDate: dateIsSelectedAsStartDate,
|
93 | dateIsSelectedAsEndDate: dateIsSelectedAsEndDate
|
94 | };
|
95 | export var DateRangePickerPhrases = {
|
96 | calendarLabel: calendarLabel,
|
97 | closeDatePicker: closeDatePicker,
|
98 | clearDates: clearDates,
|
99 | focusStartDate: focusStartDate,
|
100 | jumpToPrevMonth: jumpToPrevMonth,
|
101 | jumpToNextMonth: jumpToNextMonth,
|
102 | keyboardShortcuts: keyboardShortcuts,
|
103 | showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
|
104 | hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
|
105 | openThisPanel: openThisPanel,
|
106 | enterKey: enterKey,
|
107 | leftArrowRightArrow: leftArrowRightArrow,
|
108 | upArrowDownArrow: upArrowDownArrow,
|
109 | pageUpPageDown: pageUpPageDown,
|
110 | homeEnd: homeEnd,
|
111 | escape: escape,
|
112 | questionMark: questionMark,
|
113 | selectFocusedDate: selectFocusedDate,
|
114 | moveFocusByOneDay: moveFocusByOneDay,
|
115 | moveFocusByOneWeek: moveFocusByOneWeek,
|
116 | moveFocusByOneMonth: moveFocusByOneMonth,
|
117 | moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
|
118 | returnFocusToInput: returnFocusToInput,
|
119 | keyboardNavigationInstructions: keyboardNavigationInstructions,
|
120 | chooseAvailableStartDate: chooseAvailableStartDate,
|
121 | chooseAvailableEndDate: chooseAvailableEndDate,
|
122 | dateIsUnavailable: dateIsUnavailable,
|
123 | dateIsSelected: dateIsSelected,
|
124 | dateIsSelectedAsStartDate: dateIsSelectedAsStartDate,
|
125 | dateIsSelectedAsEndDate: dateIsSelectedAsEndDate
|
126 | };
|
127 | export var DateRangePickerInputPhrases = {
|
128 | focusStartDate: focusStartDate,
|
129 | clearDates: clearDates,
|
130 | keyboardNavigationInstructions: keyboardNavigationInstructions
|
131 | };
|
132 | export var SingleDatePickerPhrases = {
|
133 | calendarLabel: calendarLabel,
|
134 | closeDatePicker: closeDatePicker,
|
135 | clearDate: clearDate,
|
136 | jumpToPrevMonth: jumpToPrevMonth,
|
137 | jumpToNextMonth: jumpToNextMonth,
|
138 | keyboardShortcuts: keyboardShortcuts,
|
139 | showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
|
140 | hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
|
141 | openThisPanel: openThisPanel,
|
142 | enterKey: enterKey,
|
143 | leftArrowRightArrow: leftArrowRightArrow,
|
144 | upArrowDownArrow: upArrowDownArrow,
|
145 | pageUpPageDown: pageUpPageDown,
|
146 | homeEnd: homeEnd,
|
147 | escape: escape,
|
148 | questionMark: questionMark,
|
149 | selectFocusedDate: selectFocusedDate,
|
150 | moveFocusByOneDay: moveFocusByOneDay,
|
151 | moveFocusByOneWeek: moveFocusByOneWeek,
|
152 | moveFocusByOneMonth: moveFocusByOneMonth,
|
153 | moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
|
154 | returnFocusToInput: returnFocusToInput,
|
155 | keyboardNavigationInstructions: keyboardNavigationInstructions,
|
156 | chooseAvailableDate: chooseAvailableDate,
|
157 | dateIsUnavailable: dateIsUnavailable,
|
158 | dateIsSelected: dateIsSelected
|
159 | };
|
160 | export var SingleDatePickerInputPhrases = {
|
161 | clearDate: clearDate,
|
162 | keyboardNavigationInstructions: keyboardNavigationInstructions
|
163 | };
|
164 | export var DayPickerPhrases = {
|
165 | calendarLabel: calendarLabel,
|
166 | jumpToPrevMonth: jumpToPrevMonth,
|
167 | jumpToNextMonth: jumpToNextMonth,
|
168 | keyboardShortcuts: keyboardShortcuts,
|
169 | showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
|
170 | hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
|
171 | openThisPanel: openThisPanel,
|
172 | enterKey: enterKey,
|
173 | leftArrowRightArrow: leftArrowRightArrow,
|
174 | upArrowDownArrow: upArrowDownArrow,
|
175 | pageUpPageDown: pageUpPageDown,
|
176 | homeEnd: homeEnd,
|
177 | escape: escape,
|
178 | questionMark: questionMark,
|
179 | selectFocusedDate: selectFocusedDate,
|
180 | moveFocusByOneDay: moveFocusByOneDay,
|
181 | moveFocusByOneWeek: moveFocusByOneWeek,
|
182 | moveFocusByOneMonth: moveFocusByOneMonth,
|
183 | moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
|
184 | returnFocusToInput: returnFocusToInput,
|
185 | chooseAvailableStartDate: chooseAvailableStartDate,
|
186 | chooseAvailableEndDate: chooseAvailableEndDate,
|
187 | chooseAvailableDate: chooseAvailableDate,
|
188 | dateIsUnavailable: dateIsUnavailable,
|
189 | dateIsSelected: dateIsSelected,
|
190 | dateIsSelectedAsStartDate: dateIsSelectedAsStartDate,
|
191 | dateIsSelectedAsEndDate: dateIsSelectedAsEndDate
|
192 | };
|
193 | export var DayPickerKeyboardShortcutsPhrases = {
|
194 | keyboardShortcuts: keyboardShortcuts,
|
195 | showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
|
196 | hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
|
197 | openThisPanel: openThisPanel,
|
198 | enterKey: enterKey,
|
199 | leftArrowRightArrow: leftArrowRightArrow,
|
200 | upArrowDownArrow: upArrowDownArrow,
|
201 | pageUpPageDown: pageUpPageDown,
|
202 | homeEnd: homeEnd,
|
203 | escape: escape,
|
204 | questionMark: questionMark,
|
205 | selectFocusedDate: selectFocusedDate,
|
206 | moveFocusByOneDay: moveFocusByOneDay,
|
207 | moveFocusByOneWeek: moveFocusByOneWeek,
|
208 | moveFocusByOneMonth: moveFocusByOneMonth,
|
209 | moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
|
210 | returnFocusToInput: returnFocusToInput
|
211 | };
|
212 | export var DayPickerNavigationPhrases = {
|
213 | jumpToPrevMonth: jumpToPrevMonth,
|
214 | jumpToNextMonth: jumpToNextMonth
|
215 | };
|
216 | export var CalendarDayPhrases = {
|
217 | chooseAvailableDate: chooseAvailableDate,
|
218 | dateIsUnavailable: dateIsUnavailable,
|
219 | dateIsSelected: dateIsSelected,
|
220 | dateIsSelectedAsStartDate: dateIsSelectedAsStartDate,
|
221 | dateIsSelectedAsEndDate: dateIsSelectedAsEndDate
|
222 | }; |
\ | No newline at end of file |