@@ -13,1472 +13,1472 @@ |
||
13 | 13 | class EE_Datetime extends EE_Soft_Delete_Base_Class |
14 | 14 | { |
15 | 15 | |
16 | - /** |
|
17 | - * constant used by get_active_status, indicates datetime has no more available spaces |
|
18 | - */ |
|
19 | - const sold_out = 'DTS'; |
|
20 | - |
|
21 | - /** |
|
22 | - * constant used by get_active_status, indicating datetime is still active (even is not over, can be registered-for) |
|
23 | - */ |
|
24 | - const active = 'DTA'; |
|
25 | - |
|
26 | - /** |
|
27 | - * constant used by get_active_status, indicating the datetime cannot be used for registrations yet, but has not |
|
28 | - * expired |
|
29 | - */ |
|
30 | - const upcoming = 'DTU'; |
|
31 | - |
|
32 | - /** |
|
33 | - * Datetime is postponed |
|
34 | - */ |
|
35 | - const postponed = 'DTP'; |
|
36 | - |
|
37 | - /** |
|
38 | - * Datetime is cancelled |
|
39 | - */ |
|
40 | - const cancelled = 'DTC'; |
|
41 | - |
|
42 | - /** |
|
43 | - * constant used by get_active_status, indicates datetime has expired (event is over) |
|
44 | - */ |
|
45 | - const expired = 'DTE'; |
|
46 | - |
|
47 | - /** |
|
48 | - * constant used in various places indicating that an event is INACTIVE (not yet ready to be published) |
|
49 | - */ |
|
50 | - const inactive = 'DTI'; |
|
51 | - |
|
52 | - |
|
53 | - /** |
|
54 | - * @param array $props_n_values incoming values |
|
55 | - * @param string $timezone incoming timezone (if not set the timezone set for the website will be used.) |
|
56 | - * @param array $date_formats incoming date_formats in an array where the first value is the date_format |
|
57 | - * and the second value is the time format |
|
58 | - * @return EE_Datetime |
|
59 | - * @throws ReflectionException |
|
60 | - * @throws InvalidArgumentException |
|
61 | - * @throws InvalidInterfaceException |
|
62 | - * @throws InvalidDataTypeException |
|
63 | - * @throws EE_Error |
|
64 | - */ |
|
65 | - public static function new_instance($props_n_values = array(), $timezone = null, $date_formats = array()) |
|
66 | - { |
|
67 | - $has_object = parent::_check_for_object( |
|
68 | - $props_n_values, |
|
69 | - __CLASS__, |
|
70 | - $timezone, |
|
71 | - $date_formats |
|
72 | - ); |
|
73 | - return $has_object |
|
74 | - ? $has_object |
|
75 | - : new self($props_n_values, false, $timezone, $date_formats); |
|
76 | - } |
|
77 | - |
|
78 | - |
|
79 | - /** |
|
80 | - * @param array $props_n_values incoming values from the database |
|
81 | - * @param string $timezone incoming timezone as set by the model. If not set the timezone for |
|
82 | - * the website will be used. |
|
83 | - * @return EE_Datetime |
|
84 | - * @throws ReflectionException |
|
85 | - * @throws InvalidArgumentException |
|
86 | - * @throws InvalidInterfaceException |
|
87 | - * @throws InvalidDataTypeException |
|
88 | - * @throws EE_Error |
|
89 | - */ |
|
90 | - public static function new_instance_from_db($props_n_values = array(), $timezone = null) |
|
91 | - { |
|
92 | - return new self($props_n_values, true, $timezone); |
|
93 | - } |
|
94 | - |
|
95 | - |
|
96 | - /** |
|
97 | - * @param $name |
|
98 | - * @throws ReflectionException |
|
99 | - * @throws InvalidArgumentException |
|
100 | - * @throws InvalidInterfaceException |
|
101 | - * @throws InvalidDataTypeException |
|
102 | - * @throws EE_Error |
|
103 | - */ |
|
104 | - public function set_name($name) |
|
105 | - { |
|
106 | - $this->set('DTT_name', $name); |
|
107 | - } |
|
108 | - |
|
109 | - |
|
110 | - /** |
|
111 | - * @param $description |
|
112 | - * @throws ReflectionException |
|
113 | - * @throws InvalidArgumentException |
|
114 | - * @throws InvalidInterfaceException |
|
115 | - * @throws InvalidDataTypeException |
|
116 | - * @throws EE_Error |
|
117 | - */ |
|
118 | - public function set_description($description) |
|
119 | - { |
|
120 | - $this->set('DTT_description', $description); |
|
121 | - } |
|
122 | - |
|
123 | - |
|
124 | - /** |
|
125 | - * Set event start date |
|
126 | - * set the start date for an event |
|
127 | - * |
|
128 | - * @param string $date a string representation of the event's date ex: Dec. 25, 2025 or 12-25-2025 |
|
129 | - * @throws ReflectionException |
|
130 | - * @throws InvalidArgumentException |
|
131 | - * @throws InvalidInterfaceException |
|
132 | - * @throws InvalidDataTypeException |
|
133 | - * @throws EE_Error |
|
134 | - */ |
|
135 | - public function set_start_date($date) |
|
136 | - { |
|
137 | - $this->_set_date_for($date, 'DTT_EVT_start'); |
|
138 | - } |
|
139 | - |
|
140 | - |
|
141 | - /** |
|
142 | - * Set event start time |
|
143 | - * set the start time for an event |
|
144 | - * |
|
145 | - * @param string $time a string representation of the event time ex: 9am or 7:30 PM |
|
146 | - * @throws ReflectionException |
|
147 | - * @throws InvalidArgumentException |
|
148 | - * @throws InvalidInterfaceException |
|
149 | - * @throws InvalidDataTypeException |
|
150 | - * @throws EE_Error |
|
151 | - */ |
|
152 | - public function set_start_time($time) |
|
153 | - { |
|
154 | - $this->_set_time_for($time, 'DTT_EVT_start'); |
|
155 | - } |
|
156 | - |
|
157 | - |
|
158 | - /** |
|
159 | - * Set event end date |
|
160 | - * set the end date for an event |
|
161 | - * |
|
162 | - * @param string $date a string representation of the event's date ex: Dec. 25, 2025 or 12-25-2025 |
|
163 | - * @throws ReflectionException |
|
164 | - * @throws InvalidArgumentException |
|
165 | - * @throws InvalidInterfaceException |
|
166 | - * @throws InvalidDataTypeException |
|
167 | - * @throws EE_Error |
|
168 | - */ |
|
169 | - public function set_end_date($date) |
|
170 | - { |
|
171 | - $this->_set_date_for($date, 'DTT_EVT_end'); |
|
172 | - } |
|
173 | - |
|
174 | - |
|
175 | - /** |
|
176 | - * Set event end time |
|
177 | - * set the end time for an event |
|
178 | - * |
|
179 | - * @param string $time a string representation of the event time ex: 9am or 7:30 PM |
|
180 | - * @throws ReflectionException |
|
181 | - * @throws InvalidArgumentException |
|
182 | - * @throws InvalidInterfaceException |
|
183 | - * @throws InvalidDataTypeException |
|
184 | - * @throws EE_Error |
|
185 | - */ |
|
186 | - public function set_end_time($time) |
|
187 | - { |
|
188 | - $this->_set_time_for($time, 'DTT_EVT_end'); |
|
189 | - } |
|
190 | - |
|
191 | - |
|
192 | - /** |
|
193 | - * Set registration limit |
|
194 | - * set the maximum number of attendees that can be registered for this datetime slot |
|
195 | - * |
|
196 | - * @param int $reg_limit |
|
197 | - * @throws ReflectionException |
|
198 | - * @throws InvalidArgumentException |
|
199 | - * @throws InvalidInterfaceException |
|
200 | - * @throws InvalidDataTypeException |
|
201 | - * @throws EE_Error |
|
202 | - */ |
|
203 | - public function set_reg_limit($reg_limit) |
|
204 | - { |
|
205 | - $this->set('DTT_reg_limit', $reg_limit); |
|
206 | - } |
|
207 | - |
|
208 | - |
|
209 | - /** |
|
210 | - * get the number of tickets sold for this datetime slot |
|
211 | - * |
|
212 | - * @return mixed int on success, FALSE on fail |
|
213 | - * @throws ReflectionException |
|
214 | - * @throws InvalidArgumentException |
|
215 | - * @throws InvalidInterfaceException |
|
216 | - * @throws InvalidDataTypeException |
|
217 | - * @throws EE_Error |
|
218 | - */ |
|
219 | - public function sold() |
|
220 | - { |
|
221 | - return $this->get_raw('DTT_sold'); |
|
222 | - } |
|
223 | - |
|
224 | - |
|
225 | - /** |
|
226 | - * @param int $sold |
|
227 | - * @throws ReflectionException |
|
228 | - * @throws InvalidArgumentException |
|
229 | - * @throws InvalidInterfaceException |
|
230 | - * @throws InvalidDataTypeException |
|
231 | - * @throws EE_Error |
|
232 | - */ |
|
233 | - public function set_sold($sold) |
|
234 | - { |
|
235 | - // sold can not go below zero |
|
236 | - $sold = max(0, $sold); |
|
237 | - $this->set('DTT_sold', $sold); |
|
238 | - } |
|
239 | - |
|
240 | - |
|
241 | - /** |
|
242 | - * Increments sold by amount passed by $qty, and persists it immediately to the database. |
|
243 | - * Simultaneously decreases the reserved count, unless $also_decrease_reserved is false. |
|
244 | - * |
|
245 | - * @param int $qty |
|
246 | - * @param boolean $also_decrease_reserved |
|
247 | - * @return boolean indicating success |
|
248 | - * @throws ReflectionException |
|
249 | - * @throws InvalidArgumentException |
|
250 | - * @throws InvalidInterfaceException |
|
251 | - * @throws InvalidDataTypeException |
|
252 | - * @throws EE_Error |
|
253 | - */ |
|
254 | - public function increaseSold($qty = 1, $also_decrease_reserved = true) |
|
255 | - { |
|
256 | - $qty = absint($qty); |
|
257 | - if ($also_decrease_reserved) { |
|
258 | - $success = $this->adjustNumericFieldsInDb( |
|
259 | - [ |
|
260 | - 'DTT_reserved' => $qty * -1, |
|
261 | - 'DTT_sold' => $qty |
|
262 | - ] |
|
263 | - ); |
|
264 | - } else { |
|
265 | - $success = $this->adjustNumericFieldsInDb( |
|
266 | - [ |
|
267 | - 'DTT_sold' => $qty |
|
268 | - ] |
|
269 | - ); |
|
270 | - } |
|
271 | - |
|
272 | - do_action( |
|
273 | - 'AHEE__EE_Datetime__increase_sold', |
|
274 | - $this, |
|
275 | - $qty, |
|
276 | - $this->sold(), |
|
277 | - $success |
|
278 | - ); |
|
279 | - return $success; |
|
280 | - } |
|
281 | - |
|
282 | - |
|
283 | - /** |
|
284 | - * Decrements (subtracts) sold amount passed by $qty directly in the DB and on the model object. (Ie, no need |
|
285 | - * to save afterwards.) |
|
286 | - * |
|
287 | - * @param int $qty |
|
288 | - * @return boolean indicating success |
|
289 | - * @throws ReflectionException |
|
290 | - * @throws InvalidArgumentException |
|
291 | - * @throws InvalidInterfaceException |
|
292 | - * @throws InvalidDataTypeException |
|
293 | - * @throws EE_Error |
|
294 | - */ |
|
295 | - public function decreaseSold($qty = 1) |
|
296 | - { |
|
297 | - $qty = absint($qty); |
|
298 | - $success = $this->adjustNumericFieldsInDb( |
|
299 | - [ |
|
300 | - 'DTT_sold' => $qty * -1 |
|
301 | - ] |
|
302 | - ); |
|
303 | - do_action( |
|
304 | - 'AHEE__EE_Datetime__decrease_sold', |
|
305 | - $this, |
|
306 | - $qty, |
|
307 | - $this->sold(), |
|
308 | - $success |
|
309 | - ); |
|
310 | - return $success; |
|
311 | - } |
|
312 | - |
|
313 | - |
|
314 | - /** |
|
315 | - * Gets qty of reserved tickets for this datetime |
|
316 | - * |
|
317 | - * @return int |
|
318 | - * @throws ReflectionException |
|
319 | - * @throws InvalidArgumentException |
|
320 | - * @throws InvalidInterfaceException |
|
321 | - * @throws InvalidDataTypeException |
|
322 | - * @throws EE_Error |
|
323 | - */ |
|
324 | - public function reserved() |
|
325 | - { |
|
326 | - return $this->get_raw('DTT_reserved'); |
|
327 | - } |
|
328 | - |
|
329 | - |
|
330 | - /** |
|
331 | - * Sets qty of reserved tickets for this datetime |
|
332 | - * |
|
333 | - * @param int $reserved |
|
334 | - * @throws ReflectionException |
|
335 | - * @throws InvalidArgumentException |
|
336 | - * @throws InvalidInterfaceException |
|
337 | - * @throws InvalidDataTypeException |
|
338 | - * @throws EE_Error |
|
339 | - */ |
|
340 | - public function set_reserved($reserved) |
|
341 | - { |
|
342 | - // reserved can not go below zero |
|
343 | - $reserved = max(0, (int) $reserved); |
|
344 | - $this->set('DTT_reserved', $reserved); |
|
345 | - } |
|
346 | - |
|
347 | - |
|
348 | - /** |
|
349 | - * Increments reserved by amount passed by $qty, and persists it immediately to the database. |
|
350 | - * |
|
351 | - * @param int $qty |
|
352 | - * @return boolean indicating success |
|
353 | - * @throws ReflectionException |
|
354 | - * @throws InvalidArgumentException |
|
355 | - * @throws InvalidInterfaceException |
|
356 | - * @throws InvalidDataTypeException |
|
357 | - * @throws EE_Error |
|
358 | - */ |
|
359 | - public function increaseReserved($qty = 1) |
|
360 | - { |
|
361 | - $qty = absint($qty); |
|
362 | - $success = $this->incrementFieldConditionallyInDb( |
|
363 | - 'DTT_reserved', |
|
364 | - 'DTT_sold', |
|
365 | - 'DTT_reg_limit', |
|
366 | - $qty |
|
367 | - ); |
|
368 | - do_action( |
|
369 | - 'AHEE__EE_Datetime__increase_reserved', |
|
370 | - $this, |
|
371 | - $qty, |
|
372 | - $this->reserved(), |
|
373 | - $success |
|
374 | - ); |
|
375 | - return $success; |
|
376 | - } |
|
377 | - |
|
378 | - |
|
379 | - /** |
|
380 | - * Decrements (subtracts) reserved by amount passed by $qty, and persists it immediately to the database. |
|
381 | - * |
|
382 | - * @param int $qty |
|
383 | - * @return boolean indicating success |
|
384 | - * @throws ReflectionException |
|
385 | - * @throws InvalidArgumentException |
|
386 | - * @throws InvalidInterfaceException |
|
387 | - * @throws InvalidDataTypeException |
|
388 | - * @throws EE_Error |
|
389 | - */ |
|
390 | - public function decreaseReserved($qty = 1) |
|
391 | - { |
|
392 | - $qty = absint($qty); |
|
393 | - $success = $this->adjustNumericFieldsInDb( |
|
394 | - [ |
|
395 | - 'DTT_reserved' => $qty * -1 |
|
396 | - ] |
|
397 | - ); |
|
398 | - do_action( |
|
399 | - 'AHEE__EE_Datetime__decrease_reserved', |
|
400 | - $this, |
|
401 | - $qty, |
|
402 | - $this->reserved(), |
|
403 | - $success |
|
404 | - ); |
|
405 | - return $success; |
|
406 | - } |
|
407 | - |
|
408 | - |
|
409 | - /** |
|
410 | - * total sold and reserved tickets |
|
411 | - * |
|
412 | - * @return int |
|
413 | - * @throws ReflectionException |
|
414 | - * @throws InvalidArgumentException |
|
415 | - * @throws InvalidInterfaceException |
|
416 | - * @throws InvalidDataTypeException |
|
417 | - * @throws EE_Error |
|
418 | - */ |
|
419 | - public function sold_and_reserved() |
|
420 | - { |
|
421 | - return $this->sold() + $this->reserved(); |
|
422 | - } |
|
423 | - |
|
424 | - |
|
425 | - /** |
|
426 | - * returns the datetime name |
|
427 | - * |
|
428 | - * @return string |
|
429 | - * @throws ReflectionException |
|
430 | - * @throws InvalidArgumentException |
|
431 | - * @throws InvalidInterfaceException |
|
432 | - * @throws InvalidDataTypeException |
|
433 | - * @throws EE_Error |
|
434 | - */ |
|
435 | - public function name() |
|
436 | - { |
|
437 | - return $this->get('DTT_name'); |
|
438 | - } |
|
439 | - |
|
440 | - |
|
441 | - /** |
|
442 | - * returns the datetime description |
|
443 | - * |
|
444 | - * @return string |
|
445 | - * @throws ReflectionException |
|
446 | - * @throws InvalidArgumentException |
|
447 | - * @throws InvalidInterfaceException |
|
448 | - * @throws InvalidDataTypeException |
|
449 | - * @throws EE_Error |
|
450 | - */ |
|
451 | - public function description() |
|
452 | - { |
|
453 | - return $this->get('DTT_description'); |
|
454 | - } |
|
455 | - |
|
456 | - |
|
457 | - /** |
|
458 | - * This helper simply returns whether the event_datetime for the current datetime is a primary datetime |
|
459 | - * |
|
460 | - * @return boolean TRUE if is primary, FALSE if not. |
|
461 | - * @throws ReflectionException |
|
462 | - * @throws InvalidArgumentException |
|
463 | - * @throws InvalidInterfaceException |
|
464 | - * @throws InvalidDataTypeException |
|
465 | - * @throws EE_Error |
|
466 | - */ |
|
467 | - public function is_primary() |
|
468 | - { |
|
469 | - return $this->get('DTT_is_primary'); |
|
470 | - } |
|
471 | - |
|
472 | - |
|
473 | - /** |
|
474 | - * This helper simply returns the order for the datetime |
|
475 | - * |
|
476 | - * @return int The order of the datetime for this event. |
|
477 | - * @throws ReflectionException |
|
478 | - * @throws InvalidArgumentException |
|
479 | - * @throws InvalidInterfaceException |
|
480 | - * @throws InvalidDataTypeException |
|
481 | - * @throws EE_Error |
|
482 | - */ |
|
483 | - public function order() |
|
484 | - { |
|
485 | - return $this->get('DTT_order'); |
|
486 | - } |
|
487 | - |
|
488 | - |
|
489 | - /** |
|
490 | - * This helper simply returns the parent id for the datetime |
|
491 | - * |
|
492 | - * @return int |
|
493 | - * @throws ReflectionException |
|
494 | - * @throws InvalidArgumentException |
|
495 | - * @throws InvalidInterfaceException |
|
496 | - * @throws InvalidDataTypeException |
|
497 | - * @throws EE_Error |
|
498 | - */ |
|
499 | - public function parent() |
|
500 | - { |
|
501 | - return $this->get('DTT_parent'); |
|
502 | - } |
|
503 | - |
|
504 | - |
|
505 | - /** |
|
506 | - * show date and/or time |
|
507 | - * |
|
508 | - * @param string $date_or_time whether to display a date or time or both |
|
509 | - * @param string $start_or_end whether to display start or end datetimes |
|
510 | - * @param string $dt_frmt |
|
511 | - * @param string $tm_frmt |
|
512 | - * @param bool $echo whether we echo or return (note echoing uses "pretty" formats, |
|
513 | - * otherwise we use the standard formats) |
|
514 | - * @return string|bool string on success, FALSE on fail |
|
515 | - * @throws ReflectionException |
|
516 | - * @throws InvalidArgumentException |
|
517 | - * @throws InvalidInterfaceException |
|
518 | - * @throws InvalidDataTypeException |
|
519 | - * @throws EE_Error |
|
520 | - */ |
|
521 | - private function _show_datetime( |
|
522 | - $date_or_time = null, |
|
523 | - $start_or_end = 'start', |
|
524 | - $dt_frmt = '', |
|
525 | - $tm_frmt = '', |
|
526 | - $echo = false |
|
527 | - ) { |
|
528 | - $field_name = "DTT_EVT_{$start_or_end}"; |
|
529 | - $dtt = $this->_get_datetime( |
|
530 | - $field_name, |
|
531 | - $dt_frmt, |
|
532 | - $tm_frmt, |
|
533 | - $date_or_time, |
|
534 | - $echo |
|
535 | - ); |
|
536 | - if (! $echo) { |
|
537 | - return $dtt; |
|
538 | - } |
|
539 | - return ''; |
|
540 | - } |
|
541 | - |
|
542 | - |
|
543 | - /** |
|
544 | - * get event start date. Provide either the date format, or NULL to re-use the |
|
545 | - * last-used format, or '' to use the default date format |
|
546 | - * |
|
547 | - * @param string $dt_frmt string representation of date format defaults to 'F j, Y' |
|
548 | - * @return mixed string on success, FALSE on fail |
|
549 | - * @throws ReflectionException |
|
550 | - * @throws InvalidArgumentException |
|
551 | - * @throws InvalidInterfaceException |
|
552 | - * @throws InvalidDataTypeException |
|
553 | - * @throws EE_Error |
|
554 | - */ |
|
555 | - public function start_date($dt_frmt = '') |
|
556 | - { |
|
557 | - return $this->_show_datetime('D', 'start', $dt_frmt); |
|
558 | - } |
|
559 | - |
|
560 | - |
|
561 | - /** |
|
562 | - * Echoes start_date() |
|
563 | - * |
|
564 | - * @param string $dt_frmt |
|
565 | - * @throws ReflectionException |
|
566 | - * @throws InvalidArgumentException |
|
567 | - * @throws InvalidInterfaceException |
|
568 | - * @throws InvalidDataTypeException |
|
569 | - * @throws EE_Error |
|
570 | - */ |
|
571 | - public function e_start_date($dt_frmt = '') |
|
572 | - { |
|
573 | - $this->_show_datetime('D', 'start', $dt_frmt, null, true); |
|
574 | - } |
|
575 | - |
|
576 | - |
|
577 | - /** |
|
578 | - * get end date. Provide either the date format, or NULL to re-use the |
|
579 | - * last-used format, or '' to use the default date format |
|
580 | - * |
|
581 | - * @param string $dt_frmt string representation of date format defaults to 'F j, Y' |
|
582 | - * @return mixed string on success, FALSE on fail |
|
583 | - * @throws ReflectionException |
|
584 | - * @throws InvalidArgumentException |
|
585 | - * @throws InvalidInterfaceException |
|
586 | - * @throws InvalidDataTypeException |
|
587 | - * @throws EE_Error |
|
588 | - */ |
|
589 | - public function end_date($dt_frmt = '') |
|
590 | - { |
|
591 | - return $this->_show_datetime('D', 'end', $dt_frmt); |
|
592 | - } |
|
593 | - |
|
594 | - |
|
595 | - /** |
|
596 | - * Echoes the end date. See end_date() |
|
597 | - * |
|
598 | - * @param string $dt_frmt |
|
599 | - * @throws ReflectionException |
|
600 | - * @throws InvalidArgumentException |
|
601 | - * @throws InvalidInterfaceException |
|
602 | - * @throws InvalidDataTypeException |
|
603 | - * @throws EE_Error |
|
604 | - */ |
|
605 | - public function e_end_date($dt_frmt = '') |
|
606 | - { |
|
607 | - $this->_show_datetime('D', 'end', $dt_frmt, null, true); |
|
608 | - } |
|
609 | - |
|
610 | - |
|
611 | - /** |
|
612 | - * get date_range - meaning the start AND end date |
|
613 | - * |
|
614 | - * @access public |
|
615 | - * @param string $dt_frmt string representation of date format defaults to WP settings |
|
616 | - * @param string $conjunction conjunction junction what's your function ? |
|
617 | - * this string joins the start date with the end date ie: Jan 01 "to" Dec 31 |
|
618 | - * @return mixed string on success, FALSE on fail |
|
619 | - * @throws ReflectionException |
|
620 | - * @throws InvalidArgumentException |
|
621 | - * @throws InvalidInterfaceException |
|
622 | - * @throws InvalidDataTypeException |
|
623 | - * @throws EE_Error |
|
624 | - */ |
|
625 | - public function date_range($dt_frmt = '', $conjunction = ' - ') |
|
626 | - { |
|
627 | - $dt_frmt = ! empty($dt_frmt) ? $dt_frmt : $this->_dt_frmt; |
|
628 | - $start = str_replace( |
|
629 | - ' ', |
|
630 | - ' ', |
|
631 | - $this->get_i18n_datetime('DTT_EVT_start', $dt_frmt) |
|
632 | - ); |
|
633 | - $end = str_replace( |
|
634 | - ' ', |
|
635 | - ' ', |
|
636 | - $this->get_i18n_datetime('DTT_EVT_end', $dt_frmt) |
|
637 | - ); |
|
638 | - return $start !== $end ? $start . $conjunction . $end : $start; |
|
639 | - } |
|
640 | - |
|
641 | - |
|
642 | - /** |
|
643 | - * @param string $dt_frmt |
|
644 | - * @param string $conjunction |
|
645 | - * @throws ReflectionException |
|
646 | - * @throws InvalidArgumentException |
|
647 | - * @throws InvalidInterfaceException |
|
648 | - * @throws InvalidDataTypeException |
|
649 | - * @throws EE_Error |
|
650 | - */ |
|
651 | - public function e_date_range($dt_frmt = '', $conjunction = ' - ') |
|
652 | - { |
|
653 | - echo $this->date_range($dt_frmt, $conjunction); |
|
654 | - } |
|
655 | - |
|
656 | - |
|
657 | - /** |
|
658 | - * get start time |
|
659 | - * |
|
660 | - * @param string $tm_format - string representation of time format defaults to 'g:i a' |
|
661 | - * @return mixed string on success, FALSE on fail |
|
662 | - * @throws ReflectionException |
|
663 | - * @throws InvalidArgumentException |
|
664 | - * @throws InvalidInterfaceException |
|
665 | - * @throws InvalidDataTypeException |
|
666 | - * @throws EE_Error |
|
667 | - */ |
|
668 | - public function start_time($tm_format = '') |
|
669 | - { |
|
670 | - return $this->_show_datetime('T', 'start', null, $tm_format); |
|
671 | - } |
|
672 | - |
|
673 | - |
|
674 | - /** |
|
675 | - * @param string $tm_format |
|
676 | - * @throws ReflectionException |
|
677 | - * @throws InvalidArgumentException |
|
678 | - * @throws InvalidInterfaceException |
|
679 | - * @throws InvalidDataTypeException |
|
680 | - * @throws EE_Error |
|
681 | - */ |
|
682 | - public function e_start_time($tm_format = '') |
|
683 | - { |
|
684 | - $this->_show_datetime('T', 'start', null, $tm_format, true); |
|
685 | - } |
|
686 | - |
|
687 | - |
|
688 | - /** |
|
689 | - * get end time |
|
690 | - * |
|
691 | - * @param string $tm_format string representation of time format defaults to 'g:i a' |
|
692 | - * @return mixed string on success, FALSE on fail |
|
693 | - * @throws ReflectionException |
|
694 | - * @throws InvalidArgumentException |
|
695 | - * @throws InvalidInterfaceException |
|
696 | - * @throws InvalidDataTypeException |
|
697 | - * @throws EE_Error |
|
698 | - */ |
|
699 | - public function end_time($tm_format = '') |
|
700 | - { |
|
701 | - return $this->_show_datetime('T', 'end', null, $tm_format); |
|
702 | - } |
|
703 | - |
|
704 | - |
|
705 | - /** |
|
706 | - * @param string $tm_format |
|
707 | - * @throws ReflectionException |
|
708 | - * @throws InvalidArgumentException |
|
709 | - * @throws InvalidInterfaceException |
|
710 | - * @throws InvalidDataTypeException |
|
711 | - * @throws EE_Error |
|
712 | - */ |
|
713 | - public function e_end_time($tm_format = '') |
|
714 | - { |
|
715 | - $this->_show_datetime('T', 'end', null, $tm_format, true); |
|
716 | - } |
|
717 | - |
|
718 | - |
|
719 | - /** |
|
720 | - * get time_range |
|
721 | - * |
|
722 | - * @access public |
|
723 | - * @param string $tm_format string representation of time format defaults to 'g:i a' |
|
724 | - * @param string $conjunction conjunction junction what's your function ? |
|
725 | - * this string joins the start date with the end date ie: Jan 01 "to" Dec 31 |
|
726 | - * @return mixed string on success, FALSE on fail |
|
727 | - * @throws ReflectionException |
|
728 | - * @throws InvalidArgumentException |
|
729 | - * @throws InvalidInterfaceException |
|
730 | - * @throws InvalidDataTypeException |
|
731 | - * @throws EE_Error |
|
732 | - */ |
|
733 | - public function time_range($tm_format = '', $conjunction = ' - ') |
|
734 | - { |
|
735 | - $tm_format = ! empty($tm_format) ? $tm_format : $this->_tm_frmt; |
|
736 | - $start = str_replace( |
|
737 | - ' ', |
|
738 | - ' ', |
|
739 | - $this->get_i18n_datetime('DTT_EVT_start', $tm_format) |
|
740 | - ); |
|
741 | - $end = str_replace( |
|
742 | - ' ', |
|
743 | - ' ', |
|
744 | - $this->get_i18n_datetime('DTT_EVT_end', $tm_format) |
|
745 | - ); |
|
746 | - return $start !== $end ? $start . $conjunction . $end : $start; |
|
747 | - } |
|
748 | - |
|
749 | - |
|
750 | - /** |
|
751 | - * @param string $tm_format |
|
752 | - * @param string $conjunction |
|
753 | - * @throws ReflectionException |
|
754 | - * @throws InvalidArgumentException |
|
755 | - * @throws InvalidInterfaceException |
|
756 | - * @throws InvalidDataTypeException |
|
757 | - * @throws EE_Error |
|
758 | - */ |
|
759 | - public function e_time_range($tm_format = '', $conjunction = ' - ') |
|
760 | - { |
|
761 | - echo $this->time_range($tm_format, $conjunction); |
|
762 | - } |
|
763 | - |
|
764 | - |
|
765 | - /** |
|
766 | - * This returns a range representation of the date and times. |
|
767 | - * Output is dependent on the difference (or similarity) between DTT_EVT_start and DTT_EVT_end. |
|
768 | - * Also, the return value is localized. |
|
769 | - * |
|
770 | - * @param string $dt_format |
|
771 | - * @param string $tm_format |
|
772 | - * @param string $conjunction used between two different dates or times. |
|
773 | - * ex: Dec 1{$conjunction}}Dec 6, or 2pm{$conjunction}3pm |
|
774 | - * @param string $separator used between the date and time formats. |
|
775 | - * ex: Dec 1, 2016{$separator}2pm |
|
776 | - * @return string |
|
777 | - * @throws ReflectionException |
|
778 | - * @throws InvalidArgumentException |
|
779 | - * @throws InvalidInterfaceException |
|
780 | - * @throws InvalidDataTypeException |
|
781 | - * @throws EE_Error |
|
782 | - */ |
|
783 | - public function date_and_time_range( |
|
784 | - $dt_format = '', |
|
785 | - $tm_format = '', |
|
786 | - $conjunction = ' - ', |
|
787 | - $separator = ' ' |
|
788 | - ) { |
|
789 | - $dt_format = ! empty($dt_format) ? $dt_format : $this->_dt_frmt; |
|
790 | - $tm_format = ! empty($tm_format) ? $tm_format : $this->_tm_frmt; |
|
791 | - $full_format = $dt_format . $separator . $tm_format; |
|
792 | - // the range output depends on various conditions |
|
793 | - switch (true) { |
|
794 | - // start date timestamp and end date timestamp are the same. |
|
795 | - case ($this->get_raw('DTT_EVT_start') === $this->get_raw('DTT_EVT_end')): |
|
796 | - $output = $this->get_i18n_datetime('DTT_EVT_start', $full_format); |
|
797 | - break; |
|
798 | - // start and end date are the same but times are different |
|
799 | - case ($this->start_date() === $this->end_date()): |
|
800 | - $output = $this->get_i18n_datetime('DTT_EVT_start', $full_format) |
|
801 | - . $conjunction |
|
802 | - . $this->get_i18n_datetime('DTT_EVT_end', $tm_format); |
|
803 | - break; |
|
804 | - // all other conditions |
|
805 | - default: |
|
806 | - $output = $this->get_i18n_datetime('DTT_EVT_start', $full_format) |
|
807 | - . $conjunction |
|
808 | - . $this->get_i18n_datetime('DTT_EVT_end', $full_format); |
|
809 | - break; |
|
810 | - } |
|
811 | - return $output; |
|
812 | - } |
|
813 | - |
|
814 | - |
|
815 | - /** |
|
816 | - * This echos the results of date and time range. |
|
817 | - * |
|
818 | - * @see date_and_time_range() for more details on purpose. |
|
819 | - * @param string $dt_format |
|
820 | - * @param string $tm_format |
|
821 | - * @param string $conjunction |
|
822 | - * @return void |
|
823 | - * @throws ReflectionException |
|
824 | - * @throws InvalidArgumentException |
|
825 | - * @throws InvalidInterfaceException |
|
826 | - * @throws InvalidDataTypeException |
|
827 | - * @throws EE_Error |
|
828 | - */ |
|
829 | - public function e_date_and_time_range($dt_format = '', $tm_format = '', $conjunction = ' - ') |
|
830 | - { |
|
831 | - echo $this->date_and_time_range($dt_format, $tm_format, $conjunction); |
|
832 | - } |
|
833 | - |
|
834 | - |
|
835 | - /** |
|
836 | - * get start date and start time |
|
837 | - * |
|
838 | - * @param string $dt_format - string representation of date format defaults to 'F j, Y' |
|
839 | - * @param string $tm_format - string representation of time format defaults to 'g:i a' |
|
840 | - * @return mixed string on success, FALSE on fail |
|
841 | - * @throws ReflectionException |
|
842 | - * @throws InvalidArgumentException |
|
843 | - * @throws InvalidInterfaceException |
|
844 | - * @throws InvalidDataTypeException |
|
845 | - * @throws EE_Error |
|
846 | - */ |
|
847 | - public function start_date_and_time($dt_format = '', $tm_format = '') |
|
848 | - { |
|
849 | - return $this->_show_datetime('', 'start', $dt_format, $tm_format); |
|
850 | - } |
|
851 | - |
|
852 | - |
|
853 | - /** |
|
854 | - * @param string $dt_frmt |
|
855 | - * @param string $tm_format |
|
856 | - * @throws ReflectionException |
|
857 | - * @throws InvalidArgumentException |
|
858 | - * @throws InvalidInterfaceException |
|
859 | - * @throws InvalidDataTypeException |
|
860 | - * @throws EE_Error |
|
861 | - */ |
|
862 | - public function e_start_date_and_time($dt_frmt = '', $tm_format = '') |
|
863 | - { |
|
864 | - $this->_show_datetime('', 'start', $dt_frmt, $tm_format, true); |
|
865 | - } |
|
866 | - |
|
867 | - |
|
868 | - /** |
|
869 | - * Shows the length of the event (start to end time). |
|
870 | - * Can be shown in 'seconds','minutes','hours', or 'days'. |
|
871 | - * By default, rounds up. (So if you use 'days', and then event |
|
872 | - * only occurs for 1 hour, it will return 1 day). |
|
873 | - * |
|
874 | - * @param string $units 'seconds','minutes','hours','days' |
|
875 | - * @param bool $round_up |
|
876 | - * @return float|int|mixed |
|
877 | - * @throws ReflectionException |
|
878 | - * @throws InvalidArgumentException |
|
879 | - * @throws InvalidInterfaceException |
|
880 | - * @throws InvalidDataTypeException |
|
881 | - * @throws EE_Error |
|
882 | - */ |
|
883 | - public function length($units = 'seconds', $round_up = false) |
|
884 | - { |
|
885 | - $start = $this->get_raw('DTT_EVT_start'); |
|
886 | - $end = $this->get_raw('DTT_EVT_end'); |
|
887 | - $length_in_units = $end - $start; |
|
888 | - switch ($units) { |
|
889 | - // NOTE: We purposefully don't use "break;" in order to chain the divisions |
|
890 | - /** @noinspection PhpMissingBreakStatementInspection */ |
|
891 | - // phpcs:disable PSR2.ControlStructures.SwitchDeclaration.TerminatingComment |
|
892 | - case 'days': |
|
893 | - $length_in_units /= 24; |
|
894 | - /** @noinspection PhpMissingBreakStatementInspection */ |
|
895 | - case 'hours': |
|
896 | - // fall through is intentional |
|
897 | - $length_in_units /= 60; |
|
898 | - /** @noinspection PhpMissingBreakStatementInspection */ |
|
899 | - case 'minutes': |
|
900 | - // fall through is intentional |
|
901 | - $length_in_units /= 60; |
|
902 | - case 'seconds': |
|
903 | - default: |
|
904 | - $length_in_units = ceil($length_in_units); |
|
905 | - } |
|
906 | - // phpcs:enable |
|
907 | - if ($round_up) { |
|
908 | - $length_in_units = max($length_in_units, 1); |
|
909 | - } |
|
910 | - return $length_in_units; |
|
911 | - } |
|
912 | - |
|
913 | - |
|
914 | - /** |
|
915 | - * get end date and time |
|
916 | - * |
|
917 | - * @param string $dt_frmt - string representation of date format defaults to 'F j, Y' |
|
918 | - * @param string $tm_format - string representation of time format defaults to 'g:i a' |
|
919 | - * @return mixed string on success, FALSE on fail |
|
920 | - * @throws ReflectionException |
|
921 | - * @throws InvalidArgumentException |
|
922 | - * @throws InvalidInterfaceException |
|
923 | - * @throws InvalidDataTypeException |
|
924 | - * @throws EE_Error |
|
925 | - */ |
|
926 | - public function end_date_and_time($dt_frmt = '', $tm_format = '') |
|
927 | - { |
|
928 | - return $this->_show_datetime('', 'end', $dt_frmt, $tm_format); |
|
929 | - } |
|
930 | - |
|
931 | - |
|
932 | - /** |
|
933 | - * @param string $dt_frmt |
|
934 | - * @param string $tm_format |
|
935 | - * @throws ReflectionException |
|
936 | - * @throws InvalidArgumentException |
|
937 | - * @throws InvalidInterfaceException |
|
938 | - * @throws InvalidDataTypeException |
|
939 | - * @throws EE_Error |
|
940 | - */ |
|
941 | - public function e_end_date_and_time($dt_frmt = '', $tm_format = '') |
|
942 | - { |
|
943 | - $this->_show_datetime('', 'end', $dt_frmt, $tm_format, true); |
|
944 | - } |
|
945 | - |
|
946 | - |
|
947 | - /** |
|
948 | - * get start timestamp |
|
949 | - * |
|
950 | - * @return int |
|
951 | - * @throws ReflectionException |
|
952 | - * @throws InvalidArgumentException |
|
953 | - * @throws InvalidInterfaceException |
|
954 | - * @throws InvalidDataTypeException |
|
955 | - * @throws EE_Error |
|
956 | - */ |
|
957 | - public function start() |
|
958 | - { |
|
959 | - return $this->get_raw('DTT_EVT_start'); |
|
960 | - } |
|
961 | - |
|
962 | - |
|
963 | - /** |
|
964 | - * get end timestamp |
|
965 | - * |
|
966 | - * @return int |
|
967 | - * @throws ReflectionException |
|
968 | - * @throws InvalidArgumentException |
|
969 | - * @throws InvalidInterfaceException |
|
970 | - * @throws InvalidDataTypeException |
|
971 | - * @throws EE_Error |
|
972 | - */ |
|
973 | - public function end() |
|
974 | - { |
|
975 | - return $this->get_raw('DTT_EVT_end'); |
|
976 | - } |
|
977 | - |
|
978 | - |
|
979 | - /** |
|
980 | - * get the registration limit for this datetime slot |
|
981 | - * |
|
982 | - * @return mixed int on success, FALSE on fail |
|
983 | - * @throws ReflectionException |
|
984 | - * @throws InvalidArgumentException |
|
985 | - * @throws InvalidInterfaceException |
|
986 | - * @throws InvalidDataTypeException |
|
987 | - * @throws EE_Error |
|
988 | - */ |
|
989 | - public function reg_limit() |
|
990 | - { |
|
991 | - return $this->get_raw('DTT_reg_limit'); |
|
992 | - } |
|
993 | - |
|
994 | - |
|
995 | - /** |
|
996 | - * have the tickets sold for this datetime, met or exceed the registration limit ? |
|
997 | - * |
|
998 | - * @return boolean |
|
999 | - * @throws ReflectionException |
|
1000 | - * @throws InvalidArgumentException |
|
1001 | - * @throws InvalidInterfaceException |
|
1002 | - * @throws InvalidDataTypeException |
|
1003 | - * @throws EE_Error |
|
1004 | - */ |
|
1005 | - public function sold_out() |
|
1006 | - { |
|
1007 | - return $this->reg_limit() > 0 && $this->sold() >= $this->reg_limit(); |
|
1008 | - } |
|
1009 | - |
|
1010 | - |
|
1011 | - /** |
|
1012 | - * return the total number of spaces remaining at this venue. |
|
1013 | - * This only takes the venue's capacity into account, NOT the tickets available for sale |
|
1014 | - * |
|
1015 | - * @param bool $consider_tickets Whether to consider tickets remaining when determining if there are any spaces left |
|
1016 | - * Because if all tickets attached to this datetime have no spaces left, |
|
1017 | - * then this datetime IS effectively sold out. |
|
1018 | - * However, there are cases where we just want to know the spaces |
|
1019 | - * remaining for this particular datetime, hence the flag. |
|
1020 | - * @return int |
|
1021 | - * @throws ReflectionException |
|
1022 | - * @throws InvalidArgumentException |
|
1023 | - * @throws InvalidInterfaceException |
|
1024 | - * @throws InvalidDataTypeException |
|
1025 | - * @throws EE_Error |
|
1026 | - */ |
|
1027 | - public function spaces_remaining($consider_tickets = false) |
|
1028 | - { |
|
1029 | - // tickets remaining available for purchase |
|
1030 | - // no need for special checks for infinite, because if DTT_reg_limit == EE_INF, then EE_INF - x = EE_INF |
|
1031 | - $dtt_remaining = $this->reg_limit() - $this->sold_and_reserved(); |
|
1032 | - if (! $consider_tickets) { |
|
1033 | - return $dtt_remaining; |
|
1034 | - } |
|
1035 | - $tickets_remaining = $this->tickets_remaining(); |
|
1036 | - return min($dtt_remaining, $tickets_remaining); |
|
1037 | - } |
|
1038 | - |
|
1039 | - |
|
1040 | - /** |
|
1041 | - * Counts the total tickets available |
|
1042 | - * (from all the different types of tickets which are available for this datetime). |
|
1043 | - * |
|
1044 | - * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1045 | - * @return int |
|
1046 | - * @throws ReflectionException |
|
1047 | - * @throws InvalidArgumentException |
|
1048 | - * @throws InvalidInterfaceException |
|
1049 | - * @throws InvalidDataTypeException |
|
1050 | - * @throws EE_Error |
|
1051 | - */ |
|
1052 | - public function tickets_remaining($query_params = array()) |
|
1053 | - { |
|
1054 | - $sum = 0; |
|
1055 | - $tickets = $this->tickets($query_params); |
|
1056 | - if (! empty($tickets)) { |
|
1057 | - foreach ($tickets as $ticket) { |
|
1058 | - if ($ticket instanceof EE_Ticket) { |
|
1059 | - // get the actual amount of tickets that can be sold |
|
1060 | - $qty = $ticket->qty('saleable'); |
|
1061 | - if ($qty === EE_INF) { |
|
1062 | - return EE_INF; |
|
1063 | - } |
|
1064 | - // no negative ticket quantities plz |
|
1065 | - if ($qty > 0) { |
|
1066 | - $sum += $qty; |
|
1067 | - } |
|
1068 | - } |
|
1069 | - } |
|
1070 | - } |
|
1071 | - return $sum; |
|
1072 | - } |
|
1073 | - |
|
1074 | - |
|
1075 | - /** |
|
1076 | - * Gets the count of all the tickets available at this datetime (not ticket types) |
|
1077 | - * before any were sold |
|
1078 | - * |
|
1079 | - * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1080 | - * @return int |
|
1081 | - * @throws ReflectionException |
|
1082 | - * @throws InvalidArgumentException |
|
1083 | - * @throws InvalidInterfaceException |
|
1084 | - * @throws InvalidDataTypeException |
|
1085 | - * @throws EE_Error |
|
1086 | - */ |
|
1087 | - public function sum_tickets_initially_available($query_params = array()) |
|
1088 | - { |
|
1089 | - return $this->sum_related('Ticket', $query_params, 'TKT_qty'); |
|
1090 | - } |
|
1091 | - |
|
1092 | - |
|
1093 | - /** |
|
1094 | - * Returns the lesser-of-the two: spaces remaining at this datetime, or |
|
1095 | - * the total tickets remaining (a sum of the tickets remaining for each ticket type |
|
1096 | - * that is available for this datetime). |
|
1097 | - * |
|
1098 | - * @return int |
|
1099 | - * @throws ReflectionException |
|
1100 | - * @throws InvalidArgumentException |
|
1101 | - * @throws InvalidInterfaceException |
|
1102 | - * @throws InvalidDataTypeException |
|
1103 | - * @throws EE_Error |
|
1104 | - */ |
|
1105 | - public function total_tickets_available_at_this_datetime() |
|
1106 | - { |
|
1107 | - return $this->spaces_remaining(true); |
|
1108 | - } |
|
1109 | - |
|
1110 | - |
|
1111 | - /** |
|
1112 | - * This simply compares the internal dtt for the given string with NOW |
|
1113 | - * and determines if the date is upcoming or not. |
|
1114 | - * |
|
1115 | - * @access public |
|
1116 | - * @return boolean |
|
1117 | - * @throws ReflectionException |
|
1118 | - * @throws InvalidArgumentException |
|
1119 | - * @throws InvalidInterfaceException |
|
1120 | - * @throws InvalidDataTypeException |
|
1121 | - * @throws EE_Error |
|
1122 | - */ |
|
1123 | - public function is_upcoming() |
|
1124 | - { |
|
1125 | - return ($this->get_raw('DTT_EVT_start') > time()); |
|
1126 | - } |
|
1127 | - |
|
1128 | - |
|
1129 | - /** |
|
1130 | - * This simply compares the internal datetime for the given string with NOW |
|
1131 | - * and returns if the date is active (i.e. start and end time) |
|
1132 | - * |
|
1133 | - * @return boolean |
|
1134 | - * @throws ReflectionException |
|
1135 | - * @throws InvalidArgumentException |
|
1136 | - * @throws InvalidInterfaceException |
|
1137 | - * @throws InvalidDataTypeException |
|
1138 | - * @throws EE_Error |
|
1139 | - */ |
|
1140 | - public function is_active() |
|
1141 | - { |
|
1142 | - return ($this->get_raw('DTT_EVT_start') < time() && $this->get_raw('DTT_EVT_end') > time()); |
|
1143 | - } |
|
1144 | - |
|
1145 | - |
|
1146 | - /** |
|
1147 | - * This simply compares the internal dtt for the given string with NOW |
|
1148 | - * and determines if the date is expired or not. |
|
1149 | - * |
|
1150 | - * @return boolean |
|
1151 | - * @throws ReflectionException |
|
1152 | - * @throws InvalidArgumentException |
|
1153 | - * @throws InvalidInterfaceException |
|
1154 | - * @throws InvalidDataTypeException |
|
1155 | - * @throws EE_Error |
|
1156 | - */ |
|
1157 | - public function is_expired() |
|
1158 | - { |
|
1159 | - return ($this->get_raw('DTT_EVT_end') < time()); |
|
1160 | - } |
|
1161 | - |
|
1162 | - |
|
1163 | - /** |
|
1164 | - * This returns the active status for whether an event is active, upcoming, or expired |
|
1165 | - * |
|
1166 | - * @return int return value will be one of the EE_Datetime status constants. |
|
1167 | - * @throws ReflectionException |
|
1168 | - * @throws InvalidArgumentException |
|
1169 | - * @throws InvalidInterfaceException |
|
1170 | - * @throws InvalidDataTypeException |
|
1171 | - * @throws EE_Error |
|
1172 | - */ |
|
1173 | - public function get_active_status() |
|
1174 | - { |
|
1175 | - $total_tickets_for_this_dtt = $this->total_tickets_available_at_this_datetime(); |
|
1176 | - if ($total_tickets_for_this_dtt !== false && $total_tickets_for_this_dtt < 1) { |
|
1177 | - return EE_Datetime::sold_out; |
|
1178 | - } |
|
1179 | - if ($this->is_expired()) { |
|
1180 | - return EE_Datetime::expired; |
|
1181 | - } |
|
1182 | - if ($this->is_upcoming()) { |
|
1183 | - return EE_Datetime::upcoming; |
|
1184 | - } |
|
1185 | - if ($this->is_active()) { |
|
1186 | - return EE_Datetime::active; |
|
1187 | - } |
|
1188 | - return null; |
|
1189 | - } |
|
1190 | - |
|
1191 | - |
|
1192 | - /** |
|
1193 | - * This returns a nice display name for the datetime that is contingent on the span between the dates and times. |
|
1194 | - * |
|
1195 | - * @param boolean $use_dtt_name if TRUE then we'll use DTT->name() if its not empty. |
|
1196 | - * @return string |
|
1197 | - * @throws ReflectionException |
|
1198 | - * @throws InvalidArgumentException |
|
1199 | - * @throws InvalidInterfaceException |
|
1200 | - * @throws InvalidDataTypeException |
|
1201 | - * @throws EE_Error |
|
1202 | - */ |
|
1203 | - public function get_dtt_display_name($use_dtt_name = false) |
|
1204 | - { |
|
1205 | - if ($use_dtt_name) { |
|
1206 | - $dtt_name = $this->name(); |
|
1207 | - if (! empty($dtt_name)) { |
|
1208 | - return $dtt_name; |
|
1209 | - } |
|
1210 | - } |
|
1211 | - // first condition is to see if the months are different |
|
1212 | - if ( |
|
1213 | - date('m', $this->get_raw('DTT_EVT_start')) !== date('m', $this->get_raw('DTT_EVT_end')) |
|
1214 | - ) { |
|
1215 | - $display_date = $this->start_date('M j\, Y g:i a') . ' - ' . $this->end_date('M j\, Y g:i a'); |
|
1216 | - // next condition is if its the same month but different day |
|
1217 | - } else { |
|
1218 | - if ( |
|
1219 | - date('m', $this->get_raw('DTT_EVT_start')) === date('m', $this->get_raw('DTT_EVT_end')) |
|
1220 | - && date('d', $this->get_raw('DTT_EVT_start')) !== date('d', $this->get_raw('DTT_EVT_end')) |
|
1221 | - ) { |
|
1222 | - $display_date = $this->start_date('M j\, g:i a') . ' - ' . $this->end_date('M j\, g:i a Y'); |
|
1223 | - } else { |
|
1224 | - $display_date = $this->start_date('F j\, Y') |
|
1225 | - . ' @ ' |
|
1226 | - . $this->start_date('g:i a') |
|
1227 | - . ' - ' |
|
1228 | - . $this->end_date('g:i a'); |
|
1229 | - } |
|
1230 | - } |
|
1231 | - return $display_date; |
|
1232 | - } |
|
1233 | - |
|
1234 | - |
|
1235 | - /** |
|
1236 | - * Gets all the tickets for this datetime |
|
1237 | - * |
|
1238 | - * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1239 | - * @return EE_Base_Class[]|EE_Ticket[] |
|
1240 | - * @throws ReflectionException |
|
1241 | - * @throws InvalidArgumentException |
|
1242 | - * @throws InvalidInterfaceException |
|
1243 | - * @throws InvalidDataTypeException |
|
1244 | - * @throws EE_Error |
|
1245 | - */ |
|
1246 | - public function tickets($query_params = array()) |
|
1247 | - { |
|
1248 | - return $this->get_many_related('Ticket', $query_params); |
|
1249 | - } |
|
1250 | - |
|
1251 | - |
|
1252 | - /** |
|
1253 | - * Gets all the ticket types currently available for purchase |
|
1254 | - * |
|
1255 | - * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1256 | - * @return EE_Ticket[] |
|
1257 | - * @throws ReflectionException |
|
1258 | - * @throws InvalidArgumentException |
|
1259 | - * @throws InvalidInterfaceException |
|
1260 | - * @throws InvalidDataTypeException |
|
1261 | - * @throws EE_Error |
|
1262 | - */ |
|
1263 | - public function ticket_types_available_for_purchase($query_params = array()) |
|
1264 | - { |
|
1265 | - // first check if datetime is valid |
|
1266 | - if ($this->sold_out() || ! ($this->is_upcoming() || $this->is_active())) { |
|
1267 | - return array(); |
|
1268 | - } |
|
1269 | - if (empty($query_params)) { |
|
1270 | - $query_params = array( |
|
1271 | - array( |
|
1272 | - 'TKT_start_date' => array('<=', EEM_Ticket::instance()->current_time_for_query('TKT_start_date')), |
|
1273 | - 'TKT_end_date' => array('>=', EEM_Ticket::instance()->current_time_for_query('TKT_end_date')), |
|
1274 | - 'TKT_deleted' => false, |
|
1275 | - ), |
|
1276 | - ); |
|
1277 | - } |
|
1278 | - return $this->tickets($query_params); |
|
1279 | - } |
|
1280 | - |
|
1281 | - |
|
1282 | - /** |
|
1283 | - * @return EE_Base_Class|EE_Event |
|
1284 | - * @throws ReflectionException |
|
1285 | - * @throws InvalidArgumentException |
|
1286 | - * @throws InvalidInterfaceException |
|
1287 | - * @throws InvalidDataTypeException |
|
1288 | - * @throws EE_Error |
|
1289 | - */ |
|
1290 | - public function event() |
|
1291 | - { |
|
1292 | - return $this->get_first_related('Event'); |
|
1293 | - } |
|
1294 | - |
|
1295 | - |
|
1296 | - /** |
|
1297 | - * Updates the DTT_sold attribute (and saves) based on the number of registrations for this datetime |
|
1298 | - * (via the tickets). |
|
1299 | - * |
|
1300 | - * @return int |
|
1301 | - * @throws ReflectionException |
|
1302 | - * @throws InvalidArgumentException |
|
1303 | - * @throws InvalidInterfaceException |
|
1304 | - * @throws InvalidDataTypeException |
|
1305 | - * @throws EE_Error |
|
1306 | - */ |
|
1307 | - public function update_sold() |
|
1308 | - { |
|
1309 | - $count_regs_for_this_datetime = EEM_Registration::instance()->count( |
|
1310 | - array( |
|
1311 | - array( |
|
1312 | - 'STS_ID' => EEM_Registration::status_id_approved, |
|
1313 | - 'REG_deleted' => 0, |
|
1314 | - 'Ticket.Datetime.DTT_ID' => $this->ID(), |
|
1315 | - ), |
|
1316 | - ) |
|
1317 | - ); |
|
1318 | - $this->set_sold($count_regs_for_this_datetime); |
|
1319 | - $this->save(); |
|
1320 | - return $count_regs_for_this_datetime; |
|
1321 | - } |
|
1322 | - |
|
1323 | - |
|
1324 | - /** |
|
1325 | - * Adds a venue to this event |
|
1326 | - * |
|
1327 | - * @param int|EE_Venue /int $venue_id_or_obj |
|
1328 | - * @return EE_Base_Class|EE_Venue |
|
1329 | - * @throws EE_Error |
|
1330 | - * @throws ReflectionException |
|
1331 | - */ |
|
1332 | - public function add_venue($venue_id_or_obj): EE_Venue |
|
1333 | - { |
|
1334 | - return $this->_add_relation_to($venue_id_or_obj, 'Venue'); |
|
1335 | - } |
|
1336 | - |
|
1337 | - |
|
1338 | - /** |
|
1339 | - * Removes a venue from the event |
|
1340 | - * |
|
1341 | - * @param EE_Venue /int $venue_id_or_obj |
|
1342 | - * @return EE_Base_Class|EE_Venue |
|
1343 | - * @throws EE_Error |
|
1344 | - * @throws ReflectionException |
|
1345 | - */ |
|
1346 | - public function remove_venue($venue_id_or_obj): EE_Venue |
|
1347 | - { |
|
1348 | - $venue_id_or_obj = ! empty($venue_id_or_obj) ? $venue_id_or_obj : $this->venue(); |
|
1349 | - return $this->_remove_relation_to($venue_id_or_obj, 'Venue'); |
|
1350 | - } |
|
1351 | - |
|
1352 | - |
|
1353 | - /** |
|
1354 | - * Gets the venue related to the event. May provide additional $query_params if desired |
|
1355 | - * |
|
1356 | - * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1357 | - * @return int |
|
1358 | - * @throws EE_Error |
|
1359 | - * @throws ReflectionException |
|
1360 | - */ |
|
1361 | - public function venue_ID(array $query_params = []): int |
|
1362 | - { |
|
1363 | - $venue = $this->get_first_related('Venue', $query_params); |
|
1364 | - return $venue instanceof EE_Venue |
|
1365 | - ? $venue->ID() |
|
1366 | - : 0; |
|
1367 | - } |
|
1368 | - |
|
1369 | - |
|
1370 | - /** |
|
1371 | - * Gets the venue related to the event. May provide additional $query_params if desired |
|
1372 | - * |
|
1373 | - * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1374 | - * @return EE_Base_Class|EE_Venue |
|
1375 | - * @throws EE_Error |
|
1376 | - * @throws ReflectionException |
|
1377 | - */ |
|
1378 | - public function venue(array $query_params = []) |
|
1379 | - { |
|
1380 | - return $this->get_first_related('Venue', $query_params); |
|
1381 | - } |
|
1382 | - |
|
1383 | - |
|
1384 | - /******************************************************************* |
|
16 | + /** |
|
17 | + * constant used by get_active_status, indicates datetime has no more available spaces |
|
18 | + */ |
|
19 | + const sold_out = 'DTS'; |
|
20 | + |
|
21 | + /** |
|
22 | + * constant used by get_active_status, indicating datetime is still active (even is not over, can be registered-for) |
|
23 | + */ |
|
24 | + const active = 'DTA'; |
|
25 | + |
|
26 | + /** |
|
27 | + * constant used by get_active_status, indicating the datetime cannot be used for registrations yet, but has not |
|
28 | + * expired |
|
29 | + */ |
|
30 | + const upcoming = 'DTU'; |
|
31 | + |
|
32 | + /** |
|
33 | + * Datetime is postponed |
|
34 | + */ |
|
35 | + const postponed = 'DTP'; |
|
36 | + |
|
37 | + /** |
|
38 | + * Datetime is cancelled |
|
39 | + */ |
|
40 | + const cancelled = 'DTC'; |
|
41 | + |
|
42 | + /** |
|
43 | + * constant used by get_active_status, indicates datetime has expired (event is over) |
|
44 | + */ |
|
45 | + const expired = 'DTE'; |
|
46 | + |
|
47 | + /** |
|
48 | + * constant used in various places indicating that an event is INACTIVE (not yet ready to be published) |
|
49 | + */ |
|
50 | + const inactive = 'DTI'; |
|
51 | + |
|
52 | + |
|
53 | + /** |
|
54 | + * @param array $props_n_values incoming values |
|
55 | + * @param string $timezone incoming timezone (if not set the timezone set for the website will be used.) |
|
56 | + * @param array $date_formats incoming date_formats in an array where the first value is the date_format |
|
57 | + * and the second value is the time format |
|
58 | + * @return EE_Datetime |
|
59 | + * @throws ReflectionException |
|
60 | + * @throws InvalidArgumentException |
|
61 | + * @throws InvalidInterfaceException |
|
62 | + * @throws InvalidDataTypeException |
|
63 | + * @throws EE_Error |
|
64 | + */ |
|
65 | + public static function new_instance($props_n_values = array(), $timezone = null, $date_formats = array()) |
|
66 | + { |
|
67 | + $has_object = parent::_check_for_object( |
|
68 | + $props_n_values, |
|
69 | + __CLASS__, |
|
70 | + $timezone, |
|
71 | + $date_formats |
|
72 | + ); |
|
73 | + return $has_object |
|
74 | + ? $has_object |
|
75 | + : new self($props_n_values, false, $timezone, $date_formats); |
|
76 | + } |
|
77 | + |
|
78 | + |
|
79 | + /** |
|
80 | + * @param array $props_n_values incoming values from the database |
|
81 | + * @param string $timezone incoming timezone as set by the model. If not set the timezone for |
|
82 | + * the website will be used. |
|
83 | + * @return EE_Datetime |
|
84 | + * @throws ReflectionException |
|
85 | + * @throws InvalidArgumentException |
|
86 | + * @throws InvalidInterfaceException |
|
87 | + * @throws InvalidDataTypeException |
|
88 | + * @throws EE_Error |
|
89 | + */ |
|
90 | + public static function new_instance_from_db($props_n_values = array(), $timezone = null) |
|
91 | + { |
|
92 | + return new self($props_n_values, true, $timezone); |
|
93 | + } |
|
94 | + |
|
95 | + |
|
96 | + /** |
|
97 | + * @param $name |
|
98 | + * @throws ReflectionException |
|
99 | + * @throws InvalidArgumentException |
|
100 | + * @throws InvalidInterfaceException |
|
101 | + * @throws InvalidDataTypeException |
|
102 | + * @throws EE_Error |
|
103 | + */ |
|
104 | + public function set_name($name) |
|
105 | + { |
|
106 | + $this->set('DTT_name', $name); |
|
107 | + } |
|
108 | + |
|
109 | + |
|
110 | + /** |
|
111 | + * @param $description |
|
112 | + * @throws ReflectionException |
|
113 | + * @throws InvalidArgumentException |
|
114 | + * @throws InvalidInterfaceException |
|
115 | + * @throws InvalidDataTypeException |
|
116 | + * @throws EE_Error |
|
117 | + */ |
|
118 | + public function set_description($description) |
|
119 | + { |
|
120 | + $this->set('DTT_description', $description); |
|
121 | + } |
|
122 | + |
|
123 | + |
|
124 | + /** |
|
125 | + * Set event start date |
|
126 | + * set the start date for an event |
|
127 | + * |
|
128 | + * @param string $date a string representation of the event's date ex: Dec. 25, 2025 or 12-25-2025 |
|
129 | + * @throws ReflectionException |
|
130 | + * @throws InvalidArgumentException |
|
131 | + * @throws InvalidInterfaceException |
|
132 | + * @throws InvalidDataTypeException |
|
133 | + * @throws EE_Error |
|
134 | + */ |
|
135 | + public function set_start_date($date) |
|
136 | + { |
|
137 | + $this->_set_date_for($date, 'DTT_EVT_start'); |
|
138 | + } |
|
139 | + |
|
140 | + |
|
141 | + /** |
|
142 | + * Set event start time |
|
143 | + * set the start time for an event |
|
144 | + * |
|
145 | + * @param string $time a string representation of the event time ex: 9am or 7:30 PM |
|
146 | + * @throws ReflectionException |
|
147 | + * @throws InvalidArgumentException |
|
148 | + * @throws InvalidInterfaceException |
|
149 | + * @throws InvalidDataTypeException |
|
150 | + * @throws EE_Error |
|
151 | + */ |
|
152 | + public function set_start_time($time) |
|
153 | + { |
|
154 | + $this->_set_time_for($time, 'DTT_EVT_start'); |
|
155 | + } |
|
156 | + |
|
157 | + |
|
158 | + /** |
|
159 | + * Set event end date |
|
160 | + * set the end date for an event |
|
161 | + * |
|
162 | + * @param string $date a string representation of the event's date ex: Dec. 25, 2025 or 12-25-2025 |
|
163 | + * @throws ReflectionException |
|
164 | + * @throws InvalidArgumentException |
|
165 | + * @throws InvalidInterfaceException |
|
166 | + * @throws InvalidDataTypeException |
|
167 | + * @throws EE_Error |
|
168 | + */ |
|
169 | + public function set_end_date($date) |
|
170 | + { |
|
171 | + $this->_set_date_for($date, 'DTT_EVT_end'); |
|
172 | + } |
|
173 | + |
|
174 | + |
|
175 | + /** |
|
176 | + * Set event end time |
|
177 | + * set the end time for an event |
|
178 | + * |
|
179 | + * @param string $time a string representation of the event time ex: 9am or 7:30 PM |
|
180 | + * @throws ReflectionException |
|
181 | + * @throws InvalidArgumentException |
|
182 | + * @throws InvalidInterfaceException |
|
183 | + * @throws InvalidDataTypeException |
|
184 | + * @throws EE_Error |
|
185 | + */ |
|
186 | + public function set_end_time($time) |
|
187 | + { |
|
188 | + $this->_set_time_for($time, 'DTT_EVT_end'); |
|
189 | + } |
|
190 | + |
|
191 | + |
|
192 | + /** |
|
193 | + * Set registration limit |
|
194 | + * set the maximum number of attendees that can be registered for this datetime slot |
|
195 | + * |
|
196 | + * @param int $reg_limit |
|
197 | + * @throws ReflectionException |
|
198 | + * @throws InvalidArgumentException |
|
199 | + * @throws InvalidInterfaceException |
|
200 | + * @throws InvalidDataTypeException |
|
201 | + * @throws EE_Error |
|
202 | + */ |
|
203 | + public function set_reg_limit($reg_limit) |
|
204 | + { |
|
205 | + $this->set('DTT_reg_limit', $reg_limit); |
|
206 | + } |
|
207 | + |
|
208 | + |
|
209 | + /** |
|
210 | + * get the number of tickets sold for this datetime slot |
|
211 | + * |
|
212 | + * @return mixed int on success, FALSE on fail |
|
213 | + * @throws ReflectionException |
|
214 | + * @throws InvalidArgumentException |
|
215 | + * @throws InvalidInterfaceException |
|
216 | + * @throws InvalidDataTypeException |
|
217 | + * @throws EE_Error |
|
218 | + */ |
|
219 | + public function sold() |
|
220 | + { |
|
221 | + return $this->get_raw('DTT_sold'); |
|
222 | + } |
|
223 | + |
|
224 | + |
|
225 | + /** |
|
226 | + * @param int $sold |
|
227 | + * @throws ReflectionException |
|
228 | + * @throws InvalidArgumentException |
|
229 | + * @throws InvalidInterfaceException |
|
230 | + * @throws InvalidDataTypeException |
|
231 | + * @throws EE_Error |
|
232 | + */ |
|
233 | + public function set_sold($sold) |
|
234 | + { |
|
235 | + // sold can not go below zero |
|
236 | + $sold = max(0, $sold); |
|
237 | + $this->set('DTT_sold', $sold); |
|
238 | + } |
|
239 | + |
|
240 | + |
|
241 | + /** |
|
242 | + * Increments sold by amount passed by $qty, and persists it immediately to the database. |
|
243 | + * Simultaneously decreases the reserved count, unless $also_decrease_reserved is false. |
|
244 | + * |
|
245 | + * @param int $qty |
|
246 | + * @param boolean $also_decrease_reserved |
|
247 | + * @return boolean indicating success |
|
248 | + * @throws ReflectionException |
|
249 | + * @throws InvalidArgumentException |
|
250 | + * @throws InvalidInterfaceException |
|
251 | + * @throws InvalidDataTypeException |
|
252 | + * @throws EE_Error |
|
253 | + */ |
|
254 | + public function increaseSold($qty = 1, $also_decrease_reserved = true) |
|
255 | + { |
|
256 | + $qty = absint($qty); |
|
257 | + if ($also_decrease_reserved) { |
|
258 | + $success = $this->adjustNumericFieldsInDb( |
|
259 | + [ |
|
260 | + 'DTT_reserved' => $qty * -1, |
|
261 | + 'DTT_sold' => $qty |
|
262 | + ] |
|
263 | + ); |
|
264 | + } else { |
|
265 | + $success = $this->adjustNumericFieldsInDb( |
|
266 | + [ |
|
267 | + 'DTT_sold' => $qty |
|
268 | + ] |
|
269 | + ); |
|
270 | + } |
|
271 | + |
|
272 | + do_action( |
|
273 | + 'AHEE__EE_Datetime__increase_sold', |
|
274 | + $this, |
|
275 | + $qty, |
|
276 | + $this->sold(), |
|
277 | + $success |
|
278 | + ); |
|
279 | + return $success; |
|
280 | + } |
|
281 | + |
|
282 | + |
|
283 | + /** |
|
284 | + * Decrements (subtracts) sold amount passed by $qty directly in the DB and on the model object. (Ie, no need |
|
285 | + * to save afterwards.) |
|
286 | + * |
|
287 | + * @param int $qty |
|
288 | + * @return boolean indicating success |
|
289 | + * @throws ReflectionException |
|
290 | + * @throws InvalidArgumentException |
|
291 | + * @throws InvalidInterfaceException |
|
292 | + * @throws InvalidDataTypeException |
|
293 | + * @throws EE_Error |
|
294 | + */ |
|
295 | + public function decreaseSold($qty = 1) |
|
296 | + { |
|
297 | + $qty = absint($qty); |
|
298 | + $success = $this->adjustNumericFieldsInDb( |
|
299 | + [ |
|
300 | + 'DTT_sold' => $qty * -1 |
|
301 | + ] |
|
302 | + ); |
|
303 | + do_action( |
|
304 | + 'AHEE__EE_Datetime__decrease_sold', |
|
305 | + $this, |
|
306 | + $qty, |
|
307 | + $this->sold(), |
|
308 | + $success |
|
309 | + ); |
|
310 | + return $success; |
|
311 | + } |
|
312 | + |
|
313 | + |
|
314 | + /** |
|
315 | + * Gets qty of reserved tickets for this datetime |
|
316 | + * |
|
317 | + * @return int |
|
318 | + * @throws ReflectionException |
|
319 | + * @throws InvalidArgumentException |
|
320 | + * @throws InvalidInterfaceException |
|
321 | + * @throws InvalidDataTypeException |
|
322 | + * @throws EE_Error |
|
323 | + */ |
|
324 | + public function reserved() |
|
325 | + { |
|
326 | + return $this->get_raw('DTT_reserved'); |
|
327 | + } |
|
328 | + |
|
329 | + |
|
330 | + /** |
|
331 | + * Sets qty of reserved tickets for this datetime |
|
332 | + * |
|
333 | + * @param int $reserved |
|
334 | + * @throws ReflectionException |
|
335 | + * @throws InvalidArgumentException |
|
336 | + * @throws InvalidInterfaceException |
|
337 | + * @throws InvalidDataTypeException |
|
338 | + * @throws EE_Error |
|
339 | + */ |
|
340 | + public function set_reserved($reserved) |
|
341 | + { |
|
342 | + // reserved can not go below zero |
|
343 | + $reserved = max(0, (int) $reserved); |
|
344 | + $this->set('DTT_reserved', $reserved); |
|
345 | + } |
|
346 | + |
|
347 | + |
|
348 | + /** |
|
349 | + * Increments reserved by amount passed by $qty, and persists it immediately to the database. |
|
350 | + * |
|
351 | + * @param int $qty |
|
352 | + * @return boolean indicating success |
|
353 | + * @throws ReflectionException |
|
354 | + * @throws InvalidArgumentException |
|
355 | + * @throws InvalidInterfaceException |
|
356 | + * @throws InvalidDataTypeException |
|
357 | + * @throws EE_Error |
|
358 | + */ |
|
359 | + public function increaseReserved($qty = 1) |
|
360 | + { |
|
361 | + $qty = absint($qty); |
|
362 | + $success = $this->incrementFieldConditionallyInDb( |
|
363 | + 'DTT_reserved', |
|
364 | + 'DTT_sold', |
|
365 | + 'DTT_reg_limit', |
|
366 | + $qty |
|
367 | + ); |
|
368 | + do_action( |
|
369 | + 'AHEE__EE_Datetime__increase_reserved', |
|
370 | + $this, |
|
371 | + $qty, |
|
372 | + $this->reserved(), |
|
373 | + $success |
|
374 | + ); |
|
375 | + return $success; |
|
376 | + } |
|
377 | + |
|
378 | + |
|
379 | + /** |
|
380 | + * Decrements (subtracts) reserved by amount passed by $qty, and persists it immediately to the database. |
|
381 | + * |
|
382 | + * @param int $qty |
|
383 | + * @return boolean indicating success |
|
384 | + * @throws ReflectionException |
|
385 | + * @throws InvalidArgumentException |
|
386 | + * @throws InvalidInterfaceException |
|
387 | + * @throws InvalidDataTypeException |
|
388 | + * @throws EE_Error |
|
389 | + */ |
|
390 | + public function decreaseReserved($qty = 1) |
|
391 | + { |
|
392 | + $qty = absint($qty); |
|
393 | + $success = $this->adjustNumericFieldsInDb( |
|
394 | + [ |
|
395 | + 'DTT_reserved' => $qty * -1 |
|
396 | + ] |
|
397 | + ); |
|
398 | + do_action( |
|
399 | + 'AHEE__EE_Datetime__decrease_reserved', |
|
400 | + $this, |
|
401 | + $qty, |
|
402 | + $this->reserved(), |
|
403 | + $success |
|
404 | + ); |
|
405 | + return $success; |
|
406 | + } |
|
407 | + |
|
408 | + |
|
409 | + /** |
|
410 | + * total sold and reserved tickets |
|
411 | + * |
|
412 | + * @return int |
|
413 | + * @throws ReflectionException |
|
414 | + * @throws InvalidArgumentException |
|
415 | + * @throws InvalidInterfaceException |
|
416 | + * @throws InvalidDataTypeException |
|
417 | + * @throws EE_Error |
|
418 | + */ |
|
419 | + public function sold_and_reserved() |
|
420 | + { |
|
421 | + return $this->sold() + $this->reserved(); |
|
422 | + } |
|
423 | + |
|
424 | + |
|
425 | + /** |
|
426 | + * returns the datetime name |
|
427 | + * |
|
428 | + * @return string |
|
429 | + * @throws ReflectionException |
|
430 | + * @throws InvalidArgumentException |
|
431 | + * @throws InvalidInterfaceException |
|
432 | + * @throws InvalidDataTypeException |
|
433 | + * @throws EE_Error |
|
434 | + */ |
|
435 | + public function name() |
|
436 | + { |
|
437 | + return $this->get('DTT_name'); |
|
438 | + } |
|
439 | + |
|
440 | + |
|
441 | + /** |
|
442 | + * returns the datetime description |
|
443 | + * |
|
444 | + * @return string |
|
445 | + * @throws ReflectionException |
|
446 | + * @throws InvalidArgumentException |
|
447 | + * @throws InvalidInterfaceException |
|
448 | + * @throws InvalidDataTypeException |
|
449 | + * @throws EE_Error |
|
450 | + */ |
|
451 | + public function description() |
|
452 | + { |
|
453 | + return $this->get('DTT_description'); |
|
454 | + } |
|
455 | + |
|
456 | + |
|
457 | + /** |
|
458 | + * This helper simply returns whether the event_datetime for the current datetime is a primary datetime |
|
459 | + * |
|
460 | + * @return boolean TRUE if is primary, FALSE if not. |
|
461 | + * @throws ReflectionException |
|
462 | + * @throws InvalidArgumentException |
|
463 | + * @throws InvalidInterfaceException |
|
464 | + * @throws InvalidDataTypeException |
|
465 | + * @throws EE_Error |
|
466 | + */ |
|
467 | + public function is_primary() |
|
468 | + { |
|
469 | + return $this->get('DTT_is_primary'); |
|
470 | + } |
|
471 | + |
|
472 | + |
|
473 | + /** |
|
474 | + * This helper simply returns the order for the datetime |
|
475 | + * |
|
476 | + * @return int The order of the datetime for this event. |
|
477 | + * @throws ReflectionException |
|
478 | + * @throws InvalidArgumentException |
|
479 | + * @throws InvalidInterfaceException |
|
480 | + * @throws InvalidDataTypeException |
|
481 | + * @throws EE_Error |
|
482 | + */ |
|
483 | + public function order() |
|
484 | + { |
|
485 | + return $this->get('DTT_order'); |
|
486 | + } |
|
487 | + |
|
488 | + |
|
489 | + /** |
|
490 | + * This helper simply returns the parent id for the datetime |
|
491 | + * |
|
492 | + * @return int |
|
493 | + * @throws ReflectionException |
|
494 | + * @throws InvalidArgumentException |
|
495 | + * @throws InvalidInterfaceException |
|
496 | + * @throws InvalidDataTypeException |
|
497 | + * @throws EE_Error |
|
498 | + */ |
|
499 | + public function parent() |
|
500 | + { |
|
501 | + return $this->get('DTT_parent'); |
|
502 | + } |
|
503 | + |
|
504 | + |
|
505 | + /** |
|
506 | + * show date and/or time |
|
507 | + * |
|
508 | + * @param string $date_or_time whether to display a date or time or both |
|
509 | + * @param string $start_or_end whether to display start or end datetimes |
|
510 | + * @param string $dt_frmt |
|
511 | + * @param string $tm_frmt |
|
512 | + * @param bool $echo whether we echo or return (note echoing uses "pretty" formats, |
|
513 | + * otherwise we use the standard formats) |
|
514 | + * @return string|bool string on success, FALSE on fail |
|
515 | + * @throws ReflectionException |
|
516 | + * @throws InvalidArgumentException |
|
517 | + * @throws InvalidInterfaceException |
|
518 | + * @throws InvalidDataTypeException |
|
519 | + * @throws EE_Error |
|
520 | + */ |
|
521 | + private function _show_datetime( |
|
522 | + $date_or_time = null, |
|
523 | + $start_or_end = 'start', |
|
524 | + $dt_frmt = '', |
|
525 | + $tm_frmt = '', |
|
526 | + $echo = false |
|
527 | + ) { |
|
528 | + $field_name = "DTT_EVT_{$start_or_end}"; |
|
529 | + $dtt = $this->_get_datetime( |
|
530 | + $field_name, |
|
531 | + $dt_frmt, |
|
532 | + $tm_frmt, |
|
533 | + $date_or_time, |
|
534 | + $echo |
|
535 | + ); |
|
536 | + if (! $echo) { |
|
537 | + return $dtt; |
|
538 | + } |
|
539 | + return ''; |
|
540 | + } |
|
541 | + |
|
542 | + |
|
543 | + /** |
|
544 | + * get event start date. Provide either the date format, or NULL to re-use the |
|
545 | + * last-used format, or '' to use the default date format |
|
546 | + * |
|
547 | + * @param string $dt_frmt string representation of date format defaults to 'F j, Y' |
|
548 | + * @return mixed string on success, FALSE on fail |
|
549 | + * @throws ReflectionException |
|
550 | + * @throws InvalidArgumentException |
|
551 | + * @throws InvalidInterfaceException |
|
552 | + * @throws InvalidDataTypeException |
|
553 | + * @throws EE_Error |
|
554 | + */ |
|
555 | + public function start_date($dt_frmt = '') |
|
556 | + { |
|
557 | + return $this->_show_datetime('D', 'start', $dt_frmt); |
|
558 | + } |
|
559 | + |
|
560 | + |
|
561 | + /** |
|
562 | + * Echoes start_date() |
|
563 | + * |
|
564 | + * @param string $dt_frmt |
|
565 | + * @throws ReflectionException |
|
566 | + * @throws InvalidArgumentException |
|
567 | + * @throws InvalidInterfaceException |
|
568 | + * @throws InvalidDataTypeException |
|
569 | + * @throws EE_Error |
|
570 | + */ |
|
571 | + public function e_start_date($dt_frmt = '') |
|
572 | + { |
|
573 | + $this->_show_datetime('D', 'start', $dt_frmt, null, true); |
|
574 | + } |
|
575 | + |
|
576 | + |
|
577 | + /** |
|
578 | + * get end date. Provide either the date format, or NULL to re-use the |
|
579 | + * last-used format, or '' to use the default date format |
|
580 | + * |
|
581 | + * @param string $dt_frmt string representation of date format defaults to 'F j, Y' |
|
582 | + * @return mixed string on success, FALSE on fail |
|
583 | + * @throws ReflectionException |
|
584 | + * @throws InvalidArgumentException |
|
585 | + * @throws InvalidInterfaceException |
|
586 | + * @throws InvalidDataTypeException |
|
587 | + * @throws EE_Error |
|
588 | + */ |
|
589 | + public function end_date($dt_frmt = '') |
|
590 | + { |
|
591 | + return $this->_show_datetime('D', 'end', $dt_frmt); |
|
592 | + } |
|
593 | + |
|
594 | + |
|
595 | + /** |
|
596 | + * Echoes the end date. See end_date() |
|
597 | + * |
|
598 | + * @param string $dt_frmt |
|
599 | + * @throws ReflectionException |
|
600 | + * @throws InvalidArgumentException |
|
601 | + * @throws InvalidInterfaceException |
|
602 | + * @throws InvalidDataTypeException |
|
603 | + * @throws EE_Error |
|
604 | + */ |
|
605 | + public function e_end_date($dt_frmt = '') |
|
606 | + { |
|
607 | + $this->_show_datetime('D', 'end', $dt_frmt, null, true); |
|
608 | + } |
|
609 | + |
|
610 | + |
|
611 | + /** |
|
612 | + * get date_range - meaning the start AND end date |
|
613 | + * |
|
614 | + * @access public |
|
615 | + * @param string $dt_frmt string representation of date format defaults to WP settings |
|
616 | + * @param string $conjunction conjunction junction what's your function ? |
|
617 | + * this string joins the start date with the end date ie: Jan 01 "to" Dec 31 |
|
618 | + * @return mixed string on success, FALSE on fail |
|
619 | + * @throws ReflectionException |
|
620 | + * @throws InvalidArgumentException |
|
621 | + * @throws InvalidInterfaceException |
|
622 | + * @throws InvalidDataTypeException |
|
623 | + * @throws EE_Error |
|
624 | + */ |
|
625 | + public function date_range($dt_frmt = '', $conjunction = ' - ') |
|
626 | + { |
|
627 | + $dt_frmt = ! empty($dt_frmt) ? $dt_frmt : $this->_dt_frmt; |
|
628 | + $start = str_replace( |
|
629 | + ' ', |
|
630 | + ' ', |
|
631 | + $this->get_i18n_datetime('DTT_EVT_start', $dt_frmt) |
|
632 | + ); |
|
633 | + $end = str_replace( |
|
634 | + ' ', |
|
635 | + ' ', |
|
636 | + $this->get_i18n_datetime('DTT_EVT_end', $dt_frmt) |
|
637 | + ); |
|
638 | + return $start !== $end ? $start . $conjunction . $end : $start; |
|
639 | + } |
|
640 | + |
|
641 | + |
|
642 | + /** |
|
643 | + * @param string $dt_frmt |
|
644 | + * @param string $conjunction |
|
645 | + * @throws ReflectionException |
|
646 | + * @throws InvalidArgumentException |
|
647 | + * @throws InvalidInterfaceException |
|
648 | + * @throws InvalidDataTypeException |
|
649 | + * @throws EE_Error |
|
650 | + */ |
|
651 | + public function e_date_range($dt_frmt = '', $conjunction = ' - ') |
|
652 | + { |
|
653 | + echo $this->date_range($dt_frmt, $conjunction); |
|
654 | + } |
|
655 | + |
|
656 | + |
|
657 | + /** |
|
658 | + * get start time |
|
659 | + * |
|
660 | + * @param string $tm_format - string representation of time format defaults to 'g:i a' |
|
661 | + * @return mixed string on success, FALSE on fail |
|
662 | + * @throws ReflectionException |
|
663 | + * @throws InvalidArgumentException |
|
664 | + * @throws InvalidInterfaceException |
|
665 | + * @throws InvalidDataTypeException |
|
666 | + * @throws EE_Error |
|
667 | + */ |
|
668 | + public function start_time($tm_format = '') |
|
669 | + { |
|
670 | + return $this->_show_datetime('T', 'start', null, $tm_format); |
|
671 | + } |
|
672 | + |
|
673 | + |
|
674 | + /** |
|
675 | + * @param string $tm_format |
|
676 | + * @throws ReflectionException |
|
677 | + * @throws InvalidArgumentException |
|
678 | + * @throws InvalidInterfaceException |
|
679 | + * @throws InvalidDataTypeException |
|
680 | + * @throws EE_Error |
|
681 | + */ |
|
682 | + public function e_start_time($tm_format = '') |
|
683 | + { |
|
684 | + $this->_show_datetime('T', 'start', null, $tm_format, true); |
|
685 | + } |
|
686 | + |
|
687 | + |
|
688 | + /** |
|
689 | + * get end time |
|
690 | + * |
|
691 | + * @param string $tm_format string representation of time format defaults to 'g:i a' |
|
692 | + * @return mixed string on success, FALSE on fail |
|
693 | + * @throws ReflectionException |
|
694 | + * @throws InvalidArgumentException |
|
695 | + * @throws InvalidInterfaceException |
|
696 | + * @throws InvalidDataTypeException |
|
697 | + * @throws EE_Error |
|
698 | + */ |
|
699 | + public function end_time($tm_format = '') |
|
700 | + { |
|
701 | + return $this->_show_datetime('T', 'end', null, $tm_format); |
|
702 | + } |
|
703 | + |
|
704 | + |
|
705 | + /** |
|
706 | + * @param string $tm_format |
|
707 | + * @throws ReflectionException |
|
708 | + * @throws InvalidArgumentException |
|
709 | + * @throws InvalidInterfaceException |
|
710 | + * @throws InvalidDataTypeException |
|
711 | + * @throws EE_Error |
|
712 | + */ |
|
713 | + public function e_end_time($tm_format = '') |
|
714 | + { |
|
715 | + $this->_show_datetime('T', 'end', null, $tm_format, true); |
|
716 | + } |
|
717 | + |
|
718 | + |
|
719 | + /** |
|
720 | + * get time_range |
|
721 | + * |
|
722 | + * @access public |
|
723 | + * @param string $tm_format string representation of time format defaults to 'g:i a' |
|
724 | + * @param string $conjunction conjunction junction what's your function ? |
|
725 | + * this string joins the start date with the end date ie: Jan 01 "to" Dec 31 |
|
726 | + * @return mixed string on success, FALSE on fail |
|
727 | + * @throws ReflectionException |
|
728 | + * @throws InvalidArgumentException |
|
729 | + * @throws InvalidInterfaceException |
|
730 | + * @throws InvalidDataTypeException |
|
731 | + * @throws EE_Error |
|
732 | + */ |
|
733 | + public function time_range($tm_format = '', $conjunction = ' - ') |
|
734 | + { |
|
735 | + $tm_format = ! empty($tm_format) ? $tm_format : $this->_tm_frmt; |
|
736 | + $start = str_replace( |
|
737 | + ' ', |
|
738 | + ' ', |
|
739 | + $this->get_i18n_datetime('DTT_EVT_start', $tm_format) |
|
740 | + ); |
|
741 | + $end = str_replace( |
|
742 | + ' ', |
|
743 | + ' ', |
|
744 | + $this->get_i18n_datetime('DTT_EVT_end', $tm_format) |
|
745 | + ); |
|
746 | + return $start !== $end ? $start . $conjunction . $end : $start; |
|
747 | + } |
|
748 | + |
|
749 | + |
|
750 | + /** |
|
751 | + * @param string $tm_format |
|
752 | + * @param string $conjunction |
|
753 | + * @throws ReflectionException |
|
754 | + * @throws InvalidArgumentException |
|
755 | + * @throws InvalidInterfaceException |
|
756 | + * @throws InvalidDataTypeException |
|
757 | + * @throws EE_Error |
|
758 | + */ |
|
759 | + public function e_time_range($tm_format = '', $conjunction = ' - ') |
|
760 | + { |
|
761 | + echo $this->time_range($tm_format, $conjunction); |
|
762 | + } |
|
763 | + |
|
764 | + |
|
765 | + /** |
|
766 | + * This returns a range representation of the date and times. |
|
767 | + * Output is dependent on the difference (or similarity) between DTT_EVT_start and DTT_EVT_end. |
|
768 | + * Also, the return value is localized. |
|
769 | + * |
|
770 | + * @param string $dt_format |
|
771 | + * @param string $tm_format |
|
772 | + * @param string $conjunction used between two different dates or times. |
|
773 | + * ex: Dec 1{$conjunction}}Dec 6, or 2pm{$conjunction}3pm |
|
774 | + * @param string $separator used between the date and time formats. |
|
775 | + * ex: Dec 1, 2016{$separator}2pm |
|
776 | + * @return string |
|
777 | + * @throws ReflectionException |
|
778 | + * @throws InvalidArgumentException |
|
779 | + * @throws InvalidInterfaceException |
|
780 | + * @throws InvalidDataTypeException |
|
781 | + * @throws EE_Error |
|
782 | + */ |
|
783 | + public function date_and_time_range( |
|
784 | + $dt_format = '', |
|
785 | + $tm_format = '', |
|
786 | + $conjunction = ' - ', |
|
787 | + $separator = ' ' |
|
788 | + ) { |
|
789 | + $dt_format = ! empty($dt_format) ? $dt_format : $this->_dt_frmt; |
|
790 | + $tm_format = ! empty($tm_format) ? $tm_format : $this->_tm_frmt; |
|
791 | + $full_format = $dt_format . $separator . $tm_format; |
|
792 | + // the range output depends on various conditions |
|
793 | + switch (true) { |
|
794 | + // start date timestamp and end date timestamp are the same. |
|
795 | + case ($this->get_raw('DTT_EVT_start') === $this->get_raw('DTT_EVT_end')): |
|
796 | + $output = $this->get_i18n_datetime('DTT_EVT_start', $full_format); |
|
797 | + break; |
|
798 | + // start and end date are the same but times are different |
|
799 | + case ($this->start_date() === $this->end_date()): |
|
800 | + $output = $this->get_i18n_datetime('DTT_EVT_start', $full_format) |
|
801 | + . $conjunction |
|
802 | + . $this->get_i18n_datetime('DTT_EVT_end', $tm_format); |
|
803 | + break; |
|
804 | + // all other conditions |
|
805 | + default: |
|
806 | + $output = $this->get_i18n_datetime('DTT_EVT_start', $full_format) |
|
807 | + . $conjunction |
|
808 | + . $this->get_i18n_datetime('DTT_EVT_end', $full_format); |
|
809 | + break; |
|
810 | + } |
|
811 | + return $output; |
|
812 | + } |
|
813 | + |
|
814 | + |
|
815 | + /** |
|
816 | + * This echos the results of date and time range. |
|
817 | + * |
|
818 | + * @see date_and_time_range() for more details on purpose. |
|
819 | + * @param string $dt_format |
|
820 | + * @param string $tm_format |
|
821 | + * @param string $conjunction |
|
822 | + * @return void |
|
823 | + * @throws ReflectionException |
|
824 | + * @throws InvalidArgumentException |
|
825 | + * @throws InvalidInterfaceException |
|
826 | + * @throws InvalidDataTypeException |
|
827 | + * @throws EE_Error |
|
828 | + */ |
|
829 | + public function e_date_and_time_range($dt_format = '', $tm_format = '', $conjunction = ' - ') |
|
830 | + { |
|
831 | + echo $this->date_and_time_range($dt_format, $tm_format, $conjunction); |
|
832 | + } |
|
833 | + |
|
834 | + |
|
835 | + /** |
|
836 | + * get start date and start time |
|
837 | + * |
|
838 | + * @param string $dt_format - string representation of date format defaults to 'F j, Y' |
|
839 | + * @param string $tm_format - string representation of time format defaults to 'g:i a' |
|
840 | + * @return mixed string on success, FALSE on fail |
|
841 | + * @throws ReflectionException |
|
842 | + * @throws InvalidArgumentException |
|
843 | + * @throws InvalidInterfaceException |
|
844 | + * @throws InvalidDataTypeException |
|
845 | + * @throws EE_Error |
|
846 | + */ |
|
847 | + public function start_date_and_time($dt_format = '', $tm_format = '') |
|
848 | + { |
|
849 | + return $this->_show_datetime('', 'start', $dt_format, $tm_format); |
|
850 | + } |
|
851 | + |
|
852 | + |
|
853 | + /** |
|
854 | + * @param string $dt_frmt |
|
855 | + * @param string $tm_format |
|
856 | + * @throws ReflectionException |
|
857 | + * @throws InvalidArgumentException |
|
858 | + * @throws InvalidInterfaceException |
|
859 | + * @throws InvalidDataTypeException |
|
860 | + * @throws EE_Error |
|
861 | + */ |
|
862 | + public function e_start_date_and_time($dt_frmt = '', $tm_format = '') |
|
863 | + { |
|
864 | + $this->_show_datetime('', 'start', $dt_frmt, $tm_format, true); |
|
865 | + } |
|
866 | + |
|
867 | + |
|
868 | + /** |
|
869 | + * Shows the length of the event (start to end time). |
|
870 | + * Can be shown in 'seconds','minutes','hours', or 'days'. |
|
871 | + * By default, rounds up. (So if you use 'days', and then event |
|
872 | + * only occurs for 1 hour, it will return 1 day). |
|
873 | + * |
|
874 | + * @param string $units 'seconds','minutes','hours','days' |
|
875 | + * @param bool $round_up |
|
876 | + * @return float|int|mixed |
|
877 | + * @throws ReflectionException |
|
878 | + * @throws InvalidArgumentException |
|
879 | + * @throws InvalidInterfaceException |
|
880 | + * @throws InvalidDataTypeException |
|
881 | + * @throws EE_Error |
|
882 | + */ |
|
883 | + public function length($units = 'seconds', $round_up = false) |
|
884 | + { |
|
885 | + $start = $this->get_raw('DTT_EVT_start'); |
|
886 | + $end = $this->get_raw('DTT_EVT_end'); |
|
887 | + $length_in_units = $end - $start; |
|
888 | + switch ($units) { |
|
889 | + // NOTE: We purposefully don't use "break;" in order to chain the divisions |
|
890 | + /** @noinspection PhpMissingBreakStatementInspection */ |
|
891 | + // phpcs:disable PSR2.ControlStructures.SwitchDeclaration.TerminatingComment |
|
892 | + case 'days': |
|
893 | + $length_in_units /= 24; |
|
894 | + /** @noinspection PhpMissingBreakStatementInspection */ |
|
895 | + case 'hours': |
|
896 | + // fall through is intentional |
|
897 | + $length_in_units /= 60; |
|
898 | + /** @noinspection PhpMissingBreakStatementInspection */ |
|
899 | + case 'minutes': |
|
900 | + // fall through is intentional |
|
901 | + $length_in_units /= 60; |
|
902 | + case 'seconds': |
|
903 | + default: |
|
904 | + $length_in_units = ceil($length_in_units); |
|
905 | + } |
|
906 | + // phpcs:enable |
|
907 | + if ($round_up) { |
|
908 | + $length_in_units = max($length_in_units, 1); |
|
909 | + } |
|
910 | + return $length_in_units; |
|
911 | + } |
|
912 | + |
|
913 | + |
|
914 | + /** |
|
915 | + * get end date and time |
|
916 | + * |
|
917 | + * @param string $dt_frmt - string representation of date format defaults to 'F j, Y' |
|
918 | + * @param string $tm_format - string representation of time format defaults to 'g:i a' |
|
919 | + * @return mixed string on success, FALSE on fail |
|
920 | + * @throws ReflectionException |
|
921 | + * @throws InvalidArgumentException |
|
922 | + * @throws InvalidInterfaceException |
|
923 | + * @throws InvalidDataTypeException |
|
924 | + * @throws EE_Error |
|
925 | + */ |
|
926 | + public function end_date_and_time($dt_frmt = '', $tm_format = '') |
|
927 | + { |
|
928 | + return $this->_show_datetime('', 'end', $dt_frmt, $tm_format); |
|
929 | + } |
|
930 | + |
|
931 | + |
|
932 | + /** |
|
933 | + * @param string $dt_frmt |
|
934 | + * @param string $tm_format |
|
935 | + * @throws ReflectionException |
|
936 | + * @throws InvalidArgumentException |
|
937 | + * @throws InvalidInterfaceException |
|
938 | + * @throws InvalidDataTypeException |
|
939 | + * @throws EE_Error |
|
940 | + */ |
|
941 | + public function e_end_date_and_time($dt_frmt = '', $tm_format = '') |
|
942 | + { |
|
943 | + $this->_show_datetime('', 'end', $dt_frmt, $tm_format, true); |
|
944 | + } |
|
945 | + |
|
946 | + |
|
947 | + /** |
|
948 | + * get start timestamp |
|
949 | + * |
|
950 | + * @return int |
|
951 | + * @throws ReflectionException |
|
952 | + * @throws InvalidArgumentException |
|
953 | + * @throws InvalidInterfaceException |
|
954 | + * @throws InvalidDataTypeException |
|
955 | + * @throws EE_Error |
|
956 | + */ |
|
957 | + public function start() |
|
958 | + { |
|
959 | + return $this->get_raw('DTT_EVT_start'); |
|
960 | + } |
|
961 | + |
|
962 | + |
|
963 | + /** |
|
964 | + * get end timestamp |
|
965 | + * |
|
966 | + * @return int |
|
967 | + * @throws ReflectionException |
|
968 | + * @throws InvalidArgumentException |
|
969 | + * @throws InvalidInterfaceException |
|
970 | + * @throws InvalidDataTypeException |
|
971 | + * @throws EE_Error |
|
972 | + */ |
|
973 | + public function end() |
|
974 | + { |
|
975 | + return $this->get_raw('DTT_EVT_end'); |
|
976 | + } |
|
977 | + |
|
978 | + |
|
979 | + /** |
|
980 | + * get the registration limit for this datetime slot |
|
981 | + * |
|
982 | + * @return mixed int on success, FALSE on fail |
|
983 | + * @throws ReflectionException |
|
984 | + * @throws InvalidArgumentException |
|
985 | + * @throws InvalidInterfaceException |
|
986 | + * @throws InvalidDataTypeException |
|
987 | + * @throws EE_Error |
|
988 | + */ |
|
989 | + public function reg_limit() |
|
990 | + { |
|
991 | + return $this->get_raw('DTT_reg_limit'); |
|
992 | + } |
|
993 | + |
|
994 | + |
|
995 | + /** |
|
996 | + * have the tickets sold for this datetime, met or exceed the registration limit ? |
|
997 | + * |
|
998 | + * @return boolean |
|
999 | + * @throws ReflectionException |
|
1000 | + * @throws InvalidArgumentException |
|
1001 | + * @throws InvalidInterfaceException |
|
1002 | + * @throws InvalidDataTypeException |
|
1003 | + * @throws EE_Error |
|
1004 | + */ |
|
1005 | + public function sold_out() |
|
1006 | + { |
|
1007 | + return $this->reg_limit() > 0 && $this->sold() >= $this->reg_limit(); |
|
1008 | + } |
|
1009 | + |
|
1010 | + |
|
1011 | + /** |
|
1012 | + * return the total number of spaces remaining at this venue. |
|
1013 | + * This only takes the venue's capacity into account, NOT the tickets available for sale |
|
1014 | + * |
|
1015 | + * @param bool $consider_tickets Whether to consider tickets remaining when determining if there are any spaces left |
|
1016 | + * Because if all tickets attached to this datetime have no spaces left, |
|
1017 | + * then this datetime IS effectively sold out. |
|
1018 | + * However, there are cases where we just want to know the spaces |
|
1019 | + * remaining for this particular datetime, hence the flag. |
|
1020 | + * @return int |
|
1021 | + * @throws ReflectionException |
|
1022 | + * @throws InvalidArgumentException |
|
1023 | + * @throws InvalidInterfaceException |
|
1024 | + * @throws InvalidDataTypeException |
|
1025 | + * @throws EE_Error |
|
1026 | + */ |
|
1027 | + public function spaces_remaining($consider_tickets = false) |
|
1028 | + { |
|
1029 | + // tickets remaining available for purchase |
|
1030 | + // no need for special checks for infinite, because if DTT_reg_limit == EE_INF, then EE_INF - x = EE_INF |
|
1031 | + $dtt_remaining = $this->reg_limit() - $this->sold_and_reserved(); |
|
1032 | + if (! $consider_tickets) { |
|
1033 | + return $dtt_remaining; |
|
1034 | + } |
|
1035 | + $tickets_remaining = $this->tickets_remaining(); |
|
1036 | + return min($dtt_remaining, $tickets_remaining); |
|
1037 | + } |
|
1038 | + |
|
1039 | + |
|
1040 | + /** |
|
1041 | + * Counts the total tickets available |
|
1042 | + * (from all the different types of tickets which are available for this datetime). |
|
1043 | + * |
|
1044 | + * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1045 | + * @return int |
|
1046 | + * @throws ReflectionException |
|
1047 | + * @throws InvalidArgumentException |
|
1048 | + * @throws InvalidInterfaceException |
|
1049 | + * @throws InvalidDataTypeException |
|
1050 | + * @throws EE_Error |
|
1051 | + */ |
|
1052 | + public function tickets_remaining($query_params = array()) |
|
1053 | + { |
|
1054 | + $sum = 0; |
|
1055 | + $tickets = $this->tickets($query_params); |
|
1056 | + if (! empty($tickets)) { |
|
1057 | + foreach ($tickets as $ticket) { |
|
1058 | + if ($ticket instanceof EE_Ticket) { |
|
1059 | + // get the actual amount of tickets that can be sold |
|
1060 | + $qty = $ticket->qty('saleable'); |
|
1061 | + if ($qty === EE_INF) { |
|
1062 | + return EE_INF; |
|
1063 | + } |
|
1064 | + // no negative ticket quantities plz |
|
1065 | + if ($qty > 0) { |
|
1066 | + $sum += $qty; |
|
1067 | + } |
|
1068 | + } |
|
1069 | + } |
|
1070 | + } |
|
1071 | + return $sum; |
|
1072 | + } |
|
1073 | + |
|
1074 | + |
|
1075 | + /** |
|
1076 | + * Gets the count of all the tickets available at this datetime (not ticket types) |
|
1077 | + * before any were sold |
|
1078 | + * |
|
1079 | + * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1080 | + * @return int |
|
1081 | + * @throws ReflectionException |
|
1082 | + * @throws InvalidArgumentException |
|
1083 | + * @throws InvalidInterfaceException |
|
1084 | + * @throws InvalidDataTypeException |
|
1085 | + * @throws EE_Error |
|
1086 | + */ |
|
1087 | + public function sum_tickets_initially_available($query_params = array()) |
|
1088 | + { |
|
1089 | + return $this->sum_related('Ticket', $query_params, 'TKT_qty'); |
|
1090 | + } |
|
1091 | + |
|
1092 | + |
|
1093 | + /** |
|
1094 | + * Returns the lesser-of-the two: spaces remaining at this datetime, or |
|
1095 | + * the total tickets remaining (a sum of the tickets remaining for each ticket type |
|
1096 | + * that is available for this datetime). |
|
1097 | + * |
|
1098 | + * @return int |
|
1099 | + * @throws ReflectionException |
|
1100 | + * @throws InvalidArgumentException |
|
1101 | + * @throws InvalidInterfaceException |
|
1102 | + * @throws InvalidDataTypeException |
|
1103 | + * @throws EE_Error |
|
1104 | + */ |
|
1105 | + public function total_tickets_available_at_this_datetime() |
|
1106 | + { |
|
1107 | + return $this->spaces_remaining(true); |
|
1108 | + } |
|
1109 | + |
|
1110 | + |
|
1111 | + /** |
|
1112 | + * This simply compares the internal dtt for the given string with NOW |
|
1113 | + * and determines if the date is upcoming or not. |
|
1114 | + * |
|
1115 | + * @access public |
|
1116 | + * @return boolean |
|
1117 | + * @throws ReflectionException |
|
1118 | + * @throws InvalidArgumentException |
|
1119 | + * @throws InvalidInterfaceException |
|
1120 | + * @throws InvalidDataTypeException |
|
1121 | + * @throws EE_Error |
|
1122 | + */ |
|
1123 | + public function is_upcoming() |
|
1124 | + { |
|
1125 | + return ($this->get_raw('DTT_EVT_start') > time()); |
|
1126 | + } |
|
1127 | + |
|
1128 | + |
|
1129 | + /** |
|
1130 | + * This simply compares the internal datetime for the given string with NOW |
|
1131 | + * and returns if the date is active (i.e. start and end time) |
|
1132 | + * |
|
1133 | + * @return boolean |
|
1134 | + * @throws ReflectionException |
|
1135 | + * @throws InvalidArgumentException |
|
1136 | + * @throws InvalidInterfaceException |
|
1137 | + * @throws InvalidDataTypeException |
|
1138 | + * @throws EE_Error |
|
1139 | + */ |
|
1140 | + public function is_active() |
|
1141 | + { |
|
1142 | + return ($this->get_raw('DTT_EVT_start') < time() && $this->get_raw('DTT_EVT_end') > time()); |
|
1143 | + } |
|
1144 | + |
|
1145 | + |
|
1146 | + /** |
|
1147 | + * This simply compares the internal dtt for the given string with NOW |
|
1148 | + * and determines if the date is expired or not. |
|
1149 | + * |
|
1150 | + * @return boolean |
|
1151 | + * @throws ReflectionException |
|
1152 | + * @throws InvalidArgumentException |
|
1153 | + * @throws InvalidInterfaceException |
|
1154 | + * @throws InvalidDataTypeException |
|
1155 | + * @throws EE_Error |
|
1156 | + */ |
|
1157 | + public function is_expired() |
|
1158 | + { |
|
1159 | + return ($this->get_raw('DTT_EVT_end') < time()); |
|
1160 | + } |
|
1161 | + |
|
1162 | + |
|
1163 | + /** |
|
1164 | + * This returns the active status for whether an event is active, upcoming, or expired |
|
1165 | + * |
|
1166 | + * @return int return value will be one of the EE_Datetime status constants. |
|
1167 | + * @throws ReflectionException |
|
1168 | + * @throws InvalidArgumentException |
|
1169 | + * @throws InvalidInterfaceException |
|
1170 | + * @throws InvalidDataTypeException |
|
1171 | + * @throws EE_Error |
|
1172 | + */ |
|
1173 | + public function get_active_status() |
|
1174 | + { |
|
1175 | + $total_tickets_for_this_dtt = $this->total_tickets_available_at_this_datetime(); |
|
1176 | + if ($total_tickets_for_this_dtt !== false && $total_tickets_for_this_dtt < 1) { |
|
1177 | + return EE_Datetime::sold_out; |
|
1178 | + } |
|
1179 | + if ($this->is_expired()) { |
|
1180 | + return EE_Datetime::expired; |
|
1181 | + } |
|
1182 | + if ($this->is_upcoming()) { |
|
1183 | + return EE_Datetime::upcoming; |
|
1184 | + } |
|
1185 | + if ($this->is_active()) { |
|
1186 | + return EE_Datetime::active; |
|
1187 | + } |
|
1188 | + return null; |
|
1189 | + } |
|
1190 | + |
|
1191 | + |
|
1192 | + /** |
|
1193 | + * This returns a nice display name for the datetime that is contingent on the span between the dates and times. |
|
1194 | + * |
|
1195 | + * @param boolean $use_dtt_name if TRUE then we'll use DTT->name() if its not empty. |
|
1196 | + * @return string |
|
1197 | + * @throws ReflectionException |
|
1198 | + * @throws InvalidArgumentException |
|
1199 | + * @throws InvalidInterfaceException |
|
1200 | + * @throws InvalidDataTypeException |
|
1201 | + * @throws EE_Error |
|
1202 | + */ |
|
1203 | + public function get_dtt_display_name($use_dtt_name = false) |
|
1204 | + { |
|
1205 | + if ($use_dtt_name) { |
|
1206 | + $dtt_name = $this->name(); |
|
1207 | + if (! empty($dtt_name)) { |
|
1208 | + return $dtt_name; |
|
1209 | + } |
|
1210 | + } |
|
1211 | + // first condition is to see if the months are different |
|
1212 | + if ( |
|
1213 | + date('m', $this->get_raw('DTT_EVT_start')) !== date('m', $this->get_raw('DTT_EVT_end')) |
|
1214 | + ) { |
|
1215 | + $display_date = $this->start_date('M j\, Y g:i a') . ' - ' . $this->end_date('M j\, Y g:i a'); |
|
1216 | + // next condition is if its the same month but different day |
|
1217 | + } else { |
|
1218 | + if ( |
|
1219 | + date('m', $this->get_raw('DTT_EVT_start')) === date('m', $this->get_raw('DTT_EVT_end')) |
|
1220 | + && date('d', $this->get_raw('DTT_EVT_start')) !== date('d', $this->get_raw('DTT_EVT_end')) |
|
1221 | + ) { |
|
1222 | + $display_date = $this->start_date('M j\, g:i a') . ' - ' . $this->end_date('M j\, g:i a Y'); |
|
1223 | + } else { |
|
1224 | + $display_date = $this->start_date('F j\, Y') |
|
1225 | + . ' @ ' |
|
1226 | + . $this->start_date('g:i a') |
|
1227 | + . ' - ' |
|
1228 | + . $this->end_date('g:i a'); |
|
1229 | + } |
|
1230 | + } |
|
1231 | + return $display_date; |
|
1232 | + } |
|
1233 | + |
|
1234 | + |
|
1235 | + /** |
|
1236 | + * Gets all the tickets for this datetime |
|
1237 | + * |
|
1238 | + * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1239 | + * @return EE_Base_Class[]|EE_Ticket[] |
|
1240 | + * @throws ReflectionException |
|
1241 | + * @throws InvalidArgumentException |
|
1242 | + * @throws InvalidInterfaceException |
|
1243 | + * @throws InvalidDataTypeException |
|
1244 | + * @throws EE_Error |
|
1245 | + */ |
|
1246 | + public function tickets($query_params = array()) |
|
1247 | + { |
|
1248 | + return $this->get_many_related('Ticket', $query_params); |
|
1249 | + } |
|
1250 | + |
|
1251 | + |
|
1252 | + /** |
|
1253 | + * Gets all the ticket types currently available for purchase |
|
1254 | + * |
|
1255 | + * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1256 | + * @return EE_Ticket[] |
|
1257 | + * @throws ReflectionException |
|
1258 | + * @throws InvalidArgumentException |
|
1259 | + * @throws InvalidInterfaceException |
|
1260 | + * @throws InvalidDataTypeException |
|
1261 | + * @throws EE_Error |
|
1262 | + */ |
|
1263 | + public function ticket_types_available_for_purchase($query_params = array()) |
|
1264 | + { |
|
1265 | + // first check if datetime is valid |
|
1266 | + if ($this->sold_out() || ! ($this->is_upcoming() || $this->is_active())) { |
|
1267 | + return array(); |
|
1268 | + } |
|
1269 | + if (empty($query_params)) { |
|
1270 | + $query_params = array( |
|
1271 | + array( |
|
1272 | + 'TKT_start_date' => array('<=', EEM_Ticket::instance()->current_time_for_query('TKT_start_date')), |
|
1273 | + 'TKT_end_date' => array('>=', EEM_Ticket::instance()->current_time_for_query('TKT_end_date')), |
|
1274 | + 'TKT_deleted' => false, |
|
1275 | + ), |
|
1276 | + ); |
|
1277 | + } |
|
1278 | + return $this->tickets($query_params); |
|
1279 | + } |
|
1280 | + |
|
1281 | + |
|
1282 | + /** |
|
1283 | + * @return EE_Base_Class|EE_Event |
|
1284 | + * @throws ReflectionException |
|
1285 | + * @throws InvalidArgumentException |
|
1286 | + * @throws InvalidInterfaceException |
|
1287 | + * @throws InvalidDataTypeException |
|
1288 | + * @throws EE_Error |
|
1289 | + */ |
|
1290 | + public function event() |
|
1291 | + { |
|
1292 | + return $this->get_first_related('Event'); |
|
1293 | + } |
|
1294 | + |
|
1295 | + |
|
1296 | + /** |
|
1297 | + * Updates the DTT_sold attribute (and saves) based on the number of registrations for this datetime |
|
1298 | + * (via the tickets). |
|
1299 | + * |
|
1300 | + * @return int |
|
1301 | + * @throws ReflectionException |
|
1302 | + * @throws InvalidArgumentException |
|
1303 | + * @throws InvalidInterfaceException |
|
1304 | + * @throws InvalidDataTypeException |
|
1305 | + * @throws EE_Error |
|
1306 | + */ |
|
1307 | + public function update_sold() |
|
1308 | + { |
|
1309 | + $count_regs_for_this_datetime = EEM_Registration::instance()->count( |
|
1310 | + array( |
|
1311 | + array( |
|
1312 | + 'STS_ID' => EEM_Registration::status_id_approved, |
|
1313 | + 'REG_deleted' => 0, |
|
1314 | + 'Ticket.Datetime.DTT_ID' => $this->ID(), |
|
1315 | + ), |
|
1316 | + ) |
|
1317 | + ); |
|
1318 | + $this->set_sold($count_regs_for_this_datetime); |
|
1319 | + $this->save(); |
|
1320 | + return $count_regs_for_this_datetime; |
|
1321 | + } |
|
1322 | + |
|
1323 | + |
|
1324 | + /** |
|
1325 | + * Adds a venue to this event |
|
1326 | + * |
|
1327 | + * @param int|EE_Venue /int $venue_id_or_obj |
|
1328 | + * @return EE_Base_Class|EE_Venue |
|
1329 | + * @throws EE_Error |
|
1330 | + * @throws ReflectionException |
|
1331 | + */ |
|
1332 | + public function add_venue($venue_id_or_obj): EE_Venue |
|
1333 | + { |
|
1334 | + return $this->_add_relation_to($venue_id_or_obj, 'Venue'); |
|
1335 | + } |
|
1336 | + |
|
1337 | + |
|
1338 | + /** |
|
1339 | + * Removes a venue from the event |
|
1340 | + * |
|
1341 | + * @param EE_Venue /int $venue_id_or_obj |
|
1342 | + * @return EE_Base_Class|EE_Venue |
|
1343 | + * @throws EE_Error |
|
1344 | + * @throws ReflectionException |
|
1345 | + */ |
|
1346 | + public function remove_venue($venue_id_or_obj): EE_Venue |
|
1347 | + { |
|
1348 | + $venue_id_or_obj = ! empty($venue_id_or_obj) ? $venue_id_or_obj : $this->venue(); |
|
1349 | + return $this->_remove_relation_to($venue_id_or_obj, 'Venue'); |
|
1350 | + } |
|
1351 | + |
|
1352 | + |
|
1353 | + /** |
|
1354 | + * Gets the venue related to the event. May provide additional $query_params if desired |
|
1355 | + * |
|
1356 | + * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1357 | + * @return int |
|
1358 | + * @throws EE_Error |
|
1359 | + * @throws ReflectionException |
|
1360 | + */ |
|
1361 | + public function venue_ID(array $query_params = []): int |
|
1362 | + { |
|
1363 | + $venue = $this->get_first_related('Venue', $query_params); |
|
1364 | + return $venue instanceof EE_Venue |
|
1365 | + ? $venue->ID() |
|
1366 | + : 0; |
|
1367 | + } |
|
1368 | + |
|
1369 | + |
|
1370 | + /** |
|
1371 | + * Gets the venue related to the event. May provide additional $query_params if desired |
|
1372 | + * |
|
1373 | + * @param array $query_params @see https://github.com/eventespresso/event-espresso-core/tree/master/docs/G--Model-System/model-query-params.md |
|
1374 | + * @return EE_Base_Class|EE_Venue |
|
1375 | + * @throws EE_Error |
|
1376 | + * @throws ReflectionException |
|
1377 | + */ |
|
1378 | + public function venue(array $query_params = []) |
|
1379 | + { |
|
1380 | + return $this->get_first_related('Venue', $query_params); |
|
1381 | + } |
|
1382 | + |
|
1383 | + |
|
1384 | + /******************************************************************* |
|
1385 | 1385 | *********************** DEPRECATED METHODS ********************** |
1386 | 1386 | *******************************************************************/ |
1387 | 1387 | |
1388 | 1388 | |
1389 | - /** |
|
1390 | - * Increments sold by amount passed by $qty, and persists it immediately to the database. |
|
1391 | - * |
|
1392 | - * @deprecated 4.9.80.p |
|
1393 | - * @param int $qty |
|
1394 | - * @return boolean |
|
1395 | - * @throws ReflectionException |
|
1396 | - * @throws InvalidArgumentException |
|
1397 | - * @throws InvalidInterfaceException |
|
1398 | - * @throws InvalidDataTypeException |
|
1399 | - * @throws EE_Error |
|
1400 | - */ |
|
1401 | - public function increase_sold($qty = 1) |
|
1402 | - { |
|
1403 | - EE_Error::doing_it_wrong( |
|
1404 | - __FUNCTION__, |
|
1405 | - esc_html__('Please use EE_Datetime::increaseSold() instead', 'event_espresso'), |
|
1406 | - '4.9.80.p', |
|
1407 | - '5.0.0.p' |
|
1408 | - ); |
|
1409 | - return $this->increaseSold($qty); |
|
1410 | - } |
|
1411 | - |
|
1412 | - |
|
1413 | - /** |
|
1414 | - * Decrements (subtracts) sold amount passed by $qty directly in the DB and on the model object. (Ie, no need |
|
1415 | - * to save afterwards.) |
|
1416 | - * |
|
1417 | - * @deprecated 4.9.80.p |
|
1418 | - * @param int $qty |
|
1419 | - * @return boolean |
|
1420 | - * @throws ReflectionException |
|
1421 | - * @throws InvalidArgumentException |
|
1422 | - * @throws InvalidInterfaceException |
|
1423 | - * @throws InvalidDataTypeException |
|
1424 | - * @throws EE_Error |
|
1425 | - */ |
|
1426 | - public function decrease_sold($qty = 1) |
|
1427 | - { |
|
1428 | - EE_Error::doing_it_wrong( |
|
1429 | - __FUNCTION__, |
|
1430 | - esc_html__('Please use EE_Datetime::decreaseSold() instead', 'event_espresso'), |
|
1431 | - '4.9.80.p', |
|
1432 | - '5.0.0.p' |
|
1433 | - ); |
|
1434 | - return $this->decreaseSold($qty); |
|
1435 | - } |
|
1436 | - |
|
1437 | - |
|
1438 | - /** |
|
1439 | - * Increments reserved by amount passed by $qty, and persists it immediately to the database. |
|
1440 | - * |
|
1441 | - * @deprecated 4.9.80.p |
|
1442 | - * @param int $qty |
|
1443 | - * @return boolean indicating success |
|
1444 | - * @throws ReflectionException |
|
1445 | - * @throws InvalidArgumentException |
|
1446 | - * @throws InvalidInterfaceException |
|
1447 | - * @throws InvalidDataTypeException |
|
1448 | - * @throws EE_Error |
|
1449 | - */ |
|
1450 | - public function increase_reserved($qty = 1) |
|
1451 | - { |
|
1452 | - EE_Error::doing_it_wrong( |
|
1453 | - __FUNCTION__, |
|
1454 | - esc_html__('Please use EE_Datetime::increaseReserved() instead', 'event_espresso'), |
|
1455 | - '4.9.80.p', |
|
1456 | - '5.0.0.p' |
|
1457 | - ); |
|
1458 | - return $this->increaseReserved($qty); |
|
1459 | - } |
|
1460 | - |
|
1461 | - |
|
1462 | - /** |
|
1463 | - * Decrements (subtracts) reserved by amount passed by $qty, and persists it immediately to the database. |
|
1464 | - * |
|
1465 | - * @deprecated 4.9.80.p |
|
1466 | - * @param int $qty |
|
1467 | - * @return boolean |
|
1468 | - * @throws ReflectionException |
|
1469 | - * @throws InvalidArgumentException |
|
1470 | - * @throws InvalidInterfaceException |
|
1471 | - * @throws InvalidDataTypeException |
|
1472 | - * @throws EE_Error |
|
1473 | - */ |
|
1474 | - public function decrease_reserved($qty = 1) |
|
1475 | - { |
|
1476 | - EE_Error::doing_it_wrong( |
|
1477 | - __FUNCTION__, |
|
1478 | - esc_html__('Please use EE_Datetime::decreaseReserved() instead', 'event_espresso'), |
|
1479 | - '4.9.80.p', |
|
1480 | - '5.0.0.p' |
|
1481 | - ); |
|
1482 | - return $this->decreaseReserved($qty); |
|
1483 | - } |
|
1389 | + /** |
|
1390 | + * Increments sold by amount passed by $qty, and persists it immediately to the database. |
|
1391 | + * |
|
1392 | + * @deprecated 4.9.80.p |
|
1393 | + * @param int $qty |
|
1394 | + * @return boolean |
|
1395 | + * @throws ReflectionException |
|
1396 | + * @throws InvalidArgumentException |
|
1397 | + * @throws InvalidInterfaceException |
|
1398 | + * @throws InvalidDataTypeException |
|
1399 | + * @throws EE_Error |
|
1400 | + */ |
|
1401 | + public function increase_sold($qty = 1) |
|
1402 | + { |
|
1403 | + EE_Error::doing_it_wrong( |
|
1404 | + __FUNCTION__, |
|
1405 | + esc_html__('Please use EE_Datetime::increaseSold() instead', 'event_espresso'), |
|
1406 | + '4.9.80.p', |
|
1407 | + '5.0.0.p' |
|
1408 | + ); |
|
1409 | + return $this->increaseSold($qty); |
|
1410 | + } |
|
1411 | + |
|
1412 | + |
|
1413 | + /** |
|
1414 | + * Decrements (subtracts) sold amount passed by $qty directly in the DB and on the model object. (Ie, no need |
|
1415 | + * to save afterwards.) |
|
1416 | + * |
|
1417 | + * @deprecated 4.9.80.p |
|
1418 | + * @param int $qty |
|
1419 | + * @return boolean |
|
1420 | + * @throws ReflectionException |
|
1421 | + * @throws InvalidArgumentException |
|
1422 | + * @throws InvalidInterfaceException |
|
1423 | + * @throws InvalidDataTypeException |
|
1424 | + * @throws EE_Error |
|
1425 | + */ |
|
1426 | + public function decrease_sold($qty = 1) |
|
1427 | + { |
|
1428 | + EE_Error::doing_it_wrong( |
|
1429 | + __FUNCTION__, |
|
1430 | + esc_html__('Please use EE_Datetime::decreaseSold() instead', 'event_espresso'), |
|
1431 | + '4.9.80.p', |
|
1432 | + '5.0.0.p' |
|
1433 | + ); |
|
1434 | + return $this->decreaseSold($qty); |
|
1435 | + } |
|
1436 | + |
|
1437 | + |
|
1438 | + /** |
|
1439 | + * Increments reserved by amount passed by $qty, and persists it immediately to the database. |
|
1440 | + * |
|
1441 | + * @deprecated 4.9.80.p |
|
1442 | + * @param int $qty |
|
1443 | + * @return boolean indicating success |
|
1444 | + * @throws ReflectionException |
|
1445 | + * @throws InvalidArgumentException |
|
1446 | + * @throws InvalidInterfaceException |
|
1447 | + * @throws InvalidDataTypeException |
|
1448 | + * @throws EE_Error |
|
1449 | + */ |
|
1450 | + public function increase_reserved($qty = 1) |
|
1451 | + { |
|
1452 | + EE_Error::doing_it_wrong( |
|
1453 | + __FUNCTION__, |
|
1454 | + esc_html__('Please use EE_Datetime::increaseReserved() instead', 'event_espresso'), |
|
1455 | + '4.9.80.p', |
|
1456 | + '5.0.0.p' |
|
1457 | + ); |
|
1458 | + return $this->increaseReserved($qty); |
|
1459 | + } |
|
1460 | + |
|
1461 | + |
|
1462 | + /** |
|
1463 | + * Decrements (subtracts) reserved by amount passed by $qty, and persists it immediately to the database. |
|
1464 | + * |
|
1465 | + * @deprecated 4.9.80.p |
|
1466 | + * @param int $qty |
|
1467 | + * @return boolean |
|
1468 | + * @throws ReflectionException |
|
1469 | + * @throws InvalidArgumentException |
|
1470 | + * @throws InvalidInterfaceException |
|
1471 | + * @throws InvalidDataTypeException |
|
1472 | + * @throws EE_Error |
|
1473 | + */ |
|
1474 | + public function decrease_reserved($qty = 1) |
|
1475 | + { |
|
1476 | + EE_Error::doing_it_wrong( |
|
1477 | + __FUNCTION__, |
|
1478 | + esc_html__('Please use EE_Datetime::decreaseReserved() instead', 'event_espresso'), |
|
1479 | + '4.9.80.p', |
|
1480 | + '5.0.0.p' |
|
1481 | + ); |
|
1482 | + return $this->decreaseReserved($qty); |
|
1483 | + } |
|
1484 | 1484 | } |
@@ -2,137 +2,137 @@ discard block |
||
2 | 2 | /* THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. */ |
3 | 3 | $generated_i18n_strings = array( |
4 | 4 | // Reference: packages/ui-components/src/Pagination/constants.ts:6 |
5 | - __( '2', 'event_espresso' ), |
|
5 | + __('2', 'event_espresso'), |
|
6 | 6 | |
7 | 7 | // Reference: packages/ui-components/src/Pagination/constants.ts:7 |
8 | - __( '6', 'event_espresso' ), |
|
8 | + __('6', 'event_espresso'), |
|
9 | 9 | |
10 | 10 | // Reference: packages/ui-components/src/Pagination/constants.ts:8 |
11 | - __( '12', 'event_espresso' ), |
|
11 | + __('12', 'event_espresso'), |
|
12 | 12 | |
13 | 13 | // Reference: packages/ui-components/src/Pagination/constants.ts:9 |
14 | - __( '24', 'event_espresso' ), |
|
14 | + __('24', 'event_espresso'), |
|
15 | 15 | |
16 | 16 | // Reference: packages/ui-components/src/Pagination/constants.ts:10 |
17 | - __( '48', 'event_espresso' ), |
|
17 | + __('48', 'event_espresso'), |
|
18 | 18 | |
19 | 19 | // Reference: domains/core/admin/blocks/src/components/AvatarImage.tsx:27 |
20 | - __( 'contact avatar', 'event_espresso' ), |
|
20 | + __('contact avatar', 'event_espresso'), |
|
21 | 21 | |
22 | 22 | // Reference: domains/core/admin/blocks/src/components/OrderByControl.tsx:12 |
23 | - __( 'Order by', 'event_espresso' ), |
|
23 | + __('Order by', 'event_espresso'), |
|
24 | 24 | |
25 | 25 | // Reference: domains/core/admin/blocks/src/components/RegStatusControl.tsx:17 |
26 | 26 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectStatus.tsx:13 |
27 | - __( 'Select Registration Status', 'event_espresso' ), |
|
27 | + __('Select Registration Status', 'event_espresso'), |
|
28 | 28 | |
29 | 29 | // Reference: domains/core/admin/blocks/src/components/SortOrderControl.tsx:14 |
30 | - __( 'Ascending', 'event_espresso' ), |
|
30 | + __('Ascending', 'event_espresso'), |
|
31 | 31 | |
32 | 32 | // Reference: domains/core/admin/blocks/src/components/SortOrderControl.tsx:18 |
33 | - __( 'Descending', 'event_espresso' ), |
|
33 | + __('Descending', 'event_espresso'), |
|
34 | 34 | |
35 | 35 | // Reference: domains/core/admin/blocks/src/components/SortOrderControl.tsx:24 |
36 | - __( 'Sort order:', 'event_espresso' ), |
|
36 | + __('Sort order:', 'event_espresso'), |
|
37 | 37 | |
38 | 38 | // Reference: domains/core/admin/blocks/src/event-attendees/AttendeesDisplay.tsx:41 |
39 | - __( 'There was some error fetching attendees list', 'event_espresso' ), |
|
39 | + __('There was some error fetching attendees list', 'event_espresso'), |
|
40 | 40 | |
41 | 41 | // Reference: domains/core/admin/blocks/src/event-attendees/AttendeesDisplay.tsx:47 |
42 | - __( 'To get started, select what event you want to show attendees from in the block settings.', 'event_espresso' ), |
|
42 | + __('To get started, select what event you want to show attendees from in the block settings.', 'event_espresso'), |
|
43 | 43 | |
44 | 44 | // Reference: domains/core/admin/blocks/src/event-attendees/AttendeesDisplay.tsx:53 |
45 | - __( 'There are no attendees for selected options.', 'event_espresso' ), |
|
45 | + __('There are no attendees for selected options.', 'event_espresso'), |
|
46 | 46 | |
47 | 47 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/ArchiveSettings.tsx:12 |
48 | - __( 'Display on Archives', 'event_espresso' ), |
|
48 | + __('Display on Archives', 'event_espresso'), |
|
49 | 49 | |
50 | 50 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/ArchiveSettings.tsx:17 |
51 | - __( 'Attendees are shown whenever this post is listed in an archive view.', 'event_espresso' ), |
|
51 | + __('Attendees are shown whenever this post is listed in an archive view.', 'event_espresso'), |
|
52 | 52 | |
53 | 53 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/ArchiveSettings.tsx:18 |
54 | - __( 'Attendees are hidden whenever this post is listed in an archive view.', 'event_espresso' ), |
|
54 | + __('Attendees are hidden whenever this post is listed in an archive view.', 'event_espresso'), |
|
55 | 55 | |
56 | 56 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/AttendeeLimit.tsx:29 |
57 | - __( 'Number of Attendees to Display:', 'event_espresso' ), |
|
57 | + __('Number of Attendees to Display:', 'event_espresso'), |
|
58 | 58 | |
59 | 59 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/AttendeeLimit.tsx:34 |
60 | 60 | /* translators: %d attendees count */ |
61 | - _n_noop( 'Used to adjust the number of attendees displayed (There is %d total attendee for the current filter settings).', 'Used to adjust the number of attendees displayed (There are %d total attendees for the current filter settings).', 'event_espresso' ), |
|
61 | + _n_noop('Used to adjust the number of attendees displayed (There is %d total attendee for the current filter settings).', 'Used to adjust the number of attendees displayed (There are %d total attendees for the current filter settings).', 'event_espresso'), |
|
62 | 62 | |
63 | 63 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/GravatarSettings.tsx:27 |
64 | - __( 'Display Gravatar', 'event_espresso' ), |
|
64 | + __('Display Gravatar', 'event_espresso'), |
|
65 | 65 | |
66 | 66 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/GravatarSettings.tsx:32 |
67 | - __( 'Gravatar images are shown for each attendee.', 'event_espresso' ), |
|
67 | + __('Gravatar images are shown for each attendee.', 'event_espresso'), |
|
68 | 68 | |
69 | 69 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/GravatarSettings.tsx:33 |
70 | - __( 'No gravatar images are shown for each attendee.', 'event_espresso' ), |
|
70 | + __('No gravatar images are shown for each attendee.', 'event_espresso'), |
|
71 | 71 | |
72 | 72 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/GravatarSettings.tsx:38 |
73 | - __( 'Size of Gravatar', 'event_espresso' ), |
|
73 | + __('Size of Gravatar', 'event_espresso'), |
|
74 | 74 | |
75 | 75 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectDatetime.tsx:22 |
76 | - __( 'Select Datetime', 'event_espresso' ), |
|
76 | + __('Select Datetime', 'event_espresso'), |
|
77 | 77 | |
78 | 78 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectEvent.tsx:22 |
79 | 79 | // Reference: domains/core/admin/blocks/src/event/controls/SelectEvent.tsx:22 |
80 | - __( 'Select Event', 'event_espresso' ), |
|
80 | + __('Select Event', 'event_espresso'), |
|
81 | 81 | |
82 | 82 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:11 |
83 | - __( 'Attendee id', 'event_espresso' ), |
|
83 | + __('Attendee id', 'event_espresso'), |
|
84 | 84 | |
85 | 85 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:15 |
86 | - __( 'Last name only', 'event_espresso' ), |
|
86 | + __('Last name only', 'event_espresso'), |
|
87 | 87 | |
88 | 88 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:19 |
89 | - __( 'First name only', 'event_espresso' ), |
|
89 | + __('First name only', 'event_espresso'), |
|
90 | 90 | |
91 | 91 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:23 |
92 | - __( 'First, then Last name', 'event_espresso' ), |
|
92 | + __('First, then Last name', 'event_espresso'), |
|
93 | 93 | |
94 | 94 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:27 |
95 | - __( 'Last, then First name', 'event_espresso' ), |
|
95 | + __('Last, then First name', 'event_espresso'), |
|
96 | 96 | |
97 | 97 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:41 |
98 | - __( 'Order Attendees by:', 'event_espresso' ), |
|
98 | + __('Order Attendees by:', 'event_espresso'), |
|
99 | 99 | |
100 | 100 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectTicket.tsx:22 |
101 | - __( 'Select Ticket', 'event_espresso' ), |
|
101 | + __('Select Ticket', 'event_espresso'), |
|
102 | 102 | |
103 | 103 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/index.tsx:21 |
104 | - __( 'Filter By Settings', 'event_espresso' ), |
|
104 | + __('Filter By Settings', 'event_espresso'), |
|
105 | 105 | |
106 | 106 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/index.tsx:36 |
107 | - __( 'Gravatar Setttings', 'event_espresso' ), |
|
107 | + __('Gravatar Setttings', 'event_espresso'), |
|
108 | 108 | |
109 | 109 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/index.tsx:39 |
110 | - __( 'Archive Settings', 'event_espresso' ), |
|
110 | + __('Archive Settings', 'event_espresso'), |
|
111 | 111 | |
112 | 112 | // Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:10 |
113 | - __( 'Event Attendees', 'event_espresso' ), |
|
113 | + __('Event Attendees', 'event_espresso'), |
|
114 | 114 | |
115 | 115 | // Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:11 |
116 | - __( 'Displays a list of people that have registered for the specified event', 'event_espresso' ), |
|
116 | + __('Displays a list of people that have registered for the specified event', 'event_espresso'), |
|
117 | 117 | |
118 | 118 | // Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:14 |
119 | 119 | // Reference: domains/core/admin/blocks/src/event/index.tsx:12 |
120 | - __( 'event', 'event_espresso' ), |
|
120 | + __('event', 'event_espresso'), |
|
121 | 121 | |
122 | 122 | // Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:14 |
123 | - __( 'attendees', 'event_espresso' ), |
|
123 | + __('attendees', 'event_espresso'), |
|
124 | 124 | |
125 | 125 | // Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:14 |
126 | - __( 'list', 'event_espresso' ), |
|
126 | + __('list', 'event_espresso'), |
|
127 | 127 | |
128 | 128 | // Reference: domains/core/admin/blocks/src/event/DisplayField.tsx:41 |
129 | - __( 'An unknown error occurred while fetching event details.', 'event_espresso' ), |
|
129 | + __('An unknown error occurred while fetching event details.', 'event_espresso'), |
|
130 | 130 | |
131 | 131 | // Reference: domains/core/admin/blocks/src/event/controls/SelectField.tsx:10 |
132 | 132 | // Reference: domains/core/admin/blocks/src/services/utils.ts:24 |
133 | 133 | // Reference: packages/ui-components/src/SimpleEntityList/EntityTemplate.tsx:16 |
134 | 134 | // Reference: packages/utils/src/list/index.ts:14 |
135 | - __( 'Select…', 'event_espresso' ), |
|
135 | + __('Select…', 'event_espresso'), |
|
136 | 136 | |
137 | 137 | // Reference: domains/core/admin/blocks/src/event/controls/SelectField.tsx:15 |
138 | 138 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:75 |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:91 |
142 | 142 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:49 |
143 | 143 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:40 |
144 | - __( 'Name', 'event_espresso' ), |
|
144 | + __('Name', 'event_espresso'), |
|
145 | 145 | |
146 | 146 | // Reference: domains/core/admin/blocks/src/event/controls/SelectField.tsx:19 |
147 | 147 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:80 |
@@ -149,395 +149,395 @@ discard block |
||
149 | 149 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:96 |
150 | 150 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:55 |
151 | 151 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:47 |
152 | - __( 'Description', 'event_espresso' ), |
|
152 | + __('Description', 'event_espresso'), |
|
153 | 153 | |
154 | 154 | // Reference: domains/core/admin/blocks/src/event/controls/SelectField.tsx:23 |
155 | - __( 'Short description', 'event_espresso' ), |
|
155 | + __('Short description', 'event_espresso'), |
|
156 | 156 | |
157 | 157 | // Reference: domains/core/admin/blocks/src/event/controls/SelectField.tsx:35 |
158 | - __( 'Select Field', 'event_espresso' ), |
|
158 | + __('Select Field', 'event_espresso'), |
|
159 | 159 | |
160 | 160 | // Reference: domains/core/admin/blocks/src/event/controls/index.tsx:27 |
161 | - __( 'Text Color', 'event_espresso' ), |
|
161 | + __('Text Color', 'event_espresso'), |
|
162 | 162 | |
163 | 163 | // Reference: domains/core/admin/blocks/src/event/controls/index.tsx:32 |
164 | - __( 'Background Color', 'event_espresso' ), |
|
164 | + __('Background Color', 'event_espresso'), |
|
165 | 165 | |
166 | 166 | // Reference: domains/core/admin/blocks/src/event/controls/index.tsx:41 |
167 | 167 | // Reference: packages/form-builder/src/FormElement/Tabs/FormElementTabs.tsx:22 |
168 | 168 | // Reference: packages/form-builder/src/FormSection/Tabs/FormSectionTabs.tsx:21 |
169 | - __( 'Settings', 'event_espresso' ), |
|
169 | + __('Settings', 'event_espresso'), |
|
170 | 170 | |
171 | 171 | // Reference: domains/core/admin/blocks/src/event/controls/index.tsx:45 |
172 | - __( 'Typography', 'event_espresso' ), |
|
172 | + __('Typography', 'event_espresso'), |
|
173 | 173 | |
174 | 174 | // Reference: domains/core/admin/blocks/src/event/controls/index.tsx:48 |
175 | - __( 'Color', 'event_espresso' ), |
|
175 | + __('Color', 'event_espresso'), |
|
176 | 176 | |
177 | 177 | // Reference: domains/core/admin/blocks/src/event/index.tsx:12 |
178 | - __( 'field', 'event_espresso' ), |
|
178 | + __('field', 'event_espresso'), |
|
179 | 179 | |
180 | 180 | // Reference: domains/core/admin/blocks/src/event/index.tsx:8 |
181 | - __( 'Event Field', 'event_espresso' ), |
|
181 | + __('Event Field', 'event_espresso'), |
|
182 | 182 | |
183 | 183 | // Reference: domains/core/admin/blocks/src/event/index.tsx:9 |
184 | - __( 'Displays the selected field of an event', 'event_espresso' ), |
|
184 | + __('Displays the selected field of an event', 'event_espresso'), |
|
185 | 185 | |
186 | 186 | // Reference: domains/core/admin/blocks/src/services/utils.ts:17 |
187 | - __( 'Error', 'event_espresso' ), |
|
187 | + __('Error', 'event_espresso'), |
|
188 | 188 | |
189 | 189 | // Reference: domains/core/admin/blocks/src/services/utils.ts:9 |
190 | - __( 'Loading…', 'event_espresso' ), |
|
190 | + __('Loading…', 'event_espresso'), |
|
191 | 191 | |
192 | 192 | // Reference: domains/core/admin/eventEditor/src/ui/EventDescription.tsx:33 |
193 | - __( 'Event Description', 'event_espresso' ), |
|
193 | + __('Event Description', 'event_espresso'), |
|
194 | 194 | |
195 | 195 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/ActiveStatus.tsx:22 |
196 | - __( 'Active status', 'event_espresso' ), |
|
196 | + __('Active status', 'event_espresso'), |
|
197 | 197 | |
198 | 198 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/AltRegPage.tsx:14 |
199 | - __( 'Alternative Registration Page', 'event_espresso' ), |
|
199 | + __('Alternative Registration Page', 'event_espresso'), |
|
200 | 200 | |
201 | 201 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/DefaultRegistrationStatus.tsx:15 |
202 | - __( 'Default Registration Status', 'event_espresso' ), |
|
202 | + __('Default Registration Status', 'event_espresso'), |
|
203 | 203 | |
204 | 204 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/Donations.tsx:9 |
205 | - __( 'Donations Enabled', 'event_espresso' ), |
|
205 | + __('Donations Enabled', 'event_espresso'), |
|
206 | 206 | |
207 | 207 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/Donations.tsx:9 |
208 | - __( 'Donations Disabled', 'event_espresso' ), |
|
208 | + __('Donations Disabled', 'event_espresso'), |
|
209 | 209 | |
210 | 210 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/EventManager.tsx:16 |
211 | - __( 'Event Manager', 'event_espresso' ), |
|
211 | + __('Event Manager', 'event_espresso'), |
|
212 | 212 | |
213 | 213 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/EventPhoneNumber.tsx:11 |
214 | - __( 'Event Phone Number', 'event_espresso' ), |
|
214 | + __('Event Phone Number', 'event_espresso'), |
|
215 | 215 | |
216 | 216 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/MaxRegistrations.tsx:12 |
217 | - __( 'Max Registrations per Transaction', 'event_espresso' ), |
|
217 | + __('Max Registrations per Transaction', 'event_espresso'), |
|
218 | 218 | |
219 | 219 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/TicketSelector.tsx:9 |
220 | - __( 'Ticket Selector Enabled', 'event_espresso' ), |
|
220 | + __('Ticket Selector Enabled', 'event_espresso'), |
|
221 | 221 | |
222 | 222 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/TicketSelector.tsx:9 |
223 | - __( 'Ticket Selector Disabled', 'event_espresso' ), |
|
223 | + __('Ticket Selector Disabled', 'event_espresso'), |
|
224 | 224 | |
225 | 225 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/index.tsx:43 |
226 | - __( 'Registration Options', 'event_espresso' ), |
|
226 | + __('Registration Options', 'event_espresso'), |
|
227 | 227 | |
228 | 228 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/DateRegistrationsLink.tsx:13 |
229 | - __( 'view ALL registrations for this date.', 'event_espresso' ), |
|
229 | + __('view ALL registrations for this date.', 'event_espresso'), |
|
230 | 230 | |
231 | 231 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:10 |
232 | - __( 'primary information about the date', 'event_espresso' ), |
|
232 | + __('primary information about the date', 'event_espresso'), |
|
233 | 233 | |
234 | 234 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:10 |
235 | - __( 'Date Details', 'event_espresso' ), |
|
235 | + __('Date Details', 'event_espresso'), |
|
236 | 236 | |
237 | 237 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:11 |
238 | 238 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:16 |
239 | 239 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:16 |
240 | - __( 'relations between tickets and dates', 'event_espresso' ), |
|
240 | + __('relations between tickets and dates', 'event_espresso'), |
|
241 | 241 | |
242 | 242 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:11 |
243 | - __( 'Assign Tickets', 'event_espresso' ), |
|
243 | + __('Assign Tickets', 'event_espresso'), |
|
244 | 244 | |
245 | 245 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/FooterButtons.tsx:22 |
246 | - __( 'Save and assign tickets', 'event_espresso' ), |
|
246 | + __('Save and assign tickets', 'event_espresso'), |
|
247 | 247 | |
248 | 248 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/Modal.tsx:27 |
249 | 249 | /* translators: %s datetime id */ |
250 | - __( 'Edit datetime %s', 'event_espresso' ), |
|
250 | + __('Edit datetime %s', 'event_espresso'), |
|
251 | 251 | |
252 | 252 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/Modal.tsx:30 |
253 | - __( 'New Datetime', 'event_espresso' ), |
|
253 | + __('New Datetime', 'event_espresso'), |
|
254 | 254 | |
255 | 255 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:110 |
256 | 256 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:108 |
257 | 257 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:126 |
258 | 258 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:108 |
259 | - __( 'Details', 'event_espresso' ), |
|
259 | + __('Details', 'event_espresso'), |
|
260 | 260 | |
261 | 261 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:114 |
262 | 262 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:112 |
263 | 263 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:81 |
264 | - __( 'Capacity', 'event_espresso' ), |
|
264 | + __('Capacity', 'event_espresso'), |
|
265 | 265 | |
266 | 266 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:119 |
267 | - __( 'The maximum number of registrants that can attend the event at this particular date.', 'event_espresso' ), |
|
267 | + __('The maximum number of registrants that can attend the event at this particular date.', 'event_espresso'), |
|
268 | 268 | |
269 | 269 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:123 |
270 | - __( 'Set to 0 to close registration or leave blank for no limit.', 'event_espresso' ), |
|
270 | + __('Set to 0 to close registration or leave blank for no limit.', 'event_espresso'), |
|
271 | 271 | |
272 | 272 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:129 |
273 | 273 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:203 |
274 | - __( 'Trash', 'event_espresso' ), |
|
274 | + __('Trash', 'event_espresso'), |
|
275 | 275 | |
276 | 276 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:71 |
277 | 277 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:45 |
278 | 278 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:87 |
279 | 279 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:45 |
280 | - __( 'Basics', 'event_espresso' ), |
|
280 | + __('Basics', 'event_espresso'), |
|
281 | 281 | |
282 | 282 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:88 |
283 | 283 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:63 |
284 | 284 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:63 |
285 | - __( 'Dates', 'event_espresso' ), |
|
285 | + __('Dates', 'event_espresso'), |
|
286 | 286 | |
287 | 287 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:92 |
288 | 288 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:51 |
289 | 289 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:108 |
290 | - __( 'Start Date', 'event_espresso' ), |
|
290 | + __('Start Date', 'event_espresso'), |
|
291 | 291 | |
292 | 292 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:99 |
293 | 293 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:65 |
294 | 294 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:115 |
295 | - __( 'End Date', 'event_espresso' ), |
|
295 | + __('End Date', 'event_espresso'), |
|
296 | 296 | |
297 | 297 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesList.tsx:35 |
298 | 298 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/TableView.tsx:33 |
299 | - __( 'Event Dates', 'event_espresso' ), |
|
299 | + __('Event Dates', 'event_espresso'), |
|
300 | 300 | |
301 | 301 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesList.tsx:38 |
302 | - __( 'loading event dates…', 'event_espresso' ), |
|
302 | + __('loading event dates…', 'event_espresso'), |
|
303 | 303 | |
304 | 304 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesListButtons.tsx:20 |
305 | - __( 'Add a date or a ticket in order to use Ticket Assignment Manager', 'event_espresso' ), |
|
305 | + __('Add a date or a ticket in order to use Ticket Assignment Manager', 'event_espresso'), |
|
306 | 306 | |
307 | 307 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesListButtons.tsx:30 |
308 | - __( 'Ticket Assignments', 'event_espresso' ), |
|
308 | + __('Ticket Assignments', 'event_espresso'), |
|
309 | 309 | |
310 | 310 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:25 |
311 | - __( 'Number of related tickets', 'event_espresso' ), |
|
311 | + __('Number of related tickets', 'event_espresso'), |
|
312 | 312 | |
313 | 313 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:26 |
314 | - __( 'There are no tickets assigned to this datetime. Please click the ticket icon to update the assignments.', 'event_espresso' ), |
|
314 | + __('There are no tickets assigned to this datetime. Please click the ticket icon to update the assignments.', 'event_espresso'), |
|
315 | 315 | |
316 | 316 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:34 |
317 | - __( 'assign tickets', 'event_espresso' ), |
|
317 | + __('assign tickets', 'event_espresso'), |
|
318 | 318 | |
319 | 319 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:25 |
320 | - __( 'Permanently delete Datetime?', 'event_espresso' ), |
|
320 | + __('Permanently delete Datetime?', 'event_espresso'), |
|
321 | 321 | |
322 | 322 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:25 |
323 | - __( 'Move Datetime to Trash?', 'event_espresso' ), |
|
323 | + __('Move Datetime to Trash?', 'event_espresso'), |
|
324 | 324 | |
325 | 325 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:27 |
326 | - __( 'Are you sure you want to permanently delete this datetime? This action is permanent and can not be undone.', 'event_espresso' ), |
|
326 | + __('Are you sure you want to permanently delete this datetime? This action is permanent and can not be undone.', 'event_espresso'), |
|
327 | 327 | |
328 | 328 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:30 |
329 | - __( 'Are you sure you want to move this datetime to the trash? You can "untrash" this datetime later if you need to.', 'event_espresso' ), |
|
329 | + __('Are you sure you want to move this datetime to the trash? You can "untrash" this datetime later if you need to.', 'event_espresso'), |
|
330 | 330 | |
331 | 331 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:39 |
332 | 332 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:44 |
333 | - __( 'delete permanently', 'event_espresso' ), |
|
333 | + __('delete permanently', 'event_espresso'), |
|
334 | 334 | |
335 | 335 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:39 |
336 | - __( 'trash datetime', 'event_espresso' ), |
|
336 | + __('trash datetime', 'event_espresso'), |
|
337 | 337 | |
338 | 338 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:45 |
339 | - __( 'event date main menu', 'event_espresso' ), |
|
339 | + __('event date main menu', 'event_espresso'), |
|
340 | 340 | |
341 | 341 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:59 |
342 | - __( 'edit datetime', 'event_espresso' ), |
|
342 | + __('edit datetime', 'event_espresso'), |
|
343 | 343 | |
344 | 344 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:60 |
345 | - __( 'copy datetime', 'event_espresso' ), |
|
345 | + __('copy datetime', 'event_espresso'), |
|
346 | 346 | |
347 | 347 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:36 |
348 | 348 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:39 |
349 | 349 | // Reference: packages/ui-components/src/bulkEdit/BulkActions.tsx:43 |
350 | - __( 'bulk actions', 'event_espresso' ), |
|
350 | + __('bulk actions', 'event_espresso'), |
|
351 | 351 | |
352 | 352 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:40 |
353 | - __( 'edit datetime details', 'event_espresso' ), |
|
353 | + __('edit datetime details', 'event_espresso'), |
|
354 | 354 | |
355 | 355 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:44 |
356 | - __( 'delete datetimes', 'event_espresso' ), |
|
356 | + __('delete datetimes', 'event_espresso'), |
|
357 | 357 | |
358 | 358 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:44 |
359 | - __( 'trash datetimes', 'event_espresso' ), |
|
359 | + __('trash datetimes', 'event_espresso'), |
|
360 | 360 | |
361 | 361 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:14 |
362 | - __( 'Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso' ), |
|
362 | + __('Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso'), |
|
363 | 363 | |
364 | 364 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:15 |
365 | - __( 'Are you sure you want to trash these datetimes?', 'event_espresso' ), |
|
365 | + __('Are you sure you want to trash these datetimes?', 'event_espresso'), |
|
366 | 366 | |
367 | 367 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:16 |
368 | - __( 'Delete datetimes permanently', 'event_espresso' ), |
|
368 | + __('Delete datetimes permanently', 'event_espresso'), |
|
369 | 369 | |
370 | 370 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:16 |
371 | - __( 'Trash datetimes', 'event_espresso' ), |
|
371 | + __('Trash datetimes', 'event_espresso'), |
|
372 | 372 | |
373 | 373 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:21 |
374 | - __( 'Bulk edit date details', 'event_espresso' ), |
|
374 | + __('Bulk edit date details', 'event_espresso'), |
|
375 | 375 | |
376 | 376 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:22 |
377 | - __( 'any changes will be applied to ALL of the selected dates.', 'event_espresso' ), |
|
377 | + __('any changes will be applied to ALL of the selected dates.', 'event_espresso'), |
|
378 | 378 | |
379 | 379 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/formValidation.ts:12 |
380 | 380 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/formValidation.ts:12 |
381 | - __( 'Name must be at least three characters', 'event_espresso' ), |
|
381 | + __('Name must be at least three characters', 'event_espresso'), |
|
382 | 382 | |
383 | 383 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:67 |
384 | 384 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:67 |
385 | - __( 'Shift dates', 'event_espresso' ), |
|
385 | + __('Shift dates', 'event_espresso'), |
|
386 | 386 | |
387 | 387 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:92 |
388 | 388 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:92 |
389 | - __( 'earlier', 'event_espresso' ), |
|
389 | + __('earlier', 'event_espresso'), |
|
390 | 390 | |
391 | 391 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:96 |
392 | 392 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:96 |
393 | - __( 'later', 'event_espresso' ), |
|
393 | + __('later', 'event_espresso'), |
|
394 | 394 | |
395 | 395 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCapacity.tsx:34 |
396 | 396 | /* translators: click to edit capacity<linebreak>(registration limit)… */ |
397 | - __( 'click to edit capacity%s(registration limit)…', 'event_espresso' ), |
|
397 | + __('click to edit capacity%s(registration limit)…', 'event_espresso'), |
|
398 | 398 | |
399 | 399 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:31 |
400 | 400 | // Reference: packages/ee-components/src/SimpleTicketCard/SimpleTicketCard.tsx:27 |
401 | 401 | // Reference: packages/ui-components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:34 |
402 | - __( 'starts', 'event_espresso' ), |
|
402 | + __('starts', 'event_espresso'), |
|
403 | 403 | |
404 | 404 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:32 |
405 | 405 | // Reference: packages/ee-components/src/SimpleTicketCard/SimpleTicketCard.tsx:34 |
406 | 406 | // Reference: packages/ui-components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:47 |
407 | - __( 'ends', 'event_espresso' ), |
|
407 | + __('ends', 'event_espresso'), |
|
408 | 408 | |
409 | 409 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:32 |
410 | - __( 'started', 'event_espresso' ), |
|
410 | + __('started', 'event_espresso'), |
|
411 | 411 | |
412 | 412 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:32 |
413 | - __( 'ended', 'event_espresso' ), |
|
413 | + __('ended', 'event_espresso'), |
|
414 | 414 | |
415 | 415 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:46 |
416 | - __( 'Edit Event Date', 'event_espresso' ), |
|
416 | + __('Edit Event Date', 'event_espresso'), |
|
417 | 417 | |
418 | 418 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:50 |
419 | - __( 'edit start and end dates', 'event_espresso' ), |
|
419 | + __('edit start and end dates', 'event_espresso'), |
|
420 | 420 | |
421 | 421 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:15 |
422 | 422 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:15 |
423 | - __( 'sold', 'event_espresso' ), |
|
423 | + __('sold', 'event_espresso'), |
|
424 | 424 | |
425 | 425 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:28 |
426 | - __( 'capacity', 'event_espresso' ), |
|
426 | + __('capacity', 'event_espresso'), |
|
427 | 427 | |
428 | 428 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:34 |
429 | 429 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:33 |
430 | - __( 'reg list', 'event_espresso' ), |
|
430 | + __('reg list', 'event_espresso'), |
|
431 | 431 | |
432 | 432 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:52 |
433 | 433 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:44 |
434 | - __( 'add description…', 'event_espresso' ), |
|
434 | + __('add description…', 'event_espresso'), |
|
435 | 435 | |
436 | 436 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:53 |
437 | 437 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:45 |
438 | - __( 'Edit description', 'event_espresso' ), |
|
438 | + __('Edit description', 'event_espresso'), |
|
439 | 439 | |
440 | 440 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:54 |
441 | 441 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:46 |
442 | - __( 'click to edit description…', 'event_espresso' ), |
|
442 | + __('click to edit description…', 'event_espresso'), |
|
443 | 443 | |
444 | 444 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:10 |
445 | - __( 'Move Date to Trash', 'event_espresso' ), |
|
445 | + __('Move Date to Trash', 'event_espresso'), |
|
446 | 446 | |
447 | 447 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:13 |
448 | 448 | // Reference: packages/constants/src/datetime.ts:6 |
449 | - __( 'Active', 'event_espresso' ), |
|
449 | + __('Active', 'event_espresso'), |
|
450 | 450 | |
451 | 451 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:14 |
452 | 452 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:13 |
453 | - __( 'Trashed', 'event_espresso' ), |
|
453 | + __('Trashed', 'event_espresso'), |
|
454 | 454 | |
455 | 455 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:15 |
456 | 456 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:14 |
457 | 457 | // Reference: packages/constants/src/datetime.ts:8 |
458 | - __( 'Expired', 'event_espresso' ), |
|
458 | + __('Expired', 'event_espresso'), |
|
459 | 459 | |
460 | 460 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:16 |
461 | 461 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:16 |
462 | - __( 'Sold Out', 'event_espresso' ), |
|
462 | + __('Sold Out', 'event_espresso'), |
|
463 | 463 | |
464 | 464 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:17 |
465 | 465 | // Reference: packages/constants/src/datetime.ts:12 |
466 | - __( 'Upcoming', 'event_espresso' ), |
|
466 | + __('Upcoming', 'event_espresso'), |
|
467 | 467 | |
468 | 468 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:7 |
469 | - __( 'Edit Event Date Details', 'event_espresso' ), |
|
469 | + __('Edit Event Date Details', 'event_espresso'), |
|
470 | 470 | |
471 | 471 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:8 |
472 | - __( 'View Registrations for this Date', 'event_espresso' ), |
|
472 | + __('View Registrations for this Date', 'event_espresso'), |
|
473 | 473 | |
474 | 474 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:9 |
475 | - __( 'Manage Ticket Assignments', 'event_espresso' ), |
|
475 | + __('Manage Ticket Assignments', 'event_espresso'), |
|
476 | 476 | |
477 | 477 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/editable/EditableName.tsx:41 |
478 | 478 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/editable/EditableName.tsx:41 |
479 | - __( 'click to edit title…', 'event_espresso' ), |
|
479 | + __('click to edit title…', 'event_espresso'), |
|
480 | 480 | |
481 | 481 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/editable/EditableName.tsx:42 |
482 | 482 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/editable/EditableName.tsx:42 |
483 | - __( 'add title…', 'event_espresso' ), |
|
483 | + __('add title…', 'event_espresso'), |
|
484 | 484 | |
485 | 485 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/ActiveDatesFilters.tsx:17 |
486 | 486 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/ActiveTicketsFilters.tsx:17 |
487 | - __( 'ON', 'event_espresso' ), |
|
487 | + __('ON', 'event_espresso'), |
|
488 | 488 | |
489 | 489 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:10 |
490 | - __( 'end dates only', 'event_espresso' ), |
|
490 | + __('end dates only', 'event_espresso'), |
|
491 | 491 | |
492 | 492 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:11 |
493 | - __( 'start and end dates', 'event_espresso' ), |
|
493 | + __('start and end dates', 'event_espresso'), |
|
494 | 494 | |
495 | 495 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:16 |
496 | - __( 'dates above 90% capacity', 'event_espresso' ), |
|
496 | + __('dates above 90% capacity', 'event_espresso'), |
|
497 | 497 | |
498 | 498 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:17 |
499 | - __( 'dates above 75% capacity', 'event_espresso' ), |
|
499 | + __('dates above 75% capacity', 'event_espresso'), |
|
500 | 500 | |
501 | 501 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:18 |
502 | - __( 'dates above 50% capacity', 'event_espresso' ), |
|
502 | + __('dates above 50% capacity', 'event_espresso'), |
|
503 | 503 | |
504 | 504 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:19 |
505 | - __( 'dates below 50% capacity', 'event_espresso' ), |
|
505 | + __('dates below 50% capacity', 'event_espresso'), |
|
506 | 506 | |
507 | 507 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:23 |
508 | - __( 'all dates', 'event_espresso' ), |
|
508 | + __('all dates', 'event_espresso'), |
|
509 | 509 | |
510 | 510 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:24 |
511 | - __( 'all active and upcoming', 'event_espresso' ), |
|
511 | + __('all active and upcoming', 'event_espresso'), |
|
512 | 512 | |
513 | 513 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:25 |
514 | - __( 'active dates only', 'event_espresso' ), |
|
514 | + __('active dates only', 'event_espresso'), |
|
515 | 515 | |
516 | 516 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:26 |
517 | - __( 'upcoming dates only', 'event_espresso' ), |
|
517 | + __('upcoming dates only', 'event_espresso'), |
|
518 | 518 | |
519 | 519 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:27 |
520 | - __( 'next active or upcoming only', 'event_espresso' ), |
|
520 | + __('next active or upcoming only', 'event_espresso'), |
|
521 | 521 | |
522 | 522 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:28 |
523 | - __( 'sold out dates only', 'event_espresso' ), |
|
523 | + __('sold out dates only', 'event_espresso'), |
|
524 | 524 | |
525 | 525 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:29 |
526 | - __( 'recently expired dates', 'event_espresso' ), |
|
526 | + __('recently expired dates', 'event_espresso'), |
|
527 | 527 | |
528 | 528 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:30 |
529 | - __( 'all expired dates', 'event_espresso' ), |
|
529 | + __('all expired dates', 'event_espresso'), |
|
530 | 530 | |
531 | 531 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:31 |
532 | - __( 'trashed dates only', 'event_espresso' ), |
|
532 | + __('trashed dates only', 'event_espresso'), |
|
533 | 533 | |
534 | 534 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:35 |
535 | 535 | // Reference: packages/dates/src/components/DateRangePicker/DateRangePickerLegend.tsx:9 |
536 | 536 | // Reference: packages/dates/src/components/DateRangePicker/index.tsx:61 |
537 | - __( 'start date', 'event_espresso' ), |
|
537 | + __('start date', 'event_espresso'), |
|
538 | 538 | |
539 | 539 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:36 |
540 | - __( 'name', 'event_espresso' ), |
|
540 | + __('name', 'event_espresso'), |
|
541 | 541 | |
542 | 542 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:37 |
543 | 543 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:31 |
@@ -545,141 +545,141 @@ discard block |
||
545 | 545 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/HeaderCell.tsx:27 |
546 | 546 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:31 |
547 | 547 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:23 |
548 | - __( 'ID', 'event_espresso' ), |
|
548 | + __('ID', 'event_espresso'), |
|
549 | 549 | |
550 | 550 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:38 |
551 | 551 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:47 |
552 | - __( 'custom order', 'event_espresso' ), |
|
552 | + __('custom order', 'event_espresso'), |
|
553 | 553 | |
554 | 554 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:42 |
555 | 555 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:51 |
556 | - __( 'display', 'event_espresso' ), |
|
556 | + __('display', 'event_espresso'), |
|
557 | 557 | |
558 | 558 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:43 |
559 | - __( 'recurrence', 'event_espresso' ), |
|
559 | + __('recurrence', 'event_espresso'), |
|
560 | 560 | |
561 | 561 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:44 |
562 | 562 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:53 |
563 | - __( 'sales', 'event_espresso' ), |
|
563 | + __('sales', 'event_espresso'), |
|
564 | 564 | |
565 | 565 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:45 |
566 | 566 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:55 |
567 | - __( 'sort by', 'event_espresso' ), |
|
567 | + __('sort by', 'event_espresso'), |
|
568 | 568 | |
569 | 569 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:46 |
570 | 570 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:54 |
571 | 571 | // Reference: packages/ee-components/src/EntityList/EntityListFilterBar.tsx:46 |
572 | - __( 'search', 'event_espresso' ), |
|
572 | + __('search', 'event_espresso'), |
|
573 | 573 | |
574 | 574 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:47 |
575 | 575 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:56 |
576 | - __( 'status', 'event_espresso' ), |
|
576 | + __('status', 'event_espresso'), |
|
577 | 577 | |
578 | 578 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:9 |
579 | - __( 'start dates only', 'event_espresso' ), |
|
579 | + __('start dates only', 'event_espresso'), |
|
580 | 580 | |
581 | 581 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:26 |
582 | 582 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/NewDateModal.tsx:12 |
583 | 583 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/OptionsModalButton.tsx:16 |
584 | - __( 'Add New Date', 'event_espresso' ), |
|
584 | + __('Add New Date', 'event_espresso'), |
|
585 | 585 | |
586 | 586 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:26 |
587 | - __( 'Add Single Date', 'event_espresso' ), |
|
587 | + __('Add Single Date', 'event_espresso'), |
|
588 | 588 | |
589 | 589 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:43 |
590 | - __( 'Add a single date that only occurs once', 'event_espresso' ), |
|
590 | + __('Add a single date that only occurs once', 'event_espresso'), |
|
591 | 591 | |
592 | 592 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:45 |
593 | - __( 'Single Date', 'event_espresso' ), |
|
593 | + __('Single Date', 'event_espresso'), |
|
594 | 594 | |
595 | 595 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:106 |
596 | - __( 'Reg list', 'event_espresso' ), |
|
596 | + __('Reg list', 'event_espresso'), |
|
597 | 597 | |
598 | 598 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:107 |
599 | 599 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:111 |
600 | - __( 'Regs', 'event_espresso' ), |
|
600 | + __('Regs', 'event_espresso'), |
|
601 | 601 | |
602 | 602 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:122 |
603 | 603 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:126 |
604 | 604 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:59 |
605 | - __( 'Actions', 'event_espresso' ), |
|
605 | + __('Actions', 'event_espresso'), |
|
606 | 606 | |
607 | 607 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:52 |
608 | - __( 'Start', 'event_espresso' ), |
|
608 | + __('Start', 'event_espresso'), |
|
609 | 609 | |
610 | 610 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:66 |
611 | - __( 'End', 'event_espresso' ), |
|
611 | + __('End', 'event_espresso'), |
|
612 | 612 | |
613 | 613 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:82 |
614 | - __( 'Cap', 'event_espresso' ), |
|
614 | + __('Cap', 'event_espresso'), |
|
615 | 615 | |
616 | 616 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:94 |
617 | 617 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:98 |
618 | - __( 'Sold', 'event_espresso' ), |
|
618 | + __('Sold', 'event_espresso'), |
|
619 | 619 | |
620 | 620 | // Reference: domains/core/admin/eventEditor/src/ui/registrationForm/RegistrationForm.tsx:9 |
621 | - __( 'Registration Form', 'event_espresso' ), |
|
621 | + __('Registration Form', 'event_espresso'), |
|
622 | 622 | |
623 | 623 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:18 |
624 | - __( 'Tickets must always have at least one date assigned to them but one or more of the tickets below does not have any. |
|
625 | -Please correct the assignments for the highlighted cells.', 'event_espresso' ), |
|
624 | + __('Tickets must always have at least one date assigned to them but one or more of the tickets below does not have any. |
|
625 | +Please correct the assignments for the highlighted cells.', 'event_espresso'), |
|
626 | 626 | |
627 | 627 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:22 |
628 | - __( 'Event Dates must always have at least one Ticket assigned to them but one or more of the Event Dates below does not have any. |
|
629 | -Please correct the assignments for the highlighted cells.', 'event_espresso' ), |
|
628 | + __('Event Dates must always have at least one Ticket assigned to them but one or more of the Event Dates below does not have any. |
|
629 | +Please correct the assignments for the highlighted cells.', 'event_espresso'), |
|
630 | 630 | |
631 | 631 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:32 |
632 | - __( 'Please Update Assignments', 'event_espresso' ), |
|
632 | + __('Please Update Assignments', 'event_espresso'), |
|
633 | 633 | |
634 | 634 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:26 |
635 | - __( 'There seem to be some dates/tickets which have no tickets/dates assigned. Do you want to fix them now?', 'event_espresso' ), |
|
635 | + __('There seem to be some dates/tickets which have no tickets/dates assigned. Do you want to fix them now?', 'event_espresso'), |
|
636 | 636 | |
637 | 637 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:29 |
638 | 638 | // Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:74 |
639 | 639 | // Reference: packages/ui-components/src/Modal/ModalWithAlert.tsx:21 |
640 | - __( 'Alert!', 'event_espresso' ), |
|
640 | + __('Alert!', 'event_espresso'), |
|
641 | 641 | |
642 | 642 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:42 |
643 | 643 | /* translators: 1 entity id, 2 entity name */ |
644 | - __( 'Ticket Assignment Manager for Datetime: %1$s - %2$s', 'event_espresso' ), |
|
644 | + __('Ticket Assignment Manager for Datetime: %1$s - %2$s', 'event_espresso'), |
|
645 | 645 | |
646 | 646 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:49 |
647 | 647 | /* translators: 1 entity id, 2 entity name */ |
648 | - __( 'Ticket Assignment Manager for Ticket: %1$s - %2$s', 'event_espresso' ), |
|
648 | + __('Ticket Assignment Manager for Ticket: %1$s - %2$s', 'event_espresso'), |
|
649 | 649 | |
650 | 650 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal.tsx:28 |
651 | 651 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/Table.tsx:13 |
652 | - __( 'Ticket Assignment Manager', 'event_espresso' ), |
|
652 | + __('Ticket Assignment Manager', 'event_espresso'), |
|
653 | 653 | |
654 | 654 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:10 |
655 | - __( 'existing relation', 'event_espresso' ), |
|
655 | + __('existing relation', 'event_espresso'), |
|
656 | 656 | |
657 | 657 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:15 |
658 | - __( 'remove existing relation', 'event_espresso' ), |
|
658 | + __('remove existing relation', 'event_espresso'), |
|
659 | 659 | |
660 | 660 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:20 |
661 | - __( 'add new relation', 'event_espresso' ), |
|
661 | + __('add new relation', 'event_espresso'), |
|
662 | 662 | |
663 | 663 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:25 |
664 | - __( 'invalid relation', 'event_espresso' ), |
|
664 | + __('invalid relation', 'event_espresso'), |
|
665 | 665 | |
666 | 666 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:29 |
667 | - __( 'no relation', 'event_espresso' ), |
|
667 | + __('no relation', 'event_espresso'), |
|
668 | 668 | |
669 | 669 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/BodyCell.tsx:23 |
670 | - __( 'assign ticket', 'event_espresso' ), |
|
670 | + __('assign ticket', 'event_espresso'), |
|
671 | 671 | |
672 | 672 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:15 |
673 | - __( 'Assignments', 'event_espresso' ), |
|
673 | + __('Assignments', 'event_espresso'), |
|
674 | 674 | |
675 | 675 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:16 |
676 | - __( 'Event Dates are listed below', 'event_espresso' ), |
|
676 | + __('Event Dates are listed below', 'event_espresso'), |
|
677 | 677 | |
678 | 678 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:17 |
679 | - __( 'Tickets are listed along the top', 'event_espresso' ), |
|
679 | + __('Tickets are listed along the top', 'event_espresso'), |
|
680 | 680 | |
681 | 681 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:18 |
682 | - __( 'Click the cell buttons to toggle assigments', 'event_espresso' ), |
|
682 | + __('Click the cell buttons to toggle assigments', 'event_espresso'), |
|
683 | 683 | |
684 | 684 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/useSubmitButtonProps.ts:29 |
685 | 685 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:16 |
@@ -688,1480 +688,1480 @@ discard block |
||
688 | 688 | // Reference: packages/tpc/src/buttons/useSubmitButtonProps.tsx:29 |
689 | 689 | // Reference: packages/ui-components/src/Modal/useSubmitButtonProps.tsx:13 |
690 | 690 | // Reference: packages/ui-components/src/Stepper/buttons/Submit.tsx:7 |
691 | - __( 'Submit', 'event_espresso' ), |
|
691 | + __('Submit', 'event_espresso'), |
|
692 | 692 | |
693 | 693 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:20 |
694 | - __( 'All Dates', 'event_espresso' ), |
|
694 | + __('All Dates', 'event_espresso'), |
|
695 | 695 | |
696 | 696 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:27 |
697 | - __( 'dates by month', 'event_espresso' ), |
|
697 | + __('dates by month', 'event_espresso'), |
|
698 | 698 | |
699 | 699 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowExpiredTicketsControl.tsx:16 |
700 | - __( 'show expired tickets', 'event_espresso' ), |
|
700 | + __('show expired tickets', 'event_espresso'), |
|
701 | 701 | |
702 | 702 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedDatesControl.tsx:13 |
703 | - __( 'show trashed dates', 'event_espresso' ), |
|
703 | + __('show trashed dates', 'event_espresso'), |
|
704 | 704 | |
705 | 705 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedTicketsControl.tsx:16 |
706 | - __( 'show trashed tickets', 'event_espresso' ), |
|
706 | + __('show trashed tickets', 'event_espresso'), |
|
707 | 707 | |
708 | 708 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:13 |
709 | - __( 'total registrations.', 'event_espresso' ), |
|
709 | + __('total registrations.', 'event_espresso'), |
|
710 | 710 | |
711 | 711 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:14 |
712 | - __( 'view ALL registrations for this ticket.', 'event_espresso' ), |
|
712 | + __('view ALL registrations for this ticket.', 'event_espresso'), |
|
713 | 713 | |
714 | 714 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/Container.tsx:38 |
715 | 715 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actions/Actions.tsx:21 |
716 | - __( 'Default tickets', 'event_espresso' ), |
|
716 | + __('Default tickets', 'event_espresso'), |
|
717 | 717 | |
718 | 718 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:26 |
719 | 719 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:33 |
720 | - __( 'Set ticket prices', 'event_espresso' ), |
|
720 | + __('Set ticket prices', 'event_espresso'), |
|
721 | 721 | |
722 | 722 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:31 |
723 | - __( 'Skip prices - Save', 'event_espresso' ), |
|
723 | + __('Skip prices - Save', 'event_espresso'), |
|
724 | 724 | |
725 | 725 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:37 |
726 | 726 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:57 |
727 | - __( 'Ticket details', 'event_espresso' ), |
|
727 | + __('Ticket details', 'event_espresso'), |
|
728 | 728 | |
729 | 729 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:38 |
730 | - __( 'Save', 'event_espresso' ), |
|
730 | + __('Save', 'event_espresso'), |
|
731 | 731 | |
732 | 732 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/Modal.tsx:22 |
733 | 733 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/Modal.tsx:26 |
734 | 734 | /* translators: %s ticket id */ |
735 | - __( 'Edit ticket %s', 'event_espresso' ), |
|
735 | + __('Edit ticket %s', 'event_espresso'), |
|
736 | 736 | |
737 | 737 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/Modal.tsx:25 |
738 | 738 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/Modal.tsx:29 |
739 | - __( 'New Ticket Details', 'event_espresso' ), |
|
739 | + __('New Ticket Details', 'event_espresso'), |
|
740 | 740 | |
741 | 741 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:10 |
742 | 742 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:10 |
743 | - __( 'primary information about the ticket', 'event_espresso' ), |
|
743 | + __('primary information about the ticket', 'event_espresso'), |
|
744 | 744 | |
745 | 745 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:10 |
746 | 746 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:10 |
747 | - __( 'Ticket Details', 'event_espresso' ), |
|
747 | + __('Ticket Details', 'event_espresso'), |
|
748 | 748 | |
749 | 749 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:12 |
750 | 750 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:12 |
751 | - __( 'apply ticket price modifiers and taxes', 'event_espresso' ), |
|
751 | + __('apply ticket price modifiers and taxes', 'event_espresso'), |
|
752 | 752 | |
753 | 753 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:14 |
754 | 754 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:14 |
755 | - __( 'Price Calculator', 'event_espresso' ), |
|
755 | + __('Price Calculator', 'event_espresso'), |
|
756 | 756 | |
757 | 757 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:16 |
758 | 758 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:16 |
759 | - __( 'Assign Dates', 'event_espresso' ), |
|
759 | + __('Assign Dates', 'event_espresso'), |
|
760 | 760 | |
761 | 761 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:39 |
762 | - __( 'Skip prices - assign dates', 'event_espresso' ), |
|
762 | + __('Skip prices - assign dates', 'event_espresso'), |
|
763 | 763 | |
764 | 764 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:50 |
765 | - __( 'Save and assign dates', 'event_espresso' ), |
|
765 | + __('Save and assign dates', 'event_espresso'), |
|
766 | 766 | |
767 | 767 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:104 |
768 | - __( 'Ticket Sales', 'event_espresso' ), |
|
768 | + __('Ticket Sales', 'event_espresso'), |
|
769 | 769 | |
770 | 770 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:130 |
771 | 771 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:112 |
772 | - __( 'Quantity For Sale', 'event_espresso' ), |
|
772 | + __('Quantity For Sale', 'event_espresso'), |
|
773 | 773 | |
774 | 774 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:136 |
775 | - __( 'The maximum number of this ticket available for sale.', 'event_espresso' ), |
|
775 | + __('The maximum number of this ticket available for sale.', 'event_espresso'), |
|
776 | 776 | |
777 | 777 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:138 |
778 | - __( 'Set to 0 to stop sales, or leave blank for no limit.', 'event_espresso' ), |
|
778 | + __('Set to 0 to stop sales, or leave blank for no limit.', 'event_espresso'), |
|
779 | 779 | |
780 | 780 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:144 |
781 | 781 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:121 |
782 | - __( 'Number of Uses', 'event_espresso' ), |
|
782 | + __('Number of Uses', 'event_espresso'), |
|
783 | 783 | |
784 | 784 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:150 |
785 | - __( 'Controls the total number of times this ticket can be used, regardless of the number of dates it is assigned to.', 'event_espresso' ), |
|
785 | + __('Controls the total number of times this ticket can be used, regardless of the number of dates it is assigned to.', 'event_espresso'), |
|
786 | 786 | |
787 | 787 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:154 |
788 | - __( 'Example: A ticket might have access to 4 different dates, but setting this field to 2 would mean that the ticket could only be used twice. Leave blank for no limit.', 'event_espresso' ), |
|
788 | + __('Example: A ticket might have access to 4 different dates, but setting this field to 2 would mean that the ticket could only be used twice. Leave blank for no limit.', 'event_espresso'), |
|
789 | 789 | |
790 | 790 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:162 |
791 | 791 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:129 |
792 | - __( 'Minimum Quantity', 'event_espresso' ), |
|
792 | + __('Minimum Quantity', 'event_espresso'), |
|
793 | 793 | |
794 | 794 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:167 |
795 | - __( 'The minimum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso' ), |
|
795 | + __('The minimum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso'), |
|
796 | 796 | |
797 | 797 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:171 |
798 | - __( 'Leave blank for no minimum.', 'event_espresso' ), |
|
798 | + __('Leave blank for no minimum.', 'event_espresso'), |
|
799 | 799 | |
800 | 800 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:177 |
801 | 801 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:137 |
802 | - __( 'Maximum Quantity', 'event_espresso' ), |
|
802 | + __('Maximum Quantity', 'event_espresso'), |
|
803 | 803 | |
804 | 804 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:183 |
805 | - __( 'The maximum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso' ), |
|
805 | + __('The maximum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso'), |
|
806 | 806 | |
807 | 807 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:187 |
808 | - __( 'Leave blank for no maximum.', 'event_espresso' ), |
|
808 | + __('Leave blank for no maximum.', 'event_espresso'), |
|
809 | 809 | |
810 | 810 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:193 |
811 | 811 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:146 |
812 | - __( 'Required Ticket', 'event_espresso' ), |
|
812 | + __('Required Ticket', 'event_espresso'), |
|
813 | 813 | |
814 | 814 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:195 |
815 | - __( 'If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso' ), |
|
815 | + __('If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso'), |
|
816 | 816 | |
817 | 817 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:209 |
818 | - __( 'Visibility', 'event_espresso' ), |
|
818 | + __('Visibility', 'event_espresso'), |
|
819 | 819 | |
820 | 820 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:211 |
821 | - __( 'Where the ticket can be viewed throughout the UI.', 'event_espresso' ), |
|
821 | + __('Where the ticket can be viewed throughout the UI.', 'event_espresso'), |
|
822 | 822 | |
823 | 823 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:36 |
824 | - __( 'Available Tickets', 'event_espresso' ), |
|
824 | + __('Available Tickets', 'event_espresso'), |
|
825 | 825 | |
826 | 826 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:39 |
827 | - __( 'loading tickets…', 'event_espresso' ), |
|
827 | + __('loading tickets…', 'event_espresso'), |
|
828 | 828 | |
829 | 829 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:26 |
830 | - __( 'Number of related dates', 'event_espresso' ), |
|
830 | + __('Number of related dates', 'event_espresso'), |
|
831 | 831 | |
832 | 832 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:27 |
833 | - __( 'There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso' ), |
|
833 | + __('There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso'), |
|
834 | 834 | |
835 | 835 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:37 |
836 | - __( 'assign dates', 'event_espresso' ), |
|
836 | + __('assign dates', 'event_espresso'), |
|
837 | 837 | |
838 | 838 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:18 |
839 | - __( 'Permanently delete Ticket?', 'event_espresso' ), |
|
839 | + __('Permanently delete Ticket?', 'event_espresso'), |
|
840 | 840 | |
841 | 841 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:18 |
842 | - __( 'Move Ticket to Trash?', 'event_espresso' ), |
|
842 | + __('Move Ticket to Trash?', 'event_espresso'), |
|
843 | 843 | |
844 | 844 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:21 |
845 | - __( 'Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso' ), |
|
845 | + __('Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso'), |
|
846 | 846 | |
847 | 847 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:22 |
848 | - __( 'Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso' ), |
|
848 | + __('Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso'), |
|
849 | 849 | |
850 | 850 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:44 |
851 | 851 | // Reference: packages/ee-components/src/SimpleTicketCard/actions/Trash.tsx:6 |
852 | - __( 'trash ticket', 'event_espresso' ), |
|
852 | + __('trash ticket', 'event_espresso'), |
|
853 | 853 | |
854 | 854 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:25 |
855 | - __( 'ticket main menu', 'event_espresso' ), |
|
855 | + __('ticket main menu', 'event_espresso'), |
|
856 | 856 | |
857 | 857 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:38 |
858 | 858 | // Reference: packages/ee-components/src/SimpleTicketCard/actions/Edit.tsx:15 |
859 | - __( 'edit ticket', 'event_espresso' ), |
|
859 | + __('edit ticket', 'event_espresso'), |
|
860 | 860 | |
861 | 861 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:39 |
862 | - __( 'copy ticket', 'event_espresso' ), |
|
862 | + __('copy ticket', 'event_espresso'), |
|
863 | 863 | |
864 | 864 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:43 |
865 | - __( 'edit ticket details', 'event_espresso' ), |
|
865 | + __('edit ticket details', 'event_espresso'), |
|
866 | 866 | |
867 | 867 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:47 |
868 | - __( 'delete tickets', 'event_espresso' ), |
|
868 | + __('delete tickets', 'event_espresso'), |
|
869 | 869 | |
870 | 870 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:47 |
871 | - __( 'trash tickets', 'event_espresso' ), |
|
871 | + __('trash tickets', 'event_espresso'), |
|
872 | 872 | |
873 | 873 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:51 |
874 | - __( 'edit ticket prices', 'event_espresso' ), |
|
874 | + __('edit ticket prices', 'event_espresso'), |
|
875 | 875 | |
876 | 876 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:14 |
877 | - __( 'Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso' ), |
|
877 | + __('Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso'), |
|
878 | 878 | |
879 | 879 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:15 |
880 | - __( 'Are you sure you want to trash these tickets?', 'event_espresso' ), |
|
880 | + __('Are you sure you want to trash these tickets?', 'event_espresso'), |
|
881 | 881 | |
882 | 882 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:16 |
883 | - __( 'Delete tickets permanently', 'event_espresso' ), |
|
883 | + __('Delete tickets permanently', 'event_espresso'), |
|
884 | 884 | |
885 | 885 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:16 |
886 | - __( 'Trash tickets', 'event_espresso' ), |
|
886 | + __('Trash tickets', 'event_espresso'), |
|
887 | 887 | |
888 | 888 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:21 |
889 | - __( 'Bulk edit ticket details', 'event_espresso' ), |
|
889 | + __('Bulk edit ticket details', 'event_espresso'), |
|
890 | 890 | |
891 | 891 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:22 |
892 | - __( 'any changes will be applied to ALL of the selected tickets.', 'event_espresso' ), |
|
892 | + __('any changes will be applied to ALL of the selected tickets.', 'event_espresso'), |
|
893 | 893 | |
894 | 894 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/EditPrices.tsx:19 |
895 | - __( 'Bulk edit ticket prices', 'event_espresso' ), |
|
895 | + __('Bulk edit ticket prices', 'event_espresso'), |
|
896 | 896 | |
897 | 897 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:20 |
898 | - __( 'Edit all prices together', 'event_espresso' ), |
|
898 | + __('Edit all prices together', 'event_espresso'), |
|
899 | 899 | |
900 | 900 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:21 |
901 | - __( 'Edit all the selected ticket prices dynamically', 'event_espresso' ), |
|
901 | + __('Edit all the selected ticket prices dynamically', 'event_espresso'), |
|
902 | 902 | |
903 | 903 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:25 |
904 | - __( 'Edit prices individually', 'event_espresso' ), |
|
904 | + __('Edit prices individually', 'event_espresso'), |
|
905 | 905 | |
906 | 906 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:26 |
907 | - __( 'Edit prices for each ticket individually', 'event_espresso' ), |
|
907 | + __('Edit prices for each ticket individually', 'event_espresso'), |
|
908 | 908 | |
909 | 909 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:14 |
910 | 910 | // Reference: packages/ee-components/src/bulkEdit/details/Submit.tsx:34 |
911 | 911 | // Reference: packages/form/src/ResetButton.tsx:18 |
912 | 912 | // Reference: packages/tpc/src/buttons/useResetButtonProps.tsx:12 |
913 | - __( 'Reset', 'event_espresso' ), |
|
913 | + __('Reset', 'event_espresso'), |
|
914 | 914 | |
915 | 915 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:15 |
916 | 916 | // Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:76 |
917 | 917 | // Reference: packages/ui-components/src/Modal/useCancelButtonProps.tsx:10 |
918 | - __( 'Cancel', 'event_espresso' ), |
|
918 | + __('Cancel', 'event_espresso'), |
|
919 | 919 | |
920 | 920 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/editSeparately/TPCInstance.tsx:26 |
921 | 921 | /* translators: %s ticket name */ |
922 | - __( 'Edit prices for Ticket: %s', 'event_espresso' ), |
|
922 | + __('Edit prices for Ticket: %s', 'event_espresso'), |
|
923 | 923 | |
924 | 924 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:30 |
925 | - __( 'sales start', 'event_espresso' ), |
|
925 | + __('sales start', 'event_espresso'), |
|
926 | 926 | |
927 | 927 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:33 |
928 | - __( 'sales began', 'event_espresso' ), |
|
928 | + __('sales began', 'event_espresso'), |
|
929 | 929 | |
930 | 930 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:35 |
931 | - __( 'sales ended', 'event_espresso' ), |
|
931 | + __('sales ended', 'event_espresso'), |
|
932 | 932 | |
933 | 933 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:36 |
934 | - __( 'sales end', 'event_espresso' ), |
|
934 | + __('sales end', 'event_espresso'), |
|
935 | 935 | |
936 | 936 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:50 |
937 | - __( 'Edit Ticket Sale Dates', 'event_espresso' ), |
|
937 | + __('Edit Ticket Sale Dates', 'event_espresso'), |
|
938 | 938 | |
939 | 939 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:54 |
940 | - __( 'edit ticket sales start and end dates', 'event_espresso' ), |
|
940 | + __('edit ticket sales start and end dates', 'event_espresso'), |
|
941 | 941 | |
942 | 942 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:28 |
943 | - __( 'quantity', 'event_espresso' ), |
|
943 | + __('quantity', 'event_espresso'), |
|
944 | 944 | |
945 | 945 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketQuantity.tsx:27 |
946 | - __( 'edit quantity of tickets available…', 'event_espresso' ), |
|
946 | + __('edit quantity of tickets available…', 'event_espresso'), |
|
947 | 947 | |
948 | 948 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:10 |
949 | - __( 'Move Ticket to Trash', 'event_espresso' ), |
|
949 | + __('Move Ticket to Trash', 'event_espresso'), |
|
950 | 950 | |
951 | 951 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:15 |
952 | 952 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:52 |
953 | - __( 'On Sale', 'event_espresso' ), |
|
953 | + __('On Sale', 'event_espresso'), |
|
954 | 954 | |
955 | 955 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:17 |
956 | - __( 'Pending', 'event_espresso' ), |
|
956 | + __('Pending', 'event_espresso'), |
|
957 | 957 | |
958 | 958 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:7 |
959 | - __( 'Edit Ticket Details', 'event_espresso' ), |
|
959 | + __('Edit Ticket Details', 'event_espresso'), |
|
960 | 960 | |
961 | 961 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:8 |
962 | - __( 'Manage Date Assignments', 'event_espresso' ), |
|
962 | + __('Manage Date Assignments', 'event_espresso'), |
|
963 | 963 | |
964 | 964 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:9 |
965 | 965 | // Reference: packages/tpc/src/components/table/Table.tsx:43 |
966 | - __( 'Ticket Price Calculator', 'event_espresso' ), |
|
966 | + __('Ticket Price Calculator', 'event_espresso'), |
|
967 | 967 | |
968 | 968 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:39 |
969 | - __( 'edit ticket total…', 'event_espresso' ), |
|
969 | + __('edit ticket total…', 'event_espresso'), |
|
970 | 970 | |
971 | 971 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:53 |
972 | - __( 'set price…', 'event_espresso' ), |
|
972 | + __('set price…', 'event_espresso'), |
|
973 | 973 | |
974 | 974 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:23 |
975 | - __( 'tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso' ), |
|
975 | + __('tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso'), |
|
976 | 976 | |
977 | 977 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:24 |
978 | - __( 'tickets list is unlinked and is showing tickets for all event dates', 'event_espresso' ), |
|
978 | + __('tickets list is unlinked and is showing tickets for all event dates', 'event_espresso'), |
|
979 | 979 | |
980 | 980 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:10 |
981 | - __( 'ticket sales start and end dates', 'event_espresso' ), |
|
981 | + __('ticket sales start and end dates', 'event_espresso'), |
|
982 | 982 | |
983 | 983 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:15 |
984 | - __( 'tickets with 90% or more sold', 'event_espresso' ), |
|
984 | + __('tickets with 90% or more sold', 'event_espresso'), |
|
985 | 985 | |
986 | 986 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:16 |
987 | - __( 'tickets with 75% or more sold', 'event_espresso' ), |
|
987 | + __('tickets with 75% or more sold', 'event_espresso'), |
|
988 | 988 | |
989 | 989 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:17 |
990 | - __( 'tickets with 50% or more sold', 'event_espresso' ), |
|
990 | + __('tickets with 50% or more sold', 'event_espresso'), |
|
991 | 991 | |
992 | 992 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:19 |
993 | - __( 'tickets with less than 50% sold', 'event_espresso' ), |
|
993 | + __('tickets with less than 50% sold', 'event_espresso'), |
|
994 | 994 | |
995 | 995 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:28 |
996 | - __( 'all tickets for all dates', 'event_espresso' ), |
|
996 | + __('all tickets for all dates', 'event_espresso'), |
|
997 | 997 | |
998 | 998 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:29 |
999 | - __( 'all on sale and sale pending', 'event_espresso' ), |
|
999 | + __('all on sale and sale pending', 'event_espresso'), |
|
1000 | 1000 | |
1001 | 1001 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:30 |
1002 | - __( 'on sale tickets only', 'event_espresso' ), |
|
1002 | + __('on sale tickets only', 'event_espresso'), |
|
1003 | 1003 | |
1004 | 1004 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:31 |
1005 | - __( 'sale pending tickets only', 'event_espresso' ), |
|
1005 | + __('sale pending tickets only', 'event_espresso'), |
|
1006 | 1006 | |
1007 | 1007 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:32 |
1008 | - __( 'next on sale or sale pending only', 'event_espresso' ), |
|
1008 | + __('next on sale or sale pending only', 'event_espresso'), |
|
1009 | 1009 | |
1010 | 1010 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:33 |
1011 | - __( 'sold out tickets only', 'event_espresso' ), |
|
1011 | + __('sold out tickets only', 'event_espresso'), |
|
1012 | 1012 | |
1013 | 1013 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:34 |
1014 | - __( 'expired tickets only', 'event_espresso' ), |
|
1014 | + __('expired tickets only', 'event_espresso'), |
|
1015 | 1015 | |
1016 | 1016 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:35 |
1017 | - __( 'trashed tickets only', 'event_espresso' ), |
|
1017 | + __('trashed tickets only', 'event_espresso'), |
|
1018 | 1018 | |
1019 | 1019 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:40 |
1020 | - __( 'all tickets for above dates', 'event_espresso' ), |
|
1020 | + __('all tickets for above dates', 'event_espresso'), |
|
1021 | 1021 | |
1022 | 1022 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:44 |
1023 | - __( 'ticket sale date', 'event_espresso' ), |
|
1023 | + __('ticket sale date', 'event_espresso'), |
|
1024 | 1024 | |
1025 | 1025 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:45 |
1026 | - __( 'ticket name', 'event_espresso' ), |
|
1026 | + __('ticket name', 'event_espresso'), |
|
1027 | 1027 | |
1028 | 1028 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:46 |
1029 | - __( 'ticket ID', 'event_espresso' ), |
|
1029 | + __('ticket ID', 'event_espresso'), |
|
1030 | 1030 | |
1031 | 1031 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:52 |
1032 | - __( 'link', 'event_espresso' ), |
|
1032 | + __('link', 'event_espresso'), |
|
1033 | 1033 | |
1034 | 1034 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:8 |
1035 | - __( 'ticket sales start date only', 'event_espresso' ), |
|
1035 | + __('ticket sales start date only', 'event_espresso'), |
|
1036 | 1036 | |
1037 | 1037 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:9 |
1038 | - __( 'ticket sales end date only', 'event_espresso' ), |
|
1038 | + __('ticket sales end date only', 'event_espresso'), |
|
1039 | 1039 | |
1040 | 1040 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:18 |
1041 | - __( 'Add New Ticket', 'event_espresso' ), |
|
1041 | + __('Add New Ticket', 'event_espresso'), |
|
1042 | 1042 | |
1043 | 1043 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:32 |
1044 | - __( 'Add a single ticket and assign the dates to it', 'event_espresso' ), |
|
1044 | + __('Add a single ticket and assign the dates to it', 'event_espresso'), |
|
1045 | 1045 | |
1046 | 1046 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:34 |
1047 | - __( 'Single Ticket', 'event_espresso' ), |
|
1047 | + __('Single Ticket', 'event_espresso'), |
|
1048 | 1048 | |
1049 | 1049 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/TableView.tsx:39 |
1050 | - __( 'Tickets', 'event_espresso' ), |
|
1050 | + __('Tickets', 'event_espresso'), |
|
1051 | 1051 | |
1052 | 1052 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:110 |
1053 | - __( 'Registrations', 'event_espresso' ), |
|
1053 | + __('Registrations', 'event_espresso'), |
|
1054 | 1054 | |
1055 | 1055 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:51 |
1056 | - __( 'Goes on Sale', 'event_espresso' ), |
|
1056 | + __('Goes on Sale', 'event_espresso'), |
|
1057 | 1057 | |
1058 | 1058 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:65 |
1059 | - __( 'Sale Ends', 'event_espresso' ), |
|
1059 | + __('Sale Ends', 'event_espresso'), |
|
1060 | 1060 | |
1061 | 1061 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:66 |
1062 | - __( 'Ends', 'event_espresso' ), |
|
1062 | + __('Ends', 'event_espresso'), |
|
1063 | 1063 | |
1064 | 1064 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:78 |
1065 | - __( 'Price', 'event_espresso' ), |
|
1065 | + __('Price', 'event_espresso'), |
|
1066 | 1066 | |
1067 | 1067 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:88 |
1068 | - __( 'Quantity', 'event_espresso' ), |
|
1068 | + __('Quantity', 'event_espresso'), |
|
1069 | 1069 | |
1070 | 1070 | // Reference: domains/core/admin/eventEditor/src/ui/venue/VenueDetails.tsx:105 |
1071 | - __( 'Select a Venue for the Event', 'event_espresso' ), |
|
1071 | + __('Select a Venue for the Event', 'event_espresso'), |
|
1072 | 1072 | |
1073 | 1073 | // Reference: domains/core/admin/eventEditor/src/ui/venue/VenueDetails.tsx:21 |
1074 | - __( 'Venue Details', 'event_espresso' ), |
|
1074 | + __('Venue Details', 'event_espresso'), |
|
1075 | 1075 | |
1076 | 1076 | // Reference: domains/core/admin/eventEditor/src/ui/venue/VenueDetails.tsx:38 |
1077 | - __( 'unlimited space', 'event_espresso' ), |
|
1077 | + __('unlimited space', 'event_espresso'), |
|
1078 | 1078 | |
1079 | 1079 | // Reference: domains/core/admin/eventEditor/src/ui/venue/VenueDetails.tsx:41 |
1080 | 1080 | /* translators: %d venue capacity */ |
1081 | - __( 'Space for up to %d people', 'event_espresso' ), |
|
1081 | + __('Space for up to %d people', 'event_espresso'), |
|
1082 | 1082 | |
1083 | 1083 | // Reference: domains/core/admin/eventEditor/src/ui/venue/VenueDetails.tsx:60 |
1084 | - __( 'no image', 'event_espresso' ), |
|
1084 | + __('no image', 'event_espresso'), |
|
1085 | 1085 | |
1086 | 1086 | // Reference: domains/core/admin/eventEditor/src/ui/venue/VenueDetails.tsx:96 |
1087 | - __( 'Edit this Venue', 'event_espresso' ), |
|
1087 | + __('Edit this Venue', 'event_espresso'), |
|
1088 | 1088 | |
1089 | 1089 | // Reference: domains/core/admin/wpPluginsPage/src/exitSurvey/Popup.tsx:29 |
1090 | - __( 'Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso' ), |
|
1090 | + __('Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso'), |
|
1091 | 1091 | |
1092 | 1092 | // Reference: domains/core/admin/wpPluginsPage/src/exitSurvey/Popup.tsx:40 |
1093 | - __( 'Skip', 'event_espresso' ), |
|
1093 | + __('Skip', 'event_espresso'), |
|
1094 | 1094 | |
1095 | 1095 | // Reference: domains/core/admin/wpPluginsPage/src/exitSurvey/Popup.tsx:42 |
1096 | - __( 'Sure I\'ll help', 'event_espresso' ), |
|
1096 | + __('Sure I\'ll help', 'event_espresso'), |
|
1097 | 1097 | |
1098 | 1098 | // Reference: packages/adapters/src/Pagination/Pagination.tsx:23 |
1099 | - __( 'pagination', 'event_espresso' ), |
|
1099 | + __('pagination', 'event_espresso'), |
|
1100 | 1100 | |
1101 | 1101 | // Reference: packages/adapters/src/TagSelector/TagSelector.tsx:112 |
1102 | - __( 'toggle menu', 'event_espresso' ), |
|
1102 | + __('toggle menu', 'event_espresso'), |
|
1103 | 1103 | |
1104 | 1104 | // Reference: packages/constants/src/datetime.ts:10 |
1105 | - __( 'Postponed', 'event_espresso' ), |
|
1105 | + __('Postponed', 'event_espresso'), |
|
1106 | 1106 | |
1107 | 1107 | // Reference: packages/constants/src/datetime.ts:11 |
1108 | - __( 'SoldOut', 'event_espresso' ), |
|
1108 | + __('SoldOut', 'event_espresso'), |
|
1109 | 1109 | |
1110 | 1110 | // Reference: packages/constants/src/datetime.ts:7 |
1111 | 1111 | // Reference: packages/predicates/src/registration/statusOptions.ts:10 |
1112 | - __( 'Cancelled', 'event_espresso' ), |
|
1112 | + __('Cancelled', 'event_espresso'), |
|
1113 | 1113 | |
1114 | 1114 | // Reference: packages/constants/src/datetime.ts:9 |
1115 | - __( 'Inactive', 'event_espresso' ), |
|
1115 | + __('Inactive', 'event_espresso'), |
|
1116 | 1116 | |
1117 | 1117 | // Reference: packages/dates/src/components/DateRangePicker/DateRangePickerLegend.tsx:13 |
1118 | - __( 'day in range', 'event_espresso' ), |
|
1118 | + __('day in range', 'event_espresso'), |
|
1119 | 1119 | |
1120 | 1120 | // Reference: packages/dates/src/components/DateRangePicker/DateRangePickerLegend.tsx:17 |
1121 | 1121 | // Reference: packages/dates/src/components/DateRangePicker/index.tsx:79 |
1122 | - __( 'end date', 'event_espresso' ), |
|
1122 | + __('end date', 'event_espresso'), |
|
1123 | 1123 | |
1124 | 1124 | // Reference: packages/dates/src/components/DateTimePicker.tsx:13 |
1125 | 1125 | // Reference: packages/dates/src/components/TimePicker.tsx:14 |
1126 | 1126 | // Reference: packages/form-builder/src/state/utils.ts:433 |
1127 | - __( 'time', 'event_espresso' ), |
|
1127 | + __('time', 'event_espresso'), |
|
1128 | 1128 | |
1129 | 1129 | // Reference: packages/dates/src/constants.ts:5 |
1130 | - __( 'End Date & Time must be set later than the Start Date & Time', 'event_espresso' ), |
|
1130 | + __('End Date & Time must be set later than the Start Date & Time', 'event_espresso'), |
|
1131 | 1131 | |
1132 | 1132 | // Reference: packages/dates/src/constants.ts:7 |
1133 | - __( 'Start Date & Time must be set before the End Date & Time', 'event_espresso' ), |
|
1133 | + __('Start Date & Time must be set before the End Date & Time', 'event_espresso'), |
|
1134 | 1134 | |
1135 | 1135 | // Reference: packages/dates/src/utils/misc.ts:16 |
1136 | - __( 'month(s)', 'event_espresso' ), |
|
1136 | + __('month(s)', 'event_espresso'), |
|
1137 | 1137 | |
1138 | 1138 | // Reference: packages/dates/src/utils/misc.ts:17 |
1139 | - __( 'week(s)', 'event_espresso' ), |
|
1139 | + __('week(s)', 'event_espresso'), |
|
1140 | 1140 | |
1141 | 1141 | // Reference: packages/dates/src/utils/misc.ts:18 |
1142 | - __( 'day(s)', 'event_espresso' ), |
|
1142 | + __('day(s)', 'event_espresso'), |
|
1143 | 1143 | |
1144 | 1144 | // Reference: packages/dates/src/utils/misc.ts:19 |
1145 | - __( 'hour(s)', 'event_espresso' ), |
|
1145 | + __('hour(s)', 'event_espresso'), |
|
1146 | 1146 | |
1147 | 1147 | // Reference: packages/dates/src/utils/misc.ts:20 |
1148 | - __( 'minute(s)', 'event_espresso' ), |
|
1148 | + __('minute(s)', 'event_espresso'), |
|
1149 | 1149 | |
1150 | 1150 | // Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:107 |
1151 | - __( 'price types initialized', 'event_espresso' ), |
|
1151 | + __('price types initialized', 'event_espresso'), |
|
1152 | 1152 | |
1153 | 1153 | // Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:117 |
1154 | - __( 'datetimes initialized', 'event_espresso' ), |
|
1154 | + __('datetimes initialized', 'event_espresso'), |
|
1155 | 1155 | |
1156 | 1156 | // Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:127 |
1157 | - __( 'tickets initialized', 'event_espresso' ), |
|
1157 | + __('tickets initialized', 'event_espresso'), |
|
1158 | 1158 | |
1159 | 1159 | // Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:137 |
1160 | - __( 'prices initialized', 'event_espresso' ), |
|
1160 | + __('prices initialized', 'event_espresso'), |
|
1161 | 1161 | |
1162 | 1162 | // Reference: packages/edtr-services/src/apollo/mutations/useReorderEntities.ts:72 |
1163 | - __( 'reordering has been applied', 'event_espresso' ), |
|
1163 | + __('reordering has been applied', 'event_espresso'), |
|
1164 | 1164 | |
1165 | 1165 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:38 |
1166 | 1166 | // Reference: packages/ui-components/src/EditDateRangeButton/EditDateRangeButton.tsx:39 |
1167 | - __( 'End date has been adjusted', 'event_espresso' ), |
|
1167 | + __('End date has been adjusted', 'event_espresso'), |
|
1168 | 1168 | |
1169 | 1169 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:59 |
1170 | - __( 'Required', 'event_espresso' ), |
|
1170 | + __('Required', 'event_espresso'), |
|
1171 | 1171 | |
1172 | 1172 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:64 |
1173 | - __( 'Start Date is required', 'event_espresso' ), |
|
1173 | + __('Start Date is required', 'event_espresso'), |
|
1174 | 1174 | |
1175 | 1175 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:68 |
1176 | - __( 'End Date is required', 'event_espresso' ), |
|
1176 | + __('End Date is required', 'event_espresso'), |
|
1177 | 1177 | |
1178 | 1178 | // Reference: packages/ee-components/src/EntityList/EntityList.tsx:31 |
1179 | - __( 'no results found', 'event_espresso' ), |
|
1179 | + __('no results found', 'event_espresso'), |
|
1180 | 1180 | |
1181 | 1181 | // Reference: packages/ee-components/src/EntityList/EntityList.tsx:32 |
1182 | - __( 'try changing filter settings', 'event_espresso' ), |
|
1182 | + __('try changing filter settings', 'event_espresso'), |
|
1183 | 1183 | |
1184 | 1184 | // Reference: packages/ee-components/src/bulkEdit/ActionCheckbox.tsx:38 |
1185 | 1185 | /* translators: %d entity id */ |
1186 | - __( 'select entity with id %d', 'event_espresso' ), |
|
1186 | + __('select entity with id %d', 'event_espresso'), |
|
1187 | 1187 | |
1188 | 1188 | // Reference: packages/ee-components/src/bulkEdit/ActionCheckbox.tsx:41 |
1189 | - __( 'select all entities', 'event_espresso' ), |
|
1189 | + __('select all entities', 'event_espresso'), |
|
1190 | 1190 | |
1191 | 1191 | // Reference: packages/ee-components/src/bulkEdit/details/BulkEditDetails.tsx:20 |
1192 | - __( 'Note: ', 'event_espresso' ), |
|
1192 | + __('Note: ', 'event_espresso'), |
|
1193 | 1193 | |
1194 | 1194 | // Reference: packages/ee-components/src/bulkEdit/details/BulkEditDetails.tsx:20 |
1195 | - __( 'any changes will be applied to ALL of the selected entities.', 'event_espresso' ), |
|
1195 | + __('any changes will be applied to ALL of the selected entities.', 'event_espresso'), |
|
1196 | 1196 | |
1197 | 1197 | // Reference: packages/ee-components/src/bulkEdit/details/BulkEditDetails.tsx:26 |
1198 | - __( 'Bulk edit details', 'event_espresso' ), |
|
1198 | + __('Bulk edit details', 'event_espresso'), |
|
1199 | 1199 | |
1200 | 1200 | // Reference: packages/ee-components/src/bulkEdit/details/Submit.tsx:17 |
1201 | - __( 'Are you sure you want to bulk update the details?', 'event_espresso' ), |
|
1201 | + __('Are you sure you want to bulk update the details?', 'event_espresso'), |
|
1202 | 1202 | |
1203 | 1203 | // Reference: packages/ee-components/src/bulkEdit/details/Submit.tsx:18 |
1204 | - __( 'Bulk update details', 'event_espresso' ), |
|
1204 | + __('Bulk update details', 'event_espresso'), |
|
1205 | 1205 | |
1206 | 1206 | // Reference: packages/ee-components/src/filterBar/SortByControl/index.tsx:27 |
1207 | - __( 'reorder dates', 'event_espresso' ), |
|
1207 | + __('reorder dates', 'event_espresso'), |
|
1208 | 1208 | |
1209 | 1209 | // Reference: packages/ee-components/src/filterBar/SortByControl/index.tsx:27 |
1210 | - __( 'reorder tickets', 'event_espresso' ), |
|
1210 | + __('reorder tickets', 'event_espresso'), |
|
1211 | 1211 | |
1212 | 1212 | // Reference: packages/form-builder/src/FormElement/FormElementToolbar.tsx:32 |
1213 | - __( 'delete form element', 'event_espresso' ), |
|
1213 | + __('delete form element', 'event_espresso'), |
|
1214 | 1214 | |
1215 | 1215 | // Reference: packages/form-builder/src/FormElement/FormElementToolbar.tsx:49 |
1216 | - __( 'form element settings', 'event_espresso' ), |
|
1216 | + __('form element settings', 'event_espresso'), |
|
1217 | 1217 | |
1218 | 1218 | // Reference: packages/form-builder/src/FormElement/FormElementToolbar.tsx:59 |
1219 | - __( 'copy form element', 'event_espresso' ), |
|
1219 | + __('copy form element', 'event_espresso'), |
|
1220 | 1220 | |
1221 | 1221 | // Reference: packages/form-builder/src/FormElement/FormElementToolbar.tsx:69 |
1222 | - __( 'click, hold, and drag to reorder form element', 'event_espresso' ), |
|
1222 | + __('click, hold, and drag to reorder form element', 'event_espresso'), |
|
1223 | 1223 | |
1224 | 1224 | // Reference: packages/form-builder/src/FormElement/Tabs/FieldOption.tsx:20 |
1225 | - __( 'remove option', 'event_espresso' ), |
|
1225 | + __('remove option', 'event_espresso'), |
|
1226 | 1226 | |
1227 | 1227 | // Reference: packages/form-builder/src/FormElement/Tabs/FieldOption.tsx:42 |
1228 | - __( 'value', 'event_espresso' ), |
|
1228 | + __('value', 'event_espresso'), |
|
1229 | 1229 | |
1230 | 1230 | // Reference: packages/form-builder/src/FormElement/Tabs/FieldOption.tsx:52 |
1231 | - __( 'label', 'event_espresso' ), |
|
1231 | + __('label', 'event_espresso'), |
|
1232 | 1232 | |
1233 | 1233 | // Reference: packages/form-builder/src/FormElement/Tabs/FieldOption.tsx:63 |
1234 | - __( 'click, hold, and drag to reorder field option', 'event_espresso' ), |
|
1234 | + __('click, hold, and drag to reorder field option', 'event_espresso'), |
|
1235 | 1235 | |
1236 | 1236 | // Reference: packages/form-builder/src/FormElement/Tabs/FieldOptions.tsx:61 |
1237 | - __( 'Options are the choices you give people to select from.', 'event_espresso' ), |
|
1237 | + __('Options are the choices you give people to select from.', 'event_espresso'), |
|
1238 | 1238 | |
1239 | 1239 | // Reference: packages/form-builder/src/FormElement/Tabs/FieldOptions.tsx:63 |
1240 | - __( 'The value is a simple key that will be saved to the database and the label is what is shown to the user.', 'event_espresso' ), |
|
1240 | + __('The value is a simple key that will be saved to the database and the label is what is shown to the user.', 'event_espresso'), |
|
1241 | 1241 | |
1242 | 1242 | // Reference: packages/form-builder/src/FormElement/Tabs/FieldOptions.tsx:96 |
1243 | - __( 'add new option', 'event_espresso' ), |
|
1243 | + __('add new option', 'event_espresso'), |
|
1244 | 1244 | |
1245 | 1245 | // Reference: packages/form-builder/src/FormElement/Tabs/FormElementTabs.tsx:26 |
1246 | 1246 | // Reference: packages/form-builder/src/FormSection/Tabs/FormSectionTabs.tsx:25 |
1247 | - __( 'Styles', 'event_espresso' ), |
|
1247 | + __('Styles', 'event_espresso'), |
|
1248 | 1248 | |
1249 | 1249 | // Reference: packages/form-builder/src/FormElement/Tabs/FormElementTabs.tsx:30 |
1250 | - __( 'Validation', 'event_espresso' ), |
|
1250 | + __('Validation', 'event_espresso'), |
|
1251 | 1251 | |
1252 | 1252 | // Reference: packages/form-builder/src/FormElement/Tabs/InputType.tsx:18 |
1253 | - __( 'Change input type', 'event_espresso' ), |
|
1253 | + __('Change input type', 'event_espresso'), |
|
1254 | 1254 | |
1255 | 1255 | // Reference: packages/form-builder/src/FormElement/Tabs/InputType.tsx:19 |
1256 | - __( 'Some configurations might be lost. Are you sure you want to change the input type?', 'event_espresso' ), |
|
1256 | + __('Some configurations might be lost. Are you sure you want to change the input type?', 'event_espresso'), |
|
1257 | 1257 | |
1258 | 1258 | // Reference: packages/form-builder/src/FormElement/Tabs/InputType.tsx:40 |
1259 | - __( 'type', 'event_espresso' ), |
|
1259 | + __('type', 'event_espresso'), |
|
1260 | 1260 | |
1261 | 1261 | // Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:23 |
1262 | 1262 | // Reference: packages/form-builder/src/FormSection/Tabs/Settings.tsx:14 |
1263 | - __( 'public label', 'event_espresso' ), |
|
1263 | + __('public label', 'event_espresso'), |
|
1264 | 1264 | |
1265 | 1265 | // Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:30 |
1266 | 1266 | // Reference: packages/form-builder/src/FormSection/Tabs/Settings.tsx:19 |
1267 | - __( 'admin label', 'event_espresso' ), |
|
1267 | + __('admin label', 'event_espresso'), |
|
1268 | 1268 | |
1269 | 1269 | // Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:37 |
1270 | - __( 'content', 'event_espresso' ), |
|
1270 | + __('content', 'event_espresso'), |
|
1271 | 1271 | |
1272 | 1272 | // Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:45 |
1273 | - __( 'options', 'event_espresso' ), |
|
1273 | + __('options', 'event_espresso'), |
|
1274 | 1274 | |
1275 | 1275 | // Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:48 |
1276 | - __( 'placeholder', 'event_espresso' ), |
|
1276 | + __('placeholder', 'event_espresso'), |
|
1277 | 1277 | |
1278 | 1278 | // Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:54 |
1279 | - __( 'admin only', 'event_espresso' ), |
|
1279 | + __('admin only', 'event_espresso'), |
|
1280 | 1280 | |
1281 | 1281 | // Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:59 |
1282 | - __( 'help text', 'event_espresso' ), |
|
1282 | + __('help text', 'event_espresso'), |
|
1283 | 1283 | |
1284 | 1284 | // Reference: packages/form-builder/src/FormElement/Tabs/Styles.tsx:15 |
1285 | 1285 | // Reference: packages/form-builder/src/FormSection/Tabs/Styles.tsx:13 |
1286 | - __( 'css class', 'event_espresso' ), |
|
1286 | + __('css class', 'event_espresso'), |
|
1287 | 1287 | |
1288 | 1288 | // Reference: packages/form-builder/src/FormElement/Tabs/Styles.tsx:20 |
1289 | - __( 'help text css class', 'event_espresso' ), |
|
1289 | + __('help text css class', 'event_espresso'), |
|
1290 | 1290 | |
1291 | 1291 | // Reference: packages/form-builder/src/FormElement/Tabs/Styles.tsx:27 |
1292 | - __( 'size', 'event_espresso' ), |
|
1292 | + __('size', 'event_espresso'), |
|
1293 | 1293 | |
1294 | 1294 | // Reference: packages/form-builder/src/FormElement/Tabs/Styles.tsx:35 |
1295 | - __( 'step', 'event_espresso' ), |
|
1295 | + __('step', 'event_espresso'), |
|
1296 | 1296 | |
1297 | 1297 | // Reference: packages/form-builder/src/FormElement/Tabs/Styles.tsx:41 |
1298 | - __( 'maxlength', 'event_espresso' ), |
|
1298 | + __('maxlength', 'event_espresso'), |
|
1299 | 1299 | |
1300 | 1300 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:123 |
1301 | - __( 'min', 'event_espresso' ), |
|
1301 | + __('min', 'event_espresso'), |
|
1302 | 1302 | |
1303 | 1303 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:128 |
1304 | - __( 'max', 'event_espresso' ), |
|
1304 | + __('max', 'event_espresso'), |
|
1305 | 1305 | |
1306 | 1306 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:28 |
1307 | - __( 'Germany', 'event_espresso' ), |
|
1307 | + __('Germany', 'event_espresso'), |
|
1308 | 1308 | |
1309 | 1309 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:32 |
1310 | - __( 'France', 'event_espresso' ), |
|
1310 | + __('France', 'event_espresso'), |
|
1311 | 1311 | |
1312 | 1312 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:36 |
1313 | - __( 'United Kingdom', 'event_espresso' ), |
|
1313 | + __('United Kingdom', 'event_espresso'), |
|
1314 | 1314 | |
1315 | 1315 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:40 |
1316 | - __( 'United States', 'event_espresso' ), |
|
1316 | + __('United States', 'event_espresso'), |
|
1317 | 1317 | |
1318 | 1318 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:44 |
1319 | - __( 'Custom', 'event_espresso' ), |
|
1319 | + __('Custom', 'event_espresso'), |
|
1320 | 1320 | |
1321 | 1321 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:54 |
1322 | - __( 'required', 'event_espresso' ), |
|
1322 | + __('required', 'event_espresso'), |
|
1323 | 1323 | |
1324 | 1324 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:59 |
1325 | - __( 'required text', 'event_espresso' ), |
|
1325 | + __('required text', 'event_espresso'), |
|
1326 | 1326 | |
1327 | 1327 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:66 |
1328 | - __( 'autocomplete', 'event_espresso' ), |
|
1328 | + __('autocomplete', 'event_espresso'), |
|
1329 | 1329 | |
1330 | 1330 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:74 |
1331 | - __( 'custom format', 'event_espresso' ), |
|
1331 | + __('custom format', 'event_espresso'), |
|
1332 | 1332 | |
1333 | 1333 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:75 |
1334 | - __( 'format', 'event_espresso' ), |
|
1334 | + __('format', 'event_espresso'), |
|
1335 | 1335 | |
1336 | 1336 | // Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:83 |
1337 | - __( 'pattern', 'event_espresso' ), |
|
1337 | + __('pattern', 'event_espresso'), |
|
1338 | 1338 | |
1339 | 1339 | // Reference: packages/form-builder/src/FormSection/AddFormElementPopover.tsx:110 |
1340 | - __( 'add new form element', 'event_espresso' ), |
|
1340 | + __('add new form element', 'event_espresso'), |
|
1341 | 1341 | |
1342 | 1342 | // Reference: packages/form-builder/src/FormSection/AddFormElementPopover.tsx:117 |
1343 | 1343 | // Reference: packages/form/src/renderers/RepeatableRenderer.tsx:52 |
1344 | 1344 | // Reference: packages/ui-components/src/SimpleEntityList/EntityTemplate.tsx:27 |
1345 | - __( 'Add', 'event_espresso' ), |
|
1345 | + __('Add', 'event_espresso'), |
|
1346 | 1346 | |
1347 | 1347 | // Reference: packages/form-builder/src/FormSection/AddFormElementPopover.tsx:76 |
1348 | - __( 'Add Form Element', 'event_espresso' ), |
|
1348 | + __('Add Form Element', 'event_espresso'), |
|
1349 | 1349 | |
1350 | 1350 | // Reference: packages/form-builder/src/FormSection/AddFormElementPopover.tsx:85 |
1351 | - __( 'form element order can be changed after adding by using the drag handles in the form element toolbar', 'event_espresso' ), |
|
1351 | + __('form element order can be changed after adding by using the drag handles in the form element toolbar', 'event_espresso'), |
|
1352 | 1352 | |
1353 | 1353 | // Reference: packages/form-builder/src/FormSection/AddFormElementPopover.tsx:92 |
1354 | - __( 'load existing form section', 'event_espresso' ), |
|
1354 | + __('load existing form section', 'event_espresso'), |
|
1355 | 1355 | |
1356 | 1356 | // Reference: packages/form-builder/src/FormSection/FormSectionToolbar.tsx:32 |
1357 | - __( 'delete form section', 'event_espresso' ), |
|
1357 | + __('delete form section', 'event_espresso'), |
|
1358 | 1358 | |
1359 | 1359 | // Reference: packages/form-builder/src/FormSection/FormSectionToolbar.tsx:47 |
1360 | - __( 'form section settings', 'event_espresso' ), |
|
1360 | + __('form section settings', 'event_espresso'), |
|
1361 | 1361 | |
1362 | 1362 | // Reference: packages/form-builder/src/FormSection/FormSectionToolbar.tsx:57 |
1363 | - __( 'copy form section', 'event_espresso' ), |
|
1363 | + __('copy form section', 'event_espresso'), |
|
1364 | 1364 | |
1365 | 1365 | // Reference: packages/form-builder/src/FormSection/FormSectionToolbar.tsx:74 |
1366 | - __( 'click, hold, and drag to reorder form section', 'event_espresso' ), |
|
1366 | + __('click, hold, and drag to reorder form section', 'event_espresso'), |
|
1367 | 1367 | |
1368 | 1368 | // Reference: packages/form-builder/src/FormSection/FormSections.tsx:26 |
1369 | - __( 'Add Form Section', 'event_espresso' ), |
|
1369 | + __('Add Form Section', 'event_espresso'), |
|
1370 | 1370 | |
1371 | 1371 | // Reference: packages/form-builder/src/FormSection/SaveSection.tsx:43 |
1372 | - __( 'save form section for use in other forms', 'event_espresso' ), |
|
1372 | + __('save form section for use in other forms', 'event_espresso'), |
|
1373 | 1373 | |
1374 | 1374 | // Reference: packages/form-builder/src/FormSection/SaveSection.tsx:47 |
1375 | - __( 'save as', 'event_espresso' ), |
|
1375 | + __('save as', 'event_espresso'), |
|
1376 | 1376 | |
1377 | 1377 | // Reference: packages/form-builder/src/FormSection/SaveSection.tsx:51 |
1378 | - __( 'default', 'event_espresso' ), |
|
1378 | + __('default', 'event_espresso'), |
|
1379 | 1379 | |
1380 | 1380 | // Reference: packages/form-builder/src/FormSection/SaveSection.tsx:54 |
1381 | - __( ' a copy of this form section will be automatically added to ALL new events', 'event_espresso' ), |
|
1381 | + __(' a copy of this form section will be automatically added to ALL new events', 'event_espresso'), |
|
1382 | 1382 | |
1383 | 1383 | // Reference: packages/form-builder/src/FormSection/SaveSection.tsx:57 |
1384 | - __( 'shared', 'event_espresso' ), |
|
1384 | + __('shared', 'event_espresso'), |
|
1385 | 1385 | |
1386 | 1386 | // Reference: packages/form-builder/src/FormSection/SaveSection.tsx:60 |
1387 | - __( 'a copy of this form section will be saved for use in other events but not loaded by default', 'event_espresso' ), |
|
1387 | + __('a copy of this form section will be saved for use in other events but not loaded by default', 'event_espresso'), |
|
1388 | 1388 | |
1389 | 1389 | // Reference: packages/form-builder/src/FormSection/Tabs/Settings.tsx:24 |
1390 | - __( 'show label', 'event_espresso' ), |
|
1390 | + __('show label', 'event_espresso'), |
|
1391 | 1391 | |
1392 | 1392 | // Reference: packages/form-builder/src/constants.ts:102 |
1393 | 1393 | // Reference: packages/form-builder/src/state/utils.ts:436 |
1394 | - __( 'URL', 'event_espresso' ), |
|
1394 | + __('URL', 'event_espresso'), |
|
1395 | 1395 | |
1396 | 1396 | // Reference: packages/form-builder/src/constants.ts:104 |
1397 | - __( 'adds a text input for entering a URL address', 'event_espresso' ), |
|
1397 | + __('adds a text input for entering a URL address', 'event_espresso'), |
|
1398 | 1398 | |
1399 | 1399 | // Reference: packages/form-builder/src/constants.ts:107 |
1400 | - __( 'Date', 'event_espresso' ), |
|
1400 | + __('Date', 'event_espresso'), |
|
1401 | 1401 | |
1402 | 1402 | // Reference: packages/form-builder/src/constants.ts:109 |
1403 | - __( 'adds a text input that allows users to enter a date directly via keyboard or a datepicker', 'event_espresso' ), |
|
1403 | + __('adds a text input that allows users to enter a date directly via keyboard or a datepicker', 'event_espresso'), |
|
1404 | 1404 | |
1405 | 1405 | // Reference: packages/form-builder/src/constants.ts:112 |
1406 | 1406 | // Reference: packages/form-builder/src/state/utils.ts:369 |
1407 | - __( 'Local Date', 'event_espresso' ), |
|
1407 | + __('Local Date', 'event_espresso'), |
|
1408 | 1408 | |
1409 | 1409 | // Reference: packages/form-builder/src/constants.ts:117 |
1410 | - __( 'Month', 'event_espresso' ), |
|
1410 | + __('Month', 'event_espresso'), |
|
1411 | 1411 | |
1412 | 1412 | // Reference: packages/form-builder/src/constants.ts:119 |
1413 | - __( 'adds a text input that allows users to enter a month and year directly via keyboard or a datepicker', 'event_espresso' ), |
|
1413 | + __('adds a text input that allows users to enter a month and year directly via keyboard or a datepicker', 'event_espresso'), |
|
1414 | 1414 | |
1415 | 1415 | // Reference: packages/form-builder/src/constants.ts:122 |
1416 | - __( 'Time', 'event_espresso' ), |
|
1416 | + __('Time', 'event_espresso'), |
|
1417 | 1417 | |
1418 | 1418 | // Reference: packages/form-builder/src/constants.ts:124 |
1419 | - __( 'adds a text input that allows users to enter a time directly via keyboard or a timepicker', 'event_espresso' ), |
|
1419 | + __('adds a text input that allows users to enter a time directly via keyboard or a timepicker', 'event_espresso'), |
|
1420 | 1420 | |
1421 | 1421 | // Reference: packages/form-builder/src/constants.ts:127 |
1422 | - __( 'Week', 'event_espresso' ), |
|
1422 | + __('Week', 'event_espresso'), |
|
1423 | 1423 | |
1424 | 1424 | // Reference: packages/form-builder/src/constants.ts:129 |
1425 | - __( 'adds a text input that allows users to enter a week and year directly via keyboard or a datepicker', 'event_espresso' ), |
|
1425 | + __('adds a text input that allows users to enter a week and year directly via keyboard or a datepicker', 'event_espresso'), |
|
1426 | 1426 | |
1427 | 1427 | // Reference: packages/form-builder/src/constants.ts:132 |
1428 | - __( 'Day Selector', 'event_espresso' ), |
|
1428 | + __('Day Selector', 'event_espresso'), |
|
1429 | 1429 | |
1430 | 1430 | // Reference: packages/form-builder/src/constants.ts:134 |
1431 | - __( 'adds a dropdown selector that allows users to select the day of the month (01 to 31)', 'event_espresso' ), |
|
1431 | + __('adds a dropdown selector that allows users to select the day of the month (01 to 31)', 'event_espresso'), |
|
1432 | 1432 | |
1433 | 1433 | // Reference: packages/form-builder/src/constants.ts:137 |
1434 | - __( 'Month Selector', 'event_espresso' ), |
|
1434 | + __('Month Selector', 'event_espresso'), |
|
1435 | 1435 | |
1436 | 1436 | // Reference: packages/form-builder/src/constants.ts:139 |
1437 | - __( 'adds a dropdown selector that allows users to select the month of the year (01 to 12)', 'event_espresso' ), |
|
1437 | + __('adds a dropdown selector that allows users to select the month of the year (01 to 12)', 'event_espresso'), |
|
1438 | 1438 | |
1439 | 1439 | // Reference: packages/form-builder/src/constants.ts:142 |
1440 | - __( 'Year Selector', 'event_espresso' ), |
|
1440 | + __('Year Selector', 'event_espresso'), |
|
1441 | 1441 | |
1442 | 1442 | // Reference: packages/form-builder/src/constants.ts:144 |
1443 | - __( 'adds a dropdown selector that allows users to select the year from a configurable range', 'event_espresso' ), |
|
1443 | + __('adds a dropdown selector that allows users to select the year from a configurable range', 'event_espresso'), |
|
1444 | 1444 | |
1445 | 1445 | // Reference: packages/form-builder/src/constants.ts:147 |
1446 | - __( 'Radio Buttons', 'event_espresso' ), |
|
1446 | + __('Radio Buttons', 'event_espresso'), |
|
1447 | 1447 | |
1448 | 1448 | // Reference: packages/form-builder/src/constants.ts:149 |
1449 | - __( 'adds one or more radio buttons that allow users to only select one option from those provided', 'event_espresso' ), |
|
1449 | + __('adds one or more radio buttons that allow users to only select one option from those provided', 'event_espresso'), |
|
1450 | 1450 | |
1451 | 1451 | // Reference: packages/form-builder/src/constants.ts:152 |
1452 | 1452 | // Reference: packages/form-builder/src/state/utils.ts:375 |
1453 | - __( 'Decimal Number', 'event_espresso' ), |
|
1453 | + __('Decimal Number', 'event_espresso'), |
|
1454 | 1454 | |
1455 | 1455 | // Reference: packages/form-builder/src/constants.ts:154 |
1456 | - __( 'adds a text input that only accepts numbers whose value is a decimal (float)', 'event_espresso' ), |
|
1456 | + __('adds a text input that only accepts numbers whose value is a decimal (float)', 'event_espresso'), |
|
1457 | 1457 | |
1458 | 1458 | // Reference: packages/form-builder/src/constants.ts:157 |
1459 | 1459 | // Reference: packages/form-builder/src/state/utils.ts:378 |
1460 | - __( 'Whole Number', 'event_espresso' ), |
|
1460 | + __('Whole Number', 'event_espresso'), |
|
1461 | 1461 | |
1462 | 1462 | // Reference: packages/form-builder/src/constants.ts:159 |
1463 | - __( 'adds a text input that only accepts numbers whose value is an integer (whole number)', 'event_espresso' ), |
|
1463 | + __('adds a text input that only accepts numbers whose value is an integer (whole number)', 'event_espresso'), |
|
1464 | 1464 | |
1465 | 1465 | // Reference: packages/form-builder/src/constants.ts:162 |
1466 | - __( 'Number Range', 'event_espresso' ), |
|
1466 | + __('Number Range', 'event_espresso'), |
|
1467 | 1467 | |
1468 | 1468 | // Reference: packages/form-builder/src/constants.ts:167 |
1469 | - __( 'Phone Number', 'event_espresso' ), |
|
1469 | + __('Phone Number', 'event_espresso'), |
|
1470 | 1470 | |
1471 | 1471 | // Reference: packages/form-builder/src/constants.ts:172 |
1472 | - __( 'Dropdown', 'event_espresso' ), |
|
1472 | + __('Dropdown', 'event_espresso'), |
|
1473 | 1473 | |
1474 | 1474 | // Reference: packages/form-builder/src/constants.ts:174 |
1475 | - __( 'adds a dropdown selector that accepts a single value', 'event_espresso' ), |
|
1475 | + __('adds a dropdown selector that accepts a single value', 'event_espresso'), |
|
1476 | 1476 | |
1477 | 1477 | // Reference: packages/form-builder/src/constants.ts:177 |
1478 | - __( 'Multi Select', 'event_espresso' ), |
|
1478 | + __('Multi Select', 'event_espresso'), |
|
1479 | 1479 | |
1480 | 1480 | // Reference: packages/form-builder/src/constants.ts:179 |
1481 | - __( 'adds a dropdown selector that accepts multiple values', 'event_espresso' ), |
|
1481 | + __('adds a dropdown selector that accepts multiple values', 'event_espresso'), |
|
1482 | 1482 | |
1483 | 1483 | // Reference: packages/form-builder/src/constants.ts:182 |
1484 | - __( 'Toggle/Switch', 'event_espresso' ), |
|
1484 | + __('Toggle/Switch', 'event_espresso'), |
|
1485 | 1485 | |
1486 | 1486 | // Reference: packages/form-builder/src/constants.ts:184 |
1487 | - __( 'adds a toggle or a switch to accept true or false value', 'event_espresso' ), |
|
1487 | + __('adds a toggle or a switch to accept true or false value', 'event_espresso'), |
|
1488 | 1488 | |
1489 | 1489 | // Reference: packages/form-builder/src/constants.ts:187 |
1490 | - __( 'Multi Checkbox', 'event_espresso' ), |
|
1490 | + __('Multi Checkbox', 'event_espresso'), |
|
1491 | 1491 | |
1492 | 1492 | // Reference: packages/form-builder/src/constants.ts:189 |
1493 | - __( 'adds checkboxes that allow users to select zero or more options from those provided', 'event_espresso' ), |
|
1493 | + __('adds checkboxes that allow users to select zero or more options from those provided', 'event_espresso'), |
|
1494 | 1494 | |
1495 | 1495 | // Reference: packages/form-builder/src/constants.ts:192 |
1496 | - __( 'Country Selector', 'event_espresso' ), |
|
1496 | + __('Country Selector', 'event_espresso'), |
|
1497 | 1497 | |
1498 | 1498 | // Reference: packages/form-builder/src/constants.ts:194 |
1499 | - __( 'adds a dropdown selector populated with names of countries that are enabled for the site', 'event_espresso' ), |
|
1499 | + __('adds a dropdown selector populated with names of countries that are enabled for the site', 'event_espresso'), |
|
1500 | 1500 | |
1501 | 1501 | // Reference: packages/form-builder/src/constants.ts:197 |
1502 | - __( 'State Selector', 'event_espresso' ), |
|
1502 | + __('State Selector', 'event_espresso'), |
|
1503 | 1503 | |
1504 | 1504 | // Reference: packages/form-builder/src/constants.ts:202 |
1505 | - __( 'Button', 'event_espresso' ), |
|
1505 | + __('Button', 'event_espresso'), |
|
1506 | 1506 | |
1507 | 1507 | // Reference: packages/form-builder/src/constants.ts:204 |
1508 | - __( 'adds a button to the form that can be used for triggering fucntionality (requires custom coding)', 'event_espresso' ), |
|
1508 | + __('adds a button to the form that can be used for triggering fucntionality (requires custom coding)', 'event_espresso'), |
|
1509 | 1509 | |
1510 | 1510 | // Reference: packages/form-builder/src/constants.ts:207 |
1511 | - __( 'Reset Button', 'event_espresso' ), |
|
1511 | + __('Reset Button', 'event_espresso'), |
|
1512 | 1512 | |
1513 | 1513 | // Reference: packages/form-builder/src/constants.ts:209 |
1514 | - __( 'adds a button that will reset the form back to its orginial state.', 'event_espresso' ), |
|
1514 | + __('adds a button that will reset the form back to its orginial state.', 'event_espresso'), |
|
1515 | 1515 | |
1516 | 1516 | // Reference: packages/form-builder/src/constants.ts:55 |
1517 | - __( 'Form Section', 'event_espresso' ), |
|
1517 | + __('Form Section', 'event_espresso'), |
|
1518 | 1518 | |
1519 | 1519 | // Reference: packages/form-builder/src/constants.ts:57 |
1520 | - __( 'Used for creating logical groupings for questions and form elements. Need to add a heading or description? Use the HTML form element.', 'event_espresso' ), |
|
1520 | + __('Used for creating logical groupings for questions and form elements. Need to add a heading or description? Use the HTML form element.', 'event_espresso'), |
|
1521 | 1521 | |
1522 | 1522 | // Reference: packages/form-builder/src/constants.ts:62 |
1523 | - __( 'HTML Block', 'event_espresso' ), |
|
1523 | + __('HTML Block', 'event_espresso'), |
|
1524 | 1524 | |
1525 | 1525 | // Reference: packages/form-builder/src/constants.ts:64 |
1526 | - __( 'allows you to add HTML like headings or text paragraphs to your form', 'event_espresso' ), |
|
1526 | + __('allows you to add HTML like headings or text paragraphs to your form', 'event_espresso'), |
|
1527 | 1527 | |
1528 | 1528 | // Reference: packages/form-builder/src/constants.ts:67 |
1529 | - __( 'Text Input', 'event_espresso' ), |
|
1529 | + __('Text Input', 'event_espresso'), |
|
1530 | 1530 | |
1531 | 1531 | // Reference: packages/form-builder/src/constants.ts:69 |
1532 | - __( 'adds a text input that only accepts plain text', 'event_espresso' ), |
|
1532 | + __('adds a text input that only accepts plain text', 'event_espresso'), |
|
1533 | 1533 | |
1534 | 1534 | // Reference: packages/form-builder/src/constants.ts:72 |
1535 | - __( 'Plain Text Area', 'event_espresso' ), |
|
1535 | + __('Plain Text Area', 'event_espresso'), |
|
1536 | 1536 | |
1537 | 1537 | // Reference: packages/form-builder/src/constants.ts:74 |
1538 | - __( 'adds a textarea block that only accepts plain text', 'event_espresso' ), |
|
1538 | + __('adds a textarea block that only accepts plain text', 'event_espresso'), |
|
1539 | 1539 | |
1540 | 1540 | // Reference: packages/form-builder/src/constants.ts:77 |
1541 | - __( 'HTML Text Area', 'event_espresso' ), |
|
1541 | + __('HTML Text Area', 'event_espresso'), |
|
1542 | 1542 | |
1543 | 1543 | // Reference: packages/form-builder/src/constants.ts:79 |
1544 | - __( 'adds a textarea block that accepts text including simple HTML markup', 'event_espresso' ), |
|
1544 | + __('adds a textarea block that accepts text including simple HTML markup', 'event_espresso'), |
|
1545 | 1545 | |
1546 | 1546 | // Reference: packages/form-builder/src/constants.ts:82 |
1547 | - __( 'Email Address', 'event_espresso' ), |
|
1547 | + __('Email Address', 'event_espresso'), |
|
1548 | 1548 | |
1549 | 1549 | // Reference: packages/form-builder/src/constants.ts:84 |
1550 | - __( 'adds a text input that only accets a valid email address', 'event_espresso' ), |
|
1550 | + __('adds a text input that only accets a valid email address', 'event_espresso'), |
|
1551 | 1551 | |
1552 | 1552 | // Reference: packages/form-builder/src/constants.ts:87 |
1553 | - __( 'Email Confirmation', 'event_espresso' ), |
|
1553 | + __('Email Confirmation', 'event_espresso'), |
|
1554 | 1554 | |
1555 | 1555 | // Reference: packages/form-builder/src/constants.ts:92 |
1556 | - __( 'Password', 'event_espresso' ), |
|
1556 | + __('Password', 'event_espresso'), |
|
1557 | 1557 | |
1558 | 1558 | // Reference: packages/form-builder/src/constants.ts:94 |
1559 | - __( 'adds a text input that accepts text but masks what the user enters', 'event_espresso' ), |
|
1559 | + __('adds a text input that accepts text but masks what the user enters', 'event_espresso'), |
|
1560 | 1560 | |
1561 | 1561 | // Reference: packages/form-builder/src/constants.ts:97 |
1562 | - __( 'Password Confirmation', 'event_espresso' ), |
|
1562 | + __('Password Confirmation', 'event_espresso'), |
|
1563 | 1563 | |
1564 | 1564 | // Reference: packages/form-builder/src/state/utils.ts:360 |
1565 | - __( 'click', 'event_espresso' ), |
|
1565 | + __('click', 'event_espresso'), |
|
1566 | 1566 | |
1567 | 1567 | // Reference: packages/form-builder/src/state/utils.ts:363 |
1568 | - __( 'checkboxes', 'event_espresso' ), |
|
1568 | + __('checkboxes', 'event_espresso'), |
|
1569 | 1569 | |
1570 | 1570 | // Reference: packages/form-builder/src/state/utils.ts:366 |
1571 | - __( 'date', 'event_espresso' ), |
|
1571 | + __('date', 'event_espresso'), |
|
1572 | 1572 | |
1573 | 1573 | // Reference: packages/form-builder/src/state/utils.ts:372 |
1574 | - __( 'day', 'event_espresso' ), |
|
1574 | + __('day', 'event_espresso'), |
|
1575 | 1575 | |
1576 | 1576 | // Reference: packages/form-builder/src/state/utils.ts:381 |
1577 | - __( 'email address', 'event_espresso' ), |
|
1577 | + __('email address', 'event_espresso'), |
|
1578 | 1578 | |
1579 | 1579 | // Reference: packages/form-builder/src/state/utils.ts:384 |
1580 | - __( 'confirm email address', 'event_espresso' ), |
|
1580 | + __('confirm email address', 'event_espresso'), |
|
1581 | 1581 | |
1582 | 1582 | // Reference: packages/form-builder/src/state/utils.ts:388 |
1583 | - __( 'month', 'event_espresso' ), |
|
1583 | + __('month', 'event_espresso'), |
|
1584 | 1584 | |
1585 | 1585 | // Reference: packages/form-builder/src/state/utils.ts:391 |
1586 | - __( 'password', 'event_espresso' ), |
|
1586 | + __('password', 'event_espresso'), |
|
1587 | 1587 | |
1588 | 1588 | // Reference: packages/form-builder/src/state/utils.ts:394 |
1589 | - __( 'confirm password', 'event_espresso' ), |
|
1589 | + __('confirm password', 'event_espresso'), |
|
1590 | 1590 | |
1591 | 1591 | // Reference: packages/form-builder/src/state/utils.ts:397 |
1592 | - __( 'radio buttons', 'event_espresso' ), |
|
1592 | + __('radio buttons', 'event_espresso'), |
|
1593 | 1593 | |
1594 | 1594 | // Reference: packages/form-builder/src/state/utils.ts:400 |
1595 | - __( 'number range', 'event_espresso' ), |
|
1595 | + __('number range', 'event_espresso'), |
|
1596 | 1596 | |
1597 | 1597 | // Reference: packages/form-builder/src/state/utils.ts:403 |
1598 | - __( 'selection dropdown', 'event_espresso' ), |
|
1598 | + __('selection dropdown', 'event_espresso'), |
|
1599 | 1599 | |
1600 | 1600 | // Reference: packages/form-builder/src/state/utils.ts:406 |
1601 | - __( 'country', 'event_espresso' ), |
|
1601 | + __('country', 'event_espresso'), |
|
1602 | 1602 | |
1603 | 1603 | // Reference: packages/form-builder/src/state/utils.ts:409 |
1604 | - __( 'multi-select dropdown', 'event_espresso' ), |
|
1604 | + __('multi-select dropdown', 'event_espresso'), |
|
1605 | 1605 | |
1606 | 1606 | // Reference: packages/form-builder/src/state/utils.ts:412 |
1607 | - __( 'state/province', 'event_espresso' ), |
|
1607 | + __('state/province', 'event_espresso'), |
|
1608 | 1608 | |
1609 | 1609 | // Reference: packages/form-builder/src/state/utils.ts:415 |
1610 | - __( 'on/off switch', 'event_espresso' ), |
|
1610 | + __('on/off switch', 'event_espresso'), |
|
1611 | 1611 | |
1612 | 1612 | // Reference: packages/form-builder/src/state/utils.ts:418 |
1613 | - __( 'reset', 'event_espresso' ), |
|
1613 | + __('reset', 'event_espresso'), |
|
1614 | 1614 | |
1615 | 1615 | // Reference: packages/form-builder/src/state/utils.ts:421 |
1616 | - __( 'phone number', 'event_espresso' ), |
|
1616 | + __('phone number', 'event_espresso'), |
|
1617 | 1617 | |
1618 | 1618 | // Reference: packages/form-builder/src/state/utils.ts:424 |
1619 | - __( 'text', 'event_espresso' ), |
|
1619 | + __('text', 'event_espresso'), |
|
1620 | 1620 | |
1621 | 1621 | // Reference: packages/form-builder/src/state/utils.ts:427 |
1622 | - __( 'simple textarea', 'event_espresso' ), |
|
1622 | + __('simple textarea', 'event_espresso'), |
|
1623 | 1623 | |
1624 | 1624 | // Reference: packages/form-builder/src/state/utils.ts:430 |
1625 | - __( 'html textarea', 'event_espresso' ), |
|
1625 | + __('html textarea', 'event_espresso'), |
|
1626 | 1626 | |
1627 | 1627 | // Reference: packages/form-builder/src/state/utils.ts:439 |
1628 | - __( 'week', 'event_espresso' ), |
|
1628 | + __('week', 'event_espresso'), |
|
1629 | 1629 | |
1630 | 1630 | // Reference: packages/form-builder/src/state/utils.ts:442 |
1631 | - __( 'year', 'event_espresso' ), |
|
1631 | + __('year', 'event_espresso'), |
|
1632 | 1632 | |
1633 | 1633 | // Reference: packages/form/src/adapters/WPMediaImage.tsx:12 |
1634 | - __( 'Select Image', 'event_espresso' ), |
|
1634 | + __('Select Image', 'event_espresso'), |
|
1635 | 1635 | |
1636 | 1636 | // Reference: packages/form/src/adapters/WPMediaImage.tsx:44 |
1637 | 1637 | // Reference: packages/rich-text-editor/src/components/AdvancedTextEditor/toolbarButtons/WPMedia.tsx:11 |
1638 | 1638 | // Reference: packages/rich-text-editor/src/rte-old/components/toolbarButtons/WPMedia.tsx:12 |
1639 | - __( 'Select', 'event_espresso' ), |
|
1639 | + __('Select', 'event_espresso'), |
|
1640 | 1640 | |
1641 | 1641 | // Reference: packages/form/src/renderers/RepeatableRenderer.tsx:36 |
1642 | 1642 | /* translators: %d the entry number */ |
1643 | - __( 'Entry %d', 'event_espresso' ), |
|
1643 | + __('Entry %d', 'event_espresso'), |
|
1644 | 1644 | |
1645 | 1645 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:11 |
1646 | 1646 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:17 |
1647 | - __( 'sold out', 'event_espresso' ), |
|
1647 | + __('sold out', 'event_espresso'), |
|
1648 | 1648 | |
1649 | 1649 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:14 |
1650 | 1650 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:14 |
1651 | - __( 'expired', 'event_espresso' ), |
|
1651 | + __('expired', 'event_espresso'), |
|
1652 | 1652 | |
1653 | 1653 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:17 |
1654 | - __( 'upcoming', 'event_espresso' ), |
|
1654 | + __('upcoming', 'event_espresso'), |
|
1655 | 1655 | |
1656 | 1656 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:20 |
1657 | - __( 'active', 'event_espresso' ), |
|
1657 | + __('active', 'event_espresso'), |
|
1658 | 1658 | |
1659 | 1659 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:23 |
1660 | 1660 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:11 |
1661 | - __( 'trashed', 'event_espresso' ), |
|
1661 | + __('trashed', 'event_espresso'), |
|
1662 | 1662 | |
1663 | 1663 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:26 |
1664 | - __( 'cancelled', 'event_espresso' ), |
|
1664 | + __('cancelled', 'event_espresso'), |
|
1665 | 1665 | |
1666 | 1666 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:29 |
1667 | - __( 'postponed', 'event_espresso' ), |
|
1667 | + __('postponed', 'event_espresso'), |
|
1668 | 1668 | |
1669 | 1669 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:33 |
1670 | - __( 'inactive', 'event_espresso' ), |
|
1670 | + __('inactive', 'event_espresso'), |
|
1671 | 1671 | |
1672 | 1672 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:20 |
1673 | - __( 'pending', 'event_espresso' ), |
|
1673 | + __('pending', 'event_espresso'), |
|
1674 | 1674 | |
1675 | 1675 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:23 |
1676 | - __( 'on sale', 'event_espresso' ), |
|
1676 | + __('on sale', 'event_espresso'), |
|
1677 | 1677 | |
1678 | 1678 | // Reference: packages/predicates/src/registration/statusOptions.ts:14 |
1679 | - __( 'Declined', 'event_espresso' ), |
|
1679 | + __('Declined', 'event_espresso'), |
|
1680 | 1680 | |
1681 | 1681 | // Reference: packages/predicates/src/registration/statusOptions.ts:18 |
1682 | - __( 'Incomplete', 'event_espresso' ), |
|
1682 | + __('Incomplete', 'event_espresso'), |
|
1683 | 1683 | |
1684 | 1684 | // Reference: packages/predicates/src/registration/statusOptions.ts:22 |
1685 | - __( 'Not Approved', 'event_espresso' ), |
|
1685 | + __('Not Approved', 'event_espresso'), |
|
1686 | 1686 | |
1687 | 1687 | // Reference: packages/predicates/src/registration/statusOptions.ts:26 |
1688 | - __( 'Pending Payment', 'event_espresso' ), |
|
1688 | + __('Pending Payment', 'event_espresso'), |
|
1689 | 1689 | |
1690 | 1690 | // Reference: packages/predicates/src/registration/statusOptions.ts:30 |
1691 | - __( 'Wait List', 'event_espresso' ), |
|
1691 | + __('Wait List', 'event_espresso'), |
|
1692 | 1692 | |
1693 | 1693 | // Reference: packages/predicates/src/registration/statusOptions.ts:6 |
1694 | - __( 'Approved', 'event_espresso' ), |
|
1694 | + __('Approved', 'event_espresso'), |
|
1695 | 1695 | |
1696 | 1696 | // Reference: packages/rich-text-editor/src/components/AdvancedTextEditor/toolbarButtons/WPMedia.tsx:9 |
1697 | 1697 | // Reference: packages/rich-text-editor/src/rte-old/components/toolbarButtons/WPMedia.tsx:10 |
1698 | - __( 'Select media', 'event_espresso' ), |
|
1698 | + __('Select media', 'event_espresso'), |
|
1699 | 1699 | |
1700 | 1700 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/RichTextEditor.tsx:84 |
1701 | - __( 'Write something…', 'event_espresso' ), |
|
1701 | + __('Write something…', 'event_espresso'), |
|
1702 | 1702 | |
1703 | 1703 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/Toolbar.tsx:20 |
1704 | - __( 'RTE Toolbar', 'event_espresso' ), |
|
1704 | + __('RTE Toolbar', 'event_espresso'), |
|
1705 | 1705 | |
1706 | 1706 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:11 |
1707 | - __( 'Normal', 'event_espresso' ), |
|
1707 | + __('Normal', 'event_espresso'), |
|
1708 | 1708 | |
1709 | 1709 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:12 |
1710 | - __( 'H1', 'event_espresso' ), |
|
1710 | + __('H1', 'event_espresso'), |
|
1711 | 1711 | |
1712 | 1712 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:13 |
1713 | - __( 'H2', 'event_espresso' ), |
|
1713 | + __('H2', 'event_espresso'), |
|
1714 | 1714 | |
1715 | 1715 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:14 |
1716 | - __( 'H3', 'event_espresso' ), |
|
1716 | + __('H3', 'event_espresso'), |
|
1717 | 1717 | |
1718 | 1718 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:15 |
1719 | - __( 'H4', 'event_espresso' ), |
|
1719 | + __('H4', 'event_espresso'), |
|
1720 | 1720 | |
1721 | 1721 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:16 |
1722 | - __( 'H5', 'event_espresso' ), |
|
1722 | + __('H5', 'event_espresso'), |
|
1723 | 1723 | |
1724 | 1724 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:17 |
1725 | - __( 'H6', 'event_espresso' ), |
|
1725 | + __('H6', 'event_espresso'), |
|
1726 | 1726 | |
1727 | 1727 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:18 |
1728 | - __( 'Block quote', 'event_espresso' ), |
|
1728 | + __('Block quote', 'event_espresso'), |
|
1729 | 1729 | |
1730 | 1730 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:19 |
1731 | - __( 'Code', 'event_espresso' ), |
|
1731 | + __('Code', 'event_espresso'), |
|
1732 | 1732 | |
1733 | 1733 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/colorPicker/Component.tsx:36 |
1734 | - __( 'Set color', 'event_espresso' ), |
|
1734 | + __('Set color', 'event_espresso'), |
|
1735 | 1735 | |
1736 | 1736 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/colorPicker/Component.tsx:45 |
1737 | - __( 'Text color', 'event_espresso' ), |
|
1737 | + __('Text color', 'event_espresso'), |
|
1738 | 1738 | |
1739 | 1739 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/colorPicker/Component.tsx:47 |
1740 | - __( 'Background color', 'event_espresso' ), |
|
1740 | + __('Background color', 'event_espresso'), |
|
1741 | 1741 | |
1742 | 1742 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:39 |
1743 | - __( 'Add image', 'event_espresso' ), |
|
1743 | + __('Add image', 'event_espresso'), |
|
1744 | 1744 | |
1745 | 1745 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:51 |
1746 | - __( 'Image URL', 'event_espresso' ), |
|
1746 | + __('Image URL', 'event_espresso'), |
|
1747 | 1747 | |
1748 | 1748 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:55 |
1749 | - __( 'Alt text', 'event_espresso' ), |
|
1749 | + __('Alt text', 'event_espresso'), |
|
1750 | 1750 | |
1751 | 1751 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:56 |
1752 | - __( 'Width', 'event_espresso' ), |
|
1752 | + __('Width', 'event_espresso'), |
|
1753 | 1753 | |
1754 | 1754 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:60 |
1755 | - __( 'Height', 'event_espresso' ), |
|
1755 | + __('Height', 'event_espresso'), |
|
1756 | 1756 | |
1757 | 1757 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/link/Component.tsx:54 |
1758 | - __( 'Edit link', 'event_espresso' ), |
|
1758 | + __('Edit link', 'event_espresso'), |
|
1759 | 1759 | |
1760 | 1760 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/link/Component.tsx:64 |
1761 | - __( 'URL title', 'event_espresso' ), |
|
1761 | + __('URL title', 'event_espresso'), |
|
1762 | 1762 | |
1763 | 1763 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:11 |
1764 | - __( 'Unordered list', 'event_espresso' ), |
|
1764 | + __('Unordered list', 'event_espresso'), |
|
1765 | 1765 | |
1766 | 1766 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:12 |
1767 | - __( 'Ordered list', 'event_espresso' ), |
|
1767 | + __('Ordered list', 'event_espresso'), |
|
1768 | 1768 | |
1769 | 1769 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:13 |
1770 | 1770 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:13 |
1771 | - __( 'Indent', 'event_espresso' ), |
|
1771 | + __('Indent', 'event_espresso'), |
|
1772 | 1772 | |
1773 | 1773 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:14 |
1774 | 1774 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:14 |
1775 | - __( 'Outdent', 'event_espresso' ), |
|
1775 | + __('Outdent', 'event_espresso'), |
|
1776 | 1776 | |
1777 | 1777 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:11 |
1778 | - __( 'Unordered textalign', 'event_espresso' ), |
|
1778 | + __('Unordered textalign', 'event_espresso'), |
|
1779 | 1779 | |
1780 | 1780 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:12 |
1781 | - __( 'Ordered textalign', 'event_espresso' ), |
|
1781 | + __('Ordered textalign', 'event_espresso'), |
|
1782 | 1782 | |
1783 | 1783 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/render/Image/Toolbar.tsx:32 |
1784 | - __( 'Image toolbar', 'event_espresso' ), |
|
1784 | + __('Image toolbar', 'event_espresso'), |
|
1785 | 1785 | |
1786 | 1786 | // Reference: packages/rich-text-editor/src/components/WithEditMode/WithEditMode.tsx:62 |
1787 | 1787 | // Reference: packages/rich-text-editor/src/rte-old/components/RTEWithEditMode/RTEWithEditMode.tsx:35 |
1788 | - __( 'Visual editor', 'event_espresso' ), |
|
1788 | + __('Visual editor', 'event_espresso'), |
|
1789 | 1789 | |
1790 | 1790 | // Reference: packages/rich-text-editor/src/components/WithEditMode/WithEditMode.tsx:66 |
1791 | 1791 | // Reference: packages/rich-text-editor/src/rte-old/components/RTEWithEditMode/RTEWithEditMode.tsx:39 |
1792 | - __( 'HTML editor', 'event_espresso' ), |
|
1792 | + __('HTML editor', 'event_espresso'), |
|
1793 | 1793 | |
1794 | 1794 | // Reference: packages/rich-text-editor/src/rte-old/components/toolbarButtons/WPMedia.tsx:68 |
1795 | - __( 'Add Media', 'event_espresso' ), |
|
1795 | + __('Add Media', 'event_espresso'), |
|
1796 | 1796 | |
1797 | 1797 | // Reference: packages/tpc/src/buttons/AddPriceModifierButton.tsx:14 |
1798 | - __( 'add new price modifier after this row', 'event_espresso' ), |
|
1798 | + __('add new price modifier after this row', 'event_espresso'), |
|
1799 | 1799 | |
1800 | 1800 | // Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:14 |
1801 | - __( 'Delete all prices', 'event_espresso' ), |
|
1801 | + __('Delete all prices', 'event_espresso'), |
|
1802 | 1802 | |
1803 | 1803 | // Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:27 |
1804 | - __( 'Are you sure you want to delete all of this ticket\'s prices and make it free? This action is permanent and can not be undone.', 'event_espresso' ), |
|
1804 | + __('Are you sure you want to delete all of this ticket\'s prices and make it free? This action is permanent and can not be undone.', 'event_espresso'), |
|
1805 | 1805 | |
1806 | 1806 | // Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:31 |
1807 | - __( 'Delete all prices?', 'event_espresso' ), |
|
1807 | + __('Delete all prices?', 'event_espresso'), |
|
1808 | 1808 | |
1809 | 1809 | // Reference: packages/tpc/src/buttons/DeletePriceModifierButton.tsx:12 |
1810 | - __( 'delete price modifier', 'event_espresso' ), |
|
1810 | + __('delete price modifier', 'event_espresso'), |
|
1811 | 1811 | |
1812 | 1812 | // Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:14 |
1813 | - __( 'Ticket base price is being reverse calculated from bottom to top starting with the ticket total. Entering a new ticket total will reverse calculate the ticket base price after applying all price modifiers in reverse. Click to turn off reverse calculations', 'event_espresso' ), |
|
1813 | + __('Ticket base price is being reverse calculated from bottom to top starting with the ticket total. Entering a new ticket total will reverse calculate the ticket base price after applying all price modifiers in reverse. Click to turn off reverse calculations', 'event_espresso'), |
|
1814 | 1814 | |
1815 | 1815 | // Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:17 |
1816 | - __( 'Ticket total is being calculated normally from top to bottom starting from the base price. Entering a new ticket base price will recalculate the ticket total after applying all price modifiers. Click to turn on reverse calculations', 'event_espresso' ), |
|
1816 | + __('Ticket total is being calculated normally from top to bottom starting from the base price. Entering a new ticket base price will recalculate the ticket total after applying all price modifiers. Click to turn on reverse calculations', 'event_espresso'), |
|
1817 | 1817 | |
1818 | 1818 | // Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:21 |
1819 | - __( 'Disable reverse calculate', 'event_espresso' ), |
|
1819 | + __('Disable reverse calculate', 'event_espresso'), |
|
1820 | 1820 | |
1821 | 1821 | // Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:21 |
1822 | - __( 'Enable reverse calculate', 'event_espresso' ), |
|
1822 | + __('Enable reverse calculate', 'event_espresso'), |
|
1823 | 1823 | |
1824 | 1824 | // Reference: packages/tpc/src/buttons/TicketPriceCalculatorButton.tsx:28 |
1825 | - __( 'ticket price calculator', 'event_espresso' ), |
|
1825 | + __('ticket price calculator', 'event_espresso'), |
|
1826 | 1826 | |
1827 | 1827 | // Reference: packages/tpc/src/buttons/taxes/AddDefaultTaxesButton.tsx:9 |
1828 | - __( 'Add default taxes', 'event_espresso' ), |
|
1828 | + __('Add default taxes', 'event_espresso'), |
|
1829 | 1829 | |
1830 | 1830 | // Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:10 |
1831 | - __( 'Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso' ), |
|
1831 | + __('Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso'), |
|
1832 | 1832 | |
1833 | 1833 | // Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:14 |
1834 | - __( 'Remove all taxes?', 'event_espresso' ), |
|
1834 | + __('Remove all taxes?', 'event_espresso'), |
|
1835 | 1835 | |
1836 | 1836 | // Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:7 |
1837 | - __( 'Remove taxes', 'event_espresso' ), |
|
1837 | + __('Remove taxes', 'event_espresso'), |
|
1838 | 1838 | |
1839 | 1839 | // Reference: packages/tpc/src/components/DefaultPricesInfo.tsx:29 |
1840 | - __( 'Modify default prices.', 'event_espresso' ), |
|
1840 | + __('Modify default prices.', 'event_espresso'), |
|
1841 | 1841 | |
1842 | 1842 | // Reference: packages/tpc/src/components/DefaultTaxesInfo.tsx:29 |
1843 | - __( 'New default taxes are available. Click the - Add default taxes - button to add them now.', 'event_espresso' ), |
|
1843 | + __('New default taxes are available. Click the - Add default taxes - button to add them now.', 'event_espresso'), |
|
1844 | 1844 | |
1845 | 1845 | // Reference: packages/tpc/src/components/LockedTicketsBanner.tsx:12 |
1846 | - __( 'Editing of prices is disabled', 'event_espresso' ), |
|
1846 | + __('Editing of prices is disabled', 'event_espresso'), |
|
1847 | 1847 | |
1848 | 1848 | // Reference: packages/tpc/src/components/NoPricesBanner/AddDefaultPricesButton.tsx:9 |
1849 | - __( 'Add default prices', 'event_espresso' ), |
|
1849 | + __('Add default prices', 'event_espresso'), |
|
1850 | 1850 | |
1851 | 1851 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:13 |
1852 | - __( 'This Ticket is Currently Free', 'event_espresso' ), |
|
1852 | + __('This Ticket is Currently Free', 'event_espresso'), |
|
1853 | 1853 | |
1854 | 1854 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:21 |
1855 | 1855 | /* translators: %s default prices */ |
1856 | - __( 'Click the button below to load your %s into the calculator.', 'event_espresso' ), |
|
1856 | + __('Click the button below to load your %s into the calculator.', 'event_espresso'), |
|
1857 | 1857 | |
1858 | 1858 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:22 |
1859 | - __( 'default prices', 'event_espresso' ), |
|
1859 | + __('default prices', 'event_espresso'), |
|
1860 | 1860 | |
1861 | 1861 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:29 |
1862 | - __( 'Additional ticket price modifiers can be added or removed.', 'event_espresso' ), |
|
1862 | + __('Additional ticket price modifiers can be added or removed.', 'event_espresso'), |
|
1863 | 1863 | |
1864 | 1864 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:32 |
1865 | - __( 'Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso' ), |
|
1865 | + __('Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso'), |
|
1866 | 1866 | |
1867 | 1867 | // Reference: packages/tpc/src/components/TicketPriceCalculatorModal.tsx:32 |
1868 | 1868 | /* translators: %s ticket name */ |
1869 | - __( 'Price Calculator for Ticket: %s', 'event_espresso' ), |
|
1869 | + __('Price Calculator for Ticket: %s', 'event_espresso'), |
|
1870 | 1870 | |
1871 | 1871 | // Reference: packages/tpc/src/components/table/useFooterRowGenerator.tsx:48 |
1872 | - __( 'Total', 'event_espresso' ), |
|
1872 | + __('Total', 'event_espresso'), |
|
1873 | 1873 | |
1874 | 1874 | // Reference: packages/tpc/src/components/table/useFooterRowGenerator.tsx:57 |
1875 | - __( 'ticket total', 'event_espresso' ), |
|
1875 | + __('ticket total', 'event_espresso'), |
|
1876 | 1876 | |
1877 | 1877 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:29 |
1878 | - __( 'Order', 'event_espresso' ), |
|
1878 | + __('Order', 'event_espresso'), |
|
1879 | 1879 | |
1880 | 1880 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:35 |
1881 | - __( 'Price Type', 'event_espresso' ), |
|
1881 | + __('Price Type', 'event_espresso'), |
|
1882 | 1882 | |
1883 | 1883 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:41 |
1884 | - __( 'Label', 'event_espresso' ), |
|
1884 | + __('Label', 'event_espresso'), |
|
1885 | 1885 | |
1886 | 1886 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:53 |
1887 | - __( 'Amount', 'event_espresso' ), |
|
1887 | + __('Amount', 'event_espresso'), |
|
1888 | 1888 | |
1889 | 1889 | // Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:22 |
1890 | - __( 'Copy ticket', 'event_espresso' ), |
|
1890 | + __('Copy ticket', 'event_espresso'), |
|
1891 | 1891 | |
1892 | 1892 | // Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:26 |
1893 | - __( 'Copy and archive this ticket', 'event_espresso' ), |
|
1893 | + __('Copy and archive this ticket', 'event_espresso'), |
|
1894 | 1894 | |
1895 | 1895 | // Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:29 |
1896 | - __( 'OK', 'event_espresso' ), |
|
1896 | + __('OK', 'event_espresso'), |
|
1897 | 1897 | |
1898 | 1898 | // Reference: packages/tpc/src/inputs/PriceAmountInput.tsx:32 |
1899 | - __( 'amount', 'event_espresso' ), |
|
1899 | + __('amount', 'event_espresso'), |
|
1900 | 1900 | |
1901 | 1901 | // Reference: packages/tpc/src/inputs/PriceAmountInput.tsx:44 |
1902 | - __( 'amount…', 'event_espresso' ), |
|
1902 | + __('amount…', 'event_espresso'), |
|
1903 | 1903 | |
1904 | 1904 | // Reference: packages/tpc/src/inputs/PriceDescriptionInput.tsx:14 |
1905 | - __( 'description…', 'event_espresso' ), |
|
1905 | + __('description…', 'event_espresso'), |
|
1906 | 1906 | |
1907 | 1907 | // Reference: packages/tpc/src/inputs/PriceDescriptionInput.tsx:9 |
1908 | - __( 'price description', 'event_espresso' ), |
|
1908 | + __('price description', 'event_espresso'), |
|
1909 | 1909 | |
1910 | 1910 | // Reference: packages/tpc/src/inputs/PriceIdInput.tsx:5 |
1911 | - __( 'price id', 'event_espresso' ), |
|
1911 | + __('price id', 'event_espresso'), |
|
1912 | 1912 | |
1913 | 1913 | // Reference: packages/tpc/src/inputs/PriceNameInput.tsx:13 |
1914 | - __( 'label…', 'event_espresso' ), |
|
1914 | + __('label…', 'event_espresso'), |
|
1915 | 1915 | |
1916 | 1916 | // Reference: packages/tpc/src/inputs/PriceNameInput.tsx:8 |
1917 | - __( 'price name', 'event_espresso' ), |
|
1917 | + __('price name', 'event_espresso'), |
|
1918 | 1918 | |
1919 | 1919 | // Reference: packages/tpc/src/inputs/PriceOrderInput.tsx:14 |
1920 | - __( 'price order', 'event_espresso' ), |
|
1920 | + __('price order', 'event_espresso'), |
|
1921 | 1921 | |
1922 | 1922 | // Reference: packages/tpc/src/inputs/PriceTypeInput.tsx:19 |
1923 | - __( 'price type', 'event_espresso' ), |
|
1923 | + __('price type', 'event_espresso'), |
|
1924 | 1924 | |
1925 | 1925 | // Reference: packages/tpc/src/utils/constants.ts:8 |
1926 | - __( 'Ticket price modifications are blocked for Tickets that have already been sold to registrants, because doing so would negatively affect internal accounting for the event. If you still need to modify ticket prices, then create a copy of those tickets, edit the prices for the new tickets, and then trash the old tickets.', 'event_espresso' ), |
|
1926 | + __('Ticket price modifications are blocked for Tickets that have already been sold to registrants, because doing so would negatively affect internal accounting for the event. If you still need to modify ticket prices, then create a copy of those tickets, edit the prices for the new tickets, and then trash the old tickets.', 'event_espresso'), |
|
1927 | 1927 | |
1928 | 1928 | // Reference: packages/ui-components/src/ActiveFilters/ActiveFilters.tsx:8 |
1929 | - __( 'active filters:', 'event_espresso' ), |
|
1929 | + __('active filters:', 'event_espresso'), |
|
1930 | 1930 | |
1931 | 1931 | // Reference: packages/ui-components/src/ActiveFilters/FilterTag/index.tsx:15 |
1932 | 1932 | /* translators: %s filter name */ |
1933 | - __( 'remove filter - %s', 'event_espresso' ), |
|
1933 | + __('remove filter - %s', 'event_espresso'), |
|
1934 | 1934 | |
1935 | 1935 | // Reference: packages/ui-components/src/Address/Address.tsx:72 |
1936 | - __( 'Address:', 'event_espresso' ), |
|
1936 | + __('Address:', 'event_espresso'), |
|
1937 | 1937 | |
1938 | 1938 | // Reference: packages/ui-components/src/Address/Address.tsx:80 |
1939 | - __( 'City:', 'event_espresso' ), |
|
1939 | + __('City:', 'event_espresso'), |
|
1940 | 1940 | |
1941 | 1941 | // Reference: packages/ui-components/src/Address/Address.tsx:86 |
1942 | - __( 'State:', 'event_espresso' ), |
|
1942 | + __('State:', 'event_espresso'), |
|
1943 | 1943 | |
1944 | 1944 | // Reference: packages/ui-components/src/Address/Address.tsx:92 |
1945 | - __( 'Country:', 'event_espresso' ), |
|
1945 | + __('Country:', 'event_espresso'), |
|
1946 | 1946 | |
1947 | 1947 | // Reference: packages/ui-components/src/Address/Address.tsx:98 |
1948 | - __( 'Zip:', 'event_espresso' ), |
|
1948 | + __('Zip:', 'event_espresso'), |
|
1949 | 1949 | |
1950 | 1950 | // Reference: packages/ui-components/src/CalendarDateRange/CalendarDateRange.tsx:37 |
1951 | - __( 'to', 'event_espresso' ), |
|
1951 | + __('to', 'event_espresso'), |
|
1952 | 1952 | |
1953 | 1953 | // Reference: packages/ui-components/src/CalendarPageDate/CalendarPageDate.tsx:54 |
1954 | - __( 'TO', 'event_espresso' ), |
|
1954 | + __('TO', 'event_espresso'), |
|
1955 | 1955 | |
1956 | 1956 | // Reference: packages/ui-components/src/ColorPicker/ColorPicker.tsx:60 |
1957 | - __( 'Custom color', 'event_espresso' ), |
|
1957 | + __('Custom color', 'event_espresso'), |
|
1958 | 1958 | |
1959 | 1959 | // Reference: packages/ui-components/src/ColorPicker/Swatch.tsx:23 |
1960 | 1960 | /* translators: color name */ |
1961 | - __( 'Color: %s', 'event_espresso' ), |
|
1961 | + __('Color: %s', 'event_espresso'), |
|
1962 | 1962 | |
1963 | 1963 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:13 |
1964 | - __( 'Cyan bluish gray', 'event_espresso' ), |
|
1964 | + __('Cyan bluish gray', 'event_espresso'), |
|
1965 | 1965 | |
1966 | 1966 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:17 |
1967 | - __( 'White', 'event_espresso' ), |
|
1967 | + __('White', 'event_espresso'), |
|
1968 | 1968 | |
1969 | 1969 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:21 |
1970 | - __( 'Pale pink', 'event_espresso' ), |
|
1970 | + __('Pale pink', 'event_espresso'), |
|
1971 | 1971 | |
1972 | 1972 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:25 |
1973 | - __( 'Vivid red', 'event_espresso' ), |
|
1973 | + __('Vivid red', 'event_espresso'), |
|
1974 | 1974 | |
1975 | 1975 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:29 |
1976 | - __( 'Luminous vivid orange', 'event_espresso' ), |
|
1976 | + __('Luminous vivid orange', 'event_espresso'), |
|
1977 | 1977 | |
1978 | 1978 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:33 |
1979 | - __( 'Luminous vivid amber', 'event_espresso' ), |
|
1979 | + __('Luminous vivid amber', 'event_espresso'), |
|
1980 | 1980 | |
1981 | 1981 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:37 |
1982 | - __( 'Light green cyan', 'event_espresso' ), |
|
1982 | + __('Light green cyan', 'event_espresso'), |
|
1983 | 1983 | |
1984 | 1984 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:41 |
1985 | - __( 'Vivid green cyan', 'event_espresso' ), |
|
1985 | + __('Vivid green cyan', 'event_espresso'), |
|
1986 | 1986 | |
1987 | 1987 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:45 |
1988 | - __( 'Pale cyan blue', 'event_espresso' ), |
|
1988 | + __('Pale cyan blue', 'event_espresso'), |
|
1989 | 1989 | |
1990 | 1990 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:49 |
1991 | - __( 'Vivid cyan blue', 'event_espresso' ), |
|
1991 | + __('Vivid cyan blue', 'event_espresso'), |
|
1992 | 1992 | |
1993 | 1993 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:53 |
1994 | - __( 'Vivid purple', 'event_espresso' ), |
|
1994 | + __('Vivid purple', 'event_espresso'), |
|
1995 | 1995 | |
1996 | 1996 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:9 |
1997 | - __( 'Black', 'event_espresso' ), |
|
1997 | + __('Black', 'event_espresso'), |
|
1998 | 1998 | |
1999 | 1999 | // Reference: packages/ui-components/src/Confirm/ConfirmClose.tsx:7 |
2000 | 2000 | // Reference: packages/ui-components/src/Modal/ModalWithAlert.tsx:22 |
2001 | - __( 'Are you sure you want to close this?', 'event_espresso' ), |
|
2001 | + __('Are you sure you want to close this?', 'event_espresso'), |
|
2002 | 2002 | |
2003 | 2003 | // Reference: packages/ui-components/src/Confirm/ConfirmDelete.tsx:7 |
2004 | - __( 'Are you sure you want to delete this?', 'event_espresso' ), |
|
2004 | + __('Are you sure you want to delete this?', 'event_espresso'), |
|
2005 | 2005 | |
2006 | 2006 | // Reference: packages/ui-components/src/Confirm/useConfirmWithButton.tsx:10 |
2007 | - __( 'Please confirm this action.', 'event_espresso' ), |
|
2007 | + __('Please confirm this action.', 'event_espresso'), |
|
2008 | 2008 | |
2009 | 2009 | // Reference: packages/ui-components/src/Confirm/useConfirmationDialog.tsx:32 |
2010 | - __( 'No', 'event_espresso' ), |
|
2010 | + __('No', 'event_espresso'), |
|
2011 | 2011 | |
2012 | 2012 | // Reference: packages/ui-components/src/Confirm/useConfirmationDialog.tsx:33 |
2013 | - __( 'Yes', 'event_espresso' ), |
|
2013 | + __('Yes', 'event_espresso'), |
|
2014 | 2014 | |
2015 | 2015 | // Reference: packages/ui-components/src/CurrencyDisplay/CurrencyDisplay.tsx:34 |
2016 | - __( 'free', 'event_espresso' ), |
|
2016 | + __('free', 'event_espresso'), |
|
2017 | 2017 | |
2018 | 2018 | // Reference: packages/ui-components/src/DateTimeRangePicker/DateTimeRangePicker.tsx:117 |
2019 | 2019 | // Reference: packages/ui-components/src/Popover/PopoverForm/PopoverForm.tsx:44 |
2020 | - __( 'save', 'event_espresso' ), |
|
2020 | + __('save', 'event_espresso'), |
|
2021 | 2021 | |
2022 | 2022 | // Reference: packages/ui-components/src/DebugInfo/DebugInfo.tsx:36 |
2023 | - __( 'Hide Debug Info', 'event_espresso' ), |
|
2023 | + __('Hide Debug Info', 'event_espresso'), |
|
2024 | 2024 | |
2025 | 2025 | // Reference: packages/ui-components/src/DebugInfo/DebugInfo.tsx:36 |
2026 | - __( 'Show Debug Info', 'event_espresso' ), |
|
2026 | + __('Show Debug Info', 'event_espresso'), |
|
2027 | 2027 | |
2028 | 2028 | // Reference: packages/ui-components/src/EditDateRangeButton/EditDateRangeButton.tsx:49 |
2029 | - __( 'Edit Start and End Dates and Times', 'event_espresso' ), |
|
2029 | + __('Edit Start and End Dates and Times', 'event_espresso'), |
|
2030 | 2030 | |
2031 | 2031 | // Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Copy.tsx:8 |
2032 | - __( 'copy', 'event_espresso' ), |
|
2032 | + __('copy', 'event_espresso'), |
|
2033 | 2033 | |
2034 | 2034 | // Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Edit.tsx:8 |
2035 | - __( 'edit', 'event_espresso' ), |
|
2035 | + __('edit', 'event_espresso'), |
|
2036 | 2036 | |
2037 | 2037 | // Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Trash.tsx:8 |
2038 | - __( 'trash', 'event_espresso' ), |
|
2038 | + __('trash', 'event_espresso'), |
|
2039 | 2039 | |
2040 | 2040 | // Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Untrash.tsx:8 |
2041 | - __( 'untrash', 'event_espresso' ), |
|
2041 | + __('untrash', 'event_espresso'), |
|
2042 | 2042 | |
2043 | 2043 | // Reference: packages/ui-components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:37 |
2044 | - __( 'view approved registrations for this date.', 'event_espresso' ), |
|
2044 | + __('view approved registrations for this date.', 'event_espresso'), |
|
2045 | 2045 | |
2046 | 2046 | // Reference: packages/ui-components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:38 |
2047 | - __( 'view approved registrations for this ticket.', 'event_espresso' ), |
|
2047 | + __('view approved registrations for this ticket.', 'event_espresso'), |
|
2048 | 2048 | |
2049 | 2049 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/CardViewFilterButton.tsx:22 |
2050 | - __( 'card view', 'event_espresso' ), |
|
2050 | + __('card view', 'event_espresso'), |
|
2051 | 2051 | |
2052 | 2052 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/TableViewFilterButton.tsx:21 |
2053 | - __( 'table view', 'event_espresso' ), |
|
2053 | + __('table view', 'event_espresso'), |
|
2054 | 2054 | |
2055 | 2055 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleBulkActionsButton.tsx:8 |
2056 | - __( 'hide bulk actions', 'event_espresso' ), |
|
2056 | + __('hide bulk actions', 'event_espresso'), |
|
2057 | 2057 | |
2058 | 2058 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleBulkActionsButton.tsx:8 |
2059 | - __( 'show bulk actions', 'event_espresso' ), |
|
2059 | + __('show bulk actions', 'event_espresso'), |
|
2060 | 2060 | |
2061 | 2061 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:9 |
2062 | - __( 'hide filters', 'event_espresso' ), |
|
2062 | + __('hide filters', 'event_espresso'), |
|
2063 | 2063 | |
2064 | 2064 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:9 |
2065 | - __( 'show filters', 'event_espresso' ), |
|
2065 | + __('show filters', 'event_espresso'), |
|
2066 | 2066 | |
2067 | 2067 | // Reference: packages/ui-components/src/Legend/ToggleLegendButton.tsx:26 |
2068 | - __( 'hide legend', 'event_espresso' ), |
|
2068 | + __('hide legend', 'event_espresso'), |
|
2069 | 2069 | |
2070 | 2070 | // Reference: packages/ui-components/src/Legend/ToggleLegendButton.tsx:26 |
2071 | - __( 'show legend', 'event_espresso' ), |
|
2071 | + __('show legend', 'event_espresso'), |
|
2072 | 2072 | |
2073 | 2073 | // Reference: packages/ui-components/src/LoadingNotice/LoadingNotice.tsx:11 |
2074 | - __( 'loading…', 'event_espresso' ), |
|
2074 | + __('loading…', 'event_espresso'), |
|
2075 | 2075 | |
2076 | 2076 | // Reference: packages/ui-components/src/Modal/Modal.tsx:58 |
2077 | - __( 'close modal', 'event_espresso' ), |
|
2077 | + __('close modal', 'event_espresso'), |
|
2078 | 2078 | |
2079 | 2079 | // Reference: packages/ui-components/src/Pagination/ItemRender.tsx:10 |
2080 | - __( 'jump to previous', 'event_espresso' ), |
|
2080 | + __('jump to previous', 'event_espresso'), |
|
2081 | 2081 | |
2082 | 2082 | // Reference: packages/ui-components/src/Pagination/ItemRender.tsx:11 |
2083 | - __( 'jump to next', 'event_espresso' ), |
|
2083 | + __('jump to next', 'event_espresso'), |
|
2084 | 2084 | |
2085 | 2085 | // Reference: packages/ui-components/src/Pagination/ItemRender.tsx:12 |
2086 | - __( 'page', 'event_espresso' ), |
|
2086 | + __('page', 'event_espresso'), |
|
2087 | 2087 | |
2088 | 2088 | // Reference: packages/ui-components/src/Pagination/ItemRender.tsx:8 |
2089 | - __( 'previous', 'event_espresso' ), |
|
2089 | + __('previous', 'event_espresso'), |
|
2090 | 2090 | |
2091 | 2091 | // Reference: packages/ui-components/src/Pagination/ItemRender.tsx:9 |
2092 | - __( 'next', 'event_espresso' ), |
|
2092 | + __('next', 'event_espresso'), |
|
2093 | 2093 | |
2094 | 2094 | // Reference: packages/ui-components/src/Pagination/PerPage.tsx:37 |
2095 | - __( 'items per page', 'event_espresso' ), |
|
2095 | + __('items per page', 'event_espresso'), |
|
2096 | 2096 | |
2097 | 2097 | // Reference: packages/ui-components/src/Pagination/constants.ts:10 |
2098 | 2098 | /* translators: %s is per page value */ |
2099 | - __( '%s / page', 'event_espresso' ), |
|
2099 | + __('%s / page', 'event_espresso'), |
|
2100 | 2100 | |
2101 | 2101 | // Reference: packages/ui-components/src/Pagination/constants.ts:13 |
2102 | - __( 'Next Page', 'event_espresso' ), |
|
2102 | + __('Next Page', 'event_espresso'), |
|
2103 | 2103 | |
2104 | 2104 | // Reference: packages/ui-components/src/Pagination/constants.ts:14 |
2105 | - __( 'Previous Page', 'event_espresso' ), |
|
2105 | + __('Previous Page', 'event_espresso'), |
|
2106 | 2106 | |
2107 | 2107 | // Reference: packages/ui-components/src/PercentSign/index.tsx:10 |
2108 | - __( '%', 'event_espresso' ), |
|
2108 | + __('%', 'event_espresso'), |
|
2109 | 2109 | |
2110 | 2110 | // Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:23 |
2111 | - __( 'Select an existing one to use as a template.', 'event_espresso' ), |
|
2111 | + __('Select an existing one to use as a template.', 'event_espresso'), |
|
2112 | 2112 | |
2113 | 2113 | // Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:27 |
2114 | - __( 'or', 'event_espresso' ), |
|
2114 | + __('or', 'event_espresso'), |
|
2115 | 2115 | |
2116 | 2116 | // Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:30 |
2117 | - __( 'Add new and insert details manually', 'event_espresso' ), |
|
2117 | + __('Add new and insert details manually', 'event_espresso'), |
|
2118 | 2118 | |
2119 | 2119 | // Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:34 |
2120 | - __( 'Add New', 'event_espresso' ), |
|
2120 | + __('Add New', 'event_espresso'), |
|
2121 | 2121 | |
2122 | 2122 | // Reference: packages/ui-components/src/Stepper/buttons/Next.tsx:8 |
2123 | - __( 'Next', 'event_espresso' ), |
|
2123 | + __('Next', 'event_espresso'), |
|
2124 | 2124 | |
2125 | 2125 | // Reference: packages/ui-components/src/Stepper/buttons/Previous.tsx:8 |
2126 | - __( 'Previous', 'event_espresso' ), |
|
2126 | + __('Previous', 'event_espresso'), |
|
2127 | 2127 | |
2128 | 2128 | // Reference: packages/ui-components/src/Steps/Steps.tsx:31 |
2129 | - __( 'Steps', 'event_espresso' ), |
|
2129 | + __('Steps', 'event_espresso'), |
|
2130 | 2130 | |
2131 | 2131 | // Reference: packages/ui-components/src/TabbableText/index.tsx:21 |
2132 | - __( 'click to edit…', 'event_espresso' ), |
|
2132 | + __('click to edit…', 'event_espresso'), |
|
2133 | 2133 | |
2134 | 2134 | // Reference: packages/ui-components/src/TimezoneTimeInfo/Content.tsx:14 |
2135 | - __( 'The Website\'s Time Zone', 'event_espresso' ), |
|
2135 | + __('The Website\'s Time Zone', 'event_espresso'), |
|
2136 | 2136 | |
2137 | 2137 | // Reference: packages/ui-components/src/TimezoneTimeInfo/Content.tsx:19 |
2138 | - __( 'UTC (Greenwich Mean Time)', 'event_espresso' ), |
|
2138 | + __('UTC (Greenwich Mean Time)', 'event_espresso'), |
|
2139 | 2139 | |
2140 | 2140 | // Reference: packages/ui-components/src/TimezoneTimeInfo/Content.tsx:9 |
2141 | - __( 'Your Local Time Zone', 'event_espresso' ), |
|
2141 | + __('Your Local Time Zone', 'event_espresso'), |
|
2142 | 2142 | |
2143 | 2143 | // Reference: packages/ui-components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:27 |
2144 | - __( 'click for timezone information', 'event_espresso' ), |
|
2144 | + __('click for timezone information', 'event_espresso'), |
|
2145 | 2145 | |
2146 | 2146 | // Reference: packages/ui-components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:32 |
2147 | - __( 'This Date Converted To:', 'event_espresso' ), |
|
2147 | + __('This Date Converted To:', 'event_espresso'), |
|
2148 | 2148 | |
2149 | 2149 | // Reference: packages/ui-components/src/VenueSelector/VenueSelector.tsx:120 |
2150 | - __( 'Add New Venue', 'event_espresso' ), |
|
2150 | + __('Add New Venue', 'event_espresso'), |
|
2151 | 2151 | |
2152 | 2152 | // Reference: packages/ui-components/src/VenueSelector/VenueSelector.tsx:36 |
2153 | - __( '~ no venue ~', 'event_espresso' ), |
|
2153 | + __('~ no venue ~', 'event_espresso'), |
|
2154 | 2154 | |
2155 | 2155 | // Reference: packages/ui-components/src/VenueSelector/VenueSelector.tsx:43 |
2156 | - __( 'assign venue…', 'event_espresso' ), |
|
2156 | + __('assign venue…', 'event_espresso'), |
|
2157 | 2157 | |
2158 | 2158 | // Reference: packages/ui-components/src/VenueSelector/VenueSelector.tsx:44 |
2159 | - __( 'click to select a venue…', 'event_espresso' ), |
|
2159 | + __('click to select a venue…', 'event_espresso'), |
|
2160 | 2160 | |
2161 | 2161 | // Reference: packages/ui-components/src/bulkEdit/BulkActions.tsx:51 |
2162 | - __( 'select all', 'event_espresso' ), |
|
2162 | + __('select all', 'event_espresso'), |
|
2163 | 2163 | |
2164 | 2164 | // Reference: packages/ui-components/src/bulkEdit/BulkActions.tsx:54 |
2165 | - __( 'apply', 'event_espresso' ) |
|
2165 | + __('apply', 'event_espresso') |
|
2166 | 2166 | ); |
2167 | 2167 | /* THIS IS THE END OF THE GENERATED FILE */ |