@@ -39,832 +39,832 @@ |
||
39 | 39 | class DisplayTicketSelector |
40 | 40 | { |
41 | 41 | |
42 | - /** |
|
43 | - * event that ticket selector is being generated for |
|
44 | - * |
|
45 | - * @access protected |
|
46 | - * @var EE_Event $event |
|
47 | - */ |
|
48 | - protected $event; |
|
49 | - |
|
50 | - /** |
|
51 | - * Used to flag when the ticket selector is being called from an external iframe. |
|
52 | - * |
|
53 | - * @var bool $iframe |
|
54 | - */ |
|
55 | - protected $iframe = false; |
|
56 | - |
|
57 | - /** |
|
58 | - * max attendees that can register for event at one time |
|
59 | - * |
|
60 | - * @var int $max_attendees |
|
61 | - */ |
|
62 | - private $max_attendees = EE_INF; |
|
63 | - |
|
64 | - /** |
|
65 | - * @var string $date_format |
|
66 | - */ |
|
67 | - private $date_format; |
|
68 | - |
|
69 | - /** |
|
70 | - * @var string $time_format |
|
71 | - */ |
|
72 | - private $time_format; |
|
73 | - |
|
74 | - /** |
|
75 | - * @var boolean $display_full_ui |
|
76 | - */ |
|
77 | - private $display_full_ui; |
|
78 | - |
|
79 | - /** |
|
80 | - * @var CurrentUser |
|
81 | - */ |
|
82 | - private $current_user; |
|
83 | - |
|
84 | - |
|
85 | - /** |
|
86 | - * DisplayTicketSelector constructor. |
|
87 | - * |
|
88 | - * @param CurrentUser $current_user |
|
89 | - * @param bool $iframe |
|
90 | - */ |
|
91 | - public function __construct(CurrentUser $current_user, bool $iframe = false) |
|
92 | - { |
|
93 | - $this->current_user = $current_user; |
|
94 | - $this->setIframe($iframe); |
|
95 | - $this->date_format = apply_filters( |
|
96 | - 'FHEE__EED_Ticket_Selector__display_ticket_selector__date_format', |
|
97 | - get_option('date_format') |
|
98 | - ); |
|
99 | - $this->time_format = apply_filters( |
|
100 | - 'FHEE__EED_Ticket_Selector__display_ticket_selector__time_format', |
|
101 | - get_option('time_format') |
|
102 | - ); |
|
103 | - } |
|
104 | - |
|
105 | - |
|
106 | - /** |
|
107 | - * @return bool |
|
108 | - */ |
|
109 | - public function isIframe(): bool |
|
110 | - { |
|
111 | - return $this->iframe; |
|
112 | - } |
|
113 | - |
|
114 | - |
|
115 | - /** |
|
116 | - * @param boolean $iframe |
|
117 | - */ |
|
118 | - public function setIframe(bool $iframe = true) |
|
119 | - { |
|
120 | - $this->iframe = filter_var($iframe, FILTER_VALIDATE_BOOLEAN); |
|
121 | - } |
|
122 | - |
|
123 | - |
|
124 | - /** |
|
125 | - * finds and sets the \EE_Event object for use throughout class |
|
126 | - * |
|
127 | - * @param mixed $event |
|
128 | - * @return bool |
|
129 | - * @throws EE_Error |
|
130 | - * @throws InvalidDataTypeException |
|
131 | - * @throws InvalidInterfaceException |
|
132 | - * @throws InvalidArgumentException |
|
133 | - */ |
|
134 | - protected function setEvent($event = null): bool |
|
135 | - { |
|
136 | - if ($event === null) { |
|
137 | - global $post; |
|
138 | - $event = $post; |
|
139 | - } |
|
140 | - if ($event instanceof EE_Event) { |
|
141 | - $this->event = $event; |
|
142 | - } elseif ($event instanceof WP_Post) { |
|
143 | - if (isset($event->EE_Event) && $event->EE_Event instanceof EE_Event) { |
|
144 | - $this->event = $event->EE_Event; |
|
145 | - } elseif ($event->post_type === 'espresso_events') { |
|
146 | - $event->EE_Event = EEM_Event::instance()->instantiate_class_from_post_object($event); |
|
147 | - $this->event = $event->EE_Event; |
|
148 | - } |
|
149 | - } else { |
|
150 | - $user_msg = esc_html__('No Event object or an invalid Event object was supplied.', 'event_espresso'); |
|
151 | - $dev_msg = $user_msg . esc_html__( |
|
152 | - 'In order to generate a ticket selector, please ensure you are passing either an EE_Event object or a WP_Post object of the post type "espresso_event" to the EE_Ticket_Selector class constructor.', |
|
153 | - 'event_espresso' |
|
154 | - ); |
|
155 | - EE_Error::add_error($user_msg . '||' . $dev_msg, __FILE__, __FUNCTION__, __LINE__); |
|
156 | - return false; |
|
157 | - } |
|
158 | - return true; |
|
159 | - } |
|
160 | - |
|
161 | - |
|
162 | - /** |
|
163 | - * @return int |
|
164 | - */ |
|
165 | - public function getMaxAttendees(): int |
|
166 | - { |
|
167 | - return $this->max_attendees; |
|
168 | - } |
|
169 | - |
|
170 | - |
|
171 | - /** |
|
172 | - * @param int $max_attendees |
|
173 | - */ |
|
174 | - public function setMaxAttendees(int $max_attendees) |
|
175 | - { |
|
176 | - $this->max_attendees = absint( |
|
177 | - apply_filters( |
|
178 | - 'FHEE__EE_Ticket_Selector__display_ticket_selector__max_tickets', |
|
179 | - $max_attendees |
|
180 | - ) |
|
181 | - ); |
|
182 | - } |
|
183 | - |
|
184 | - |
|
185 | - /** |
|
186 | - * Returns whether or not the full ticket selector should be shown or not. |
|
187 | - * Currently, it displays on the frontend (including ajax requests) but not the backend |
|
188 | - * |
|
189 | - * @return bool |
|
190 | - */ |
|
191 | - private function display_full_ui(): bool |
|
192 | - { |
|
193 | - if ($this->display_full_ui === null) { |
|
194 | - $this->display_full_ui = ! is_admin() || (defined('DOING_AJAX') && DOING_AJAX); |
|
195 | - } |
|
196 | - return $this->display_full_ui; |
|
197 | - } |
|
198 | - |
|
199 | - |
|
200 | - /** |
|
201 | - * creates buttons for selecting number of attendees for an event |
|
202 | - * |
|
203 | - * @param WP_Post|int $event |
|
204 | - * @param bool $view_details |
|
205 | - * @return string |
|
206 | - * @throws EE_Error |
|
207 | - * @throws InvalidArgumentException |
|
208 | - * @throws InvalidDataTypeException |
|
209 | - * @throws InvalidInterfaceException |
|
210 | - * @throws ReflectionException |
|
211 | - * @throws Exception |
|
212 | - */ |
|
213 | - public function display($event = null, bool $view_details = false) |
|
214 | - { |
|
215 | - // reset filter for displaying submit button |
|
216 | - remove_filter('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', '__return_true'); |
|
217 | - // poke and prod incoming event till it tells us what it is |
|
218 | - if (! $this->setEvent($event)) { |
|
219 | - return $this->handleMissingEvent(); |
|
220 | - } |
|
221 | - // is the event expired ? |
|
222 | - $template_args['event_is_expired'] = ! is_admin() && $this->event->is_expired(); |
|
223 | - if ($template_args['event_is_expired']) { |
|
224 | - return is_single() |
|
225 | - ? $this->expiredEventMessage() |
|
226 | - : $this->expiredEventMessage() . $this->displayViewDetailsButton(); |
|
227 | - } |
|
228 | - // begin gathering template arguments by getting event status |
|
229 | - $template_args = ['event_status' => $this->event->get_active_status()]; |
|
230 | - if ( |
|
231 | - $this->activeEventAndShowTicketSelector( |
|
232 | - $event, |
|
233 | - $template_args['event_status'], |
|
234 | - $view_details |
|
235 | - ) |
|
236 | - ) { |
|
237 | - return ! is_single() ? $this->displayViewDetailsButton() : ''; |
|
238 | - } |
|
239 | - // filter the maximum qty that can appear in the Ticket Selector qty dropdowns |
|
240 | - $this->setMaxAttendees($this->event->additional_limit()); |
|
241 | - if ($this->getMaxAttendees() < 1) { |
|
242 | - return $this->ticketSalesClosedMessage(); |
|
243 | - } |
|
244 | - // get all tickets for this event ordered by the datetime |
|
245 | - $tickets = $this->getTickets(); |
|
246 | - if (count($tickets) < 1) { |
|
247 | - return $this->noTicketAvailableMessage(); |
|
248 | - } |
|
249 | - // redirecting to another site for registration ?? |
|
250 | - $external_url = (string) $this->event->external_url() |
|
251 | - && $this->event->external_url() !== get_the_permalink() |
|
252 | - ? $this->event->external_url() |
|
253 | - : ''; |
|
254 | - // if redirecting to another site for registration, then we don't load the TS |
|
255 | - $ticket_selector = $external_url |
|
256 | - ? $this->externalEventRegistration() |
|
257 | - : $this->loadTicketSelector($tickets, $template_args); |
|
258 | - // now set up the form (but not for the admin) |
|
259 | - $ticket_selector = $this->display_full_ui() |
|
260 | - ? $this->formOpen($this->event->ID(), $external_url) . $ticket_selector |
|
261 | - : $ticket_selector; |
|
262 | - // submit button and form close tag |
|
263 | - $ticket_selector .= $this->display_full_ui() ? $this->displaySubmitButton($external_url) : ''; |
|
264 | - return $ticket_selector; |
|
265 | - } |
|
266 | - |
|
267 | - |
|
268 | - /** |
|
269 | - * displayTicketSelector |
|
270 | - * examines the event properties and determines whether a Ticket Selector should be displayed |
|
271 | - * |
|
272 | - * @param WP_Post|int $event |
|
273 | - * @param string $_event_active_status |
|
274 | - * @param bool $view_details |
|
275 | - * @return bool |
|
276 | - * @throws EE_Error |
|
277 | - * @throws ReflectionException |
|
278 | - */ |
|
279 | - protected function activeEventAndShowTicketSelector($event, string $_event_active_status, bool $view_details): bool |
|
280 | - { |
|
281 | - $event_post = $this->event instanceof EE_Event ? $this->event->ID() : $event; |
|
282 | - return $this->display_full_ui() |
|
283 | - && ( |
|
284 | - ! $this->event->display_ticket_selector() |
|
285 | - || $view_details |
|
286 | - || post_password_required($event_post) |
|
287 | - || ( |
|
288 | - $_event_active_status !== EE_Datetime::active |
|
289 | - && $_event_active_status !== EE_Datetime::upcoming |
|
290 | - && $_event_active_status !== EE_Datetime::sold_out |
|
291 | - && ! ( |
|
292 | - $_event_active_status === EE_Datetime::inactive |
|
293 | - && is_user_logged_in() |
|
294 | - ) |
|
295 | - ) |
|
296 | - ); |
|
297 | - } |
|
298 | - |
|
299 | - |
|
300 | - /** |
|
301 | - * noTicketAvailableMessage |
|
302 | - * notice displayed if event is expired |
|
303 | - * |
|
304 | - * @return string |
|
305 | - */ |
|
306 | - protected function expiredEventMessage(): string |
|
307 | - { |
|
308 | - return '<div class="ee-event-expired-notice"><span class="important-notice">' |
|
309 | - . esc_html__( |
|
310 | - 'We\'re sorry, but all tickets sales have ended because the event is expired.', |
|
311 | - 'event_espresso' |
|
312 | - ) |
|
313 | - . '</span></div><!-- .ee-event-expired-notice -->'; |
|
314 | - } |
|
315 | - |
|
316 | - |
|
317 | - /** |
|
318 | - * noTicketAvailableMessage |
|
319 | - * notice displayed if event has no more tickets available |
|
320 | - * |
|
321 | - * @return string |
|
322 | - * @throws EE_Error |
|
323 | - * @throws ReflectionException |
|
324 | - */ |
|
325 | - protected function noTicketAvailableMessage(): string |
|
326 | - { |
|
327 | - $no_ticket_available_msg = esc_html__('We\'re sorry, but all ticket sales have ended.', 'event_espresso'); |
|
328 | - if (current_user_can('edit_post', $this->event->ID())) { |
|
329 | - $no_ticket_available_msg .= sprintf( |
|
330 | - esc_html__( |
|
331 | - '%1$sNote to Event Admin:%2$sNo tickets were found for this event. This effectively turns off ticket sales. Please ensure that at least one ticket is available for if you want people to be able to register.%3$s(click to edit this event)%4$s', |
|
332 | - 'event_espresso' |
|
333 | - ), |
|
334 | - '<div class="ee-attention" style="text-align: left;"><b>', |
|
335 | - '</b><br />', |
|
336 | - '<span class="edit-link"><a class="post-edit-link" href="' |
|
337 | - . get_edit_post_link($this->event->ID()) |
|
338 | - . '">', |
|
339 | - '</a></span></div><!-- .ee-attention noTicketAvailableMessage -->' |
|
340 | - ); |
|
341 | - } |
|
342 | - return ' |
|
42 | + /** |
|
43 | + * event that ticket selector is being generated for |
|
44 | + * |
|
45 | + * @access protected |
|
46 | + * @var EE_Event $event |
|
47 | + */ |
|
48 | + protected $event; |
|
49 | + |
|
50 | + /** |
|
51 | + * Used to flag when the ticket selector is being called from an external iframe. |
|
52 | + * |
|
53 | + * @var bool $iframe |
|
54 | + */ |
|
55 | + protected $iframe = false; |
|
56 | + |
|
57 | + /** |
|
58 | + * max attendees that can register for event at one time |
|
59 | + * |
|
60 | + * @var int $max_attendees |
|
61 | + */ |
|
62 | + private $max_attendees = EE_INF; |
|
63 | + |
|
64 | + /** |
|
65 | + * @var string $date_format |
|
66 | + */ |
|
67 | + private $date_format; |
|
68 | + |
|
69 | + /** |
|
70 | + * @var string $time_format |
|
71 | + */ |
|
72 | + private $time_format; |
|
73 | + |
|
74 | + /** |
|
75 | + * @var boolean $display_full_ui |
|
76 | + */ |
|
77 | + private $display_full_ui; |
|
78 | + |
|
79 | + /** |
|
80 | + * @var CurrentUser |
|
81 | + */ |
|
82 | + private $current_user; |
|
83 | + |
|
84 | + |
|
85 | + /** |
|
86 | + * DisplayTicketSelector constructor. |
|
87 | + * |
|
88 | + * @param CurrentUser $current_user |
|
89 | + * @param bool $iframe |
|
90 | + */ |
|
91 | + public function __construct(CurrentUser $current_user, bool $iframe = false) |
|
92 | + { |
|
93 | + $this->current_user = $current_user; |
|
94 | + $this->setIframe($iframe); |
|
95 | + $this->date_format = apply_filters( |
|
96 | + 'FHEE__EED_Ticket_Selector__display_ticket_selector__date_format', |
|
97 | + get_option('date_format') |
|
98 | + ); |
|
99 | + $this->time_format = apply_filters( |
|
100 | + 'FHEE__EED_Ticket_Selector__display_ticket_selector__time_format', |
|
101 | + get_option('time_format') |
|
102 | + ); |
|
103 | + } |
|
104 | + |
|
105 | + |
|
106 | + /** |
|
107 | + * @return bool |
|
108 | + */ |
|
109 | + public function isIframe(): bool |
|
110 | + { |
|
111 | + return $this->iframe; |
|
112 | + } |
|
113 | + |
|
114 | + |
|
115 | + /** |
|
116 | + * @param boolean $iframe |
|
117 | + */ |
|
118 | + public function setIframe(bool $iframe = true) |
|
119 | + { |
|
120 | + $this->iframe = filter_var($iframe, FILTER_VALIDATE_BOOLEAN); |
|
121 | + } |
|
122 | + |
|
123 | + |
|
124 | + /** |
|
125 | + * finds and sets the \EE_Event object for use throughout class |
|
126 | + * |
|
127 | + * @param mixed $event |
|
128 | + * @return bool |
|
129 | + * @throws EE_Error |
|
130 | + * @throws InvalidDataTypeException |
|
131 | + * @throws InvalidInterfaceException |
|
132 | + * @throws InvalidArgumentException |
|
133 | + */ |
|
134 | + protected function setEvent($event = null): bool |
|
135 | + { |
|
136 | + if ($event === null) { |
|
137 | + global $post; |
|
138 | + $event = $post; |
|
139 | + } |
|
140 | + if ($event instanceof EE_Event) { |
|
141 | + $this->event = $event; |
|
142 | + } elseif ($event instanceof WP_Post) { |
|
143 | + if (isset($event->EE_Event) && $event->EE_Event instanceof EE_Event) { |
|
144 | + $this->event = $event->EE_Event; |
|
145 | + } elseif ($event->post_type === 'espresso_events') { |
|
146 | + $event->EE_Event = EEM_Event::instance()->instantiate_class_from_post_object($event); |
|
147 | + $this->event = $event->EE_Event; |
|
148 | + } |
|
149 | + } else { |
|
150 | + $user_msg = esc_html__('No Event object or an invalid Event object was supplied.', 'event_espresso'); |
|
151 | + $dev_msg = $user_msg . esc_html__( |
|
152 | + 'In order to generate a ticket selector, please ensure you are passing either an EE_Event object or a WP_Post object of the post type "espresso_event" to the EE_Ticket_Selector class constructor.', |
|
153 | + 'event_espresso' |
|
154 | + ); |
|
155 | + EE_Error::add_error($user_msg . '||' . $dev_msg, __FILE__, __FUNCTION__, __LINE__); |
|
156 | + return false; |
|
157 | + } |
|
158 | + return true; |
|
159 | + } |
|
160 | + |
|
161 | + |
|
162 | + /** |
|
163 | + * @return int |
|
164 | + */ |
|
165 | + public function getMaxAttendees(): int |
|
166 | + { |
|
167 | + return $this->max_attendees; |
|
168 | + } |
|
169 | + |
|
170 | + |
|
171 | + /** |
|
172 | + * @param int $max_attendees |
|
173 | + */ |
|
174 | + public function setMaxAttendees(int $max_attendees) |
|
175 | + { |
|
176 | + $this->max_attendees = absint( |
|
177 | + apply_filters( |
|
178 | + 'FHEE__EE_Ticket_Selector__display_ticket_selector__max_tickets', |
|
179 | + $max_attendees |
|
180 | + ) |
|
181 | + ); |
|
182 | + } |
|
183 | + |
|
184 | + |
|
185 | + /** |
|
186 | + * Returns whether or not the full ticket selector should be shown or not. |
|
187 | + * Currently, it displays on the frontend (including ajax requests) but not the backend |
|
188 | + * |
|
189 | + * @return bool |
|
190 | + */ |
|
191 | + private function display_full_ui(): bool |
|
192 | + { |
|
193 | + if ($this->display_full_ui === null) { |
|
194 | + $this->display_full_ui = ! is_admin() || (defined('DOING_AJAX') && DOING_AJAX); |
|
195 | + } |
|
196 | + return $this->display_full_ui; |
|
197 | + } |
|
198 | + |
|
199 | + |
|
200 | + /** |
|
201 | + * creates buttons for selecting number of attendees for an event |
|
202 | + * |
|
203 | + * @param WP_Post|int $event |
|
204 | + * @param bool $view_details |
|
205 | + * @return string |
|
206 | + * @throws EE_Error |
|
207 | + * @throws InvalidArgumentException |
|
208 | + * @throws InvalidDataTypeException |
|
209 | + * @throws InvalidInterfaceException |
|
210 | + * @throws ReflectionException |
|
211 | + * @throws Exception |
|
212 | + */ |
|
213 | + public function display($event = null, bool $view_details = false) |
|
214 | + { |
|
215 | + // reset filter for displaying submit button |
|
216 | + remove_filter('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', '__return_true'); |
|
217 | + // poke and prod incoming event till it tells us what it is |
|
218 | + if (! $this->setEvent($event)) { |
|
219 | + return $this->handleMissingEvent(); |
|
220 | + } |
|
221 | + // is the event expired ? |
|
222 | + $template_args['event_is_expired'] = ! is_admin() && $this->event->is_expired(); |
|
223 | + if ($template_args['event_is_expired']) { |
|
224 | + return is_single() |
|
225 | + ? $this->expiredEventMessage() |
|
226 | + : $this->expiredEventMessage() . $this->displayViewDetailsButton(); |
|
227 | + } |
|
228 | + // begin gathering template arguments by getting event status |
|
229 | + $template_args = ['event_status' => $this->event->get_active_status()]; |
|
230 | + if ( |
|
231 | + $this->activeEventAndShowTicketSelector( |
|
232 | + $event, |
|
233 | + $template_args['event_status'], |
|
234 | + $view_details |
|
235 | + ) |
|
236 | + ) { |
|
237 | + return ! is_single() ? $this->displayViewDetailsButton() : ''; |
|
238 | + } |
|
239 | + // filter the maximum qty that can appear in the Ticket Selector qty dropdowns |
|
240 | + $this->setMaxAttendees($this->event->additional_limit()); |
|
241 | + if ($this->getMaxAttendees() < 1) { |
|
242 | + return $this->ticketSalesClosedMessage(); |
|
243 | + } |
|
244 | + // get all tickets for this event ordered by the datetime |
|
245 | + $tickets = $this->getTickets(); |
|
246 | + if (count($tickets) < 1) { |
|
247 | + return $this->noTicketAvailableMessage(); |
|
248 | + } |
|
249 | + // redirecting to another site for registration ?? |
|
250 | + $external_url = (string) $this->event->external_url() |
|
251 | + && $this->event->external_url() !== get_the_permalink() |
|
252 | + ? $this->event->external_url() |
|
253 | + : ''; |
|
254 | + // if redirecting to another site for registration, then we don't load the TS |
|
255 | + $ticket_selector = $external_url |
|
256 | + ? $this->externalEventRegistration() |
|
257 | + : $this->loadTicketSelector($tickets, $template_args); |
|
258 | + // now set up the form (but not for the admin) |
|
259 | + $ticket_selector = $this->display_full_ui() |
|
260 | + ? $this->formOpen($this->event->ID(), $external_url) . $ticket_selector |
|
261 | + : $ticket_selector; |
|
262 | + // submit button and form close tag |
|
263 | + $ticket_selector .= $this->display_full_ui() ? $this->displaySubmitButton($external_url) : ''; |
|
264 | + return $ticket_selector; |
|
265 | + } |
|
266 | + |
|
267 | + |
|
268 | + /** |
|
269 | + * displayTicketSelector |
|
270 | + * examines the event properties and determines whether a Ticket Selector should be displayed |
|
271 | + * |
|
272 | + * @param WP_Post|int $event |
|
273 | + * @param string $_event_active_status |
|
274 | + * @param bool $view_details |
|
275 | + * @return bool |
|
276 | + * @throws EE_Error |
|
277 | + * @throws ReflectionException |
|
278 | + */ |
|
279 | + protected function activeEventAndShowTicketSelector($event, string $_event_active_status, bool $view_details): bool |
|
280 | + { |
|
281 | + $event_post = $this->event instanceof EE_Event ? $this->event->ID() : $event; |
|
282 | + return $this->display_full_ui() |
|
283 | + && ( |
|
284 | + ! $this->event->display_ticket_selector() |
|
285 | + || $view_details |
|
286 | + || post_password_required($event_post) |
|
287 | + || ( |
|
288 | + $_event_active_status !== EE_Datetime::active |
|
289 | + && $_event_active_status !== EE_Datetime::upcoming |
|
290 | + && $_event_active_status !== EE_Datetime::sold_out |
|
291 | + && ! ( |
|
292 | + $_event_active_status === EE_Datetime::inactive |
|
293 | + && is_user_logged_in() |
|
294 | + ) |
|
295 | + ) |
|
296 | + ); |
|
297 | + } |
|
298 | + |
|
299 | + |
|
300 | + /** |
|
301 | + * noTicketAvailableMessage |
|
302 | + * notice displayed if event is expired |
|
303 | + * |
|
304 | + * @return string |
|
305 | + */ |
|
306 | + protected function expiredEventMessage(): string |
|
307 | + { |
|
308 | + return '<div class="ee-event-expired-notice"><span class="important-notice">' |
|
309 | + . esc_html__( |
|
310 | + 'We\'re sorry, but all tickets sales have ended because the event is expired.', |
|
311 | + 'event_espresso' |
|
312 | + ) |
|
313 | + . '</span></div><!-- .ee-event-expired-notice -->'; |
|
314 | + } |
|
315 | + |
|
316 | + |
|
317 | + /** |
|
318 | + * noTicketAvailableMessage |
|
319 | + * notice displayed if event has no more tickets available |
|
320 | + * |
|
321 | + * @return string |
|
322 | + * @throws EE_Error |
|
323 | + * @throws ReflectionException |
|
324 | + */ |
|
325 | + protected function noTicketAvailableMessage(): string |
|
326 | + { |
|
327 | + $no_ticket_available_msg = esc_html__('We\'re sorry, but all ticket sales have ended.', 'event_espresso'); |
|
328 | + if (current_user_can('edit_post', $this->event->ID())) { |
|
329 | + $no_ticket_available_msg .= sprintf( |
|
330 | + esc_html__( |
|
331 | + '%1$sNote to Event Admin:%2$sNo tickets were found for this event. This effectively turns off ticket sales. Please ensure that at least one ticket is available for if you want people to be able to register.%3$s(click to edit this event)%4$s', |
|
332 | + 'event_espresso' |
|
333 | + ), |
|
334 | + '<div class="ee-attention" style="text-align: left;"><b>', |
|
335 | + '</b><br />', |
|
336 | + '<span class="edit-link"><a class="post-edit-link" href="' |
|
337 | + . get_edit_post_link($this->event->ID()) |
|
338 | + . '">', |
|
339 | + '</a></span></div><!-- .ee-attention noTicketAvailableMessage -->' |
|
340 | + ); |
|
341 | + } |
|
342 | + return ' |
|
343 | 343 | <div class="ee-event-expired-notice"> |
344 | 344 | <span class="important-notice">' . $no_ticket_available_msg . '</span> |
345 | 345 | </div><!-- .ee-event-expired-notice -->'; |
346 | - } |
|
347 | - |
|
348 | - |
|
349 | - /** |
|
350 | - * ticketSalesClosed |
|
351 | - * notice displayed if event ticket sales are turned off |
|
352 | - * |
|
353 | - * @return string |
|
354 | - * @throws EE_Error |
|
355 | - * @throws ReflectionException |
|
356 | - */ |
|
357 | - protected function ticketSalesClosedMessage(): string |
|
358 | - { |
|
359 | - $sales_closed_msg = esc_html__( |
|
360 | - 'We\'re sorry, but ticket sales have been closed at this time. Please check back again later.', |
|
361 | - 'event_espresso' |
|
362 | - ); |
|
363 | - if (current_user_can('edit_post', $this->event->ID())) { |
|
364 | - $sales_closed_msg .= sprintf( |
|
365 | - esc_html__( |
|
366 | - '%sNote to Event Admin:%sThe "Maximum number of tickets allowed per order for this event" in the Event Registration Options has been set to "0". This effectively turns off ticket sales. %s(click to edit this event)%s', |
|
367 | - 'event_espresso' |
|
368 | - ), |
|
369 | - '<div class="ee-attention" style="text-align: left;"><b>', |
|
370 | - '</b><br />', |
|
371 | - '<span class="edit-link"><a class="post-edit-link" href="' |
|
372 | - . get_edit_post_link($this->event->ID()) |
|
373 | - . '">', |
|
374 | - '</a></span></div><!-- .ee-attention ticketSalesClosedMessage -->' |
|
375 | - ); |
|
376 | - } |
|
377 | - return '<p><span class="important-notice">' . $sales_closed_msg . '</span></p>'; |
|
378 | - } |
|
379 | - |
|
380 | - |
|
381 | - /** |
|
382 | - * getTickets |
|
383 | - * |
|
384 | - * @return EE_Base_Class[]|EE_Ticket[] |
|
385 | - * @throws EE_Error |
|
386 | - * @throws InvalidDataTypeException |
|
387 | - * @throws InvalidInterfaceException |
|
388 | - * @throws InvalidArgumentException |
|
389 | - * @throws ReflectionException |
|
390 | - */ |
|
391 | - protected function getTickets() |
|
392 | - { |
|
393 | - $ticket_selector_config = EE_Registry::instance()->CFG->template_settings->EED_Ticket_Selector; |
|
394 | - $show_expired_tickets = is_admin() |
|
395 | - || ( |
|
396 | - $ticket_selector_config instanceof EE_Ticket_Selector_Config |
|
397 | - && $ticket_selector_config->show_expired_tickets |
|
398 | - ); |
|
399 | - |
|
400 | - $ticket_query_args = [ |
|
401 | - [ |
|
402 | - 'Datetime.EVT_ID' => $this->event->ID(), |
|
403 | - 'TKT_visibility' => ['>', EEM_Ticket::TICKET_VISIBILITY_NONE_VALUE], |
|
404 | - ], |
|
405 | - 'order_by' => [ |
|
406 | - 'TKT_order' => 'ASC', |
|
407 | - 'TKT_required' => 'DESC', |
|
408 | - 'TKT_start_date' => 'ASC', |
|
409 | - 'TKT_end_date' => 'ASC', |
|
410 | - 'Datetime.DTT_EVT_start' => 'DESC', |
|
411 | - ], |
|
412 | - ]; |
|
413 | - if (! $show_expired_tickets) { |
|
414 | - // use the correct applicable time query depending on what version of core is being run. |
|
415 | - $current_time = method_exists('EEM_Datetime', 'current_time_for_query') |
|
416 | - ? time() |
|
417 | - : current_time('timestamp'); |
|
418 | - $ticket_query_args[0]['TKT_end_date'] = ['>', $current_time]; |
|
419 | - } |
|
420 | - /** @var EE_Ticket[] $tickets */ |
|
421 | - $tickets = EEM_Ticket::instance()->get_all($ticket_query_args); |
|
422 | - // remove tickets based on their visibility and the current user's allowed access (crudely based on roles) |
|
423 | - // and filter the returned results |
|
424 | - return (array) apply_filters( |
|
425 | - 'FHEE__EventEspresso_modules_ticketSelector_DisplayTicketSelector__getTickets', |
|
426 | - array_filter($tickets, [$this, 'ticketVisibilityFilter']) |
|
427 | - ); |
|
428 | - } |
|
429 | - |
|
430 | - |
|
431 | - /** |
|
432 | - * returns true if any of the following is true: |
|
433 | - * - ticket visibility is PUBLIC |
|
434 | - * - ticket visibility is MEMBERS_ONLY and user is logged in |
|
435 | - * - ticket visibility is ADMINS_ONLY when user IS logged in as an admin |
|
436 | - * - ticket visibility is ADMIN_UI_ONLY when ticket selector is being viewed via an admin page UI |
|
437 | - * |
|
438 | - * @param EE_Ticket $ticket |
|
439 | - * @return bool |
|
440 | - * @throws EE_Error |
|
441 | - * @throws ReflectionException |
|
442 | - * @since $VID:$ |
|
443 | - */ |
|
444 | - public function ticketVisibilityFilter(EE_Ticket $ticket): bool |
|
445 | - { |
|
446 | - return $ticket->isPublicOnly() |
|
447 | - || ($ticket->isMembersOnly() && $this->current_user->isLoggedIn()) |
|
448 | - || ($ticket->isAdminsOnly() && $this->current_user->isEventManager()) |
|
449 | - || ($ticket->isAdminUiOnly() && is_admin()); |
|
450 | - } |
|
451 | - |
|
452 | - |
|
453 | - /** |
|
454 | - * loadTicketSelector |
|
455 | - * begins to assemble template arguments |
|
456 | - * and decides whether to load a "simple" ticket selector, or the standard |
|
457 | - * |
|
458 | - * @param EE_Ticket[] $tickets |
|
459 | - * @param array $template_args |
|
460 | - * @return TicketSelector |
|
461 | - * @throws EE_Error |
|
462 | - * @throws ReflectionException |
|
463 | - */ |
|
464 | - protected function loadTicketSelector(array $tickets, array $template_args) |
|
465 | - { |
|
466 | - $template_args['event'] = $this->event; |
|
467 | - $template_args['EVT_ID'] = $this->event->ID(); |
|
468 | - $template_args['event_is_expired'] = $this->event->is_expired(); |
|
469 | - $template_args['max_atndz'] = $this->getMaxAttendees(); |
|
470 | - $template_args['date_format'] = $this->date_format; |
|
471 | - $template_args['time_format'] = $this->time_format; |
|
472 | - /** |
|
473 | - * Filters the anchor ID used when redirecting to the Ticket Selector if no quantity selected |
|
474 | - * |
|
475 | - * @param string '#tkt-slctr-tbl-' . $EVT_ID The html ID to anchor to |
|
476 | - * @param int $EVT_ID The Event ID |
|
477 | - * @since 4.9.13 |
|
478 | - */ |
|
479 | - $template_args['anchor_id'] = apply_filters( |
|
480 | - 'FHEE__EE_Ticket_Selector__redirect_anchor_id', |
|
481 | - '#tkt-slctr-tbl-' . $this->event->ID(), |
|
482 | - $this->event->ID() |
|
483 | - ); |
|
484 | - $template_args['tickets'] = $tickets; |
|
485 | - $template_args['ticket_count'] = count($tickets); |
|
486 | - $ticket_selector = $this->simpleTicketSelector($tickets, $template_args); |
|
487 | - return $ticket_selector instanceof TicketSelectorSimple |
|
488 | - ? $ticket_selector |
|
489 | - : new TicketSelectorStandard( |
|
490 | - $this->event, |
|
491 | - $tickets, |
|
492 | - $this->getMaxAttendees(), |
|
493 | - $template_args, |
|
494 | - $this->date_format, |
|
495 | - $this->time_format |
|
496 | - ); |
|
497 | - } |
|
498 | - |
|
499 | - |
|
500 | - /** |
|
501 | - * simpleTicketSelector |
|
502 | - * there's one ticket, and max attendees is set to one, |
|
503 | - * so if the event is free, then this is a "simple" ticket selector |
|
504 | - * a.k.a. "Dude Where's my Ticket Selector?" |
|
505 | - * |
|
506 | - * @param EE_Ticket[] $tickets |
|
507 | - * @param array $template_args |
|
508 | - * @return string |
|
509 | - * @throws EE_Error |
|
510 | - * @throws ReflectionException |
|
511 | - */ |
|
512 | - protected function simpleTicketSelector(array $tickets, array $template_args) |
|
513 | - { |
|
514 | - // if there is only ONE ticket with a max qty of ONE |
|
515 | - if (count($tickets) > 1 || $this->getMaxAttendees() !== 1) { |
|
516 | - return ''; |
|
517 | - } |
|
518 | - /** @var EE_Ticket $ticket */ |
|
519 | - $ticket = reset($tickets); |
|
520 | - // if the ticket is free... then not much need for the ticket selector |
|
521 | - if ( |
|
522 | - apply_filters( |
|
523 | - 'FHEE__ticket_selector_chart_template__hide_ticket_selector', |
|
524 | - $ticket->is_free(), |
|
525 | - $this->event->ID() |
|
526 | - ) |
|
527 | - ) { |
|
528 | - return new TicketSelectorSimple( |
|
529 | - $this->event, |
|
530 | - $ticket, |
|
531 | - $this->getMaxAttendees(), |
|
532 | - $template_args |
|
533 | - ); |
|
534 | - } |
|
535 | - return ''; |
|
536 | - } |
|
537 | - |
|
538 | - |
|
539 | - /** |
|
540 | - * externalEventRegistration |
|
541 | - * |
|
542 | - * @return string |
|
543 | - */ |
|
544 | - public function externalEventRegistration(): string |
|
545 | - { |
|
546 | - // if not we still need to trigger the display of the submit button |
|
547 | - add_filter('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', '__return_true'); |
|
548 | - // display notice to admin that registration is external |
|
549 | - return $this->display_full_ui() |
|
550 | - ? esc_html__( |
|
551 | - 'Registration is at an external URL for this event.', |
|
552 | - 'event_espresso' |
|
553 | - ) |
|
554 | - : ''; |
|
555 | - } |
|
556 | - |
|
557 | - |
|
558 | - /** |
|
559 | - * formOpen |
|
560 | - * |
|
561 | - * @param int $ID |
|
562 | - * @param string $external_url |
|
563 | - * @return string |
|
564 | - */ |
|
565 | - public function formOpen(int $ID = 0, string $external_url = ''): string |
|
566 | - { |
|
567 | - // if redirecting, we don't need any anything else |
|
568 | - if ($external_url) { |
|
569 | - $html = '<form method="GET" '; |
|
570 | - $html .= 'action="' . EEH_URL::refactor_url($external_url) . '" '; |
|
571 | - $html .= 'name="ticket-selector-form-' . $ID . '"'; |
|
572 | - // open link in new window ? |
|
573 | - $html .= apply_filters( |
|
574 | - 'FHEE__EventEspresso_modules_ticket_selector_DisplayTicketSelector__formOpen__external_url_target_blank', |
|
575 | - $this->isIframe(), |
|
576 | - $this |
|
577 | - ) |
|
578 | - ? ' target="_blank"' |
|
579 | - : ''; |
|
580 | - $html .= '>'; |
|
581 | - $query_args = EEH_URL::get_query_string($external_url); |
|
582 | - foreach ((array) $query_args as $query_arg => $value) { |
|
583 | - $html .= '<input type="hidden" name="' . $query_arg . '" value="' . $value . '">'; |
|
584 | - } |
|
585 | - return $html; |
|
586 | - } |
|
587 | - // if there is no submit button, then don't start building a form |
|
588 | - // because the "View Details" button will build its own form |
|
589 | - if (! apply_filters('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', false)) { |
|
590 | - return ''; |
|
591 | - } |
|
592 | - $checkout_url = EEH_Event_View::event_link_url($ID); |
|
593 | - if (! $checkout_url) { |
|
594 | - EE_Error::add_error( |
|
595 | - esc_html__('The URL for the Event Details page could not be retrieved.', 'event_espresso'), |
|
596 | - __FILE__, |
|
597 | - __FUNCTION__, |
|
598 | - __LINE__ |
|
599 | - ); |
|
600 | - } |
|
601 | - // set no cache headers and constants |
|
602 | - EE_System::do_not_cache(); |
|
603 | - $html = '<form method="POST" '; |
|
604 | - $html .= 'action="' . $checkout_url . '" '; |
|
605 | - $html .= 'name="ticket-selector-form-' . $ID . '"'; |
|
606 | - $html .= $this->iframe ? ' target="_blank"' : ''; |
|
607 | - $html .= '>'; |
|
608 | - $html .= '<input type="hidden" name="ee" value="process_ticket_selections">'; |
|
609 | - return apply_filters('FHEE__EE_Ticket_Selector__ticket_selector_form_open__html', $html, $this->event); |
|
610 | - } |
|
611 | - |
|
612 | - |
|
613 | - /** |
|
614 | - * displaySubmitButton |
|
615 | - * |
|
616 | - * @param string $external_url |
|
617 | - * @return string |
|
618 | - * @throws EE_Error |
|
619 | - * @throws ReflectionException |
|
620 | - */ |
|
621 | - public function displaySubmitButton(string $external_url = ''): string |
|
622 | - { |
|
623 | - $html = ''; |
|
624 | - if ($this->display_full_ui()) { |
|
625 | - // standard TS displayed with submit button, ie: "Register Now" |
|
626 | - if (apply_filters('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', false)) { |
|
627 | - $html .= $this->displayRegisterNowButton(); |
|
628 | - $html .= empty($external_url) |
|
629 | - ? $this->ticketSelectorEndDiv() |
|
630 | - : $this->clearTicketSelector(); |
|
631 | - $html .= '<br/>' . $this->formClose(); |
|
632 | - } elseif ($this->getMaxAttendees() === 1) { |
|
633 | - // its a "Dude Where's my Ticket Selector?" (DWMTS) type event (ie: $_max_atndz === 1) |
|
634 | - if ($this->event->is_sold_out()) { |
|
635 | - // then instead of a View Details or Submit button, just display a "Sold Out" message |
|
636 | - $html .= apply_filters( |
|
637 | - 'FHEE__EE_Ticket_Selector__display_ticket_selector_submit__sold_out_msg', |
|
638 | - sprintf( |
|
639 | - esc_html__( |
|
640 | - '%1$s"%2$s" is currently sold out.%4$sPlease check back again later, as spots may become available.%3$s', |
|
641 | - 'event_espresso' |
|
642 | - ), |
|
643 | - '<p class="no-ticket-selector-msg clear-float">', |
|
644 | - $this->event->name(), |
|
645 | - '</p>', |
|
646 | - '<br />' |
|
647 | - ), |
|
648 | - $this->event |
|
649 | - ); |
|
650 | - if ( |
|
651 | - apply_filters( |
|
652 | - 'FHEE__EE_Ticket_Selector__display_ticket_selector_submit__no_tickets_but_display_register_now_button', |
|
653 | - false, |
|
654 | - $this->event |
|
655 | - ) |
|
656 | - ) { |
|
657 | - $html .= $this->displayRegisterNowButton(); |
|
658 | - } |
|
659 | - // sold out DWMTS event, no TS, no submit or view details button, but has additional content |
|
660 | - $html .= $this->ticketSelectorEndDiv(); |
|
661 | - } elseif ( |
|
662 | - apply_filters('FHEE__EE_Ticket_Selector__hide_ticket_selector', false) |
|
663 | - && ! is_single() |
|
664 | - ) { |
|
665 | - // this is a "Dude Where's my Ticket Selector?" (DWMTS) type event, |
|
666 | - // but no tickets are available, so display event's "View Details" button. |
|
667 | - // it is being viewed via somewhere other than a single post |
|
668 | - $html .= $this->displayViewDetailsButton(true); |
|
669 | - } else { |
|
670 | - $html .= $this->ticketSelectorEndDiv(); |
|
671 | - } |
|
672 | - } elseif (is_archive()) { |
|
673 | - // event list, no tickets available so display event's "View Details" button |
|
674 | - $html .= $this->ticketSelectorEndDiv(); |
|
675 | - $html .= $this->displayViewDetailsButton(); |
|
676 | - } else { |
|
677 | - if ( |
|
678 | - apply_filters( |
|
679 | - 'FHEE__EE_Ticket_Selector__display_ticket_selector_submit__no_tickets_but_display_register_now_button', |
|
680 | - false, |
|
681 | - $this->event |
|
682 | - ) |
|
683 | - ) { |
|
684 | - $html .= $this->displayRegisterNowButton(); |
|
685 | - } |
|
686 | - // no submit or view details button, and no additional content |
|
687 | - $html .= $this->ticketSelectorEndDiv(); |
|
688 | - } |
|
689 | - if (! $this->iframe && ! is_archive()) { |
|
690 | - $html .= EEH_Template::powered_by_event_espresso('', '', ['utm_content' => 'ticket_selector']); |
|
691 | - } |
|
692 | - } |
|
693 | - return apply_filters( |
|
694 | - 'FHEE__EventEspresso_modules_ticket_selector_DisplayTicketSelector__displaySubmitButton__html', |
|
695 | - $html, |
|
696 | - $this->event, |
|
697 | - $this |
|
698 | - ); |
|
699 | - } |
|
700 | - |
|
701 | - |
|
702 | - /** |
|
703 | - * @return string |
|
704 | - * @throws EE_Error |
|
705 | - * @throws ReflectionException |
|
706 | - */ |
|
707 | - public function displayRegisterNowButton(): string |
|
708 | - { |
|
709 | - $btn_text = apply_filters( |
|
710 | - 'FHEE__EE_Ticket_Selector__display_ticket_selector_submit__btn_text', |
|
711 | - esc_html__('Register Now', 'event_espresso'), |
|
712 | - $this->event |
|
713 | - ); |
|
714 | - $external_url = (string) $this->event->external_url() |
|
715 | - && $this->event->external_url() !== get_the_permalink() |
|
716 | - ? $this->event->external_url() |
|
717 | - : ''; |
|
718 | - $html = EEH_HTML::div( |
|
719 | - '', |
|
720 | - 'ticket-selector-submit-' . $this->event->ID() . '-btn-wrap', |
|
721 | - 'ticket-selector-submit-btn-wrap' |
|
722 | - ); |
|
723 | - $html .= '<input id="ticket-selector-submit-' . $this->event->ID() . '-btn"'; |
|
724 | - $html .= ' class="ticket-selector-submit-btn '; |
|
725 | - $html .= empty($external_url) ? 'ticket-selector-submit-ajax"' : '"'; |
|
726 | - $html .= ' type="submit" value="' . $btn_text . '" data-ee-disable-after-recaptcha="true" />'; |
|
727 | - $html .= EEH_HTML::divx() . '<!-- .ticket-selector-submit-btn-wrap -->'; |
|
728 | - $html .= apply_filters( |
|
729 | - 'FHEE__EE_Ticket_Selector__after_ticket_selector_submit', |
|
730 | - '', |
|
731 | - $this->event, |
|
732 | - $this->iframe |
|
733 | - ); |
|
734 | - return $html; |
|
735 | - } |
|
736 | - |
|
737 | - |
|
738 | - /** |
|
739 | - * displayViewDetailsButton |
|
740 | - * |
|
741 | - * @param bool $DWMTS indicates a "Dude Where's my Ticket Selector?" (DWMTS) type event |
|
742 | - * (ie: $_max_atndz === 1) where there are no available tickets, |
|
743 | - * either because they are sold out, expired, or not yet on sale. |
|
744 | - * In this case, we need to close the form BEFORE adding any closing divs |
|
745 | - * @return string |
|
746 | - * @throws EE_Error |
|
747 | - * @throws ReflectionException |
|
748 | - */ |
|
749 | - public function displayViewDetailsButton(bool $DWMTS = false): string |
|
750 | - { |
|
751 | - if (! $this->event->get_permalink()) { |
|
752 | - EE_Error::add_error( |
|
753 | - esc_html__('The URL for the Event Details page could not be retrieved.', 'event_espresso'), |
|
754 | - __FILE__, |
|
755 | - __FUNCTION__, |
|
756 | - __LINE__ |
|
757 | - ); |
|
758 | - } |
|
759 | - $view_details_btn = '<form method="GET" action="'; |
|
760 | - $view_details_btn .= apply_filters( |
|
761 | - 'FHEE__EE_Ticket_Selector__display_view_details_btn__btn_url', |
|
762 | - $this->event->get_permalink(), |
|
763 | - $this->event |
|
764 | - ); |
|
765 | - $view_details_btn .= '"'; |
|
766 | - // open link in new window ? |
|
767 | - $view_details_btn .= apply_filters( |
|
768 | - 'FHEE__EventEspresso_modules_ticket_selector_DisplayTicketSelector__displayViewDetailsButton__url_target_blank', |
|
769 | - $this->isIframe(), |
|
770 | - $this |
|
771 | - ) |
|
772 | - ? ' target="_blank"' |
|
773 | - : ''; |
|
774 | - $view_details_btn .= '>'; |
|
775 | - $btn_text = apply_filters( |
|
776 | - 'FHEE__EE_Ticket_Selector__display_view_details_btn__btn_text', |
|
777 | - esc_html__('View Details', 'event_espresso'), |
|
778 | - $this->event |
|
779 | - ); |
|
780 | - $view_details_btn .= '<input id="ticket-selector-submit-' |
|
781 | - . $this->event->ID() |
|
782 | - . '-btn" class="ticket-selector-submit-btn view-details-btn" type="submit" value="' |
|
783 | - . $btn_text |
|
784 | - . '" />'; |
|
785 | - $view_details_btn .= apply_filters('FHEE__EE_Ticket_Selector__after_view_details_btn', '', $this->event); |
|
786 | - if ($DWMTS) { |
|
787 | - $view_details_btn .= $this->formClose(); |
|
788 | - $view_details_btn .= $this->ticketSelectorEndDiv(); |
|
789 | - $view_details_btn .= '<br/>'; |
|
790 | - } else { |
|
791 | - $view_details_btn .= $this->clearTicketSelector(); |
|
792 | - $view_details_btn .= '<br/>'; |
|
793 | - $view_details_btn .= $this->formClose(); |
|
794 | - } |
|
795 | - return $view_details_btn; |
|
796 | - } |
|
797 | - |
|
798 | - |
|
799 | - /** |
|
800 | - * @return string |
|
801 | - */ |
|
802 | - public function ticketSelectorEndDiv(): string |
|
803 | - { |
|
804 | - return $this->clearTicketSelector() . '</div><!-- ticketSelectorEndDiv -->'; |
|
805 | - } |
|
806 | - |
|
807 | - |
|
808 | - /** |
|
809 | - * @return string |
|
810 | - */ |
|
811 | - public function clearTicketSelector(): string |
|
812 | - { |
|
813 | - // standard TS displayed, appears after a "Register Now" or "view Details" button |
|
814 | - return '<div class="clear"></div><!-- clearTicketSelector -->'; |
|
815 | - } |
|
816 | - |
|
817 | - |
|
818 | - /** |
|
819 | - * @access public |
|
820 | - * @return string |
|
821 | - */ |
|
822 | - public function formClose(): string |
|
823 | - { |
|
824 | - return '</form>'; |
|
825 | - } |
|
826 | - |
|
827 | - |
|
828 | - /** |
|
829 | - * handleMissingEvent |
|
830 | - * Returns either false or an error to display when no valid event is passed. |
|
831 | - * |
|
832 | - * @return false|string |
|
833 | - * @throws ExceptionStackTraceDisplay |
|
834 | - * @throws InvalidInterfaceException |
|
835 | - * @throws Exception |
|
836 | - */ |
|
837 | - protected function handleMissingEvent() |
|
838 | - { |
|
839 | - // If this is not an iFrame request, simply return false. |
|
840 | - if (! $this->isIframe()) { |
|
841 | - return false; |
|
842 | - } |
|
843 | - // This is an iFrame so return an error. |
|
844 | - // Display stack trace if WP_DEBUG is enabled. |
|
845 | - if (WP_DEBUG === true && current_user_can('edit_pages')) { |
|
846 | - $event_id = EE_Registry::instance()->REQ->get('event', 0); |
|
847 | - new ExceptionStackTraceDisplay( |
|
848 | - new InvalidArgumentException( |
|
849 | - sprintf( |
|
850 | - esc_html__( |
|
851 | - 'A valid Event ID is required to display the ticket selector.%3$sAn Event with an ID of "%1$s" could not be found.%3$sPlease verify that the embed code added to this post\'s content includes an "%2$s" argument and that its value corresponds to a valid Event ID.', |
|
852 | - 'event_espresso' |
|
853 | - ), |
|
854 | - $event_id, |
|
855 | - 'event', |
|
856 | - '<br />' |
|
857 | - ) |
|
858 | - ) |
|
859 | - ); |
|
860 | - return ''; |
|
861 | - } |
|
862 | - // If WP_DEBUG is not enabled, display a message stating the event could not be found. |
|
863 | - return EEH_HTML::p( |
|
864 | - esc_html__( |
|
865 | - 'A valid Event could not be found. Please contact the event administrator for assistance.', |
|
866 | - 'event_espresso' |
|
867 | - ) |
|
868 | - ); |
|
869 | - } |
|
346 | + } |
|
347 | + |
|
348 | + |
|
349 | + /** |
|
350 | + * ticketSalesClosed |
|
351 | + * notice displayed if event ticket sales are turned off |
|
352 | + * |
|
353 | + * @return string |
|
354 | + * @throws EE_Error |
|
355 | + * @throws ReflectionException |
|
356 | + */ |
|
357 | + protected function ticketSalesClosedMessage(): string |
|
358 | + { |
|
359 | + $sales_closed_msg = esc_html__( |
|
360 | + 'We\'re sorry, but ticket sales have been closed at this time. Please check back again later.', |
|
361 | + 'event_espresso' |
|
362 | + ); |
|
363 | + if (current_user_can('edit_post', $this->event->ID())) { |
|
364 | + $sales_closed_msg .= sprintf( |
|
365 | + esc_html__( |
|
366 | + '%sNote to Event Admin:%sThe "Maximum number of tickets allowed per order for this event" in the Event Registration Options has been set to "0". This effectively turns off ticket sales. %s(click to edit this event)%s', |
|
367 | + 'event_espresso' |
|
368 | + ), |
|
369 | + '<div class="ee-attention" style="text-align: left;"><b>', |
|
370 | + '</b><br />', |
|
371 | + '<span class="edit-link"><a class="post-edit-link" href="' |
|
372 | + . get_edit_post_link($this->event->ID()) |
|
373 | + . '">', |
|
374 | + '</a></span></div><!-- .ee-attention ticketSalesClosedMessage -->' |
|
375 | + ); |
|
376 | + } |
|
377 | + return '<p><span class="important-notice">' . $sales_closed_msg . '</span></p>'; |
|
378 | + } |
|
379 | + |
|
380 | + |
|
381 | + /** |
|
382 | + * getTickets |
|
383 | + * |
|
384 | + * @return EE_Base_Class[]|EE_Ticket[] |
|
385 | + * @throws EE_Error |
|
386 | + * @throws InvalidDataTypeException |
|
387 | + * @throws InvalidInterfaceException |
|
388 | + * @throws InvalidArgumentException |
|
389 | + * @throws ReflectionException |
|
390 | + */ |
|
391 | + protected function getTickets() |
|
392 | + { |
|
393 | + $ticket_selector_config = EE_Registry::instance()->CFG->template_settings->EED_Ticket_Selector; |
|
394 | + $show_expired_tickets = is_admin() |
|
395 | + || ( |
|
396 | + $ticket_selector_config instanceof EE_Ticket_Selector_Config |
|
397 | + && $ticket_selector_config->show_expired_tickets |
|
398 | + ); |
|
399 | + |
|
400 | + $ticket_query_args = [ |
|
401 | + [ |
|
402 | + 'Datetime.EVT_ID' => $this->event->ID(), |
|
403 | + 'TKT_visibility' => ['>', EEM_Ticket::TICKET_VISIBILITY_NONE_VALUE], |
|
404 | + ], |
|
405 | + 'order_by' => [ |
|
406 | + 'TKT_order' => 'ASC', |
|
407 | + 'TKT_required' => 'DESC', |
|
408 | + 'TKT_start_date' => 'ASC', |
|
409 | + 'TKT_end_date' => 'ASC', |
|
410 | + 'Datetime.DTT_EVT_start' => 'DESC', |
|
411 | + ], |
|
412 | + ]; |
|
413 | + if (! $show_expired_tickets) { |
|
414 | + // use the correct applicable time query depending on what version of core is being run. |
|
415 | + $current_time = method_exists('EEM_Datetime', 'current_time_for_query') |
|
416 | + ? time() |
|
417 | + : current_time('timestamp'); |
|
418 | + $ticket_query_args[0]['TKT_end_date'] = ['>', $current_time]; |
|
419 | + } |
|
420 | + /** @var EE_Ticket[] $tickets */ |
|
421 | + $tickets = EEM_Ticket::instance()->get_all($ticket_query_args); |
|
422 | + // remove tickets based on their visibility and the current user's allowed access (crudely based on roles) |
|
423 | + // and filter the returned results |
|
424 | + return (array) apply_filters( |
|
425 | + 'FHEE__EventEspresso_modules_ticketSelector_DisplayTicketSelector__getTickets', |
|
426 | + array_filter($tickets, [$this, 'ticketVisibilityFilter']) |
|
427 | + ); |
|
428 | + } |
|
429 | + |
|
430 | + |
|
431 | + /** |
|
432 | + * returns true if any of the following is true: |
|
433 | + * - ticket visibility is PUBLIC |
|
434 | + * - ticket visibility is MEMBERS_ONLY and user is logged in |
|
435 | + * - ticket visibility is ADMINS_ONLY when user IS logged in as an admin |
|
436 | + * - ticket visibility is ADMIN_UI_ONLY when ticket selector is being viewed via an admin page UI |
|
437 | + * |
|
438 | + * @param EE_Ticket $ticket |
|
439 | + * @return bool |
|
440 | + * @throws EE_Error |
|
441 | + * @throws ReflectionException |
|
442 | + * @since $VID:$ |
|
443 | + */ |
|
444 | + public function ticketVisibilityFilter(EE_Ticket $ticket): bool |
|
445 | + { |
|
446 | + return $ticket->isPublicOnly() |
|
447 | + || ($ticket->isMembersOnly() && $this->current_user->isLoggedIn()) |
|
448 | + || ($ticket->isAdminsOnly() && $this->current_user->isEventManager()) |
|
449 | + || ($ticket->isAdminUiOnly() && is_admin()); |
|
450 | + } |
|
451 | + |
|
452 | + |
|
453 | + /** |
|
454 | + * loadTicketSelector |
|
455 | + * begins to assemble template arguments |
|
456 | + * and decides whether to load a "simple" ticket selector, or the standard |
|
457 | + * |
|
458 | + * @param EE_Ticket[] $tickets |
|
459 | + * @param array $template_args |
|
460 | + * @return TicketSelector |
|
461 | + * @throws EE_Error |
|
462 | + * @throws ReflectionException |
|
463 | + */ |
|
464 | + protected function loadTicketSelector(array $tickets, array $template_args) |
|
465 | + { |
|
466 | + $template_args['event'] = $this->event; |
|
467 | + $template_args['EVT_ID'] = $this->event->ID(); |
|
468 | + $template_args['event_is_expired'] = $this->event->is_expired(); |
|
469 | + $template_args['max_atndz'] = $this->getMaxAttendees(); |
|
470 | + $template_args['date_format'] = $this->date_format; |
|
471 | + $template_args['time_format'] = $this->time_format; |
|
472 | + /** |
|
473 | + * Filters the anchor ID used when redirecting to the Ticket Selector if no quantity selected |
|
474 | + * |
|
475 | + * @param string '#tkt-slctr-tbl-' . $EVT_ID The html ID to anchor to |
|
476 | + * @param int $EVT_ID The Event ID |
|
477 | + * @since 4.9.13 |
|
478 | + */ |
|
479 | + $template_args['anchor_id'] = apply_filters( |
|
480 | + 'FHEE__EE_Ticket_Selector__redirect_anchor_id', |
|
481 | + '#tkt-slctr-tbl-' . $this->event->ID(), |
|
482 | + $this->event->ID() |
|
483 | + ); |
|
484 | + $template_args['tickets'] = $tickets; |
|
485 | + $template_args['ticket_count'] = count($tickets); |
|
486 | + $ticket_selector = $this->simpleTicketSelector($tickets, $template_args); |
|
487 | + return $ticket_selector instanceof TicketSelectorSimple |
|
488 | + ? $ticket_selector |
|
489 | + : new TicketSelectorStandard( |
|
490 | + $this->event, |
|
491 | + $tickets, |
|
492 | + $this->getMaxAttendees(), |
|
493 | + $template_args, |
|
494 | + $this->date_format, |
|
495 | + $this->time_format |
|
496 | + ); |
|
497 | + } |
|
498 | + |
|
499 | + |
|
500 | + /** |
|
501 | + * simpleTicketSelector |
|
502 | + * there's one ticket, and max attendees is set to one, |
|
503 | + * so if the event is free, then this is a "simple" ticket selector |
|
504 | + * a.k.a. "Dude Where's my Ticket Selector?" |
|
505 | + * |
|
506 | + * @param EE_Ticket[] $tickets |
|
507 | + * @param array $template_args |
|
508 | + * @return string |
|
509 | + * @throws EE_Error |
|
510 | + * @throws ReflectionException |
|
511 | + */ |
|
512 | + protected function simpleTicketSelector(array $tickets, array $template_args) |
|
513 | + { |
|
514 | + // if there is only ONE ticket with a max qty of ONE |
|
515 | + if (count($tickets) > 1 || $this->getMaxAttendees() !== 1) { |
|
516 | + return ''; |
|
517 | + } |
|
518 | + /** @var EE_Ticket $ticket */ |
|
519 | + $ticket = reset($tickets); |
|
520 | + // if the ticket is free... then not much need for the ticket selector |
|
521 | + if ( |
|
522 | + apply_filters( |
|
523 | + 'FHEE__ticket_selector_chart_template__hide_ticket_selector', |
|
524 | + $ticket->is_free(), |
|
525 | + $this->event->ID() |
|
526 | + ) |
|
527 | + ) { |
|
528 | + return new TicketSelectorSimple( |
|
529 | + $this->event, |
|
530 | + $ticket, |
|
531 | + $this->getMaxAttendees(), |
|
532 | + $template_args |
|
533 | + ); |
|
534 | + } |
|
535 | + return ''; |
|
536 | + } |
|
537 | + |
|
538 | + |
|
539 | + /** |
|
540 | + * externalEventRegistration |
|
541 | + * |
|
542 | + * @return string |
|
543 | + */ |
|
544 | + public function externalEventRegistration(): string |
|
545 | + { |
|
546 | + // if not we still need to trigger the display of the submit button |
|
547 | + add_filter('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', '__return_true'); |
|
548 | + // display notice to admin that registration is external |
|
549 | + return $this->display_full_ui() |
|
550 | + ? esc_html__( |
|
551 | + 'Registration is at an external URL for this event.', |
|
552 | + 'event_espresso' |
|
553 | + ) |
|
554 | + : ''; |
|
555 | + } |
|
556 | + |
|
557 | + |
|
558 | + /** |
|
559 | + * formOpen |
|
560 | + * |
|
561 | + * @param int $ID |
|
562 | + * @param string $external_url |
|
563 | + * @return string |
|
564 | + */ |
|
565 | + public function formOpen(int $ID = 0, string $external_url = ''): string |
|
566 | + { |
|
567 | + // if redirecting, we don't need any anything else |
|
568 | + if ($external_url) { |
|
569 | + $html = '<form method="GET" '; |
|
570 | + $html .= 'action="' . EEH_URL::refactor_url($external_url) . '" '; |
|
571 | + $html .= 'name="ticket-selector-form-' . $ID . '"'; |
|
572 | + // open link in new window ? |
|
573 | + $html .= apply_filters( |
|
574 | + 'FHEE__EventEspresso_modules_ticket_selector_DisplayTicketSelector__formOpen__external_url_target_blank', |
|
575 | + $this->isIframe(), |
|
576 | + $this |
|
577 | + ) |
|
578 | + ? ' target="_blank"' |
|
579 | + : ''; |
|
580 | + $html .= '>'; |
|
581 | + $query_args = EEH_URL::get_query_string($external_url); |
|
582 | + foreach ((array) $query_args as $query_arg => $value) { |
|
583 | + $html .= '<input type="hidden" name="' . $query_arg . '" value="' . $value . '">'; |
|
584 | + } |
|
585 | + return $html; |
|
586 | + } |
|
587 | + // if there is no submit button, then don't start building a form |
|
588 | + // because the "View Details" button will build its own form |
|
589 | + if (! apply_filters('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', false)) { |
|
590 | + return ''; |
|
591 | + } |
|
592 | + $checkout_url = EEH_Event_View::event_link_url($ID); |
|
593 | + if (! $checkout_url) { |
|
594 | + EE_Error::add_error( |
|
595 | + esc_html__('The URL for the Event Details page could not be retrieved.', 'event_espresso'), |
|
596 | + __FILE__, |
|
597 | + __FUNCTION__, |
|
598 | + __LINE__ |
|
599 | + ); |
|
600 | + } |
|
601 | + // set no cache headers and constants |
|
602 | + EE_System::do_not_cache(); |
|
603 | + $html = '<form method="POST" '; |
|
604 | + $html .= 'action="' . $checkout_url . '" '; |
|
605 | + $html .= 'name="ticket-selector-form-' . $ID . '"'; |
|
606 | + $html .= $this->iframe ? ' target="_blank"' : ''; |
|
607 | + $html .= '>'; |
|
608 | + $html .= '<input type="hidden" name="ee" value="process_ticket_selections">'; |
|
609 | + return apply_filters('FHEE__EE_Ticket_Selector__ticket_selector_form_open__html', $html, $this->event); |
|
610 | + } |
|
611 | + |
|
612 | + |
|
613 | + /** |
|
614 | + * displaySubmitButton |
|
615 | + * |
|
616 | + * @param string $external_url |
|
617 | + * @return string |
|
618 | + * @throws EE_Error |
|
619 | + * @throws ReflectionException |
|
620 | + */ |
|
621 | + public function displaySubmitButton(string $external_url = ''): string |
|
622 | + { |
|
623 | + $html = ''; |
|
624 | + if ($this->display_full_ui()) { |
|
625 | + // standard TS displayed with submit button, ie: "Register Now" |
|
626 | + if (apply_filters('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', false)) { |
|
627 | + $html .= $this->displayRegisterNowButton(); |
|
628 | + $html .= empty($external_url) |
|
629 | + ? $this->ticketSelectorEndDiv() |
|
630 | + : $this->clearTicketSelector(); |
|
631 | + $html .= '<br/>' . $this->formClose(); |
|
632 | + } elseif ($this->getMaxAttendees() === 1) { |
|
633 | + // its a "Dude Where's my Ticket Selector?" (DWMTS) type event (ie: $_max_atndz === 1) |
|
634 | + if ($this->event->is_sold_out()) { |
|
635 | + // then instead of a View Details or Submit button, just display a "Sold Out" message |
|
636 | + $html .= apply_filters( |
|
637 | + 'FHEE__EE_Ticket_Selector__display_ticket_selector_submit__sold_out_msg', |
|
638 | + sprintf( |
|
639 | + esc_html__( |
|
640 | + '%1$s"%2$s" is currently sold out.%4$sPlease check back again later, as spots may become available.%3$s', |
|
641 | + 'event_espresso' |
|
642 | + ), |
|
643 | + '<p class="no-ticket-selector-msg clear-float">', |
|
644 | + $this->event->name(), |
|
645 | + '</p>', |
|
646 | + '<br />' |
|
647 | + ), |
|
648 | + $this->event |
|
649 | + ); |
|
650 | + if ( |
|
651 | + apply_filters( |
|
652 | + 'FHEE__EE_Ticket_Selector__display_ticket_selector_submit__no_tickets_but_display_register_now_button', |
|
653 | + false, |
|
654 | + $this->event |
|
655 | + ) |
|
656 | + ) { |
|
657 | + $html .= $this->displayRegisterNowButton(); |
|
658 | + } |
|
659 | + // sold out DWMTS event, no TS, no submit or view details button, but has additional content |
|
660 | + $html .= $this->ticketSelectorEndDiv(); |
|
661 | + } elseif ( |
|
662 | + apply_filters('FHEE__EE_Ticket_Selector__hide_ticket_selector', false) |
|
663 | + && ! is_single() |
|
664 | + ) { |
|
665 | + // this is a "Dude Where's my Ticket Selector?" (DWMTS) type event, |
|
666 | + // but no tickets are available, so display event's "View Details" button. |
|
667 | + // it is being viewed via somewhere other than a single post |
|
668 | + $html .= $this->displayViewDetailsButton(true); |
|
669 | + } else { |
|
670 | + $html .= $this->ticketSelectorEndDiv(); |
|
671 | + } |
|
672 | + } elseif (is_archive()) { |
|
673 | + // event list, no tickets available so display event's "View Details" button |
|
674 | + $html .= $this->ticketSelectorEndDiv(); |
|
675 | + $html .= $this->displayViewDetailsButton(); |
|
676 | + } else { |
|
677 | + if ( |
|
678 | + apply_filters( |
|
679 | + 'FHEE__EE_Ticket_Selector__display_ticket_selector_submit__no_tickets_but_display_register_now_button', |
|
680 | + false, |
|
681 | + $this->event |
|
682 | + ) |
|
683 | + ) { |
|
684 | + $html .= $this->displayRegisterNowButton(); |
|
685 | + } |
|
686 | + // no submit or view details button, and no additional content |
|
687 | + $html .= $this->ticketSelectorEndDiv(); |
|
688 | + } |
|
689 | + if (! $this->iframe && ! is_archive()) { |
|
690 | + $html .= EEH_Template::powered_by_event_espresso('', '', ['utm_content' => 'ticket_selector']); |
|
691 | + } |
|
692 | + } |
|
693 | + return apply_filters( |
|
694 | + 'FHEE__EventEspresso_modules_ticket_selector_DisplayTicketSelector__displaySubmitButton__html', |
|
695 | + $html, |
|
696 | + $this->event, |
|
697 | + $this |
|
698 | + ); |
|
699 | + } |
|
700 | + |
|
701 | + |
|
702 | + /** |
|
703 | + * @return string |
|
704 | + * @throws EE_Error |
|
705 | + * @throws ReflectionException |
|
706 | + */ |
|
707 | + public function displayRegisterNowButton(): string |
|
708 | + { |
|
709 | + $btn_text = apply_filters( |
|
710 | + 'FHEE__EE_Ticket_Selector__display_ticket_selector_submit__btn_text', |
|
711 | + esc_html__('Register Now', 'event_espresso'), |
|
712 | + $this->event |
|
713 | + ); |
|
714 | + $external_url = (string) $this->event->external_url() |
|
715 | + && $this->event->external_url() !== get_the_permalink() |
|
716 | + ? $this->event->external_url() |
|
717 | + : ''; |
|
718 | + $html = EEH_HTML::div( |
|
719 | + '', |
|
720 | + 'ticket-selector-submit-' . $this->event->ID() . '-btn-wrap', |
|
721 | + 'ticket-selector-submit-btn-wrap' |
|
722 | + ); |
|
723 | + $html .= '<input id="ticket-selector-submit-' . $this->event->ID() . '-btn"'; |
|
724 | + $html .= ' class="ticket-selector-submit-btn '; |
|
725 | + $html .= empty($external_url) ? 'ticket-selector-submit-ajax"' : '"'; |
|
726 | + $html .= ' type="submit" value="' . $btn_text . '" data-ee-disable-after-recaptcha="true" />'; |
|
727 | + $html .= EEH_HTML::divx() . '<!-- .ticket-selector-submit-btn-wrap -->'; |
|
728 | + $html .= apply_filters( |
|
729 | + 'FHEE__EE_Ticket_Selector__after_ticket_selector_submit', |
|
730 | + '', |
|
731 | + $this->event, |
|
732 | + $this->iframe |
|
733 | + ); |
|
734 | + return $html; |
|
735 | + } |
|
736 | + |
|
737 | + |
|
738 | + /** |
|
739 | + * displayViewDetailsButton |
|
740 | + * |
|
741 | + * @param bool $DWMTS indicates a "Dude Where's my Ticket Selector?" (DWMTS) type event |
|
742 | + * (ie: $_max_atndz === 1) where there are no available tickets, |
|
743 | + * either because they are sold out, expired, or not yet on sale. |
|
744 | + * In this case, we need to close the form BEFORE adding any closing divs |
|
745 | + * @return string |
|
746 | + * @throws EE_Error |
|
747 | + * @throws ReflectionException |
|
748 | + */ |
|
749 | + public function displayViewDetailsButton(bool $DWMTS = false): string |
|
750 | + { |
|
751 | + if (! $this->event->get_permalink()) { |
|
752 | + EE_Error::add_error( |
|
753 | + esc_html__('The URL for the Event Details page could not be retrieved.', 'event_espresso'), |
|
754 | + __FILE__, |
|
755 | + __FUNCTION__, |
|
756 | + __LINE__ |
|
757 | + ); |
|
758 | + } |
|
759 | + $view_details_btn = '<form method="GET" action="'; |
|
760 | + $view_details_btn .= apply_filters( |
|
761 | + 'FHEE__EE_Ticket_Selector__display_view_details_btn__btn_url', |
|
762 | + $this->event->get_permalink(), |
|
763 | + $this->event |
|
764 | + ); |
|
765 | + $view_details_btn .= '"'; |
|
766 | + // open link in new window ? |
|
767 | + $view_details_btn .= apply_filters( |
|
768 | + 'FHEE__EventEspresso_modules_ticket_selector_DisplayTicketSelector__displayViewDetailsButton__url_target_blank', |
|
769 | + $this->isIframe(), |
|
770 | + $this |
|
771 | + ) |
|
772 | + ? ' target="_blank"' |
|
773 | + : ''; |
|
774 | + $view_details_btn .= '>'; |
|
775 | + $btn_text = apply_filters( |
|
776 | + 'FHEE__EE_Ticket_Selector__display_view_details_btn__btn_text', |
|
777 | + esc_html__('View Details', 'event_espresso'), |
|
778 | + $this->event |
|
779 | + ); |
|
780 | + $view_details_btn .= '<input id="ticket-selector-submit-' |
|
781 | + . $this->event->ID() |
|
782 | + . '-btn" class="ticket-selector-submit-btn view-details-btn" type="submit" value="' |
|
783 | + . $btn_text |
|
784 | + . '" />'; |
|
785 | + $view_details_btn .= apply_filters('FHEE__EE_Ticket_Selector__after_view_details_btn', '', $this->event); |
|
786 | + if ($DWMTS) { |
|
787 | + $view_details_btn .= $this->formClose(); |
|
788 | + $view_details_btn .= $this->ticketSelectorEndDiv(); |
|
789 | + $view_details_btn .= '<br/>'; |
|
790 | + } else { |
|
791 | + $view_details_btn .= $this->clearTicketSelector(); |
|
792 | + $view_details_btn .= '<br/>'; |
|
793 | + $view_details_btn .= $this->formClose(); |
|
794 | + } |
|
795 | + return $view_details_btn; |
|
796 | + } |
|
797 | + |
|
798 | + |
|
799 | + /** |
|
800 | + * @return string |
|
801 | + */ |
|
802 | + public function ticketSelectorEndDiv(): string |
|
803 | + { |
|
804 | + return $this->clearTicketSelector() . '</div><!-- ticketSelectorEndDiv -->'; |
|
805 | + } |
|
806 | + |
|
807 | + |
|
808 | + /** |
|
809 | + * @return string |
|
810 | + */ |
|
811 | + public function clearTicketSelector(): string |
|
812 | + { |
|
813 | + // standard TS displayed, appears after a "Register Now" or "view Details" button |
|
814 | + return '<div class="clear"></div><!-- clearTicketSelector -->'; |
|
815 | + } |
|
816 | + |
|
817 | + |
|
818 | + /** |
|
819 | + * @access public |
|
820 | + * @return string |
|
821 | + */ |
|
822 | + public function formClose(): string |
|
823 | + { |
|
824 | + return '</form>'; |
|
825 | + } |
|
826 | + |
|
827 | + |
|
828 | + /** |
|
829 | + * handleMissingEvent |
|
830 | + * Returns either false or an error to display when no valid event is passed. |
|
831 | + * |
|
832 | + * @return false|string |
|
833 | + * @throws ExceptionStackTraceDisplay |
|
834 | + * @throws InvalidInterfaceException |
|
835 | + * @throws Exception |
|
836 | + */ |
|
837 | + protected function handleMissingEvent() |
|
838 | + { |
|
839 | + // If this is not an iFrame request, simply return false. |
|
840 | + if (! $this->isIframe()) { |
|
841 | + return false; |
|
842 | + } |
|
843 | + // This is an iFrame so return an error. |
|
844 | + // Display stack trace if WP_DEBUG is enabled. |
|
845 | + if (WP_DEBUG === true && current_user_can('edit_pages')) { |
|
846 | + $event_id = EE_Registry::instance()->REQ->get('event', 0); |
|
847 | + new ExceptionStackTraceDisplay( |
|
848 | + new InvalidArgumentException( |
|
849 | + sprintf( |
|
850 | + esc_html__( |
|
851 | + 'A valid Event ID is required to display the ticket selector.%3$sAn Event with an ID of "%1$s" could not be found.%3$sPlease verify that the embed code added to this post\'s content includes an "%2$s" argument and that its value corresponds to a valid Event ID.', |
|
852 | + 'event_espresso' |
|
853 | + ), |
|
854 | + $event_id, |
|
855 | + 'event', |
|
856 | + '<br />' |
|
857 | + ) |
|
858 | + ) |
|
859 | + ); |
|
860 | + return ''; |
|
861 | + } |
|
862 | + // If WP_DEBUG is not enabled, display a message stating the event could not be found. |
|
863 | + return EEH_HTML::p( |
|
864 | + esc_html__( |
|
865 | + 'A valid Event could not be found. Please contact the event administrator for assistance.', |
|
866 | + 'event_espresso' |
|
867 | + ) |
|
868 | + ); |
|
869 | + } |
|
870 | 870 | } |
@@ -2,226 +2,226 @@ 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 | - __( 'Select Event', 'event_espresso' ), |
|
79 | + __('Select Event', 'event_espresso'), |
|
80 | 80 | |
81 | 81 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:11 |
82 | - __( 'Attendee id', 'event_espresso' ), |
|
82 | + __('Attendee id', 'event_espresso'), |
|
83 | 83 | |
84 | 84 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:15 |
85 | - __( 'Last name only', 'event_espresso' ), |
|
85 | + __('Last name only', 'event_espresso'), |
|
86 | 86 | |
87 | 87 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:19 |
88 | - __( 'First name only', 'event_espresso' ), |
|
88 | + __('First name only', 'event_espresso'), |
|
89 | 89 | |
90 | 90 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:23 |
91 | - __( 'First, then Last name', 'event_espresso' ), |
|
91 | + __('First, then Last name', 'event_espresso'), |
|
92 | 92 | |
93 | 93 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:27 |
94 | - __( 'Last, then First name', 'event_espresso' ), |
|
94 | + __('Last, then First name', 'event_espresso'), |
|
95 | 95 | |
96 | 96 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:41 |
97 | - __( 'Order Attendees by:', 'event_espresso' ), |
|
97 | + __('Order Attendees by:', 'event_espresso'), |
|
98 | 98 | |
99 | 99 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectTicket.tsx:22 |
100 | - __( 'Select Ticket', 'event_espresso' ), |
|
100 | + __('Select Ticket', 'event_espresso'), |
|
101 | 101 | |
102 | 102 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/index.tsx:21 |
103 | - __( 'Filter By Settings', 'event_espresso' ), |
|
103 | + __('Filter By Settings', 'event_espresso'), |
|
104 | 104 | |
105 | 105 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/index.tsx:36 |
106 | - __( 'Gravatar Setttings', 'event_espresso' ), |
|
106 | + __('Gravatar Setttings', 'event_espresso'), |
|
107 | 107 | |
108 | 108 | // Reference: domains/core/admin/blocks/src/event-attendees/controls/index.tsx:39 |
109 | - __( 'Archive Settings', 'event_espresso' ), |
|
109 | + __('Archive Settings', 'event_espresso'), |
|
110 | 110 | |
111 | 111 | // Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:10 |
112 | - __( 'Event Attendees', 'event_espresso' ), |
|
112 | + __('Event Attendees', 'event_espresso'), |
|
113 | 113 | |
114 | 114 | // Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:11 |
115 | - __( 'Displays a list of people that have registered for the specified event', 'event_espresso' ), |
|
115 | + __('Displays a list of people that have registered for the specified event', 'event_espresso'), |
|
116 | 116 | |
117 | 117 | // Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:14 |
118 | - __( 'event', 'event_espresso' ), |
|
118 | + __('event', 'event_espresso'), |
|
119 | 119 | |
120 | 120 | // Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:14 |
121 | - __( 'attendees', 'event_espresso' ), |
|
121 | + __('attendees', 'event_espresso'), |
|
122 | 122 | |
123 | 123 | // Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:14 |
124 | - __( 'list', 'event_espresso' ), |
|
124 | + __('list', 'event_espresso'), |
|
125 | 125 | |
126 | 126 | // Reference: domains/core/admin/blocks/src/services/utils.ts:17 |
127 | - __( 'Error', 'event_espresso' ), |
|
127 | + __('Error', 'event_espresso'), |
|
128 | 128 | |
129 | 129 | // Reference: domains/core/admin/blocks/src/services/utils.ts:24 |
130 | 130 | // Reference: packages/ui-components/src/SimpleEntityList/EntityTemplate.tsx:16 |
131 | - __( 'Select…', 'event_espresso' ), |
|
131 | + __('Select…', 'event_espresso'), |
|
132 | 132 | |
133 | 133 | // Reference: domains/core/admin/blocks/src/services/utils.ts:9 |
134 | - __( 'Loading…', 'event_espresso' ), |
|
134 | + __('Loading…', 'event_espresso'), |
|
135 | 135 | |
136 | 136 | // Reference: domains/core/admin/eventEditor/src/ui/EventDescription.tsx:33 |
137 | - __( 'Event Description', 'event_espresso' ), |
|
137 | + __('Event Description', 'event_espresso'), |
|
138 | 138 | |
139 | 139 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/ActiveStatus.tsx:22 |
140 | - __( 'Active status', 'event_espresso' ), |
|
140 | + __('Active status', 'event_espresso'), |
|
141 | 141 | |
142 | 142 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/AltRegPage.tsx:14 |
143 | - __( 'Alternative Registration Page', 'event_espresso' ), |
|
143 | + __('Alternative Registration Page', 'event_espresso'), |
|
144 | 144 | |
145 | 145 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/DefaultRegistrationStatus.tsx:15 |
146 | - __( 'Default Registration Status', 'event_espresso' ), |
|
146 | + __('Default Registration Status', 'event_espresso'), |
|
147 | 147 | |
148 | 148 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/Donations.tsx:9 |
149 | - __( 'Donations Enabled', 'event_espresso' ), |
|
149 | + __('Donations Enabled', 'event_espresso'), |
|
150 | 150 | |
151 | 151 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/Donations.tsx:9 |
152 | - __( 'Donations Disabled', 'event_espresso' ), |
|
152 | + __('Donations Disabled', 'event_espresso'), |
|
153 | 153 | |
154 | 154 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/EventManager.tsx:16 |
155 | - __( 'Event Manager', 'event_espresso' ), |
|
155 | + __('Event Manager', 'event_espresso'), |
|
156 | 156 | |
157 | 157 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/EventPhoneNumber.tsx:11 |
158 | - __( 'Event Phone Number', 'event_espresso' ), |
|
158 | + __('Event Phone Number', 'event_espresso'), |
|
159 | 159 | |
160 | 160 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/MaxRegistrations.tsx:12 |
161 | - __( 'Max Registrations per Transaction', 'event_espresso' ), |
|
161 | + __('Max Registrations per Transaction', 'event_espresso'), |
|
162 | 162 | |
163 | 163 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/TicketSelector.tsx:9 |
164 | - __( 'Ticket Selector Enabled', 'event_espresso' ), |
|
164 | + __('Ticket Selector Enabled', 'event_espresso'), |
|
165 | 165 | |
166 | 166 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/TicketSelector.tsx:9 |
167 | - __( 'Ticket Selector Disabled', 'event_espresso' ), |
|
167 | + __('Ticket Selector Disabled', 'event_espresso'), |
|
168 | 168 | |
169 | 169 | // Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/index.tsx:43 |
170 | - __( 'Registration Options', 'event_espresso' ), |
|
170 | + __('Registration Options', 'event_espresso'), |
|
171 | 171 | |
172 | 172 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/DateRegistrationsLink.tsx:13 |
173 | - __( 'view ALL registrations for this date.', 'event_espresso' ), |
|
173 | + __('view ALL registrations for this date.', 'event_espresso'), |
|
174 | 174 | |
175 | 175 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:10 |
176 | - __( 'primary information about the date', 'event_espresso' ), |
|
176 | + __('primary information about the date', 'event_espresso'), |
|
177 | 177 | |
178 | 178 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:10 |
179 | - __( 'Date Details', 'event_espresso' ), |
|
179 | + __('Date Details', 'event_espresso'), |
|
180 | 180 | |
181 | 181 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:11 |
182 | 182 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:16 |
183 | 183 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:16 |
184 | - __( 'relations between tickets and dates', 'event_espresso' ), |
|
184 | + __('relations between tickets and dates', 'event_espresso'), |
|
185 | 185 | |
186 | 186 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:11 |
187 | - __( 'Assign Tickets', 'event_espresso' ), |
|
187 | + __('Assign Tickets', 'event_espresso'), |
|
188 | 188 | |
189 | 189 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/FooterButtons.tsx:22 |
190 | - __( 'Save and assign tickets', 'event_espresso' ), |
|
190 | + __('Save and assign tickets', 'event_espresso'), |
|
191 | 191 | |
192 | 192 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/Modal.tsx:27 |
193 | 193 | /* translators: %s datetime id */ |
194 | - __( 'Edit datetime %s', 'event_espresso' ), |
|
194 | + __('Edit datetime %s', 'event_espresso'), |
|
195 | 195 | |
196 | 196 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/Modal.tsx:30 |
197 | - __( 'New Datetime', 'event_espresso' ), |
|
197 | + __('New Datetime', 'event_espresso'), |
|
198 | 198 | |
199 | 199 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:110 |
200 | 200 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:108 |
201 | 201 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:126 |
202 | 202 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:108 |
203 | - __( 'Details', 'event_espresso' ), |
|
203 | + __('Details', 'event_espresso'), |
|
204 | 204 | |
205 | 205 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:114 |
206 | 206 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:112 |
207 | 207 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:81 |
208 | - __( 'Capacity', 'event_espresso' ), |
|
208 | + __('Capacity', 'event_espresso'), |
|
209 | 209 | |
210 | 210 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:119 |
211 | - __( 'The maximum number of registrants that can attend the event at this particular date.', 'event_espresso' ), |
|
211 | + __('The maximum number of registrants that can attend the event at this particular date.', 'event_espresso'), |
|
212 | 212 | |
213 | 213 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:123 |
214 | - __( 'Set to 0 to close registration or leave blank for no limit.', 'event_espresso' ), |
|
214 | + __('Set to 0 to close registration or leave blank for no limit.', 'event_espresso'), |
|
215 | 215 | |
216 | 216 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:129 |
217 | 217 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:203 |
218 | - __( 'Trash', 'event_espresso' ), |
|
218 | + __('Trash', 'event_espresso'), |
|
219 | 219 | |
220 | 220 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:71 |
221 | 221 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:45 |
222 | 222 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:87 |
223 | 223 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:45 |
224 | - __( 'Basics', 'event_espresso' ), |
|
224 | + __('Basics', 'event_espresso'), |
|
225 | 225 | |
226 | 226 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:75 |
227 | 227 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:49 |
@@ -229,250 +229,250 @@ discard block |
||
229 | 229 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:91 |
230 | 230 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:49 |
231 | 231 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:40 |
232 | - __( 'Name', 'event_espresso' ), |
|
232 | + __('Name', 'event_espresso'), |
|
233 | 233 | |
234 | 234 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:80 |
235 | 235 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:55 |
236 | 236 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:96 |
237 | 237 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:55 |
238 | 238 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:47 |
239 | - __( 'Description', 'event_espresso' ), |
|
239 | + __('Description', 'event_espresso'), |
|
240 | 240 | |
241 | 241 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:88 |
242 | 242 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:63 |
243 | 243 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:63 |
244 | - __( 'Dates', 'event_espresso' ), |
|
244 | + __('Dates', 'event_espresso'), |
|
245 | 245 | |
246 | 246 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:92 |
247 | 247 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:51 |
248 | 248 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:108 |
249 | - __( 'Start Date', 'event_espresso' ), |
|
249 | + __('Start Date', 'event_espresso'), |
|
250 | 250 | |
251 | 251 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:99 |
252 | 252 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:65 |
253 | 253 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:115 |
254 | - __( 'End Date', 'event_espresso' ), |
|
254 | + __('End Date', 'event_espresso'), |
|
255 | 255 | |
256 | 256 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesList.tsx:34 |
257 | 257 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/TableView.tsx:33 |
258 | - __( 'Event Dates', 'event_espresso' ), |
|
258 | + __('Event Dates', 'event_espresso'), |
|
259 | 259 | |
260 | 260 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesList.tsx:37 |
261 | - __( 'loading event dates…', 'event_espresso' ), |
|
261 | + __('loading event dates…', 'event_espresso'), |
|
262 | 262 | |
263 | 263 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesListButtons.tsx:20 |
264 | - __( 'Add a date or a ticket in order to use Ticket Assignment Manager', 'event_espresso' ), |
|
264 | + __('Add a date or a ticket in order to use Ticket Assignment Manager', 'event_espresso'), |
|
265 | 265 | |
266 | 266 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesListButtons.tsx:30 |
267 | - __( 'Ticket Assignments', 'event_espresso' ), |
|
267 | + __('Ticket Assignments', 'event_espresso'), |
|
268 | 268 | |
269 | 269 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:25 |
270 | - __( 'Number of related tickets', 'event_espresso' ), |
|
270 | + __('Number of related tickets', 'event_espresso'), |
|
271 | 271 | |
272 | 272 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:26 |
273 | - __( 'There are no tickets assigned to this datetime. Please click the ticket icon to update the assignments.', 'event_espresso' ), |
|
273 | + __('There are no tickets assigned to this datetime. Please click the ticket icon to update the assignments.', 'event_espresso'), |
|
274 | 274 | |
275 | 275 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:34 |
276 | - __( 'assign tickets', 'event_espresso' ), |
|
276 | + __('assign tickets', 'event_espresso'), |
|
277 | 277 | |
278 | 278 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:25 |
279 | - __( 'Permanently delete Datetime?', 'event_espresso' ), |
|
279 | + __('Permanently delete Datetime?', 'event_espresso'), |
|
280 | 280 | |
281 | 281 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:25 |
282 | - __( 'Move Datetime to Trash?', 'event_espresso' ), |
|
282 | + __('Move Datetime to Trash?', 'event_espresso'), |
|
283 | 283 | |
284 | 284 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:27 |
285 | - __( 'Are you sure you want to permanently delete this datetime? This action is permanent and can not be undone.', 'event_espresso' ), |
|
285 | + __('Are you sure you want to permanently delete this datetime? This action is permanent and can not be undone.', 'event_espresso'), |
|
286 | 286 | |
287 | 287 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:30 |
288 | - __( 'Are you sure you want to move this datetime to the trash? You can "untrash" this datetime later if you need to.', 'event_espresso' ), |
|
288 | + __('Are you sure you want to move this datetime to the trash? You can "untrash" this datetime later if you need to.', 'event_espresso'), |
|
289 | 289 | |
290 | 290 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:39 |
291 | 291 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:44 |
292 | - __( 'delete permanently', 'event_espresso' ), |
|
292 | + __('delete permanently', 'event_espresso'), |
|
293 | 293 | |
294 | 294 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:39 |
295 | - __( 'trash datetime', 'event_espresso' ), |
|
295 | + __('trash datetime', 'event_espresso'), |
|
296 | 296 | |
297 | 297 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:45 |
298 | - __( 'event date main menu', 'event_espresso' ), |
|
298 | + __('event date main menu', 'event_espresso'), |
|
299 | 299 | |
300 | 300 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:59 |
301 | - __( 'edit datetime', 'event_espresso' ), |
|
301 | + __('edit datetime', 'event_espresso'), |
|
302 | 302 | |
303 | 303 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:60 |
304 | - __( 'copy datetime', 'event_espresso' ), |
|
304 | + __('copy datetime', 'event_espresso'), |
|
305 | 305 | |
306 | 306 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:36 |
307 | 307 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:39 |
308 | 308 | // Reference: packages/ui-components/src/bulkEdit/BulkActions.tsx:43 |
309 | - __( 'bulk actions', 'event_espresso' ), |
|
309 | + __('bulk actions', 'event_espresso'), |
|
310 | 310 | |
311 | 311 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:40 |
312 | - __( 'edit datetime details', 'event_espresso' ), |
|
312 | + __('edit datetime details', 'event_espresso'), |
|
313 | 313 | |
314 | 314 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:44 |
315 | - __( 'delete datetimes', 'event_espresso' ), |
|
315 | + __('delete datetimes', 'event_espresso'), |
|
316 | 316 | |
317 | 317 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:44 |
318 | - __( 'trash datetimes', 'event_espresso' ), |
|
318 | + __('trash datetimes', 'event_espresso'), |
|
319 | 319 | |
320 | 320 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:14 |
321 | - __( 'Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso' ), |
|
321 | + __('Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso'), |
|
322 | 322 | |
323 | 323 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:15 |
324 | - __( 'Are you sure you want to trash these datetimes?', 'event_espresso' ), |
|
324 | + __('Are you sure you want to trash these datetimes?', 'event_espresso'), |
|
325 | 325 | |
326 | 326 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:16 |
327 | - __( 'Delete datetimes permanently', 'event_espresso' ), |
|
327 | + __('Delete datetimes permanently', 'event_espresso'), |
|
328 | 328 | |
329 | 329 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:16 |
330 | - __( 'Trash datetimes', 'event_espresso' ), |
|
330 | + __('Trash datetimes', 'event_espresso'), |
|
331 | 331 | |
332 | 332 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:21 |
333 | - __( 'Bulk edit date details', 'event_espresso' ), |
|
333 | + __('Bulk edit date details', 'event_espresso'), |
|
334 | 334 | |
335 | 335 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:22 |
336 | - __( 'any changes will be applied to ALL of the selected dates.', 'event_espresso' ), |
|
336 | + __('any changes will be applied to ALL of the selected dates.', 'event_espresso'), |
|
337 | 337 | |
338 | 338 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/formValidation.ts:12 |
339 | 339 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/formValidation.ts:12 |
340 | - __( 'Name must be at least three characters', 'event_espresso' ), |
|
340 | + __('Name must be at least three characters', 'event_espresso'), |
|
341 | 341 | |
342 | 342 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:67 |
343 | 343 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:67 |
344 | - __( 'Shift dates', 'event_espresso' ), |
|
344 | + __('Shift dates', 'event_espresso'), |
|
345 | 345 | |
346 | 346 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:92 |
347 | 347 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:92 |
348 | - __( 'earlier', 'event_espresso' ), |
|
348 | + __('earlier', 'event_espresso'), |
|
349 | 349 | |
350 | 350 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:96 |
351 | 351 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:96 |
352 | - __( 'later', 'event_espresso' ), |
|
352 | + __('later', 'event_espresso'), |
|
353 | 353 | |
354 | 354 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCapacity.tsx:37 |
355 | - __( 'edit capacity (registration limit)…', 'event_espresso' ), |
|
355 | + __('edit capacity (registration limit)…', 'event_espresso'), |
|
356 | 356 | |
357 | 357 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:38 |
358 | - __( 'Edit Event Date', 'event_espresso' ), |
|
358 | + __('Edit Event Date', 'event_espresso'), |
|
359 | 359 | |
360 | 360 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:42 |
361 | - __( 'edit start and end dates', 'event_espresso' ), |
|
361 | + __('edit start and end dates', 'event_espresso'), |
|
362 | 362 | |
363 | 363 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:15 |
364 | 364 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:15 |
365 | - __( 'sold', 'event_espresso' ), |
|
365 | + __('sold', 'event_espresso'), |
|
366 | 366 | |
367 | 367 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:28 |
368 | - __( 'capacity', 'event_espresso' ), |
|
368 | + __('capacity', 'event_espresso'), |
|
369 | 369 | |
370 | 370 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:34 |
371 | 371 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:33 |
372 | - __( 'reg list', 'event_espresso' ), |
|
372 | + __('reg list', 'event_espresso'), |
|
373 | 373 | |
374 | 374 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:46 |
375 | 375 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:45 |
376 | - __( 'Edit description', 'event_espresso' ), |
|
376 | + __('Edit description', 'event_espresso'), |
|
377 | 377 | |
378 | 378 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:47 |
379 | 379 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:46 |
380 | - __( 'edit description…', 'event_espresso' ), |
|
380 | + __('edit description…', 'event_espresso'), |
|
381 | 381 | |
382 | 382 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:10 |
383 | - __( 'Move Date to Trash', 'event_espresso' ), |
|
383 | + __('Move Date to Trash', 'event_espresso'), |
|
384 | 384 | |
385 | 385 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:13 |
386 | 386 | // Reference: packages/constants/src/datetime.ts:6 |
387 | - __( 'Active', 'event_espresso' ), |
|
387 | + __('Active', 'event_espresso'), |
|
388 | 388 | |
389 | 389 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:14 |
390 | 390 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:13 |
391 | - __( 'Trashed', 'event_espresso' ), |
|
391 | + __('Trashed', 'event_espresso'), |
|
392 | 392 | |
393 | 393 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:15 |
394 | 394 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:14 |
395 | 395 | // Reference: packages/constants/src/datetime.ts:8 |
396 | - __( 'Expired', 'event_espresso' ), |
|
396 | + __('Expired', 'event_espresso'), |
|
397 | 397 | |
398 | 398 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:16 |
399 | 399 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:16 |
400 | - __( 'Sold Out', 'event_espresso' ), |
|
400 | + __('Sold Out', 'event_espresso'), |
|
401 | 401 | |
402 | 402 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:17 |
403 | 403 | // Reference: packages/constants/src/datetime.ts:12 |
404 | - __( 'Upcoming', 'event_espresso' ), |
|
404 | + __('Upcoming', 'event_espresso'), |
|
405 | 405 | |
406 | 406 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:7 |
407 | - __( 'Edit Event Date Details', 'event_espresso' ), |
|
407 | + __('Edit Event Date Details', 'event_espresso'), |
|
408 | 408 | |
409 | 409 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:8 |
410 | - __( 'View Registrations for this Date', 'event_espresso' ), |
|
410 | + __('View Registrations for this Date', 'event_espresso'), |
|
411 | 411 | |
412 | 412 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:9 |
413 | - __( 'Manage Ticket Assignments', 'event_espresso' ), |
|
413 | + __('Manage Ticket Assignments', 'event_espresso'), |
|
414 | 414 | |
415 | 415 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/editable/EditableName.tsx:23 |
416 | 416 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/editable/EditableName.tsx:34 |
417 | - __( 'edit title…', 'event_espresso' ), |
|
417 | + __('edit title…', 'event_espresso'), |
|
418 | 418 | |
419 | 419 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/ActiveDatesFilters.tsx:25 |
420 | 420 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/ActiveTicketsFilters.tsx:25 |
421 | - __( 'ON', 'event_espresso' ), |
|
421 | + __('ON', 'event_espresso'), |
|
422 | 422 | |
423 | 423 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:10 |
424 | - __( 'end dates only', 'event_espresso' ), |
|
424 | + __('end dates only', 'event_espresso'), |
|
425 | 425 | |
426 | 426 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:11 |
427 | - __( 'start and end dates', 'event_espresso' ), |
|
427 | + __('start and end dates', 'event_espresso'), |
|
428 | 428 | |
429 | 429 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:16 |
430 | - __( 'dates above 90% capacity', 'event_espresso' ), |
|
430 | + __('dates above 90% capacity', 'event_espresso'), |
|
431 | 431 | |
432 | 432 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:17 |
433 | - __( 'dates above 75% capacity', 'event_espresso' ), |
|
433 | + __('dates above 75% capacity', 'event_espresso'), |
|
434 | 434 | |
435 | 435 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:18 |
436 | - __( 'dates above 50% capacity', 'event_espresso' ), |
|
436 | + __('dates above 50% capacity', 'event_espresso'), |
|
437 | 437 | |
438 | 438 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:19 |
439 | - __( 'dates below 50% capacity', 'event_espresso' ), |
|
439 | + __('dates below 50% capacity', 'event_espresso'), |
|
440 | 440 | |
441 | 441 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:23 |
442 | - __( 'all dates', 'event_espresso' ), |
|
442 | + __('all dates', 'event_espresso'), |
|
443 | 443 | |
444 | 444 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:24 |
445 | - __( 'all active and upcoming', 'event_espresso' ), |
|
445 | + __('all active and upcoming', 'event_espresso'), |
|
446 | 446 | |
447 | 447 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:25 |
448 | - __( 'active dates only', 'event_espresso' ), |
|
448 | + __('active dates only', 'event_espresso'), |
|
449 | 449 | |
450 | 450 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:26 |
451 | - __( 'upcoming dates only', 'event_espresso' ), |
|
451 | + __('upcoming dates only', 'event_espresso'), |
|
452 | 452 | |
453 | 453 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:27 |
454 | - __( 'next active or upcoming only', 'event_espresso' ), |
|
454 | + __('next active or upcoming only', 'event_espresso'), |
|
455 | 455 | |
456 | 456 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:28 |
457 | - __( 'sold out dates only', 'event_espresso' ), |
|
457 | + __('sold out dates only', 'event_espresso'), |
|
458 | 458 | |
459 | 459 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:29 |
460 | - __( 'recently expired dates', 'event_espresso' ), |
|
460 | + __('recently expired dates', 'event_espresso'), |
|
461 | 461 | |
462 | 462 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:30 |
463 | - __( 'all expired dates', 'event_espresso' ), |
|
463 | + __('all expired dates', 'event_espresso'), |
|
464 | 464 | |
465 | 465 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:31 |
466 | - __( 'trashed dates only', 'event_espresso' ), |
|
466 | + __('trashed dates only', 'event_espresso'), |
|
467 | 467 | |
468 | 468 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:35 |
469 | 469 | // Reference: packages/dates/src/components/DateRangePicker/DateRangePickerLegend.tsx:9 |
470 | 470 | // Reference: packages/dates/src/components/DateRangePicker/index.tsx:61 |
471 | - __( 'start date', 'event_espresso' ), |
|
471 | + __('start date', 'event_espresso'), |
|
472 | 472 | |
473 | 473 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:36 |
474 | 474 | // Reference: packages/ui-components/src/FormBuilder/FormSection/Tabs/Settings.tsx:26 |
475 | - __( 'name', 'event_espresso' ), |
|
475 | + __('name', 'event_espresso'), |
|
476 | 476 | |
477 | 477 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:37 |
478 | 478 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:31 |
@@ -480,141 +480,141 @@ discard block |
||
480 | 480 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/HeaderCell.tsx:27 |
481 | 481 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:31 |
482 | 482 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:23 |
483 | - __( 'ID', 'event_espresso' ), |
|
483 | + __('ID', 'event_espresso'), |
|
484 | 484 | |
485 | 485 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:38 |
486 | 486 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:47 |
487 | - __( 'custom order', 'event_espresso' ), |
|
487 | + __('custom order', 'event_espresso'), |
|
488 | 488 | |
489 | 489 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:42 |
490 | 490 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:51 |
491 | - __( 'display', 'event_espresso' ), |
|
491 | + __('display', 'event_espresso'), |
|
492 | 492 | |
493 | 493 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:43 |
494 | - __( 'recurrence', 'event_espresso' ), |
|
494 | + __('recurrence', 'event_espresso'), |
|
495 | 495 | |
496 | 496 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:44 |
497 | 497 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:53 |
498 | - __( 'sales', 'event_espresso' ), |
|
498 | + __('sales', 'event_espresso'), |
|
499 | 499 | |
500 | 500 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:45 |
501 | 501 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:55 |
502 | - __( 'sort by', 'event_espresso' ), |
|
502 | + __('sort by', 'event_espresso'), |
|
503 | 503 | |
504 | 504 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:46 |
505 | 505 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:54 |
506 | 506 | // Reference: packages/ee-components/src/EntityList/EntityListFilterBar.tsx:53 |
507 | - __( 'search', 'event_espresso' ), |
|
507 | + __('search', 'event_espresso'), |
|
508 | 508 | |
509 | 509 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:47 |
510 | 510 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:56 |
511 | - __( 'status', 'event_espresso' ), |
|
511 | + __('status', 'event_espresso'), |
|
512 | 512 | |
513 | 513 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:9 |
514 | - __( 'start dates only', 'event_espresso' ), |
|
514 | + __('start dates only', 'event_espresso'), |
|
515 | 515 | |
516 | 516 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:26 |
517 | 517 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/NewDateModal.tsx:12 |
518 | 518 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/OptionsModalButton.tsx:16 |
519 | - __( 'Add New Date', 'event_espresso' ), |
|
519 | + __('Add New Date', 'event_espresso'), |
|
520 | 520 | |
521 | 521 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:26 |
522 | - __( 'Add Single Date', 'event_espresso' ), |
|
522 | + __('Add Single Date', 'event_espresso'), |
|
523 | 523 | |
524 | 524 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:43 |
525 | - __( 'Add a single date that only occurs once', 'event_espresso' ), |
|
525 | + __('Add a single date that only occurs once', 'event_espresso'), |
|
526 | 526 | |
527 | 527 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:45 |
528 | - __( 'Single Date', 'event_espresso' ), |
|
528 | + __('Single Date', 'event_espresso'), |
|
529 | 529 | |
530 | 530 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:106 |
531 | - __( 'Reg list', 'event_espresso' ), |
|
531 | + __('Reg list', 'event_espresso'), |
|
532 | 532 | |
533 | 533 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:107 |
534 | 534 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:111 |
535 | - __( 'Regs', 'event_espresso' ), |
|
535 | + __('Regs', 'event_espresso'), |
|
536 | 536 | |
537 | 537 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:122 |
538 | 538 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:126 |
539 | 539 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:59 |
540 | - __( 'Actions', 'event_espresso' ), |
|
540 | + __('Actions', 'event_espresso'), |
|
541 | 541 | |
542 | 542 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:52 |
543 | - __( 'Start', 'event_espresso' ), |
|
543 | + __('Start', 'event_espresso'), |
|
544 | 544 | |
545 | 545 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:66 |
546 | - __( 'End', 'event_espresso' ), |
|
546 | + __('End', 'event_espresso'), |
|
547 | 547 | |
548 | 548 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:82 |
549 | - __( 'Cap', 'event_espresso' ), |
|
549 | + __('Cap', 'event_espresso'), |
|
550 | 550 | |
551 | 551 | // Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:94 |
552 | 552 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:98 |
553 | - __( 'Sold', 'event_espresso' ), |
|
553 | + __('Sold', 'event_espresso'), |
|
554 | 554 | |
555 | 555 | // Reference: domains/core/admin/eventEditor/src/ui/registrationForm/RegistrationForm.tsx:248 |
556 | - __( 'Registration Form Builder', 'event_espresso' ), |
|
556 | + __('Registration Form Builder', 'event_espresso'), |
|
557 | 557 | |
558 | 558 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:18 |
559 | - __( 'Tickets must always have at least one date assigned to them but one or more of the tickets below does not have any. |
|
560 | -Please correct the assignments for the highlighted cells.', 'event_espresso' ), |
|
559 | + __('Tickets must always have at least one date assigned to them but one or more of the tickets below does not have any. |
|
560 | +Please correct the assignments for the highlighted cells.', 'event_espresso'), |
|
561 | 561 | |
562 | 562 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:22 |
563 | - __( '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. |
|
564 | -Please correct the assignments for the highlighted cells.', 'event_espresso' ), |
|
563 | + __('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. |
|
564 | +Please correct the assignments for the highlighted cells.', 'event_espresso'), |
|
565 | 565 | |
566 | 566 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:32 |
567 | - __( 'Please Update Assignments', 'event_espresso' ), |
|
567 | + __('Please Update Assignments', 'event_espresso'), |
|
568 | 568 | |
569 | 569 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:26 |
570 | - __( 'There seem to be some dates/tickets which have no tickets/dates assigned. Do you want to fix them now?', 'event_espresso' ), |
|
570 | + __('There seem to be some dates/tickets which have no tickets/dates assigned. Do you want to fix them now?', 'event_espresso'), |
|
571 | 571 | |
572 | 572 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:29 |
573 | 573 | // Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:74 |
574 | 574 | // Reference: packages/ui-components/src/Modal/ModalWithAlert.tsx:21 |
575 | - __( 'Alert!', 'event_espresso' ), |
|
575 | + __('Alert!', 'event_espresso'), |
|
576 | 576 | |
577 | 577 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:42 |
578 | 578 | /* translators: 1 entity id, 2 entity name */ |
579 | - __( 'Ticket Assignment Manager for Datetime: %1$s - %2$s', 'event_espresso' ), |
|
579 | + __('Ticket Assignment Manager for Datetime: %1$s - %2$s', 'event_espresso'), |
|
580 | 580 | |
581 | 581 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:49 |
582 | 582 | /* translators: 1 entity id, 2 entity name */ |
583 | - __( 'Ticket Assignment Manager for Ticket: %1$s - %2$s', 'event_espresso' ), |
|
583 | + __('Ticket Assignment Manager for Ticket: %1$s - %2$s', 'event_espresso'), |
|
584 | 584 | |
585 | 585 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal.tsx:28 |
586 | 586 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/Table.tsx:13 |
587 | - __( 'Ticket Assignment Manager', 'event_espresso' ), |
|
587 | + __('Ticket Assignment Manager', 'event_espresso'), |
|
588 | 588 | |
589 | 589 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:10 |
590 | - __( 'existing relation', 'event_espresso' ), |
|
590 | + __('existing relation', 'event_espresso'), |
|
591 | 591 | |
592 | 592 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:15 |
593 | - __( 'remove existing relation', 'event_espresso' ), |
|
593 | + __('remove existing relation', 'event_espresso'), |
|
594 | 594 | |
595 | 595 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:20 |
596 | - __( 'add new relation', 'event_espresso' ), |
|
596 | + __('add new relation', 'event_espresso'), |
|
597 | 597 | |
598 | 598 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:25 |
599 | - __( 'invalid relation', 'event_espresso' ), |
|
599 | + __('invalid relation', 'event_espresso'), |
|
600 | 600 | |
601 | 601 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:29 |
602 | - __( 'no relation', 'event_espresso' ), |
|
602 | + __('no relation', 'event_espresso'), |
|
603 | 603 | |
604 | 604 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/BodyCell.tsx:24 |
605 | - __( 'assign ticket', 'event_espresso' ), |
|
605 | + __('assign ticket', 'event_espresso'), |
|
606 | 606 | |
607 | 607 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:15 |
608 | - __( 'Assignments', 'event_espresso' ), |
|
608 | + __('Assignments', 'event_espresso'), |
|
609 | 609 | |
610 | 610 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:16 |
611 | - __( 'Event Dates are listed below', 'event_espresso' ), |
|
611 | + __('Event Dates are listed below', 'event_espresso'), |
|
612 | 612 | |
613 | 613 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:17 |
614 | - __( 'Tickets are listed along the top', 'event_espresso' ), |
|
614 | + __('Tickets are listed along the top', 'event_espresso'), |
|
615 | 615 | |
616 | 616 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:18 |
617 | - __( 'Click the cell buttons to toggle assigments', 'event_espresso' ), |
|
617 | + __('Click the cell buttons to toggle assigments', 'event_espresso'), |
|
618 | 618 | |
619 | 619 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/useSubmitButtonProps.ts:29 |
620 | 620 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:16 |
@@ -623,1292 +623,1292 @@ discard block |
||
623 | 623 | // Reference: packages/tpc/src/buttons/useSubmitButtonProps.tsx:29 |
624 | 624 | // Reference: packages/ui-components/src/Modal/useSubmitButtonProps.tsx:13 |
625 | 625 | // Reference: packages/ui-components/src/Stepper/buttons/Submit.tsx:7 |
626 | - __( 'Submit', 'event_espresso' ), |
|
626 | + __('Submit', 'event_espresso'), |
|
627 | 627 | |
628 | 628 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:19 |
629 | - __( 'All Dates', 'event_espresso' ), |
|
629 | + __('All Dates', 'event_espresso'), |
|
630 | 630 | |
631 | 631 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:26 |
632 | - __( 'dates by month', 'event_espresso' ), |
|
632 | + __('dates by month', 'event_espresso'), |
|
633 | 633 | |
634 | 634 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowExpiredTicketsControl.tsx:16 |
635 | - __( 'show expired tickets', 'event_espresso' ), |
|
635 | + __('show expired tickets', 'event_espresso'), |
|
636 | 636 | |
637 | 637 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedDatesControl.tsx:13 |
638 | - __( 'show trashed dates', 'event_espresso' ), |
|
638 | + __('show trashed dates', 'event_espresso'), |
|
639 | 639 | |
640 | 640 | // Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedTicketsControl.tsx:16 |
641 | - __( 'show trashed tickets', 'event_espresso' ), |
|
641 | + __('show trashed tickets', 'event_espresso'), |
|
642 | 642 | |
643 | 643 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:13 |
644 | - __( 'total registrations.', 'event_espresso' ), |
|
644 | + __('total registrations.', 'event_espresso'), |
|
645 | 645 | |
646 | 646 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:14 |
647 | - __( 'view ALL registrations for this ticket.', 'event_espresso' ), |
|
647 | + __('view ALL registrations for this ticket.', 'event_espresso'), |
|
648 | 648 | |
649 | 649 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/Container.tsx:38 |
650 | 650 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actions/Actions.tsx:21 |
651 | - __( 'Default tickets', 'event_espresso' ), |
|
651 | + __('Default tickets', 'event_espresso'), |
|
652 | 652 | |
653 | 653 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:26 |
654 | 654 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:33 |
655 | - __( 'Set ticket prices', 'event_espresso' ), |
|
655 | + __('Set ticket prices', 'event_espresso'), |
|
656 | 656 | |
657 | 657 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:31 |
658 | - __( 'Skip prices - Save', 'event_espresso' ), |
|
658 | + __('Skip prices - Save', 'event_espresso'), |
|
659 | 659 | |
660 | 660 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:37 |
661 | 661 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:57 |
662 | - __( 'Ticket details', 'event_espresso' ), |
|
662 | + __('Ticket details', 'event_espresso'), |
|
663 | 663 | |
664 | 664 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:38 |
665 | - __( 'Save', 'event_espresso' ), |
|
665 | + __('Save', 'event_espresso'), |
|
666 | 666 | |
667 | 667 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/Modal.tsx:22 |
668 | 668 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/Modal.tsx:26 |
669 | 669 | /* translators: %s ticket id */ |
670 | - __( 'Edit ticket %s', 'event_espresso' ), |
|
670 | + __('Edit ticket %s', 'event_espresso'), |
|
671 | 671 | |
672 | 672 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/Modal.tsx:25 |
673 | 673 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/Modal.tsx:29 |
674 | - __( 'New Ticket Details', 'event_espresso' ), |
|
674 | + __('New Ticket Details', 'event_espresso'), |
|
675 | 675 | |
676 | 676 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:10 |
677 | 677 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:10 |
678 | - __( 'primary information about the ticket', 'event_espresso' ), |
|
678 | + __('primary information about the ticket', 'event_espresso'), |
|
679 | 679 | |
680 | 680 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:10 |
681 | 681 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:10 |
682 | - __( 'Ticket Details', 'event_espresso' ), |
|
682 | + __('Ticket Details', 'event_espresso'), |
|
683 | 683 | |
684 | 684 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:12 |
685 | 685 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:12 |
686 | - __( 'apply ticket price modifiers and taxes', 'event_espresso' ), |
|
686 | + __('apply ticket price modifiers and taxes', 'event_espresso'), |
|
687 | 687 | |
688 | 688 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:14 |
689 | 689 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:14 |
690 | - __( 'Price Calculator', 'event_espresso' ), |
|
690 | + __('Price Calculator', 'event_espresso'), |
|
691 | 691 | |
692 | 692 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:16 |
693 | 693 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:16 |
694 | - __( 'Assign Dates', 'event_espresso' ), |
|
694 | + __('Assign Dates', 'event_espresso'), |
|
695 | 695 | |
696 | 696 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:39 |
697 | - __( 'Skip prices - assign dates', 'event_espresso' ), |
|
697 | + __('Skip prices - assign dates', 'event_espresso'), |
|
698 | 698 | |
699 | 699 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:50 |
700 | - __( 'Save and assign dates', 'event_espresso' ), |
|
700 | + __('Save and assign dates', 'event_espresso'), |
|
701 | 701 | |
702 | 702 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:104 |
703 | - __( 'Ticket Sales', 'event_espresso' ), |
|
703 | + __('Ticket Sales', 'event_espresso'), |
|
704 | 704 | |
705 | 705 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:130 |
706 | 706 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:112 |
707 | - __( 'Quantity For Sale', 'event_espresso' ), |
|
707 | + __('Quantity For Sale', 'event_espresso'), |
|
708 | 708 | |
709 | 709 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:136 |
710 | - __( 'The maximum number of this ticket available for sale.', 'event_espresso' ), |
|
710 | + __('The maximum number of this ticket available for sale.', 'event_espresso'), |
|
711 | 711 | |
712 | 712 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:138 |
713 | - __( 'Set to 0 to stop sales, or leave blank for no limit.', 'event_espresso' ), |
|
713 | + __('Set to 0 to stop sales, or leave blank for no limit.', 'event_espresso'), |
|
714 | 714 | |
715 | 715 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:144 |
716 | 716 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:121 |
717 | - __( 'Number of Uses', 'event_espresso' ), |
|
717 | + __('Number of Uses', 'event_espresso'), |
|
718 | 718 | |
719 | 719 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:150 |
720 | - __( 'Controls the total number of times this ticket can be used, regardless of the number of dates it is assigned to.', 'event_espresso' ), |
|
720 | + __('Controls the total number of times this ticket can be used, regardless of the number of dates it is assigned to.', 'event_espresso'), |
|
721 | 721 | |
722 | 722 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:154 |
723 | - __( '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' ), |
|
723 | + __('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'), |
|
724 | 724 | |
725 | 725 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:162 |
726 | 726 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:129 |
727 | - __( 'Minimum Quantity', 'event_espresso' ), |
|
727 | + __('Minimum Quantity', 'event_espresso'), |
|
728 | 728 | |
729 | 729 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:167 |
730 | - __( 'The minimum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso' ), |
|
730 | + __('The minimum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso'), |
|
731 | 731 | |
732 | 732 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:171 |
733 | - __( 'Leave blank for no minimum.', 'event_espresso' ), |
|
733 | + __('Leave blank for no minimum.', 'event_espresso'), |
|
734 | 734 | |
735 | 735 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:177 |
736 | 736 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:137 |
737 | - __( 'Maximum Quantity', 'event_espresso' ), |
|
737 | + __('Maximum Quantity', 'event_espresso'), |
|
738 | 738 | |
739 | 739 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:183 |
740 | - __( 'The maximum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso' ), |
|
740 | + __('The maximum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso'), |
|
741 | 741 | |
742 | 742 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:187 |
743 | - __( 'Leave blank for no maximum.', 'event_espresso' ), |
|
743 | + __('Leave blank for no maximum.', 'event_espresso'), |
|
744 | 744 | |
745 | 745 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:193 |
746 | 746 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:146 |
747 | - __( 'Required Ticket', 'event_espresso' ), |
|
747 | + __('Required Ticket', 'event_espresso'), |
|
748 | 748 | |
749 | 749 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:195 |
750 | - __( 'If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso' ), |
|
750 | + __('If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso'), |
|
751 | 751 | |
752 | 752 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:209 |
753 | - __( 'Visibility', 'event_espresso' ), |
|
753 | + __('Visibility', 'event_espresso'), |
|
754 | 754 | |
755 | 755 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:211 |
756 | - __( 'Where the ticket can be viewed throughout the UI.', 'event_espresso' ), |
|
756 | + __('Where the ticket can be viewed throughout the UI.', 'event_espresso'), |
|
757 | 757 | |
758 | 758 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:35 |
759 | - __( 'Available Tickets', 'event_espresso' ), |
|
759 | + __('Available Tickets', 'event_espresso'), |
|
760 | 760 | |
761 | 761 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:38 |
762 | - __( 'loading tickets…', 'event_espresso' ), |
|
762 | + __('loading tickets…', 'event_espresso'), |
|
763 | 763 | |
764 | 764 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:26 |
765 | - __( 'Number of related dates', 'event_espresso' ), |
|
765 | + __('Number of related dates', 'event_espresso'), |
|
766 | 766 | |
767 | 767 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:27 |
768 | - __( 'There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso' ), |
|
768 | + __('There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso'), |
|
769 | 769 | |
770 | 770 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:37 |
771 | - __( 'assign dates', 'event_espresso' ), |
|
771 | + __('assign dates', 'event_espresso'), |
|
772 | 772 | |
773 | 773 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:18 |
774 | - __( 'Permanently delete Ticket?', 'event_espresso' ), |
|
774 | + __('Permanently delete Ticket?', 'event_espresso'), |
|
775 | 775 | |
776 | 776 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:18 |
777 | - __( 'Move Ticket to Trash?', 'event_espresso' ), |
|
777 | + __('Move Ticket to Trash?', 'event_espresso'), |
|
778 | 778 | |
779 | 779 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:21 |
780 | - __( 'Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso' ), |
|
780 | + __('Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso'), |
|
781 | 781 | |
782 | 782 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:22 |
783 | - __( 'Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso' ), |
|
783 | + __('Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso'), |
|
784 | 784 | |
785 | 785 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:44 |
786 | 786 | // Reference: packages/ee-components/src/SimpleTicketCard/actions/Trash.tsx:6 |
787 | - __( 'trash ticket', 'event_espresso' ), |
|
787 | + __('trash ticket', 'event_espresso'), |
|
788 | 788 | |
789 | 789 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:25 |
790 | - __( 'ticket main menu', 'event_espresso' ), |
|
790 | + __('ticket main menu', 'event_espresso'), |
|
791 | 791 | |
792 | 792 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:38 |
793 | 793 | // Reference: packages/ee-components/src/SimpleTicketCard/actions/Edit.tsx:15 |
794 | - __( 'edit ticket', 'event_espresso' ), |
|
794 | + __('edit ticket', 'event_espresso'), |
|
795 | 795 | |
796 | 796 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:39 |
797 | - __( 'copy ticket', 'event_espresso' ), |
|
797 | + __('copy ticket', 'event_espresso'), |
|
798 | 798 | |
799 | 799 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:43 |
800 | - __( 'edit ticket details', 'event_espresso' ), |
|
800 | + __('edit ticket details', 'event_espresso'), |
|
801 | 801 | |
802 | 802 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:47 |
803 | - __( 'delete tickets', 'event_espresso' ), |
|
803 | + __('delete tickets', 'event_espresso'), |
|
804 | 804 | |
805 | 805 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:47 |
806 | - __( 'trash tickets', 'event_espresso' ), |
|
806 | + __('trash tickets', 'event_espresso'), |
|
807 | 807 | |
808 | 808 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:51 |
809 | - __( 'edit ticket prices', 'event_espresso' ), |
|
809 | + __('edit ticket prices', 'event_espresso'), |
|
810 | 810 | |
811 | 811 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:14 |
812 | - __( 'Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso' ), |
|
812 | + __('Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso'), |
|
813 | 813 | |
814 | 814 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:15 |
815 | - __( 'Are you sure you want to trash these tickets?', 'event_espresso' ), |
|
815 | + __('Are you sure you want to trash these tickets?', 'event_espresso'), |
|
816 | 816 | |
817 | 817 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:16 |
818 | - __( 'Delete tickets permanently', 'event_espresso' ), |
|
818 | + __('Delete tickets permanently', 'event_espresso'), |
|
819 | 819 | |
820 | 820 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:16 |
821 | - __( 'Trash tickets', 'event_espresso' ), |
|
821 | + __('Trash tickets', 'event_espresso'), |
|
822 | 822 | |
823 | 823 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:21 |
824 | - __( 'Bulk edit ticket details', 'event_espresso' ), |
|
824 | + __('Bulk edit ticket details', 'event_espresso'), |
|
825 | 825 | |
826 | 826 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:22 |
827 | - __( 'any changes will be applied to ALL of the selected tickets.', 'event_espresso' ), |
|
827 | + __('any changes will be applied to ALL of the selected tickets.', 'event_espresso'), |
|
828 | 828 | |
829 | 829 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/EditPrices.tsx:19 |
830 | - __( 'Bulk edit ticket prices', 'event_espresso' ), |
|
830 | + __('Bulk edit ticket prices', 'event_espresso'), |
|
831 | 831 | |
832 | 832 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:20 |
833 | - __( 'Edit all prices together', 'event_espresso' ), |
|
833 | + __('Edit all prices together', 'event_espresso'), |
|
834 | 834 | |
835 | 835 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:21 |
836 | - __( 'Edit all the selected ticket prices dynamically', 'event_espresso' ), |
|
836 | + __('Edit all the selected ticket prices dynamically', 'event_espresso'), |
|
837 | 837 | |
838 | 838 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:25 |
839 | - __( 'Edit prices individually', 'event_espresso' ), |
|
839 | + __('Edit prices individually', 'event_espresso'), |
|
840 | 840 | |
841 | 841 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:26 |
842 | - __( 'Edit prices for each ticket individually', 'event_espresso' ), |
|
842 | + __('Edit prices for each ticket individually', 'event_espresso'), |
|
843 | 843 | |
844 | 844 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:14 |
845 | 845 | // Reference: packages/ee-components/src/bulkEdit/details/Submit.tsx:34 |
846 | 846 | // Reference: packages/form/src/ResetButton.tsx:18 |
847 | 847 | // Reference: packages/tpc/src/buttons/useResetButtonProps.tsx:12 |
848 | - __( 'Reset', 'event_espresso' ), |
|
848 | + __('Reset', 'event_espresso'), |
|
849 | 849 | |
850 | 850 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:15 |
851 | 851 | // Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:76 |
852 | 852 | // Reference: packages/ui-components/src/FormBuilder/FormSection/FormSectionSidebar.tsx:141 |
853 | 853 | // Reference: packages/ui-components/src/Modal/useCancelButtonProps.tsx:10 |
854 | - __( 'Cancel', 'event_espresso' ), |
|
854 | + __('Cancel', 'event_espresso'), |
|
855 | 855 | |
856 | 856 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/editSeparately/TPCInstance.tsx:26 |
857 | 857 | /* translators: %s ticket name */ |
858 | - __( 'Edit prices for Ticket: %s', 'event_espresso' ), |
|
858 | + __('Edit prices for Ticket: %s', 'event_espresso'), |
|
859 | 859 | |
860 | 860 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:37 |
861 | - __( 'Edit Ticket Sale Dates', 'event_espresso' ), |
|
861 | + __('Edit Ticket Sale Dates', 'event_espresso'), |
|
862 | 862 | |
863 | 863 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:41 |
864 | - __( 'edit ticket sales start and end dates', 'event_espresso' ), |
|
864 | + __('edit ticket sales start and end dates', 'event_espresso'), |
|
865 | 865 | |
866 | 866 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:28 |
867 | - __( 'quantity', 'event_espresso' ), |
|
867 | + __('quantity', 'event_espresso'), |
|
868 | 868 | |
869 | 869 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketQuantity.tsx:27 |
870 | - __( 'edit quantity of tickets available…', 'event_espresso' ), |
|
870 | + __('edit quantity of tickets available…', 'event_espresso'), |
|
871 | 871 | |
872 | 872 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:10 |
873 | - __( 'Move Ticket to Trash', 'event_espresso' ), |
|
873 | + __('Move Ticket to Trash', 'event_espresso'), |
|
874 | 874 | |
875 | 875 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:15 |
876 | 876 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:52 |
877 | - __( 'On Sale', 'event_espresso' ), |
|
877 | + __('On Sale', 'event_espresso'), |
|
878 | 878 | |
879 | 879 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:17 |
880 | - __( 'Pending', 'event_espresso' ), |
|
880 | + __('Pending', 'event_espresso'), |
|
881 | 881 | |
882 | 882 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:7 |
883 | - __( 'Edit Ticket Details', 'event_espresso' ), |
|
883 | + __('Edit Ticket Details', 'event_espresso'), |
|
884 | 884 | |
885 | 885 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:8 |
886 | - __( 'Manage Date Assignments', 'event_espresso' ), |
|
886 | + __('Manage Date Assignments', 'event_espresso'), |
|
887 | 887 | |
888 | 888 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:9 |
889 | 889 | // Reference: packages/tpc/src/components/table/Table.tsx:44 |
890 | - __( 'Ticket Price Calculator', 'event_espresso' ), |
|
890 | + __('Ticket Price Calculator', 'event_espresso'), |
|
891 | 891 | |
892 | 892 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:39 |
893 | - __( 'edit ticket total…', 'event_espresso' ), |
|
893 | + __('edit ticket total…', 'event_espresso'), |
|
894 | 894 | |
895 | 895 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:53 |
896 | - __( 'set price…', 'event_espresso' ), |
|
896 | + __('set price…', 'event_espresso'), |
|
897 | 897 | |
898 | 898 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:23 |
899 | - __( 'tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso' ), |
|
899 | + __('tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso'), |
|
900 | 900 | |
901 | 901 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:24 |
902 | - __( 'tickets list is unlinked and is showing tickets for all event dates', 'event_espresso' ), |
|
902 | + __('tickets list is unlinked and is showing tickets for all event dates', 'event_espresso'), |
|
903 | 903 | |
904 | 904 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:10 |
905 | - __( 'ticket sales start and end dates', 'event_espresso' ), |
|
905 | + __('ticket sales start and end dates', 'event_espresso'), |
|
906 | 906 | |
907 | 907 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:15 |
908 | - __( 'tickets with 90% or more sold', 'event_espresso' ), |
|
908 | + __('tickets with 90% or more sold', 'event_espresso'), |
|
909 | 909 | |
910 | 910 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:16 |
911 | - __( 'tickets with 75% or more sold', 'event_espresso' ), |
|
911 | + __('tickets with 75% or more sold', 'event_espresso'), |
|
912 | 912 | |
913 | 913 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:17 |
914 | - __( 'tickets with 50% or more sold', 'event_espresso' ), |
|
914 | + __('tickets with 50% or more sold', 'event_espresso'), |
|
915 | 915 | |
916 | 916 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:19 |
917 | - __( 'tickets with less than 50% sold', 'event_espresso' ), |
|
917 | + __('tickets with less than 50% sold', 'event_espresso'), |
|
918 | 918 | |
919 | 919 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:28 |
920 | - __( 'all tickets for all dates', 'event_espresso' ), |
|
920 | + __('all tickets for all dates', 'event_espresso'), |
|
921 | 921 | |
922 | 922 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:29 |
923 | - __( 'all on sale and sale pending', 'event_espresso' ), |
|
923 | + __('all on sale and sale pending', 'event_espresso'), |
|
924 | 924 | |
925 | 925 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:30 |
926 | - __( 'on sale tickets only', 'event_espresso' ), |
|
926 | + __('on sale tickets only', 'event_espresso'), |
|
927 | 927 | |
928 | 928 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:31 |
929 | - __( 'sale pending tickets only', 'event_espresso' ), |
|
929 | + __('sale pending tickets only', 'event_espresso'), |
|
930 | 930 | |
931 | 931 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:32 |
932 | - __( 'next on sale or sale pending only', 'event_espresso' ), |
|
932 | + __('next on sale or sale pending only', 'event_espresso'), |
|
933 | 933 | |
934 | 934 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:33 |
935 | - __( 'sold out tickets only', 'event_espresso' ), |
|
935 | + __('sold out tickets only', 'event_espresso'), |
|
936 | 936 | |
937 | 937 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:34 |
938 | - __( 'expired tickets only', 'event_espresso' ), |
|
938 | + __('expired tickets only', 'event_espresso'), |
|
939 | 939 | |
940 | 940 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:35 |
941 | - __( 'trashed tickets only', 'event_espresso' ), |
|
941 | + __('trashed tickets only', 'event_espresso'), |
|
942 | 942 | |
943 | 943 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:40 |
944 | - __( 'all tickets for above dates', 'event_espresso' ), |
|
944 | + __('all tickets for above dates', 'event_espresso'), |
|
945 | 945 | |
946 | 946 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:44 |
947 | - __( 'ticket sale date', 'event_espresso' ), |
|
947 | + __('ticket sale date', 'event_espresso'), |
|
948 | 948 | |
949 | 949 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:45 |
950 | - __( 'ticket name', 'event_espresso' ), |
|
950 | + __('ticket name', 'event_espresso'), |
|
951 | 951 | |
952 | 952 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:46 |
953 | - __( 'ticket ID', 'event_espresso' ), |
|
953 | + __('ticket ID', 'event_espresso'), |
|
954 | 954 | |
955 | 955 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:52 |
956 | - __( 'link', 'event_espresso' ), |
|
956 | + __('link', 'event_espresso'), |
|
957 | 957 | |
958 | 958 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:8 |
959 | - __( 'ticket sales start date only', 'event_espresso' ), |
|
959 | + __('ticket sales start date only', 'event_espresso'), |
|
960 | 960 | |
961 | 961 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:9 |
962 | - __( 'ticket sales end date only', 'event_espresso' ), |
|
962 | + __('ticket sales end date only', 'event_espresso'), |
|
963 | 963 | |
964 | 964 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:18 |
965 | - __( 'Add New Ticket', 'event_espresso' ), |
|
965 | + __('Add New Ticket', 'event_espresso'), |
|
966 | 966 | |
967 | 967 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:32 |
968 | - __( 'Add a single ticket and assign the dates to it', 'event_espresso' ), |
|
968 | + __('Add a single ticket and assign the dates to it', 'event_espresso'), |
|
969 | 969 | |
970 | 970 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:34 |
971 | - __( 'Single Ticket', 'event_espresso' ), |
|
971 | + __('Single Ticket', 'event_espresso'), |
|
972 | 972 | |
973 | 973 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/TableView.tsx:39 |
974 | - __( 'Tickets', 'event_espresso' ), |
|
974 | + __('Tickets', 'event_espresso'), |
|
975 | 975 | |
976 | 976 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:110 |
977 | - __( 'Registrations', 'event_espresso' ), |
|
977 | + __('Registrations', 'event_espresso'), |
|
978 | 978 | |
979 | 979 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:51 |
980 | - __( 'Goes on Sale', 'event_espresso' ), |
|
980 | + __('Goes on Sale', 'event_espresso'), |
|
981 | 981 | |
982 | 982 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:65 |
983 | - __( 'Sale Ends', 'event_espresso' ), |
|
983 | + __('Sale Ends', 'event_espresso'), |
|
984 | 984 | |
985 | 985 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:66 |
986 | - __( 'Ends', 'event_espresso' ), |
|
986 | + __('Ends', 'event_espresso'), |
|
987 | 987 | |
988 | 988 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:78 |
989 | - __( 'Price', 'event_espresso' ), |
|
989 | + __('Price', 'event_espresso'), |
|
990 | 990 | |
991 | 991 | // Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:88 |
992 | - __( 'Quantity', 'event_espresso' ), |
|
992 | + __('Quantity', 'event_espresso'), |
|
993 | 993 | |
994 | 994 | // Reference: domains/core/admin/wpPluginsPage/src/exitSurvey/Popup.tsx:29 |
995 | - __( 'Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso' ), |
|
995 | + __('Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso'), |
|
996 | 996 | |
997 | 997 | // Reference: domains/core/admin/wpPluginsPage/src/exitSurvey/Popup.tsx:40 |
998 | - __( 'Skip', 'event_espresso' ), |
|
998 | + __('Skip', 'event_espresso'), |
|
999 | 999 | |
1000 | 1000 | // Reference: domains/core/admin/wpPluginsPage/src/exitSurvey/Popup.tsx:42 |
1001 | - __( 'Sure I\'ll help', 'event_espresso' ), |
|
1001 | + __('Sure I\'ll help', 'event_espresso'), |
|
1002 | 1002 | |
1003 | 1003 | // Reference: packages/adapters/src/Pagination/Pagination.tsx:23 |
1004 | - __( 'pagination', 'event_espresso' ), |
|
1004 | + __('pagination', 'event_espresso'), |
|
1005 | 1005 | |
1006 | 1006 | // Reference: packages/adapters/src/TagSelector/TagSelector.tsx:117 |
1007 | - __( 'toggle menu', 'event_espresso' ), |
|
1007 | + __('toggle menu', 'event_espresso'), |
|
1008 | 1008 | |
1009 | 1009 | // Reference: packages/constants/src/datetime.ts:10 |
1010 | - __( 'Postponed', 'event_espresso' ), |
|
1010 | + __('Postponed', 'event_espresso'), |
|
1011 | 1011 | |
1012 | 1012 | // Reference: packages/constants/src/datetime.ts:11 |
1013 | - __( 'SoldOut', 'event_espresso' ), |
|
1013 | + __('SoldOut', 'event_espresso'), |
|
1014 | 1014 | |
1015 | 1015 | // Reference: packages/constants/src/datetime.ts:7 |
1016 | 1016 | // Reference: packages/predicates/src/registration/statusOptions.ts:10 |
1017 | - __( 'Cancelled', 'event_espresso' ), |
|
1017 | + __('Cancelled', 'event_espresso'), |
|
1018 | 1018 | |
1019 | 1019 | // Reference: packages/constants/src/datetime.ts:9 |
1020 | - __( 'Inactive', 'event_espresso' ), |
|
1020 | + __('Inactive', 'event_espresso'), |
|
1021 | 1021 | |
1022 | 1022 | // Reference: packages/dates/src/components/DateRangePicker/DateRangePickerLegend.tsx:13 |
1023 | - __( 'day in range', 'event_espresso' ), |
|
1023 | + __('day in range', 'event_espresso'), |
|
1024 | 1024 | |
1025 | 1025 | // Reference: packages/dates/src/components/DateRangePicker/DateRangePickerLegend.tsx:17 |
1026 | 1026 | // Reference: packages/dates/src/components/DateRangePicker/index.tsx:79 |
1027 | - __( 'end date', 'event_espresso' ), |
|
1027 | + __('end date', 'event_espresso'), |
|
1028 | 1028 | |
1029 | 1029 | // Reference: packages/dates/src/components/DateTimePicker.tsx:13 |
1030 | 1030 | // Reference: packages/dates/src/components/TimePicker.tsx:13 |
1031 | - __( 'time', 'event_espresso' ), |
|
1031 | + __('time', 'event_espresso'), |
|
1032 | 1032 | |
1033 | 1033 | // Reference: packages/dates/src/constants.ts:5 |
1034 | - __( 'End Date & Time must be set later than the Start Date & Time', 'event_espresso' ), |
|
1034 | + __('End Date & Time must be set later than the Start Date & Time', 'event_espresso'), |
|
1035 | 1035 | |
1036 | 1036 | // Reference: packages/dates/src/constants.ts:7 |
1037 | - __( 'Start Date & Time must be set before the End Date & Time', 'event_espresso' ), |
|
1037 | + __('Start Date & Time must be set before the End Date & Time', 'event_espresso'), |
|
1038 | 1038 | |
1039 | 1039 | // Reference: packages/dates/src/utils/misc.ts:15 |
1040 | - __( 'month(s)', 'event_espresso' ), |
|
1040 | + __('month(s)', 'event_espresso'), |
|
1041 | 1041 | |
1042 | 1042 | // Reference: packages/dates/src/utils/misc.ts:16 |
1043 | - __( 'week(s)', 'event_espresso' ), |
|
1043 | + __('week(s)', 'event_espresso'), |
|
1044 | 1044 | |
1045 | 1045 | // Reference: packages/dates/src/utils/misc.ts:17 |
1046 | - __( 'day(s)', 'event_espresso' ), |
|
1046 | + __('day(s)', 'event_espresso'), |
|
1047 | 1047 | |
1048 | 1048 | // Reference: packages/dates/src/utils/misc.ts:18 |
1049 | - __( 'hour(s)', 'event_espresso' ), |
|
1049 | + __('hour(s)', 'event_espresso'), |
|
1050 | 1050 | |
1051 | 1051 | // Reference: packages/dates/src/utils/misc.ts:19 |
1052 | - __( 'minute(s)', 'event_espresso' ), |
|
1052 | + __('minute(s)', 'event_espresso'), |
|
1053 | 1053 | |
1054 | 1054 | // Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:105 |
1055 | - __( 'datetimes initialized', 'event_espresso' ), |
|
1055 | + __('datetimes initialized', 'event_espresso'), |
|
1056 | 1056 | |
1057 | 1057 | // Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:115 |
1058 | - __( 'tickets initialized', 'event_espresso' ), |
|
1058 | + __('tickets initialized', 'event_espresso'), |
|
1059 | 1059 | |
1060 | 1060 | // Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:125 |
1061 | - __( 'prices initialized', 'event_espresso' ), |
|
1061 | + __('prices initialized', 'event_espresso'), |
|
1062 | 1062 | |
1063 | 1063 | // Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:95 |
1064 | - __( 'price types initialized', 'event_espresso' ), |
|
1064 | + __('price types initialized', 'event_espresso'), |
|
1065 | 1065 | |
1066 | 1066 | // Reference: packages/edtr-services/src/apollo/mutations/useReorderEntities.ts:72 |
1067 | - __( 'reordering has been applied', 'event_espresso' ), |
|
1067 | + __('reordering has been applied', 'event_espresso'), |
|
1068 | 1068 | |
1069 | 1069 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:38 |
1070 | 1070 | // Reference: packages/ui-components/src/EditDateRangeButton/EditDateRangeButton.tsx:39 |
1071 | - __( 'End date has been adjusted', 'event_espresso' ), |
|
1071 | + __('End date has been adjusted', 'event_espresso'), |
|
1072 | 1072 | |
1073 | 1073 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:59 |
1074 | - __( 'Required', 'event_espresso' ), |
|
1074 | + __('Required', 'event_espresso'), |
|
1075 | 1075 | |
1076 | 1076 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:64 |
1077 | - __( 'Start Date is required', 'event_espresso' ), |
|
1077 | + __('Start Date is required', 'event_espresso'), |
|
1078 | 1078 | |
1079 | 1079 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:68 |
1080 | - __( 'End Date is required', 'event_espresso' ), |
|
1080 | + __('End Date is required', 'event_espresso'), |
|
1081 | 1081 | |
1082 | 1082 | // Reference: packages/ee-components/src/EntityList/EntityList.tsx:31 |
1083 | - __( 'no results found', 'event_espresso' ), |
|
1083 | + __('no results found', 'event_espresso'), |
|
1084 | 1084 | |
1085 | 1085 | // Reference: packages/ee-components/src/EntityList/EntityList.tsx:32 |
1086 | - __( 'try changing filter settings', 'event_espresso' ), |
|
1086 | + __('try changing filter settings', 'event_espresso'), |
|
1087 | 1087 | |
1088 | 1088 | // Reference: packages/ee-components/src/SimpleTicketCard/SimpleTicketCard.tsx:27 |
1089 | 1089 | // Reference: packages/ui-components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:34 |
1090 | - __( 'starts', 'event_espresso' ), |
|
1090 | + __('starts', 'event_espresso'), |
|
1091 | 1091 | |
1092 | 1092 | // Reference: packages/ee-components/src/SimpleTicketCard/SimpleTicketCard.tsx:34 |
1093 | 1093 | // Reference: packages/ui-components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:47 |
1094 | - __( 'ends', 'event_espresso' ), |
|
1094 | + __('ends', 'event_espresso'), |
|
1095 | 1095 | |
1096 | 1096 | // Reference: packages/ee-components/src/bulkEdit/ActionCheckbox.tsx:38 |
1097 | 1097 | /* translators: %d entity id */ |
1098 | - __( 'select entity with id %d', 'event_espresso' ), |
|
1098 | + __('select entity with id %d', 'event_espresso'), |
|
1099 | 1099 | |
1100 | 1100 | // Reference: packages/ee-components/src/bulkEdit/ActionCheckbox.tsx:41 |
1101 | - __( 'select all entities', 'event_espresso' ), |
|
1101 | + __('select all entities', 'event_espresso'), |
|
1102 | 1102 | |
1103 | 1103 | // Reference: packages/ee-components/src/bulkEdit/details/BulkEditDetails.tsx:20 |
1104 | - __( 'Note: ', 'event_espresso' ), |
|
1104 | + __('Note: ', 'event_espresso'), |
|
1105 | 1105 | |
1106 | 1106 | // Reference: packages/ee-components/src/bulkEdit/details/BulkEditDetails.tsx:20 |
1107 | - __( 'any changes will be applied to ALL of the selected entities.', 'event_espresso' ), |
|
1107 | + __('any changes will be applied to ALL of the selected entities.', 'event_espresso'), |
|
1108 | 1108 | |
1109 | 1109 | // Reference: packages/ee-components/src/bulkEdit/details/BulkEditDetails.tsx:26 |
1110 | - __( 'Bulk edit details', 'event_espresso' ), |
|
1110 | + __('Bulk edit details', 'event_espresso'), |
|
1111 | 1111 | |
1112 | 1112 | // Reference: packages/ee-components/src/bulkEdit/details/Submit.tsx:17 |
1113 | - __( 'Are you sure you want to bulk update the details?', 'event_espresso' ), |
|
1113 | + __('Are you sure you want to bulk update the details?', 'event_espresso'), |
|
1114 | 1114 | |
1115 | 1115 | // Reference: packages/ee-components/src/bulkEdit/details/Submit.tsx:18 |
1116 | - __( 'Bulk update details', 'event_espresso' ), |
|
1116 | + __('Bulk update details', 'event_espresso'), |
|
1117 | 1117 | |
1118 | 1118 | // Reference: packages/ee-components/src/filterBar/SortByControl/index.tsx:26 |
1119 | - __( 'reorder dates', 'event_espresso' ), |
|
1119 | + __('reorder dates', 'event_espresso'), |
|
1120 | 1120 | |
1121 | 1121 | // Reference: packages/ee-components/src/filterBar/SortByControl/index.tsx:26 |
1122 | - __( 'reorder tickets', 'event_espresso' ), |
|
1122 | + __('reorder tickets', 'event_espresso'), |
|
1123 | 1123 | |
1124 | 1124 | // Reference: packages/form/src/adapters/WPMediaImage.tsx:12 |
1125 | - __( 'Select Image', 'event_espresso' ), |
|
1125 | + __('Select Image', 'event_espresso'), |
|
1126 | 1126 | |
1127 | 1127 | // Reference: packages/form/src/adapters/WPMediaImage.tsx:44 |
1128 | 1128 | // Reference: packages/rich-text-editor/src/components/AdvancedTextEditor/toolbarButtons/WPMedia.tsx:11 |
1129 | 1129 | // Reference: packages/rich-text-editor/src/rte-old/components/toolbarButtons/WPMedia.tsx:12 |
1130 | - __( 'Select', 'event_espresso' ), |
|
1130 | + __('Select', 'event_espresso'), |
|
1131 | 1131 | |
1132 | 1132 | // Reference: packages/form/src/renderers/RepeatableRenderer.tsx:36 |
1133 | 1133 | /* translators: %d the entry number */ |
1134 | - __( 'Entry %d', 'event_espresso' ), |
|
1134 | + __('Entry %d', 'event_espresso'), |
|
1135 | 1135 | |
1136 | 1136 | // Reference: packages/form/src/renderers/RepeatableRenderer.tsx:52 |
1137 | 1137 | // Reference: packages/ui-components/src/FormBuilder/FormSection/FormSectionSidebar.tsx:133 |
1138 | 1138 | // Reference: packages/ui-components/src/SimpleEntityList/EntityTemplate.tsx:27 |
1139 | - __( 'Add', 'event_espresso' ), |
|
1139 | + __('Add', 'event_espresso'), |
|
1140 | 1140 | |
1141 | 1141 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:11 |
1142 | 1142 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:17 |
1143 | - __( 'sold out', 'event_espresso' ), |
|
1143 | + __('sold out', 'event_espresso'), |
|
1144 | 1144 | |
1145 | 1145 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:14 |
1146 | 1146 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:14 |
1147 | - __( 'expired', 'event_espresso' ), |
|
1147 | + __('expired', 'event_espresso'), |
|
1148 | 1148 | |
1149 | 1149 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:17 |
1150 | - __( 'upcoming', 'event_espresso' ), |
|
1150 | + __('upcoming', 'event_espresso'), |
|
1151 | 1151 | |
1152 | 1152 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:20 |
1153 | - __( 'active', 'event_espresso' ), |
|
1153 | + __('active', 'event_espresso'), |
|
1154 | 1154 | |
1155 | 1155 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:23 |
1156 | 1156 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:11 |
1157 | - __( 'trashed', 'event_espresso' ), |
|
1157 | + __('trashed', 'event_espresso'), |
|
1158 | 1158 | |
1159 | 1159 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:26 |
1160 | - __( 'cancelled', 'event_espresso' ), |
|
1160 | + __('cancelled', 'event_espresso'), |
|
1161 | 1161 | |
1162 | 1162 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:29 |
1163 | - __( 'postponed', 'event_espresso' ), |
|
1163 | + __('postponed', 'event_espresso'), |
|
1164 | 1164 | |
1165 | 1165 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:33 |
1166 | - __( 'inactive', 'event_espresso' ), |
|
1166 | + __('inactive', 'event_espresso'), |
|
1167 | 1167 | |
1168 | 1168 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:20 |
1169 | - __( 'pending', 'event_espresso' ), |
|
1169 | + __('pending', 'event_espresso'), |
|
1170 | 1170 | |
1171 | 1171 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:23 |
1172 | - __( 'on sale', 'event_espresso' ), |
|
1172 | + __('on sale', 'event_espresso'), |
|
1173 | 1173 | |
1174 | 1174 | // Reference: packages/predicates/src/registration/statusOptions.ts:14 |
1175 | - __( 'Declined', 'event_espresso' ), |
|
1175 | + __('Declined', 'event_espresso'), |
|
1176 | 1176 | |
1177 | 1177 | // Reference: packages/predicates/src/registration/statusOptions.ts:18 |
1178 | - __( 'Incomplete', 'event_espresso' ), |
|
1178 | + __('Incomplete', 'event_espresso'), |
|
1179 | 1179 | |
1180 | 1180 | // Reference: packages/predicates/src/registration/statusOptions.ts:22 |
1181 | - __( 'Not Approved', 'event_espresso' ), |
|
1181 | + __('Not Approved', 'event_espresso'), |
|
1182 | 1182 | |
1183 | 1183 | // Reference: packages/predicates/src/registration/statusOptions.ts:26 |
1184 | - __( 'Pending Payment', 'event_espresso' ), |
|
1184 | + __('Pending Payment', 'event_espresso'), |
|
1185 | 1185 | |
1186 | 1186 | // Reference: packages/predicates/src/registration/statusOptions.ts:30 |
1187 | - __( 'Wait List', 'event_espresso' ), |
|
1187 | + __('Wait List', 'event_espresso'), |
|
1188 | 1188 | |
1189 | 1189 | // Reference: packages/predicates/src/registration/statusOptions.ts:6 |
1190 | - __( 'Approved', 'event_espresso' ), |
|
1190 | + __('Approved', 'event_espresso'), |
|
1191 | 1191 | |
1192 | 1192 | // Reference: packages/rich-text-editor/src/components/AdvancedTextEditor/toolbarButtons/WPMedia.tsx:9 |
1193 | 1193 | // Reference: packages/rich-text-editor/src/rte-old/components/toolbarButtons/WPMedia.tsx:10 |
1194 | - __( 'Select media', 'event_espresso' ), |
|
1194 | + __('Select media', 'event_espresso'), |
|
1195 | 1195 | |
1196 | 1196 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/RichTextEditor.tsx:84 |
1197 | - __( 'Write something…', 'event_espresso' ), |
|
1197 | + __('Write something…', 'event_espresso'), |
|
1198 | 1198 | |
1199 | 1199 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/Toolbar.tsx:20 |
1200 | - __( 'RTE Toolbar', 'event_espresso' ), |
|
1200 | + __('RTE Toolbar', 'event_espresso'), |
|
1201 | 1201 | |
1202 | 1202 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:11 |
1203 | - __( 'Normal', 'event_espresso' ), |
|
1203 | + __('Normal', 'event_espresso'), |
|
1204 | 1204 | |
1205 | 1205 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:12 |
1206 | - __( 'H1', 'event_espresso' ), |
|
1206 | + __('H1', 'event_espresso'), |
|
1207 | 1207 | |
1208 | 1208 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:13 |
1209 | - __( 'H2', 'event_espresso' ), |
|
1209 | + __('H2', 'event_espresso'), |
|
1210 | 1210 | |
1211 | 1211 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:14 |
1212 | - __( 'H3', 'event_espresso' ), |
|
1212 | + __('H3', 'event_espresso'), |
|
1213 | 1213 | |
1214 | 1214 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:15 |
1215 | - __( 'H4', 'event_espresso' ), |
|
1215 | + __('H4', 'event_espresso'), |
|
1216 | 1216 | |
1217 | 1217 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:16 |
1218 | - __( 'H5', 'event_espresso' ), |
|
1218 | + __('H5', 'event_espresso'), |
|
1219 | 1219 | |
1220 | 1220 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:17 |
1221 | - __( 'H6', 'event_espresso' ), |
|
1221 | + __('H6', 'event_espresso'), |
|
1222 | 1222 | |
1223 | 1223 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:18 |
1224 | - __( 'Block quote', 'event_espresso' ), |
|
1224 | + __('Block quote', 'event_espresso'), |
|
1225 | 1225 | |
1226 | 1226 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:19 |
1227 | - __( 'Code', 'event_espresso' ), |
|
1227 | + __('Code', 'event_espresso'), |
|
1228 | 1228 | |
1229 | 1229 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/colorPicker/Component.tsx:36 |
1230 | - __( 'Set color', 'event_espresso' ), |
|
1230 | + __('Set color', 'event_espresso'), |
|
1231 | 1231 | |
1232 | 1232 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/colorPicker/Component.tsx:45 |
1233 | - __( 'Text color', 'event_espresso' ), |
|
1233 | + __('Text color', 'event_espresso'), |
|
1234 | 1234 | |
1235 | 1235 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/colorPicker/Component.tsx:47 |
1236 | - __( 'Background color', 'event_espresso' ), |
|
1236 | + __('Background color', 'event_espresso'), |
|
1237 | 1237 | |
1238 | 1238 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:35 |
1239 | - __( 'Add image', 'event_espresso' ), |
|
1239 | + __('Add image', 'event_espresso'), |
|
1240 | 1240 | |
1241 | 1241 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:47 |
1242 | - __( 'Image URL', 'event_espresso' ), |
|
1242 | + __('Image URL', 'event_espresso'), |
|
1243 | 1243 | |
1244 | 1244 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:51 |
1245 | - __( 'Alt text', 'event_espresso' ), |
|
1245 | + __('Alt text', 'event_espresso'), |
|
1246 | 1246 | |
1247 | 1247 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:52 |
1248 | - __( 'Width', 'event_espresso' ), |
|
1248 | + __('Width', 'event_espresso'), |
|
1249 | 1249 | |
1250 | 1250 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:56 |
1251 | - __( 'Height', 'event_espresso' ), |
|
1251 | + __('Height', 'event_espresso'), |
|
1252 | 1252 | |
1253 | 1253 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/link/Component.tsx:50 |
1254 | - __( 'Edit link', 'event_espresso' ), |
|
1254 | + __('Edit link', 'event_espresso'), |
|
1255 | 1255 | |
1256 | 1256 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/link/Component.tsx:60 |
1257 | - __( 'URL title', 'event_espresso' ), |
|
1257 | + __('URL title', 'event_espresso'), |
|
1258 | 1258 | |
1259 | 1259 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:11 |
1260 | - __( 'Unordered list', 'event_espresso' ), |
|
1260 | + __('Unordered list', 'event_espresso'), |
|
1261 | 1261 | |
1262 | 1262 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:12 |
1263 | - __( 'Ordered list', 'event_espresso' ), |
|
1263 | + __('Ordered list', 'event_espresso'), |
|
1264 | 1264 | |
1265 | 1265 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:13 |
1266 | 1266 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:13 |
1267 | - __( 'Indent', 'event_espresso' ), |
|
1267 | + __('Indent', 'event_espresso'), |
|
1268 | 1268 | |
1269 | 1269 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:14 |
1270 | 1270 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:14 |
1271 | - __( 'Outdent', 'event_espresso' ), |
|
1271 | + __('Outdent', 'event_espresso'), |
|
1272 | 1272 | |
1273 | 1273 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:11 |
1274 | - __( 'Unordered textalign', 'event_espresso' ), |
|
1274 | + __('Unordered textalign', 'event_espresso'), |
|
1275 | 1275 | |
1276 | 1276 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:12 |
1277 | - __( 'Ordered textalign', 'event_espresso' ), |
|
1277 | + __('Ordered textalign', 'event_espresso'), |
|
1278 | 1278 | |
1279 | 1279 | // Reference: packages/rich-text-editor/src/components/RichTextEditor/render/Image/Toolbar.tsx:31 |
1280 | - __( 'Image toolbar', 'event_espresso' ), |
|
1280 | + __('Image toolbar', 'event_espresso'), |
|
1281 | 1281 | |
1282 | 1282 | // Reference: packages/rich-text-editor/src/components/WithEditMode/WithEditMode.tsx:62 |
1283 | 1283 | // Reference: packages/rich-text-editor/src/rte-old/components/RTEWithEditMode/RTEWithEditMode.tsx:35 |
1284 | - __( 'Visual editor', 'event_espresso' ), |
|
1284 | + __('Visual editor', 'event_espresso'), |
|
1285 | 1285 | |
1286 | 1286 | // Reference: packages/rich-text-editor/src/components/WithEditMode/WithEditMode.tsx:66 |
1287 | 1287 | // Reference: packages/rich-text-editor/src/rte-old/components/RTEWithEditMode/RTEWithEditMode.tsx:39 |
1288 | - __( 'HTML editor', 'event_espresso' ), |
|
1288 | + __('HTML editor', 'event_espresso'), |
|
1289 | 1289 | |
1290 | 1290 | // Reference: packages/rich-text-editor/src/rte-old/components/toolbarButtons/WPMedia.tsx:68 |
1291 | - __( 'Add Media', 'event_espresso' ), |
|
1291 | + __('Add Media', 'event_espresso'), |
|
1292 | 1292 | |
1293 | 1293 | // Reference: packages/tpc/src/buttons/AddPriceModifierButton.tsx:14 |
1294 | - __( 'add new price modifier after this row', 'event_espresso' ), |
|
1294 | + __('add new price modifier after this row', 'event_espresso'), |
|
1295 | 1295 | |
1296 | 1296 | // Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:14 |
1297 | - __( 'Delete all prices', 'event_espresso' ), |
|
1297 | + __('Delete all prices', 'event_espresso'), |
|
1298 | 1298 | |
1299 | 1299 | // Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:27 |
1300 | - __( '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' ), |
|
1300 | + __('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'), |
|
1301 | 1301 | |
1302 | 1302 | // Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:31 |
1303 | - __( 'Delete all prices?', 'event_espresso' ), |
|
1303 | + __('Delete all prices?', 'event_espresso'), |
|
1304 | 1304 | |
1305 | 1305 | // Reference: packages/tpc/src/buttons/DeletePriceModifierButton.tsx:12 |
1306 | - __( 'delete price modifier', 'event_espresso' ), |
|
1306 | + __('delete price modifier', 'event_espresso'), |
|
1307 | 1307 | |
1308 | 1308 | // Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:14 |
1309 | - __( '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' ), |
|
1309 | + __('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'), |
|
1310 | 1310 | |
1311 | 1311 | // Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:17 |
1312 | - __( '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' ), |
|
1312 | + __('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'), |
|
1313 | 1313 | |
1314 | 1314 | // Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:21 |
1315 | - __( 'Disable reverse calculate', 'event_espresso' ), |
|
1315 | + __('Disable reverse calculate', 'event_espresso'), |
|
1316 | 1316 | |
1317 | 1317 | // Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:21 |
1318 | - __( 'Enable reverse calculate', 'event_espresso' ), |
|
1318 | + __('Enable reverse calculate', 'event_espresso'), |
|
1319 | 1319 | |
1320 | 1320 | // Reference: packages/tpc/src/buttons/TicketPriceCalculatorButton.tsx:28 |
1321 | - __( 'ticket price calculator', 'event_espresso' ), |
|
1321 | + __('ticket price calculator', 'event_espresso'), |
|
1322 | 1322 | |
1323 | 1323 | // Reference: packages/tpc/src/buttons/taxes/AddDefaultTaxesButton.tsx:9 |
1324 | - __( 'Add default taxes', 'event_espresso' ), |
|
1324 | + __('Add default taxes', 'event_espresso'), |
|
1325 | 1325 | |
1326 | 1326 | // Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:10 |
1327 | - __( 'Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso' ), |
|
1327 | + __('Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso'), |
|
1328 | 1328 | |
1329 | 1329 | // Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:14 |
1330 | - __( 'Remove all taxes?', 'event_espresso' ), |
|
1330 | + __('Remove all taxes?', 'event_espresso'), |
|
1331 | 1331 | |
1332 | 1332 | // Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:7 |
1333 | - __( 'Remove taxes', 'event_espresso' ), |
|
1333 | + __('Remove taxes', 'event_espresso'), |
|
1334 | 1334 | |
1335 | 1335 | // Reference: packages/tpc/src/components/DefaultPricesInfo.tsx:29 |
1336 | - __( 'Modify default prices.', 'event_espresso' ), |
|
1336 | + __('Modify default prices.', 'event_espresso'), |
|
1337 | 1337 | |
1338 | 1338 | // Reference: packages/tpc/src/components/DefaultTaxesInfo.tsx:29 |
1339 | - __( 'New default taxes are available. Click the - Add default taxes - button to add them now.', 'event_espresso' ), |
|
1339 | + __('New default taxes are available. Click the - Add default taxes - button to add them now.', 'event_espresso'), |
|
1340 | 1340 | |
1341 | 1341 | // Reference: packages/tpc/src/components/LockedTicketsBanner.tsx:12 |
1342 | - __( 'Editing of prices is disabled', 'event_espresso' ), |
|
1342 | + __('Editing of prices is disabled', 'event_espresso'), |
|
1343 | 1343 | |
1344 | 1344 | // Reference: packages/tpc/src/components/NoPricesBanner/AddDefaultPricesButton.tsx:9 |
1345 | - __( 'Add default prices', 'event_espresso' ), |
|
1345 | + __('Add default prices', 'event_espresso'), |
|
1346 | 1346 | |
1347 | 1347 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:13 |
1348 | - __( 'This Ticket is Currently Free', 'event_espresso' ), |
|
1348 | + __('This Ticket is Currently Free', 'event_espresso'), |
|
1349 | 1349 | |
1350 | 1350 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:21 |
1351 | 1351 | /* translators: %s default prices */ |
1352 | - __( 'Click the button below to load your %s into the calculator.', 'event_espresso' ), |
|
1352 | + __('Click the button below to load your %s into the calculator.', 'event_espresso'), |
|
1353 | 1353 | |
1354 | 1354 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:22 |
1355 | - __( 'default prices', 'event_espresso' ), |
|
1355 | + __('default prices', 'event_espresso'), |
|
1356 | 1356 | |
1357 | 1357 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:29 |
1358 | - __( 'Additional ticket price modifiers can be added or removed.', 'event_espresso' ), |
|
1358 | + __('Additional ticket price modifiers can be added or removed.', 'event_espresso'), |
|
1359 | 1359 | |
1360 | 1360 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:32 |
1361 | - __( 'Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso' ), |
|
1361 | + __('Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso'), |
|
1362 | 1362 | |
1363 | 1363 | // Reference: packages/tpc/src/components/TicketPriceCalculatorModal.tsx:32 |
1364 | 1364 | /* translators: %s ticket name */ |
1365 | - __( 'Price Calculator for Ticket: %s', 'event_espresso' ), |
|
1365 | + __('Price Calculator for Ticket: %s', 'event_espresso'), |
|
1366 | 1366 | |
1367 | 1367 | // Reference: packages/tpc/src/components/table/useFooterRowGenerator.tsx:48 |
1368 | - __( 'Total', 'event_espresso' ), |
|
1368 | + __('Total', 'event_espresso'), |
|
1369 | 1369 | |
1370 | 1370 | // Reference: packages/tpc/src/components/table/useFooterRowGenerator.tsx:57 |
1371 | - __( 'ticket total', 'event_espresso' ), |
|
1371 | + __('ticket total', 'event_espresso'), |
|
1372 | 1372 | |
1373 | 1373 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:29 |
1374 | - __( 'Order', 'event_espresso' ), |
|
1374 | + __('Order', 'event_espresso'), |
|
1375 | 1375 | |
1376 | 1376 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:35 |
1377 | - __( 'Price Type', 'event_espresso' ), |
|
1377 | + __('Price Type', 'event_espresso'), |
|
1378 | 1378 | |
1379 | 1379 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:41 |
1380 | - __( 'Label', 'event_espresso' ), |
|
1380 | + __('Label', 'event_espresso'), |
|
1381 | 1381 | |
1382 | 1382 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:53 |
1383 | - __( 'Amount', 'event_espresso' ), |
|
1383 | + __('Amount', 'event_espresso'), |
|
1384 | 1384 | |
1385 | 1385 | // Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:22 |
1386 | - __( 'Copy ticket', 'event_espresso' ), |
|
1386 | + __('Copy ticket', 'event_espresso'), |
|
1387 | 1387 | |
1388 | 1388 | // Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:26 |
1389 | - __( 'Copy and archive this ticket', 'event_espresso' ), |
|
1389 | + __('Copy and archive this ticket', 'event_espresso'), |
|
1390 | 1390 | |
1391 | 1391 | // Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:29 |
1392 | - __( 'OK', 'event_espresso' ), |
|
1392 | + __('OK', 'event_espresso'), |
|
1393 | 1393 | |
1394 | 1394 | // Reference: packages/tpc/src/inputs/PriceAmountInput.tsx:30 |
1395 | - __( 'amount', 'event_espresso' ), |
|
1395 | + __('amount', 'event_espresso'), |
|
1396 | 1396 | |
1397 | 1397 | // Reference: packages/tpc/src/inputs/PriceAmountInput.tsx:42 |
1398 | - __( 'amount…', 'event_espresso' ), |
|
1398 | + __('amount…', 'event_espresso'), |
|
1399 | 1399 | |
1400 | 1400 | // Reference: packages/tpc/src/inputs/PriceDescriptionInput.tsx:14 |
1401 | - __( 'description…', 'event_espresso' ), |
|
1401 | + __('description…', 'event_espresso'), |
|
1402 | 1402 | |
1403 | 1403 | // Reference: packages/tpc/src/inputs/PriceDescriptionInput.tsx:9 |
1404 | - __( 'price description', 'event_espresso' ), |
|
1404 | + __('price description', 'event_espresso'), |
|
1405 | 1405 | |
1406 | 1406 | // Reference: packages/tpc/src/inputs/PriceIdInput.tsx:5 |
1407 | - __( 'price id', 'event_espresso' ), |
|
1407 | + __('price id', 'event_espresso'), |
|
1408 | 1408 | |
1409 | 1409 | // Reference: packages/tpc/src/inputs/PriceNameInput.tsx:13 |
1410 | - __( 'label…', 'event_espresso' ), |
|
1410 | + __('label…', 'event_espresso'), |
|
1411 | 1411 | |
1412 | 1412 | // Reference: packages/tpc/src/inputs/PriceNameInput.tsx:8 |
1413 | - __( 'price name', 'event_espresso' ), |
|
1413 | + __('price name', 'event_espresso'), |
|
1414 | 1414 | |
1415 | 1415 | // Reference: packages/tpc/src/inputs/PriceOrderInput.tsx:14 |
1416 | - __( 'price order', 'event_espresso' ), |
|
1416 | + __('price order', 'event_espresso'), |
|
1417 | 1417 | |
1418 | 1418 | // Reference: packages/tpc/src/inputs/PriceTypeInput.tsx:19 |
1419 | - __( 'price type', 'event_espresso' ), |
|
1419 | + __('price type', 'event_espresso'), |
|
1420 | 1420 | |
1421 | 1421 | // Reference: packages/tpc/src/utils/constants.ts:8 |
1422 | - __( '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' ), |
|
1422 | + __('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'), |
|
1423 | 1423 | |
1424 | 1424 | // Reference: packages/ui-components/src/ActiveFilters/ActiveFilters.tsx:8 |
1425 | - __( 'active filters:', 'event_espresso' ), |
|
1425 | + __('active filters:', 'event_espresso'), |
|
1426 | 1426 | |
1427 | 1427 | // Reference: packages/ui-components/src/ActiveFilters/FilterTag/index.tsx:15 |
1428 | 1428 | /* translators: %s filter name */ |
1429 | - __( 'remove filter - %s', 'event_espresso' ), |
|
1429 | + __('remove filter - %s', 'event_espresso'), |
|
1430 | 1430 | |
1431 | 1431 | // Reference: packages/ui-components/src/CalendarDateRange/CalendarDateRange.tsx:37 |
1432 | - __( 'to', 'event_espresso' ), |
|
1432 | + __('to', 'event_espresso'), |
|
1433 | 1433 | |
1434 | 1434 | // Reference: packages/ui-components/src/CalendarPageDate/CalendarPageDate.tsx:54 |
1435 | - __( 'TO', 'event_espresso' ), |
|
1435 | + __('TO', 'event_espresso'), |
|
1436 | 1436 | |
1437 | 1437 | // Reference: packages/ui-components/src/ColorPicker/ColorPicker.tsx:60 |
1438 | - __( 'Custom color', 'event_espresso' ), |
|
1438 | + __('Custom color', 'event_espresso'), |
|
1439 | 1439 | |
1440 | 1440 | // Reference: packages/ui-components/src/ColorPicker/Swatch.tsx:23 |
1441 | 1441 | /* translators: color name */ |
1442 | - __( 'Color: %s', 'event_espresso' ), |
|
1442 | + __('Color: %s', 'event_espresso'), |
|
1443 | 1443 | |
1444 | 1444 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:13 |
1445 | - __( 'Cyan bluish gray', 'event_espresso' ), |
|
1445 | + __('Cyan bluish gray', 'event_espresso'), |
|
1446 | 1446 | |
1447 | 1447 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:17 |
1448 | - __( 'White', 'event_espresso' ), |
|
1448 | + __('White', 'event_espresso'), |
|
1449 | 1449 | |
1450 | 1450 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:21 |
1451 | - __( 'Pale pink', 'event_espresso' ), |
|
1451 | + __('Pale pink', 'event_espresso'), |
|
1452 | 1452 | |
1453 | 1453 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:25 |
1454 | - __( 'Vivid red', 'event_espresso' ), |
|
1454 | + __('Vivid red', 'event_espresso'), |
|
1455 | 1455 | |
1456 | 1456 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:29 |
1457 | - __( 'Luminous vivid orange', 'event_espresso' ), |
|
1457 | + __('Luminous vivid orange', 'event_espresso'), |
|
1458 | 1458 | |
1459 | 1459 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:33 |
1460 | - __( 'Luminous vivid amber', 'event_espresso' ), |
|
1460 | + __('Luminous vivid amber', 'event_espresso'), |
|
1461 | 1461 | |
1462 | 1462 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:37 |
1463 | - __( 'Light green cyan', 'event_espresso' ), |
|
1463 | + __('Light green cyan', 'event_espresso'), |
|
1464 | 1464 | |
1465 | 1465 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:41 |
1466 | - __( 'Vivid green cyan', 'event_espresso' ), |
|
1466 | + __('Vivid green cyan', 'event_espresso'), |
|
1467 | 1467 | |
1468 | 1468 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:45 |
1469 | - __( 'Pale cyan blue', 'event_espresso' ), |
|
1469 | + __('Pale cyan blue', 'event_espresso'), |
|
1470 | 1470 | |
1471 | 1471 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:49 |
1472 | - __( 'Vivid cyan blue', 'event_espresso' ), |
|
1472 | + __('Vivid cyan blue', 'event_espresso'), |
|
1473 | 1473 | |
1474 | 1474 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:53 |
1475 | - __( 'Vivid purple', 'event_espresso' ), |
|
1475 | + __('Vivid purple', 'event_espresso'), |
|
1476 | 1476 | |
1477 | 1477 | // Reference: packages/ui-components/src/ColorPicker/constants.ts:9 |
1478 | - __( 'Black', 'event_espresso' ), |
|
1478 | + __('Black', 'event_espresso'), |
|
1479 | 1479 | |
1480 | 1480 | // Reference: packages/ui-components/src/Confirm/ConfirmClose.tsx:7 |
1481 | 1481 | // Reference: packages/ui-components/src/Modal/ModalWithAlert.tsx:22 |
1482 | - __( 'Are you sure you want to close this?', 'event_espresso' ), |
|
1482 | + __('Are you sure you want to close this?', 'event_espresso'), |
|
1483 | 1483 | |
1484 | 1484 | // Reference: packages/ui-components/src/Confirm/ConfirmDelete.tsx:7 |
1485 | - __( 'Are you sure you want to delete this?', 'event_espresso' ), |
|
1485 | + __('Are you sure you want to delete this?', 'event_espresso'), |
|
1486 | 1486 | |
1487 | 1487 | // Reference: packages/ui-components/src/Confirm/useConfirmWithButton.tsx:10 |
1488 | - __( 'Please confirm this action.', 'event_espresso' ), |
|
1488 | + __('Please confirm this action.', 'event_espresso'), |
|
1489 | 1489 | |
1490 | 1490 | // Reference: packages/ui-components/src/Confirm/useConfirmationDialog.tsx:32 |
1491 | - __( 'No', 'event_espresso' ), |
|
1491 | + __('No', 'event_espresso'), |
|
1492 | 1492 | |
1493 | 1493 | // Reference: packages/ui-components/src/Confirm/useConfirmationDialog.tsx:33 |
1494 | - __( 'Yes', 'event_espresso' ), |
|
1494 | + __('Yes', 'event_espresso'), |
|
1495 | 1495 | |
1496 | 1496 | // Reference: packages/ui-components/src/CurrencyDisplay/CurrencyDisplay.tsx:34 |
1497 | - __( 'free', 'event_espresso' ), |
|
1497 | + __('free', 'event_espresso'), |
|
1498 | 1498 | |
1499 | 1499 | // Reference: packages/ui-components/src/DateTimeRangePicker/DateTimeRangePicker.tsx:117 |
1500 | 1500 | // Reference: packages/ui-components/src/Popover/PopoverForm/PopoverForm.tsx:44 |
1501 | - __( 'save', 'event_espresso' ), |
|
1501 | + __('save', 'event_espresso'), |
|
1502 | 1502 | |
1503 | 1503 | // Reference: packages/ui-components/src/DebugInfo/DebugInfo.tsx:36 |
1504 | - __( 'Hide Debug Info', 'event_espresso' ), |
|
1504 | + __('Hide Debug Info', 'event_espresso'), |
|
1505 | 1505 | |
1506 | 1506 | // Reference: packages/ui-components/src/DebugInfo/DebugInfo.tsx:36 |
1507 | - __( 'Show Debug Info', 'event_espresso' ), |
|
1507 | + __('Show Debug Info', 'event_espresso'), |
|
1508 | 1508 | |
1509 | 1509 | // Reference: packages/ui-components/src/EditDateRangeButton/EditDateRangeButton.tsx:49 |
1510 | - __( 'Edit Start and End Dates and Times', 'event_espresso' ), |
|
1510 | + __('Edit Start and End Dates and Times', 'event_espresso'), |
|
1511 | 1511 | |
1512 | 1512 | // Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Copy.tsx:8 |
1513 | - __( 'copy', 'event_espresso' ), |
|
1513 | + __('copy', 'event_espresso'), |
|
1514 | 1514 | |
1515 | 1515 | // Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Edit.tsx:8 |
1516 | - __( 'edit', 'event_espresso' ), |
|
1516 | + __('edit', 'event_espresso'), |
|
1517 | 1517 | |
1518 | 1518 | // Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Trash.tsx:8 |
1519 | - __( 'trash', 'event_espresso' ), |
|
1519 | + __('trash', 'event_espresso'), |
|
1520 | 1520 | |
1521 | 1521 | // Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Untrash.tsx:8 |
1522 | - __( 'untrash', 'event_espresso' ), |
|
1522 | + __('untrash', 'event_espresso'), |
|
1523 | 1523 | |
1524 | 1524 | // Reference: packages/ui-components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:37 |
1525 | - __( 'view approved registrations for this date.', 'event_espresso' ), |
|
1525 | + __('view approved registrations for this date.', 'event_espresso'), |
|
1526 | 1526 | |
1527 | 1527 | // Reference: packages/ui-components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:38 |
1528 | - __( 'view approved registrations for this ticket.', 'event_espresso' ), |
|
1528 | + __('view approved registrations for this ticket.', 'event_espresso'), |
|
1529 | 1529 | |
1530 | 1530 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/CardViewFilterButton.tsx:21 |
1531 | - __( 'card view', 'event_espresso' ), |
|
1531 | + __('card view', 'event_espresso'), |
|
1532 | 1532 | |
1533 | 1533 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/TableViewFilterButton.tsx:20 |
1534 | - __( 'table view', 'event_espresso' ), |
|
1534 | + __('table view', 'event_espresso'), |
|
1535 | 1535 | |
1536 | 1536 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleBulkActionsButton.tsx:8 |
1537 | - __( 'hide bulk actions', 'event_espresso' ), |
|
1537 | + __('hide bulk actions', 'event_espresso'), |
|
1538 | 1538 | |
1539 | 1539 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleBulkActionsButton.tsx:8 |
1540 | - __( 'show bulk actions', 'event_espresso' ), |
|
1540 | + __('show bulk actions', 'event_espresso'), |
|
1541 | 1541 | |
1542 | 1542 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:9 |
1543 | - __( 'hide filters', 'event_espresso' ), |
|
1543 | + __('hide filters', 'event_espresso'), |
|
1544 | 1544 | |
1545 | 1545 | // Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:9 |
1546 | - __( 'show filters', 'event_espresso' ), |
|
1546 | + __('show filters', 'event_espresso'), |
|
1547 | 1547 | |
1548 | 1548 | // Reference: packages/ui-components/src/FormBuilder/FormElement/FormElementToolbar.tsx:35 |
1549 | - __( 'form element settings', 'event_espresso' ), |
|
1549 | + __('form element settings', 'event_espresso'), |
|
1550 | 1550 | |
1551 | 1551 | // Reference: packages/ui-components/src/FormBuilder/FormElement/FormElementToolbar.tsx:45 |
1552 | - __( 'copy form element', 'event_espresso' ), |
|
1552 | + __('copy form element', 'event_espresso'), |
|
1553 | 1553 | |
1554 | 1554 | // Reference: packages/ui-components/src/FormBuilder/FormElement/FormElementToolbar.tsx:55 |
1555 | - __( 'delete form element', 'event_espresso' ), |
|
1555 | + __('delete form element', 'event_espresso'), |
|
1556 | 1556 | |
1557 | 1557 | // Reference: packages/ui-components/src/FormBuilder/FormElement/FormElementToolbar.tsx:64 |
1558 | - __( 'click, hold, and drag to reorder form element', 'event_espresso' ), |
|
1558 | + __('click, hold, and drag to reorder form element', 'event_espresso'), |
|
1559 | 1559 | |
1560 | 1560 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/FormElementTabs.tsx:21 |
1561 | 1561 | // Reference: packages/ui-components/src/FormBuilder/FormSection/Tabs/FormSectionTabs.tsx:19 |
1562 | - __( 'Settings', 'event_espresso' ), |
|
1562 | + __('Settings', 'event_espresso'), |
|
1563 | 1563 | |
1564 | 1564 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/FormElementTabs.tsx:25 |
1565 | 1565 | // Reference: packages/ui-components/src/FormBuilder/FormSection/Tabs/FormSectionTabs.tsx:23 |
1566 | - __( 'Styles', 'event_espresso' ), |
|
1566 | + __('Styles', 'event_espresso'), |
|
1567 | 1567 | |
1568 | 1568 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/FormElementTabs.tsx:29 |
1569 | - __( 'Validation', 'event_espresso' ), |
|
1569 | + __('Validation', 'event_espresso'), |
|
1570 | 1570 | |
1571 | 1571 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/FormElementTabs.tsx:33 |
1572 | 1572 | // Reference: packages/ui-components/src/FormBuilder/FormSection/Tabs/FormSectionTabs.tsx:27 |
1573 | - __( 'Rules', 'event_espresso' ), |
|
1573 | + __('Rules', 'event_espresso'), |
|
1574 | 1574 | |
1575 | 1575 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Settings.tsx:24 |
1576 | 1576 | // Reference: packages/ui-components/src/FormBuilder/FormSection/Tabs/Settings.tsx:28 |
1577 | - __( 'admin label', 'event_espresso' ), |
|
1577 | + __('admin label', 'event_espresso'), |
|
1578 | 1578 | |
1579 | 1579 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Settings.tsx:29 |
1580 | - __( 'public label', 'event_espresso' ), |
|
1580 | + __('public label', 'event_espresso'), |
|
1581 | 1581 | |
1582 | 1582 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Settings.tsx:34 |
1583 | - __( 'placeholder', 'event_espresso' ), |
|
1583 | + __('placeholder', 'event_espresso'), |
|
1584 | 1584 | |
1585 | 1585 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Settings.tsx:38 |
1586 | - __( 'help text', 'event_espresso' ), |
|
1586 | + __('help text', 'event_espresso'), |
|
1587 | 1587 | |
1588 | 1588 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Styles.tsx:28 |
1589 | - __( 'label css class', 'event_espresso' ), |
|
1589 | + __('label css class', 'event_espresso'), |
|
1590 | 1590 | |
1591 | 1591 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Styles.tsx:33 |
1592 | - __( 'input css class', 'event_espresso' ), |
|
1592 | + __('input css class', 'event_espresso'), |
|
1593 | 1593 | |
1594 | 1594 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Styles.tsx:38 |
1595 | - __( 'help text css class', 'event_espresso' ), |
|
1595 | + __('help text css class', 'event_espresso'), |
|
1596 | 1596 | |
1597 | 1597 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Styles.tsx:43 |
1598 | 1598 | // Reference: packages/ui-components/src/FormBuilder/FormSection/Tabs/Styles.tsx:28 |
1599 | - __( 'custom css', 'event_espresso' ), |
|
1599 | + __('custom css', 'event_espresso'), |
|
1600 | 1600 | |
1601 | 1601 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Validation.tsx:29 |
1602 | - __( 'required', 'event_espresso' ), |
|
1602 | + __('required', 'event_espresso'), |
|
1603 | 1603 | |
1604 | 1604 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Validation.tsx:31 |
1605 | - __( 'required text', 'event_espresso' ), |
|
1605 | + __('required text', 'event_espresso'), |
|
1606 | 1606 | |
1607 | 1607 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Validation.tsx:37 |
1608 | - __( 'min', 'event_espresso' ), |
|
1608 | + __('min', 'event_espresso'), |
|
1609 | 1609 | |
1610 | 1610 | // Reference: packages/ui-components/src/FormBuilder/FormElement/Tabs/Validation.tsx:38 |
1611 | - __( 'max', 'event_espresso' ), |
|
1611 | + __('max', 'event_espresso'), |
|
1612 | 1612 | |
1613 | 1613 | // Reference: packages/ui-components/src/FormBuilder/FormSection/FormSectionSidebar.tsx:102 |
1614 | - __( 'form element order can be changed after adding by using the drag handles in the form element toolbar', 'event_espresso' ), |
|
1614 | + __('form element order can be changed after adding by using the drag handles in the form element toolbar', 'event_espresso'), |
|
1615 | 1615 | |
1616 | 1616 | // Reference: packages/ui-components/src/FormBuilder/FormSection/FormSectionSidebar.tsx:109 |
1617 | - __( 'load existing form section', 'event_espresso' ), |
|
1617 | + __('load existing form section', 'event_espresso'), |
|
1618 | 1618 | |
1619 | 1619 | // Reference: packages/ui-components/src/FormBuilder/FormSection/FormSectionSidebar.tsx:126 |
1620 | - __( 'add new form element', 'event_espresso' ), |
|
1620 | + __('add new form element', 'event_espresso'), |
|
1621 | 1621 | |
1622 | 1622 | // Reference: packages/ui-components/src/FormBuilder/FormSection/FormSectionSidebar.tsx:150 |
1623 | - __( 'Add Form Element', 'event_espresso' ), |
|
1623 | + __('Add Form Element', 'event_espresso'), |
|
1624 | 1624 | |
1625 | 1625 | // Reference: packages/ui-components/src/FormBuilder/FormSection/FormSectionToolbar.tsx:34 |
1626 | - __( 'form section settings', 'event_espresso' ), |
|
1626 | + __('form section settings', 'event_espresso'), |
|
1627 | 1627 | |
1628 | 1628 | // Reference: packages/ui-components/src/FormBuilder/FormSection/FormSectionToolbar.tsx:44 |
1629 | - __( 'copy form section', 'event_espresso' ), |
|
1629 | + __('copy form section', 'event_espresso'), |
|
1630 | 1630 | |
1631 | 1631 | // Reference: packages/ui-components/src/FormBuilder/FormSection/FormSectionToolbar.tsx:55 |
1632 | - __( 'delete form section', 'event_espresso' ), |
|
1632 | + __('delete form section', 'event_espresso'), |
|
1633 | 1633 | |
1634 | 1634 | // Reference: packages/ui-components/src/FormBuilder/FormSection/FormSectionToolbar.tsx:64 |
1635 | - __( 'click, hold, and drag to reorder form section', 'event_espresso' ), |
|
1635 | + __('click, hold, and drag to reorder form section', 'event_espresso'), |
|
1636 | 1636 | |
1637 | 1637 | // Reference: packages/ui-components/src/FormBuilder/FormSection/SaveSection.tsx:45 |
1638 | - __( 'save form section for use in other forms', 'event_espresso' ), |
|
1638 | + __('save form section for use in other forms', 'event_espresso'), |
|
1639 | 1639 | |
1640 | 1640 | // Reference: packages/ui-components/src/FormBuilder/FormSection/SaveSection.tsx:49 |
1641 | - __( 'save as', 'event_espresso' ), |
|
1641 | + __('save as', 'event_espresso'), |
|
1642 | 1642 | |
1643 | 1643 | // Reference: packages/ui-components/src/FormBuilder/FormSection/SaveSection.tsx:53 |
1644 | - __( 'default', 'event_espresso' ), |
|
1644 | + __('default', 'event_espresso'), |
|
1645 | 1645 | |
1646 | 1646 | // Reference: packages/ui-components/src/FormBuilder/FormSection/SaveSection.tsx:56 |
1647 | - __( ' a copy of this form section will be automatically added to ALL new events', 'event_espresso' ), |
|
1647 | + __(' a copy of this form section will be automatically added to ALL new events', 'event_espresso'), |
|
1648 | 1648 | |
1649 | 1649 | // Reference: packages/ui-components/src/FormBuilder/FormSection/SaveSection.tsx:59 |
1650 | - __( 'shared', 'event_espresso' ), |
|
1650 | + __('shared', 'event_espresso'), |
|
1651 | 1651 | |
1652 | 1652 | // Reference: packages/ui-components/src/FormBuilder/FormSection/SaveSection.tsx:62 |
1653 | - __( 'a copy of this form section will be saved for use in other events but not loaded by default', 'event_espresso' ), |
|
1653 | + __('a copy of this form section will be saved for use in other events but not loaded by default', 'event_espresso'), |
|
1654 | 1654 | |
1655 | 1655 | // Reference: packages/ui-components/src/FormBuilder/FormSection/Tabs/Settings.tsx:33 |
1656 | - __( 'show name', 'event_espresso' ), |
|
1656 | + __('show name', 'event_espresso'), |
|
1657 | 1657 | |
1658 | 1658 | // Reference: packages/ui-components/src/FormBuilder/FormSection/Tabs/Styles.tsx:26 |
1659 | - __( 'css class', 'event_espresso' ), |
|
1659 | + __('css class', 'event_espresso'), |
|
1660 | 1660 | |
1661 | 1661 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:102 |
1662 | - __( 'Day Selector', 'event_espresso' ), |
|
1662 | + __('Day Selector', 'event_espresso'), |
|
1663 | 1663 | |
1664 | 1664 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:104 |
1665 | - __( 'adds a dropdown selector that allows users to select the day of the month (01 to 31)', 'event_espresso' ), |
|
1665 | + __('adds a dropdown selector that allows users to select the day of the month (01 to 31)', 'event_espresso'), |
|
1666 | 1666 | |
1667 | 1667 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:107 |
1668 | - __( 'Month Selector', 'event_espresso' ), |
|
1668 | + __('Month Selector', 'event_espresso'), |
|
1669 | 1669 | |
1670 | 1670 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:109 |
1671 | - __( 'adds a dropdown selector that allows users to select the month of the year (01 to 12)', 'event_espresso' ), |
|
1671 | + __('adds a dropdown selector that allows users to select the month of the year (01 to 12)', 'event_espresso'), |
|
1672 | 1672 | |
1673 | 1673 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:112 |
1674 | - __( 'Year Selector', 'event_espresso' ), |
|
1674 | + __('Year Selector', 'event_espresso'), |
|
1675 | 1675 | |
1676 | 1676 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:114 |
1677 | - __( 'adds a dropdown selector that allows users to select the year from a configurable range', 'event_espresso' ), |
|
1677 | + __('adds a dropdown selector that allows users to select the year from a configurable range', 'event_espresso'), |
|
1678 | 1678 | |
1679 | 1679 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:117 |
1680 | - __( 'Radio Buttons', 'event_espresso' ), |
|
1680 | + __('Radio Buttons', 'event_espresso'), |
|
1681 | 1681 | |
1682 | 1682 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:119 |
1683 | - __( 'adds one or more radio buttons that allow users to only select one option from those provided', 'event_espresso' ), |
|
1683 | + __('adds one or more radio buttons that allow users to only select one option from those provided', 'event_espresso'), |
|
1684 | 1684 | |
1685 | 1685 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:122 |
1686 | - __( 'Decimal Number', 'event_espresso' ), |
|
1686 | + __('Decimal Number', 'event_espresso'), |
|
1687 | 1687 | |
1688 | 1688 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:124 |
1689 | - __( 'adds a text input that only accepts numbers whose value is a decimal (float)', 'event_espresso' ), |
|
1689 | + __('adds a text input that only accepts numbers whose value is a decimal (float)', 'event_espresso'), |
|
1690 | 1690 | |
1691 | 1691 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:127 |
1692 | - __( 'Whole Number', 'event_espresso' ), |
|
1692 | + __('Whole Number', 'event_espresso'), |
|
1693 | 1693 | |
1694 | 1694 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:129 |
1695 | - __( 'adds a text input that only accepts numbers whose value is an integer (whole number)', 'event_espresso' ), |
|
1695 | + __('adds a text input that only accepts numbers whose value is an integer (whole number)', 'event_espresso'), |
|
1696 | 1696 | |
1697 | 1697 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:132 |
1698 | - __( 'Number Range', 'event_espresso' ), |
|
1698 | + __('Number Range', 'event_espresso'), |
|
1699 | 1699 | |
1700 | 1700 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:138 |
1701 | - __( 'Phone Number', 'event_espresso' ), |
|
1701 | + __('Phone Number', 'event_espresso'), |
|
1702 | 1702 | |
1703 | 1703 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:144 |
1704 | - __( 'Dropdown', 'event_espresso' ), |
|
1704 | + __('Dropdown', 'event_espresso'), |
|
1705 | 1705 | |
1706 | 1706 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:146 |
1707 | - __( 'adds a dropdown selector that accepts a single value', 'event_espresso' ), |
|
1707 | + __('adds a dropdown selector that accepts a single value', 'event_espresso'), |
|
1708 | 1708 | |
1709 | 1709 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:149 |
1710 | - __( 'Multi Select', 'event_espresso' ), |
|
1710 | + __('Multi Select', 'event_espresso'), |
|
1711 | 1711 | |
1712 | 1712 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:151 |
1713 | - __( 'adds a dropdown selector that accepts multiple values', 'event_espresso' ), |
|
1713 | + __('adds a dropdown selector that accepts multiple values', 'event_espresso'), |
|
1714 | 1714 | |
1715 | 1715 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:154 |
1716 | - __( 'Toggle/Switch', 'event_espresso' ), |
|
1716 | + __('Toggle/Switch', 'event_espresso'), |
|
1717 | 1717 | |
1718 | 1718 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:156 |
1719 | - __( 'adds a toggle or a switch to accept true or false value', 'event_espresso' ), |
|
1719 | + __('adds a toggle or a switch to accept true or false value', 'event_espresso'), |
|
1720 | 1720 | |
1721 | 1721 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:159 |
1722 | - __( 'Multi Checkbox', 'event_espresso' ), |
|
1722 | + __('Multi Checkbox', 'event_espresso'), |
|
1723 | 1723 | |
1724 | 1724 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:161 |
1725 | - __( 'adds checkboxes that allow users to select zero or more options from those provided', 'event_espresso' ), |
|
1725 | + __('adds checkboxes that allow users to select zero or more options from those provided', 'event_espresso'), |
|
1726 | 1726 | |
1727 | 1727 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:164 |
1728 | - __( 'Country Selector', 'event_espresso' ), |
|
1728 | + __('Country Selector', 'event_espresso'), |
|
1729 | 1729 | |
1730 | 1730 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:166 |
1731 | - __( 'adds a dropdown selector populated with names of countries that are enabled for the site', 'event_espresso' ), |
|
1731 | + __('adds a dropdown selector populated with names of countries that are enabled for the site', 'event_espresso'), |
|
1732 | 1732 | |
1733 | 1733 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:169 |
1734 | - __( 'State Selector', 'event_espresso' ), |
|
1734 | + __('State Selector', 'event_espresso'), |
|
1735 | 1735 | |
1736 | 1736 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:175 |
1737 | - __( 'Button', 'event_espresso' ), |
|
1737 | + __('Button', 'event_espresso'), |
|
1738 | 1738 | |
1739 | 1739 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:177 |
1740 | - __( 'adds a button to the form that can be used for triggering fucntionality (requires custom coding)', 'event_espresso' ), |
|
1740 | + __('adds a button to the form that can be used for triggering fucntionality (requires custom coding)', 'event_espresso'), |
|
1741 | 1741 | |
1742 | 1742 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:180 |
1743 | - __( 'Reset Button', 'event_espresso' ), |
|
1743 | + __('Reset Button', 'event_espresso'), |
|
1744 | 1744 | |
1745 | 1745 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:182 |
1746 | - __( 'adds a button that will reset the form back to its orginial state.', 'event_espresso' ), |
|
1746 | + __('adds a button that will reset the form back to its orginial state.', 'event_espresso'), |
|
1747 | 1747 | |
1748 | 1748 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:28 |
1749 | - __( 'Form Section', 'event_espresso' ), |
|
1749 | + __('Form Section', 'event_espresso'), |
|
1750 | 1750 | |
1751 | 1751 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:30 |
1752 | - __( 'Used for creating logical groupings for questions and form elements. Need to add a heading or description? Use the HTML form element.', 'event_espresso' ), |
|
1752 | + __('Used for creating logical groupings for questions and form elements. Need to add a heading or description? Use the HTML form element.', 'event_espresso'), |
|
1753 | 1753 | |
1754 | 1754 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:35 |
1755 | - __( 'HTML Block', 'event_espresso' ), |
|
1755 | + __('HTML Block', 'event_espresso'), |
|
1756 | 1756 | |
1757 | 1757 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:37 |
1758 | - __( 'allows you to add HTML like headings or text paragraphs to your form', 'event_espresso' ), |
|
1758 | + __('allows you to add HTML like headings or text paragraphs to your form', 'event_espresso'), |
|
1759 | 1759 | |
1760 | 1760 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:40 |
1761 | - __( 'Text Input', 'event_espresso' ), |
|
1761 | + __('Text Input', 'event_espresso'), |
|
1762 | 1762 | |
1763 | 1763 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:42 |
1764 | - __( 'adds a text input that only accepts plain text', 'event_espresso' ), |
|
1764 | + __('adds a text input that only accepts plain text', 'event_espresso'), |
|
1765 | 1765 | |
1766 | 1766 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:45 |
1767 | - __( 'Plain Text Area', 'event_espresso' ), |
|
1767 | + __('Plain Text Area', 'event_espresso'), |
|
1768 | 1768 | |
1769 | 1769 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:47 |
1770 | - __( 'adds a textarea block that only accepts plain text', 'event_espresso' ), |
|
1770 | + __('adds a textarea block that only accepts plain text', 'event_espresso'), |
|
1771 | 1771 | |
1772 | 1772 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:50 |
1773 | - __( 'HTML Text Area', 'event_espresso' ), |
|
1773 | + __('HTML Text Area', 'event_espresso'), |
|
1774 | 1774 | |
1775 | 1775 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:52 |
1776 | - __( 'adds a textarea block that accepts text including simple HTML markup', 'event_espresso' ), |
|
1776 | + __('adds a textarea block that accepts text including simple HTML markup', 'event_espresso'), |
|
1777 | 1777 | |
1778 | 1778 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:55 |
1779 | - __( 'Email Address', 'event_espresso' ), |
|
1779 | + __('Email Address', 'event_espresso'), |
|
1780 | 1780 | |
1781 | 1781 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:57 |
1782 | - __( 'adds a text input that only accets a valid email address', 'event_espresso' ), |
|
1782 | + __('adds a text input that only accets a valid email address', 'event_espresso'), |
|
1783 | 1783 | |
1784 | 1784 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:60 |
1785 | - __( 'Email Confirmation', 'event_espresso' ), |
|
1785 | + __('Email Confirmation', 'event_espresso'), |
|
1786 | 1786 | |
1787 | 1787 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:66 |
1788 | - __( 'Password', 'event_espresso' ), |
|
1788 | + __('Password', 'event_espresso'), |
|
1789 | 1789 | |
1790 | 1790 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:68 |
1791 | - __( 'adds a text input that accepts text but masks what the user enters', 'event_espresso' ), |
|
1791 | + __('adds a text input that accepts text but masks what the user enters', 'event_espresso'), |
|
1792 | 1792 | |
1793 | 1793 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:71 |
1794 | - __( 'URL', 'event_espresso' ), |
|
1794 | + __('URL', 'event_espresso'), |
|
1795 | 1795 | |
1796 | 1796 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:73 |
1797 | - __( 'adds a text input for entering a URL address', 'event_espresso' ), |
|
1797 | + __('adds a text input for entering a URL address', 'event_espresso'), |
|
1798 | 1798 | |
1799 | 1799 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:76 |
1800 | - __( 'Date', 'event_espresso' ), |
|
1800 | + __('Date', 'event_espresso'), |
|
1801 | 1801 | |
1802 | 1802 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:78 |
1803 | - __( 'adds a text input that allows users to enter a date directly via keyboard or a datepicker', 'event_espresso' ), |
|
1803 | + __('adds a text input that allows users to enter a date directly via keyboard or a datepicker', 'event_espresso'), |
|
1804 | 1804 | |
1805 | 1805 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:81 |
1806 | - __( 'Local Date', 'event_espresso' ), |
|
1806 | + __('Local Date', 'event_espresso'), |
|
1807 | 1807 | |
1808 | 1808 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:87 |
1809 | - __( 'Month', 'event_espresso' ), |
|
1809 | + __('Month', 'event_espresso'), |
|
1810 | 1810 | |
1811 | 1811 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:89 |
1812 | - __( 'adds a text input that allows users to enter a month and year directly via keyboard or a datepicker', 'event_espresso' ), |
|
1812 | + __('adds a text input that allows users to enter a month and year directly via keyboard or a datepicker', 'event_espresso'), |
|
1813 | 1813 | |
1814 | 1814 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:92 |
1815 | - __( 'Time', 'event_espresso' ), |
|
1815 | + __('Time', 'event_espresso'), |
|
1816 | 1816 | |
1817 | 1817 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:94 |
1818 | - __( 'adds a text input that allows users to enter a time directly via keyboard or a timepicker', 'event_espresso' ), |
|
1818 | + __('adds a text input that allows users to enter a time directly via keyboard or a timepicker', 'event_espresso'), |
|
1819 | 1819 | |
1820 | 1820 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:97 |
1821 | - __( 'Week', 'event_espresso' ), |
|
1821 | + __('Week', 'event_espresso'), |
|
1822 | 1822 | |
1823 | 1823 | // Reference: packages/ui-components/src/FormBuilder/constants.ts:99 |
1824 | - __( 'adds a text input that allows users to enter a week and year directly via keyboard or a datepicker', 'event_espresso' ), |
|
1824 | + __('adds a text input that allows users to enter a week and year directly via keyboard or a datepicker', 'event_espresso'), |
|
1825 | 1825 | |
1826 | 1826 | // Reference: packages/ui-components/src/Legend/ToggleLegendButton.tsx:26 |
1827 | - __( 'hide legend', 'event_espresso' ), |
|
1827 | + __('hide legend', 'event_espresso'), |
|
1828 | 1828 | |
1829 | 1829 | // Reference: packages/ui-components/src/Legend/ToggleLegendButton.tsx:26 |
1830 | - __( 'show legend', 'event_espresso' ), |
|
1830 | + __('show legend', 'event_espresso'), |
|
1831 | 1831 | |
1832 | 1832 | // Reference: packages/ui-components/src/LoadingNotice/LoadingNotice.tsx:11 |
1833 | - __( 'loading…', 'event_espresso' ), |
|
1833 | + __('loading…', 'event_espresso'), |
|
1834 | 1834 | |
1835 | 1835 | // Reference: packages/ui-components/src/Modal/Modal.tsx:58 |
1836 | - __( 'close modal', 'event_espresso' ), |
|
1836 | + __('close modal', 'event_espresso'), |
|
1837 | 1837 | |
1838 | 1838 | // Reference: packages/ui-components/src/Pagination/ItemRender.tsx:10 |
1839 | - __( 'jump to previous', 'event_espresso' ), |
|
1839 | + __('jump to previous', 'event_espresso'), |
|
1840 | 1840 | |
1841 | 1841 | // Reference: packages/ui-components/src/Pagination/ItemRender.tsx:11 |
1842 | - __( 'jump to next', 'event_espresso' ), |
|
1842 | + __('jump to next', 'event_espresso'), |
|
1843 | 1843 | |
1844 | 1844 | // Reference: packages/ui-components/src/Pagination/ItemRender.tsx:12 |
1845 | - __( 'page', 'event_espresso' ), |
|
1845 | + __('page', 'event_espresso'), |
|
1846 | 1846 | |
1847 | 1847 | // Reference: packages/ui-components/src/Pagination/ItemRender.tsx:8 |
1848 | - __( 'previous', 'event_espresso' ), |
|
1848 | + __('previous', 'event_espresso'), |
|
1849 | 1849 | |
1850 | 1850 | // Reference: packages/ui-components/src/Pagination/ItemRender.tsx:9 |
1851 | - __( 'next', 'event_espresso' ), |
|
1851 | + __('next', 'event_espresso'), |
|
1852 | 1852 | |
1853 | 1853 | // Reference: packages/ui-components/src/Pagination/PerPage.tsx:37 |
1854 | - __( 'items per page', 'event_espresso' ), |
|
1854 | + __('items per page', 'event_espresso'), |
|
1855 | 1855 | |
1856 | 1856 | // Reference: packages/ui-components/src/Pagination/constants.ts:10 |
1857 | 1857 | /* translators: %s is per page value */ |
1858 | - __( '%s / page', 'event_espresso' ), |
|
1858 | + __('%s / page', 'event_espresso'), |
|
1859 | 1859 | |
1860 | 1860 | // Reference: packages/ui-components/src/Pagination/constants.ts:13 |
1861 | - __( 'Next Page', 'event_espresso' ), |
|
1861 | + __('Next Page', 'event_espresso'), |
|
1862 | 1862 | |
1863 | 1863 | // Reference: packages/ui-components/src/Pagination/constants.ts:14 |
1864 | - __( 'Previous Page', 'event_espresso' ), |
|
1864 | + __('Previous Page', 'event_espresso'), |
|
1865 | 1865 | |
1866 | 1866 | // Reference: packages/ui-components/src/PercentSign/index.tsx:10 |
1867 | - __( '%', 'event_espresso' ), |
|
1867 | + __('%', 'event_espresso'), |
|
1868 | 1868 | |
1869 | 1869 | // Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:23 |
1870 | - __( 'Select an existing one to use as a template.', 'event_espresso' ), |
|
1870 | + __('Select an existing one to use as a template.', 'event_espresso'), |
|
1871 | 1871 | |
1872 | 1872 | // Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:27 |
1873 | - __( 'or', 'event_espresso' ), |
|
1873 | + __('or', 'event_espresso'), |
|
1874 | 1874 | |
1875 | 1875 | // Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:30 |
1876 | - __( 'Add new and insert details manually', 'event_espresso' ), |
|
1876 | + __('Add new and insert details manually', 'event_espresso'), |
|
1877 | 1877 | |
1878 | 1878 | // Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:34 |
1879 | - __( 'Add New', 'event_espresso' ), |
|
1879 | + __('Add New', 'event_espresso'), |
|
1880 | 1880 | |
1881 | 1881 | // Reference: packages/ui-components/src/Stepper/buttons/Next.tsx:8 |
1882 | - __( 'Next', 'event_espresso' ), |
|
1882 | + __('Next', 'event_espresso'), |
|
1883 | 1883 | |
1884 | 1884 | // Reference: packages/ui-components/src/Stepper/buttons/Previous.tsx:8 |
1885 | - __( 'Previous', 'event_espresso' ), |
|
1885 | + __('Previous', 'event_espresso'), |
|
1886 | 1886 | |
1887 | 1887 | // Reference: packages/ui-components/src/Steps/Steps.tsx:31 |
1888 | - __( 'Steps', 'event_espresso' ), |
|
1888 | + __('Steps', 'event_espresso'), |
|
1889 | 1889 | |
1890 | 1890 | // Reference: packages/ui-components/src/TabbableText/index.tsx:19 |
1891 | - __( 'Click to edit…', 'event_espresso' ), |
|
1891 | + __('Click to edit…', 'event_espresso'), |
|
1892 | 1892 | |
1893 | 1893 | // Reference: packages/ui-components/src/TimezoneTimeInfo/Content.tsx:14 |
1894 | - __( 'The Website\'s Time Zone', 'event_espresso' ), |
|
1894 | + __('The Website\'s Time Zone', 'event_espresso'), |
|
1895 | 1895 | |
1896 | 1896 | // Reference: packages/ui-components/src/TimezoneTimeInfo/Content.tsx:19 |
1897 | - __( 'UTC (Greenwich Mean Time)', 'event_espresso' ), |
|
1897 | + __('UTC (Greenwich Mean Time)', 'event_espresso'), |
|
1898 | 1898 | |
1899 | 1899 | // Reference: packages/ui-components/src/TimezoneTimeInfo/Content.tsx:9 |
1900 | - __( 'Your Local Time Zone', 'event_espresso' ), |
|
1900 | + __('Your Local Time Zone', 'event_espresso'), |
|
1901 | 1901 | |
1902 | 1902 | // Reference: packages/ui-components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:27 |
1903 | - __( 'click for timezone information', 'event_espresso' ), |
|
1903 | + __('click for timezone information', 'event_espresso'), |
|
1904 | 1904 | |
1905 | 1905 | // Reference: packages/ui-components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:32 |
1906 | - __( 'This Date Converted To:', 'event_espresso' ), |
|
1906 | + __('This Date Converted To:', 'event_espresso'), |
|
1907 | 1907 | |
1908 | 1908 | // Reference: packages/ui-components/src/bulkEdit/BulkActions.tsx:51 |
1909 | - __( 'select all', 'event_espresso' ), |
|
1909 | + __('select all', 'event_espresso'), |
|
1910 | 1910 | |
1911 | 1911 | // Reference: packages/ui-components/src/bulkEdit/BulkActions.tsx:54 |
1912 | - __( 'apply', 'event_espresso' ) |
|
1912 | + __('apply', 'event_espresso') |
|
1913 | 1913 | ); |
1914 | 1914 | /* THIS IS THE END OF THE GENERATED FILE */ |