@@ -17,191 +17,191 @@ |
||
17 | 17 | abstract class JsonConfig |
18 | 18 | { |
19 | 19 | |
20 | - /** |
|
21 | - * @var boolean $has_changes |
|
22 | - */ |
|
23 | - private $has_changes = false; |
|
24 | - |
|
25 | - /** |
|
26 | - * @var string $option_name |
|
27 | - */ |
|
28 | - private $option_name; |
|
29 | - |
|
30 | - |
|
31 | - /** |
|
32 | - * SettingsConfig constructor. |
|
33 | - * |
|
34 | - * @param array $defaults |
|
35 | - */ |
|
36 | - public function __construct(array $defaults) |
|
37 | - { |
|
38 | - $this->setOptionName(); |
|
39 | - $this->load($defaults); |
|
40 | - $this->clearChanges(); |
|
41 | - } |
|
42 | - |
|
43 | - |
|
44 | - /** |
|
45 | - * @return array |
|
46 | - */ |
|
47 | - abstract protected function getProperties(); |
|
48 | - |
|
49 | - |
|
50 | - /** |
|
51 | - * converts property name to: |
|
52 | - * camelCase for getters ex: show_expired => showExpired |
|
53 | - * PascalCase for setters ex: show_expired => ShowExpired |
|
54 | - * |
|
55 | - * @param string $string |
|
56 | - * @param false $camelCase |
|
57 | - * @return string|string[] |
|
58 | - * @since $VID:$ |
|
59 | - */ |
|
60 | - private function convertCase($string, $camelCase = false) |
|
61 | - { |
|
62 | - $string = str_replace(' ', '', ucwords(str_replace('_', ' ', $string))); |
|
63 | - if ($camelCase) { |
|
64 | - $string = lcfirst($string); |
|
65 | - } |
|
66 | - return $string; |
|
67 | - } |
|
68 | - |
|
69 | - |
|
70 | - /** |
|
71 | - * @param string $property |
|
72 | - * @param bool $getter |
|
73 | - * @return string |
|
74 | - */ |
|
75 | - private function createGetterSetter($property, $getter = true) |
|
76 | - { |
|
77 | - $setterOrGetter = $this->convertCase($property, $getter); |
|
78 | - // if not a getter, prepend with "set". ex: Show_expired => setShowExpired |
|
79 | - $setterOrGetter = ! $getter ? 'set' . $setterOrGetter : $setterOrGetter; |
|
80 | - return $this->isValidMethod($setterOrGetter) ? $setterOrGetter : ''; |
|
81 | - } |
|
82 | - |
|
83 | - |
|
84 | - /** |
|
85 | - * @param string $method |
|
86 | - * @return bool |
|
87 | - * @throws DomainException |
|
88 | - */ |
|
89 | - private function isValidMethod($method) |
|
90 | - { |
|
91 | - if (method_exists($this, $method)) { |
|
92 | - return true; |
|
93 | - } |
|
94 | - throw new DomainException( |
|
95 | - sprintf( |
|
96 | - esc_html__('Missing %1$s method on JsonConfig class %2$s.', 'event_espresso'), |
|
97 | - $method, |
|
98 | - get_class($this) |
|
99 | - ) |
|
100 | - ); |
|
101 | - } |
|
102 | - |
|
103 | - |
|
104 | - /** |
|
105 | - * converts class name to option name by changing backslashes to dashes |
|
106 | - */ |
|
107 | - private function setOptionName() |
|
108 | - { |
|
109 | - $this->option_name = str_replace(['EventEspresso', '\\'], ['ee', '-'], get_class($this)); |
|
110 | - } |
|
111 | - |
|
112 | - |
|
113 | - /** |
|
114 | - * retrieves WP option for class, decodes the data, and resigns values to properties |
|
115 | - * |
|
116 | - * @param array $defaults |
|
117 | - */ |
|
118 | - protected function load(array $defaults) |
|
119 | - { |
|
120 | - $config = get_option($this->option_name, '{}'); |
|
121 | - $config = (array) json_decode($config) + $defaults; |
|
122 | - foreach ($this->getProperties() as $property => $value) { |
|
123 | - if ($property === 'option_name') { |
|
124 | - continue; |
|
125 | - } |
|
126 | - // convert to PascalCase and prepend with "set". ex: show_expired => setShowExpired |
|
127 | - $setter = $this->createGetterSetter($property, false); |
|
128 | - $value = array_key_exists($property, $config) ? $config[ $property ] : null; |
|
129 | - $this->{$setter}($value); |
|
130 | - } |
|
131 | - } |
|
132 | - |
|
133 | - |
|
134 | - /** |
|
135 | - * updates property value and marks changes if property value has changed |
|
136 | - * |
|
137 | - * @param string $property |
|
138 | - * @param mixed $value |
|
139 | - */ |
|
140 | - protected function setProperty($property, $value) |
|
141 | - { |
|
142 | - $this->markChanges($this->{$property} === $value); |
|
143 | - $this->{$property} = $value; |
|
144 | - } |
|
145 | - |
|
146 | - |
|
147 | - /** |
|
148 | - * will only toggle has_changes to true otherwise keeps existing value (ie: will never toggle to false) |
|
149 | - * why? this allows this method to be fed with the result of a conditional |
|
150 | - * that compares an incoming value in a setter with it's previously set value. |
|
151 | - * ie: if $x = 1 and you call setX(1) then the value has not really changed. |
|
152 | - * |
|
153 | - * @param bool $changes |
|
154 | - * @since $VID:$ |
|
155 | - */ |
|
156 | - protected function markChanges($changes = true) |
|
157 | - { |
|
158 | - $this->has_changes = filter_var($changes, FILTER_VALIDATE_BOOLEAN) ? true : $this->has_changes; |
|
159 | - } |
|
160 | - |
|
161 | - |
|
162 | - /** |
|
163 | - * resets $has_changes flag to false but does NOT actually reset any data |
|
164 | - */ |
|
165 | - public function clearChanges() |
|
166 | - { |
|
167 | - $this->has_changes = false; |
|
168 | - } |
|
169 | - |
|
170 | - |
|
171 | - /** |
|
172 | - * flag for marking that changes have been made to property data |
|
173 | - * |
|
174 | - * @return bool |
|
175 | - */ |
|
176 | - public function hasChanges() |
|
177 | - { |
|
178 | - return $this->has_changes; |
|
179 | - } |
|
180 | - |
|
181 | - |
|
182 | - /** |
|
183 | - * encodes all property data to JSON and saves it to a WP option |
|
184 | - */ |
|
185 | - public function update() |
|
186 | - { |
|
187 | - $config_exists = get_option($this->option_name); |
|
188 | - if ($config_exists && ! $this->has_changes) { |
|
189 | - return; |
|
190 | - } |
|
191 | - $config = []; |
|
192 | - foreach ($this->getProperties() as $property => $value) { |
|
193 | - if ($property === 'option_name') { |
|
194 | - continue; |
|
195 | - } |
|
196 | - $getter = $this->createGetterSetter($property); |
|
197 | - $config[ $property ] = $this->{$getter}(); |
|
198 | - } |
|
199 | - $config = wp_json_encode($config); |
|
200 | - if ($config_exists) { |
|
201 | - update_option($this->option_name, $config); |
|
202 | - } else { |
|
203 | - add_option($this->option_name, $config, '', 'no'); |
|
204 | - } |
|
205 | - $this->clearChanges(); |
|
206 | - } |
|
20 | + /** |
|
21 | + * @var boolean $has_changes |
|
22 | + */ |
|
23 | + private $has_changes = false; |
|
24 | + |
|
25 | + /** |
|
26 | + * @var string $option_name |
|
27 | + */ |
|
28 | + private $option_name; |
|
29 | + |
|
30 | + |
|
31 | + /** |
|
32 | + * SettingsConfig constructor. |
|
33 | + * |
|
34 | + * @param array $defaults |
|
35 | + */ |
|
36 | + public function __construct(array $defaults) |
|
37 | + { |
|
38 | + $this->setOptionName(); |
|
39 | + $this->load($defaults); |
|
40 | + $this->clearChanges(); |
|
41 | + } |
|
42 | + |
|
43 | + |
|
44 | + /** |
|
45 | + * @return array |
|
46 | + */ |
|
47 | + abstract protected function getProperties(); |
|
48 | + |
|
49 | + |
|
50 | + /** |
|
51 | + * converts property name to: |
|
52 | + * camelCase for getters ex: show_expired => showExpired |
|
53 | + * PascalCase for setters ex: show_expired => ShowExpired |
|
54 | + * |
|
55 | + * @param string $string |
|
56 | + * @param false $camelCase |
|
57 | + * @return string|string[] |
|
58 | + * @since $VID:$ |
|
59 | + */ |
|
60 | + private function convertCase($string, $camelCase = false) |
|
61 | + { |
|
62 | + $string = str_replace(' ', '', ucwords(str_replace('_', ' ', $string))); |
|
63 | + if ($camelCase) { |
|
64 | + $string = lcfirst($string); |
|
65 | + } |
|
66 | + return $string; |
|
67 | + } |
|
68 | + |
|
69 | + |
|
70 | + /** |
|
71 | + * @param string $property |
|
72 | + * @param bool $getter |
|
73 | + * @return string |
|
74 | + */ |
|
75 | + private function createGetterSetter($property, $getter = true) |
|
76 | + { |
|
77 | + $setterOrGetter = $this->convertCase($property, $getter); |
|
78 | + // if not a getter, prepend with "set". ex: Show_expired => setShowExpired |
|
79 | + $setterOrGetter = ! $getter ? 'set' . $setterOrGetter : $setterOrGetter; |
|
80 | + return $this->isValidMethod($setterOrGetter) ? $setterOrGetter : ''; |
|
81 | + } |
|
82 | + |
|
83 | + |
|
84 | + /** |
|
85 | + * @param string $method |
|
86 | + * @return bool |
|
87 | + * @throws DomainException |
|
88 | + */ |
|
89 | + private function isValidMethod($method) |
|
90 | + { |
|
91 | + if (method_exists($this, $method)) { |
|
92 | + return true; |
|
93 | + } |
|
94 | + throw new DomainException( |
|
95 | + sprintf( |
|
96 | + esc_html__('Missing %1$s method on JsonConfig class %2$s.', 'event_espresso'), |
|
97 | + $method, |
|
98 | + get_class($this) |
|
99 | + ) |
|
100 | + ); |
|
101 | + } |
|
102 | + |
|
103 | + |
|
104 | + /** |
|
105 | + * converts class name to option name by changing backslashes to dashes |
|
106 | + */ |
|
107 | + private function setOptionName() |
|
108 | + { |
|
109 | + $this->option_name = str_replace(['EventEspresso', '\\'], ['ee', '-'], get_class($this)); |
|
110 | + } |
|
111 | + |
|
112 | + |
|
113 | + /** |
|
114 | + * retrieves WP option for class, decodes the data, and resigns values to properties |
|
115 | + * |
|
116 | + * @param array $defaults |
|
117 | + */ |
|
118 | + protected function load(array $defaults) |
|
119 | + { |
|
120 | + $config = get_option($this->option_name, '{}'); |
|
121 | + $config = (array) json_decode($config) + $defaults; |
|
122 | + foreach ($this->getProperties() as $property => $value) { |
|
123 | + if ($property === 'option_name') { |
|
124 | + continue; |
|
125 | + } |
|
126 | + // convert to PascalCase and prepend with "set". ex: show_expired => setShowExpired |
|
127 | + $setter = $this->createGetterSetter($property, false); |
|
128 | + $value = array_key_exists($property, $config) ? $config[ $property ] : null; |
|
129 | + $this->{$setter}($value); |
|
130 | + } |
|
131 | + } |
|
132 | + |
|
133 | + |
|
134 | + /** |
|
135 | + * updates property value and marks changes if property value has changed |
|
136 | + * |
|
137 | + * @param string $property |
|
138 | + * @param mixed $value |
|
139 | + */ |
|
140 | + protected function setProperty($property, $value) |
|
141 | + { |
|
142 | + $this->markChanges($this->{$property} === $value); |
|
143 | + $this->{$property} = $value; |
|
144 | + } |
|
145 | + |
|
146 | + |
|
147 | + /** |
|
148 | + * will only toggle has_changes to true otherwise keeps existing value (ie: will never toggle to false) |
|
149 | + * why? this allows this method to be fed with the result of a conditional |
|
150 | + * that compares an incoming value in a setter with it's previously set value. |
|
151 | + * ie: if $x = 1 and you call setX(1) then the value has not really changed. |
|
152 | + * |
|
153 | + * @param bool $changes |
|
154 | + * @since $VID:$ |
|
155 | + */ |
|
156 | + protected function markChanges($changes = true) |
|
157 | + { |
|
158 | + $this->has_changes = filter_var($changes, FILTER_VALIDATE_BOOLEAN) ? true : $this->has_changes; |
|
159 | + } |
|
160 | + |
|
161 | + |
|
162 | + /** |
|
163 | + * resets $has_changes flag to false but does NOT actually reset any data |
|
164 | + */ |
|
165 | + public function clearChanges() |
|
166 | + { |
|
167 | + $this->has_changes = false; |
|
168 | + } |
|
169 | + |
|
170 | + |
|
171 | + /** |
|
172 | + * flag for marking that changes have been made to property data |
|
173 | + * |
|
174 | + * @return bool |
|
175 | + */ |
|
176 | + public function hasChanges() |
|
177 | + { |
|
178 | + return $this->has_changes; |
|
179 | + } |
|
180 | + |
|
181 | + |
|
182 | + /** |
|
183 | + * encodes all property data to JSON and saves it to a WP option |
|
184 | + */ |
|
185 | + public function update() |
|
186 | + { |
|
187 | + $config_exists = get_option($this->option_name); |
|
188 | + if ($config_exists && ! $this->has_changes) { |
|
189 | + return; |
|
190 | + } |
|
191 | + $config = []; |
|
192 | + foreach ($this->getProperties() as $property => $value) { |
|
193 | + if ($property === 'option_name') { |
|
194 | + continue; |
|
195 | + } |
|
196 | + $getter = $this->createGetterSetter($property); |
|
197 | + $config[ $property ] = $this->{$getter}(); |
|
198 | + } |
|
199 | + $config = wp_json_encode($config); |
|
200 | + if ($config_exists) { |
|
201 | + update_option($this->option_name, $config); |
|
202 | + } else { |
|
203 | + add_option($this->option_name, $config, '', 'no'); |
|
204 | + } |
|
205 | + $this->clearChanges(); |
|
206 | + } |
|
207 | 207 | } |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | { |
77 | 77 | $setterOrGetter = $this->convertCase($property, $getter); |
78 | 78 | // if not a getter, prepend with "set". ex: Show_expired => setShowExpired |
79 | - $setterOrGetter = ! $getter ? 'set' . $setterOrGetter : $setterOrGetter; |
|
79 | + $setterOrGetter = ! $getter ? 'set'.$setterOrGetter : $setterOrGetter; |
|
80 | 80 | return $this->isValidMethod($setterOrGetter) ? $setterOrGetter : ''; |
81 | 81 | } |
82 | 82 | |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | } |
126 | 126 | // convert to PascalCase and prepend with "set". ex: show_expired => setShowExpired |
127 | 127 | $setter = $this->createGetterSetter($property, false); |
128 | - $value = array_key_exists($property, $config) ? $config[ $property ] : null; |
|
128 | + $value = array_key_exists($property, $config) ? $config[$property] : null; |
|
129 | 129 | $this->{$setter}($value); |
130 | 130 | } |
131 | 131 | } |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | continue; |
195 | 195 | } |
196 | 196 | $getter = $this->createGetterSetter($property); |
197 | - $config[ $property ] = $this->{$getter}(); |
|
197 | + $config[$property] = $this->{$getter}(); |
|
198 | 198 | } |
199 | 199 | $config = wp_json_encode($config); |
200 | 200 | if ($config_exists) { |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | function espresso_ticket_selector( $event = NULL ) { |
207 | 207 | if ( ! apply_filters( 'FHEE_disable_espresso_ticket_selector', FALSE ) ) { |
208 | 208 | espresso_load_ticket_selector(); |
209 | - \EED_Ticket_Selector::set_definitions(); |
|
209 | + \EED_Ticket_Selector::set_definitions(); |
|
210 | 210 | echo EED_Ticket_Selector::display_ticket_selector( $event ); |
211 | 211 | } |
212 | 212 | } |
@@ -460,12 +460,12 @@ discard block |
||
460 | 460 | * @return string |
461 | 461 | */ |
462 | 462 | function espresso_list_of_event_dates( $EVT_ID = 0, $date_format = '', $time_format = '', $echo = TRUE, $show_expired = NULL, $format = TRUE, $add_breaks = TRUE, $limit = NULL ) { |
463 | - $arguments = apply_filters( |
|
464 | - 'FHEE__espresso_list_of_event_dates__arguments', |
|
465 | - [ $EVT_ID, $date_format, $time_format, $echo, $show_expired, $format, $add_breaks, $limit ] |
|
466 | - ); |
|
467 | - list($EVT_ID, $date_format, $time_format, $echo, $show_expired, $format, $add_breaks, $limit) = $arguments; |
|
468 | - $datetimes = EEH_Event_View::get_all_date_obj( $EVT_ID, $show_expired, FALSE, $limit ); |
|
463 | + $arguments = apply_filters( |
|
464 | + 'FHEE__espresso_list_of_event_dates__arguments', |
|
465 | + [ $EVT_ID, $date_format, $time_format, $echo, $show_expired, $format, $add_breaks, $limit ] |
|
466 | + ); |
|
467 | + list($EVT_ID, $date_format, $time_format, $echo, $show_expired, $format, $add_breaks, $limit) = $arguments; |
|
468 | + $datetimes = EEH_Event_View::get_all_date_obj( $EVT_ID, $show_expired, FALSE, $limit ); |
|
469 | 469 | $date_format = ! empty( $date_format ) ? $date_format : get_option( 'date_format' ); |
470 | 470 | $time_format = ! empty( $time_format ) ? $time_format : get_option( 'time_format' ); |
471 | 471 | $date_format = apply_filters( 'FHEE__espresso_list_of_event_dates__date_format', $date_format ); |
@@ -478,42 +478,42 @@ discard block |
||
478 | 478 | $html = '<ul id="ee-event-datetimes-ul-' . $post->ID . '" class="ee-event-datetimes-ul ee-clearfix">'; |
479 | 479 | foreach ( $datetimes as $datetime ) { |
480 | 480 | if ( $datetime instanceof EE_Datetime ) { |
481 | - $datetime_name = $datetime->name(); |
|
482 | - $datetime_description = $datetime->description(); |
|
483 | - $html .= '<li id="ee-event-datetimes-li-' . $datetime->ID(); |
|
484 | - $html .= '" class="ee-event-datetimes-li ee-event-datetimes-li-' . $datetime->get_active_status() . '">'; |
|
485 | - $inner_html = ''; |
|
486 | - if (! empty( $datetime_name )) { |
|
487 | - $inner_html .= '<strong>' . $datetime_name . '</strong>'; |
|
488 | - $inner_html .= $add_breaks ? '<br />' : ''; |
|
489 | - } |
|
490 | - // add date |
|
491 | - $inner_html .= '<span class="dashicons dashicons-calendar"></span>'; |
|
492 | - $inner_html .= '</span><span class="ee-event-datetimes-li-daterange">'; |
|
493 | - $inner_html .= $datetime->date_range( $date_format ) . '</span><br/>'; |
|
494 | - // add time |
|
495 | - $inner_html .= '<span class="dashicons dashicons-clock"></span>'; |
|
496 | - $inner_html .= '<span class="ee-event-datetimes-li-timerange">'; |
|
497 | - $inner_html .= $datetime->time_range( $time_format ) . '</span>'; |
|
498 | - if (! empty( $datetime_description )) { |
|
499 | - $inner_html .= $add_breaks ? '<br />' : ''; |
|
500 | - $inner_html .= ' - ' . $datetime_description; |
|
501 | - } |
|
502 | - $inner_html = apply_filters( |
|
503 | - 'FHEE__espresso_list_of_event_dates__datetime_html', |
|
504 | - $inner_html, |
|
505 | - $datetime, |
|
506 | - $arguments |
|
507 | - ); |
|
508 | - $html .= $inner_html . '</li>'; |
|
481 | + $datetime_name = $datetime->name(); |
|
482 | + $datetime_description = $datetime->description(); |
|
483 | + $html .= '<li id="ee-event-datetimes-li-' . $datetime->ID(); |
|
484 | + $html .= '" class="ee-event-datetimes-li ee-event-datetimes-li-' . $datetime->get_active_status() . '">'; |
|
485 | + $inner_html = ''; |
|
486 | + if (! empty( $datetime_name )) { |
|
487 | + $inner_html .= '<strong>' . $datetime_name . '</strong>'; |
|
488 | + $inner_html .= $add_breaks ? '<br />' : ''; |
|
489 | + } |
|
490 | + // add date |
|
491 | + $inner_html .= '<span class="dashicons dashicons-calendar"></span>'; |
|
492 | + $inner_html .= '</span><span class="ee-event-datetimes-li-daterange">'; |
|
493 | + $inner_html .= $datetime->date_range( $date_format ) . '</span><br/>'; |
|
494 | + // add time |
|
495 | + $inner_html .= '<span class="dashicons dashicons-clock"></span>'; |
|
496 | + $inner_html .= '<span class="ee-event-datetimes-li-timerange">'; |
|
497 | + $inner_html .= $datetime->time_range( $time_format ) . '</span>'; |
|
498 | + if (! empty( $datetime_description )) { |
|
499 | + $inner_html .= $add_breaks ? '<br />' : ''; |
|
500 | + $inner_html .= ' - ' . $datetime_description; |
|
501 | + } |
|
502 | + $inner_html = apply_filters( |
|
503 | + 'FHEE__espresso_list_of_event_dates__datetime_html', |
|
504 | + $inner_html, |
|
505 | + $datetime, |
|
506 | + $arguments |
|
507 | + ); |
|
508 | + $html .= $inner_html . '</li>'; |
|
509 | 509 | } |
510 | 510 | } |
511 | 511 | $html .= '</ul>'; |
512 | - $html = apply_filters('FHEE__espresso_list_of_event_dates__html', $html, $arguments); |
|
512 | + $html = apply_filters('FHEE__espresso_list_of_event_dates__html', $html, $arguments); |
|
513 | 513 | } else { |
514 | - $html = '<p><span class="dashicons dashicons-marker pink-text"></span>'; |
|
515 | - $html .= esc_html__( 'There are no upcoming dates for this event.', 'event_espresso' ); |
|
516 | - $html .= '</p><br/>'; |
|
514 | + $html = '<p><span class="dashicons dashicons-marker pink-text"></span>'; |
|
515 | + $html .= esc_html__( 'There are no upcoming dates for this event.', 'event_espresso' ); |
|
516 | + $html .= '</p><br/>'; |
|
517 | 517 | } |
518 | 518 | if ( $echo ) { |
519 | 519 | echo $html; |
@@ -14,12 +14,12 @@ discard block |
||
14 | 14 | * @param int | \EE_Event $event |
15 | 15 | * @return bool |
16 | 16 | */ |
17 | -function is_espresso_event( $event = NULL ) { |
|
18 | - if ( can_use_espresso_conditionals( __FUNCTION__ )) { |
|
17 | +function is_espresso_event($event = NULL) { |
|
18 | + if (can_use_espresso_conditionals(__FUNCTION__)) { |
|
19 | 19 | // extract EE_Event object from passed param regardless of what it is (within reason of course) |
20 | - $event = EEH_Event_View::get_event( $event ); |
|
20 | + $event = EEH_Event_View::get_event($event); |
|
21 | 21 | // do we have a valid event ? |
22 | - return $event instanceof EE_Event ? TRUE : FALSE; |
|
22 | + return $event instanceof EE_Event ? TRUE : FALSE; |
|
23 | 23 | } |
24 | 24 | return FALSE; |
25 | 25 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * @return bool |
32 | 32 | */ |
33 | 33 | function is_espresso_event_single() { |
34 | - if ( can_use_espresso_conditionals( __FUNCTION__ )) { |
|
34 | + if (can_use_espresso_conditionals(__FUNCTION__)) { |
|
35 | 35 | global $wp_query; |
36 | 36 | // return conditionals set by CPTs |
37 | 37 | return $wp_query instanceof WP_Query ? $wp_query->is_espresso_event_single : FALSE; |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * @return bool |
47 | 47 | */ |
48 | 48 | function is_espresso_event_archive() { |
49 | - if ( can_use_espresso_conditionals( __FUNCTION__ )) { |
|
49 | + if (can_use_espresso_conditionals(__FUNCTION__)) { |
|
50 | 50 | global $wp_query; |
51 | 51 | return $wp_query instanceof WP_Query ? $wp_query->is_espresso_event_archive : FALSE; |
52 | 52 | } |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * @return bool |
61 | 61 | */ |
62 | 62 | function is_espresso_event_taxonomy() { |
63 | - if ( can_use_espresso_conditionals( __FUNCTION__ )) { |
|
63 | + if (can_use_espresso_conditionals(__FUNCTION__)) { |
|
64 | 64 | global $wp_query; |
65 | 65 | return $wp_query instanceof WP_Query ? $wp_query->is_espresso_event_taxonomy : FALSE; |
66 | 66 | } |
@@ -74,10 +74,10 @@ discard block |
||
74 | 74 | * @param int | \EE_Venue $venue |
75 | 75 | * @return bool |
76 | 76 | */ |
77 | -function is_espresso_venue( $venue = NULL ) { |
|
78 | - if ( can_use_espresso_conditionals( __FUNCTION__ )) { |
|
77 | +function is_espresso_venue($venue = NULL) { |
|
78 | + if (can_use_espresso_conditionals(__FUNCTION__)) { |
|
79 | 79 | // extract EE_Venue object from passed param regardless of what it is (within reason of course) |
80 | - $venue = EEH_Venue_View::get_venue( $venue, FALSE ); |
|
80 | + $venue = EEH_Venue_View::get_venue($venue, FALSE); |
|
81 | 81 | // do we have a valid event ? |
82 | 82 | return $venue instanceof EE_Venue ? TRUE : FALSE; |
83 | 83 | } |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * @return bool |
92 | 92 | */ |
93 | 93 | function is_espresso_venue_single() { |
94 | - if ( can_use_espresso_conditionals( __FUNCTION__ )) { |
|
94 | + if (can_use_espresso_conditionals(__FUNCTION__)) { |
|
95 | 95 | global $wp_query; |
96 | 96 | return $wp_query instanceof WP_Query ? $wp_query->is_espresso_venue_single : FALSE; |
97 | 97 | } |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * @return bool |
106 | 106 | */ |
107 | 107 | function is_espresso_venue_archive() { |
108 | - if ( can_use_espresso_conditionals( __FUNCTION__ )) { |
|
108 | + if (can_use_espresso_conditionals(__FUNCTION__)) { |
|
109 | 109 | global $wp_query; |
110 | 110 | return $wp_query instanceof WP_Query ? $wp_query->is_espresso_venue_archive : FALSE; |
111 | 111 | } |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | * @return bool |
120 | 120 | */ |
121 | 121 | function is_espresso_venue_taxonomy() { |
122 | - if ( can_use_espresso_conditionals( __FUNCTION__ )) { |
|
122 | + if (can_use_espresso_conditionals(__FUNCTION__)) { |
|
123 | 123 | global $wp_query; |
124 | 124 | return $wp_query instanceof WP_Query ? $wp_query->is_espresso_venue_taxonomy : FALSE; |
125 | 125 | } |
@@ -133,12 +133,12 @@ discard block |
||
133 | 133 | * @param $conditional_tag |
134 | 134 | * @return bool |
135 | 135 | */ |
136 | -function can_use_espresso_conditionals( $conditional_tag ) { |
|
137 | - if ( ! did_action( 'AHEE__EE_System__initialize' )) { |
|
136 | +function can_use_espresso_conditionals($conditional_tag) { |
|
137 | + if ( ! did_action('AHEE__EE_System__initialize')) { |
|
138 | 138 | EE_Error::doing_it_wrong( |
139 | 139 | __FUNCTION__, |
140 | 140 | sprintf( |
141 | - esc_html__( 'The "%s" conditional tag can not be used until after the "init" hook has run, but works best when used within a theme\'s template files.','event_espresso'), |
|
141 | + esc_html__('The "%s" conditional tag can not be used until after the "init" hook has run, but works best when used within a theme\'s template files.', 'event_espresso'), |
|
142 | 142 | $conditional_tag |
143 | 143 | ), |
144 | 144 | '4.4.0' |
@@ -153,13 +153,13 @@ discard block |
||
153 | 153 | |
154 | 154 | /*************************** Event Queries ***************************/ |
155 | 155 | |
156 | -if ( ! function_exists( 'espresso_get_events' )) { |
|
156 | +if ( ! function_exists('espresso_get_events')) { |
|
157 | 157 | /** |
158 | 158 | * espresso_get_events |
159 | 159 | * @param array $params |
160 | 160 | * @return array |
161 | 161 | */ |
162 | - function espresso_get_events( $params = array() ) { |
|
162 | + function espresso_get_events($params = array()) { |
|
163 | 163 | //set default params |
164 | 164 | $default_espresso_events_params = array( |
165 | 165 | 'limit' => 10, |
@@ -170,18 +170,18 @@ discard block |
||
170 | 170 | 'sort' => 'ASC' |
171 | 171 | ); |
172 | 172 | // allow the defaults to be filtered |
173 | - $default_espresso_events_params = apply_filters( 'espresso_get_events__default_espresso_events_params', $default_espresso_events_params ); |
|
173 | + $default_espresso_events_params = apply_filters('espresso_get_events__default_espresso_events_params', $default_espresso_events_params); |
|
174 | 174 | // grab params and merge with defaults, then extract |
175 | - $params = array_merge( $default_espresso_events_params, $params ); |
|
175 | + $params = array_merge($default_espresso_events_params, $params); |
|
176 | 176 | // run the query |
177 | - $events_query = new EventEspresso\core\domain\services\wp_queries\EventListQuery( $params ); |
|
177 | + $events_query = new EventEspresso\core\domain\services\wp_queries\EventListQuery($params); |
|
178 | 178 | // assign results to a variable so we can return it |
179 | 179 | $events = $events_query->have_posts() ? $events_query->posts : array(); |
180 | 180 | // but first reset the query and postdata |
181 | 181 | wp_reset_query(); |
182 | 182 | wp_reset_postdata(); |
183 | 183 | EED_Events_Archive::remove_all_events_archive_filters(); |
184 | - unset( $events_query ); |
|
184 | + unset($events_query); |
|
185 | 185 | return $events; |
186 | 186 | } |
187 | 187 | } |
@@ -195,33 +195,33 @@ discard block |
||
195 | 195 | * espresso_load_ticket_selector |
196 | 196 | */ |
197 | 197 | function espresso_load_ticket_selector() { |
198 | - EE_Registry::instance()->load_file( EE_MODULES . 'ticket_selector', 'EED_Ticket_Selector', 'module' ); |
|
198 | + EE_Registry::instance()->load_file(EE_MODULES.'ticket_selector', 'EED_Ticket_Selector', 'module'); |
|
199 | 199 | } |
200 | 200 | |
201 | -if ( ! function_exists( 'espresso_ticket_selector' )) { |
|
201 | +if ( ! function_exists('espresso_ticket_selector')) { |
|
202 | 202 | /** |
203 | 203 | * espresso_ticket_selector |
204 | 204 | * @param null $event |
205 | 205 | */ |
206 | - function espresso_ticket_selector( $event = NULL ) { |
|
207 | - if ( ! apply_filters( 'FHEE_disable_espresso_ticket_selector', FALSE ) ) { |
|
206 | + function espresso_ticket_selector($event = NULL) { |
|
207 | + if ( ! apply_filters('FHEE_disable_espresso_ticket_selector', FALSE)) { |
|
208 | 208 | espresso_load_ticket_selector(); |
209 | 209 | \EED_Ticket_Selector::set_definitions(); |
210 | - echo EED_Ticket_Selector::display_ticket_selector( $event ); |
|
210 | + echo EED_Ticket_Selector::display_ticket_selector($event); |
|
211 | 211 | } |
212 | 212 | } |
213 | 213 | } |
214 | 214 | |
215 | 215 | |
216 | - if ( ! function_exists( 'espresso_view_details_btn' )) { |
|
216 | + if ( ! function_exists('espresso_view_details_btn')) { |
|
217 | 217 | /** |
218 | 218 | * espresso_view_details_btn |
219 | 219 | * @param null $event |
220 | 220 | */ |
221 | - function espresso_view_details_btn( $event = NULL ) { |
|
222 | - if ( ! apply_filters( 'FHEE_disable_espresso_view_details_btn', FALSE ) ) { |
|
221 | + function espresso_view_details_btn($event = NULL) { |
|
222 | + if ( ! apply_filters('FHEE_disable_espresso_view_details_btn', FALSE)) { |
|
223 | 223 | espresso_load_ticket_selector(); |
224 | - echo EED_Ticket_Selector::display_ticket_selector( $event, TRUE ); |
|
224 | + echo EED_Ticket_Selector::display_ticket_selector($event, TRUE); |
|
225 | 225 | } |
226 | 226 | } |
227 | 227 | } |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | |
232 | 232 | /*************************** EEH_Event_View ***************************/ |
233 | 233 | |
234 | -if ( ! function_exists( 'espresso_load_event_list_assets' )) { |
|
234 | +if ( ! function_exists('espresso_load_event_list_assets')) { |
|
235 | 235 | /** |
236 | 236 | * espresso_load_event_list_assets |
237 | 237 | * ensures that event list styles and scripts are loaded |
@@ -240,13 +240,13 @@ discard block |
||
240 | 240 | */ |
241 | 241 | function espresso_load_event_list_assets() { |
242 | 242 | $event_list = EED_Events_Archive::instance(); |
243 | - add_action( 'AHEE__EE_System__initialize_last', array( $event_list, 'load_event_list_assets' ), 10 ); |
|
244 | - add_filter( 'FHEE_enable_default_espresso_css', '__return_true' ); |
|
243 | + add_action('AHEE__EE_System__initialize_last', array($event_list, 'load_event_list_assets'), 10); |
|
244 | + add_filter('FHEE_enable_default_espresso_css', '__return_true'); |
|
245 | 245 | } |
246 | 246 | } |
247 | 247 | |
248 | 248 | |
249 | -if ( ! function_exists( 'espresso_event_reg_button' )) { |
|
249 | +if ( ! function_exists('espresso_event_reg_button')) { |
|
250 | 250 | /** |
251 | 251 | * espresso_event_reg_button |
252 | 252 | * returns the "Register Now" button if event is active, |
@@ -258,13 +258,13 @@ discard block |
||
258 | 258 | * @param bool $EVT_ID |
259 | 259 | * @return string |
260 | 260 | */ |
261 | - function espresso_event_reg_button( $btn_text_if_active = NULL, $btn_text_if_inactive = FALSE, $EVT_ID = FALSE ) { |
|
262 | - $event = EEH_Event_View::get_event( $EVT_ID ); |
|
263 | - if ( ! $event instanceof EE_Event ) { |
|
261 | + function espresso_event_reg_button($btn_text_if_active = NULL, $btn_text_if_inactive = FALSE, $EVT_ID = FALSE) { |
|
262 | + $event = EEH_Event_View::get_event($EVT_ID); |
|
263 | + if ( ! $event instanceof EE_Event) { |
|
264 | 264 | return; |
265 | 265 | } |
266 | 266 | $event_status = $event->get_active_status(); |
267 | - switch ( $event_status ) { |
|
267 | + switch ($event_status) { |
|
268 | 268 | case EE_Datetime::sold_out : |
269 | 269 | $btn_text = esc_html__('Sold Out', 'event_espresso'); |
270 | 270 | $class = 'ee-pink'; |
@@ -284,15 +284,15 @@ discard block |
||
284 | 284 | case EE_Datetime::upcoming : |
285 | 285 | case EE_Datetime::active : |
286 | 286 | default : |
287 | - $btn_text =! empty( $btn_text_if_active ) ? $btn_text_if_active : esc_html__( 'Register Now', 'event_espresso' ); |
|
287 | + $btn_text = ! empty($btn_text_if_active) ? $btn_text_if_active : esc_html__('Register Now', 'event_espresso'); |
|
288 | 288 | $class = 'ee-green'; |
289 | 289 | } |
290 | - if ( $event_status < 1 && ! empty( $btn_text_if_inactive )) { |
|
290 | + if ($event_status < 1 && ! empty($btn_text_if_inactive)) { |
|
291 | 291 | $btn_text = $btn_text_if_inactive; |
292 | 292 | $class = 'ee-grey'; |
293 | 293 | } |
294 | 294 | ?> |
295 | - <a class="ee-button ee-register-button <?php echo $class; ?>" href="<?php espresso_event_link_url( $EVT_ID ); ?>"<?php echo \EED_Events_Archive::link_target(); ?>> |
|
295 | + <a class="ee-button ee-register-button <?php echo $class; ?>" href="<?php espresso_event_link_url($EVT_ID); ?>"<?php echo \EED_Events_Archive::link_target(); ?>> |
|
296 | 296 | <?php echo $btn_text; ?> |
297 | 297 | </a> |
298 | 298 | <?php |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | |
302 | 302 | |
303 | 303 | |
304 | -if ( ! function_exists( 'espresso_display_ticket_selector' )) { |
|
304 | +if ( ! function_exists('espresso_display_ticket_selector')) { |
|
305 | 305 | /** |
306 | 306 | * espresso_display_ticket_selector |
307 | 307 | * whether or not to display the Ticket Selector for an event |
@@ -309,14 +309,14 @@ discard block |
||
309 | 309 | * @param bool $EVT_ID |
310 | 310 | * @return boolean |
311 | 311 | */ |
312 | - function espresso_display_ticket_selector( $EVT_ID = FALSE ) { |
|
313 | - return EEH_Event_View::display_ticket_selector( $EVT_ID ); |
|
312 | + function espresso_display_ticket_selector($EVT_ID = FALSE) { |
|
313 | + return EEH_Event_View::display_ticket_selector($EVT_ID); |
|
314 | 314 | } |
315 | 315 | } |
316 | 316 | |
317 | 317 | |
318 | 318 | |
319 | -if ( ! function_exists( 'espresso_event_status_banner' )) { |
|
319 | +if ( ! function_exists('espresso_event_status_banner')) { |
|
320 | 320 | /** |
321 | 321 | * espresso_event_status |
322 | 322 | * returns a banner showing the event status if it is sold out, expired, or inactive |
@@ -324,13 +324,13 @@ discard block |
||
324 | 324 | * @param bool $EVT_ID |
325 | 325 | * @return string |
326 | 326 | */ |
327 | - function espresso_event_status_banner( $EVT_ID = FALSE ) { |
|
328 | - return EEH_Event_View::event_status( $EVT_ID ); |
|
327 | + function espresso_event_status_banner($EVT_ID = FALSE) { |
|
328 | + return EEH_Event_View::event_status($EVT_ID); |
|
329 | 329 | } |
330 | 330 | } |
331 | 331 | |
332 | 332 | |
333 | -if ( ! function_exists( 'espresso_event_status' )) { |
|
333 | +if ( ! function_exists('espresso_event_status')) { |
|
334 | 334 | /** |
335 | 335 | * espresso_event_status |
336 | 336 | * returns the event status if it is sold out, expired, or inactive |
@@ -339,13 +339,13 @@ discard block |
||
339 | 339 | * @param bool $echo |
340 | 340 | * @return string |
341 | 341 | */ |
342 | - function espresso_event_status( $EVT_ID = 0, $echo = TRUE ) { |
|
343 | - return EEH_Event_View::event_active_status( $EVT_ID, $echo ); |
|
342 | + function espresso_event_status($EVT_ID = 0, $echo = TRUE) { |
|
343 | + return EEH_Event_View::event_active_status($EVT_ID, $echo); |
|
344 | 344 | } |
345 | 345 | } |
346 | 346 | |
347 | 347 | |
348 | -if ( ! function_exists( 'espresso_event_categories' )) { |
|
348 | +if ( ! function_exists('espresso_event_categories')) { |
|
349 | 349 | /** |
350 | 350 | * espresso_event_categories |
351 | 351 | * returns the terms associated with an event |
@@ -355,17 +355,17 @@ discard block |
||
355 | 355 | * @param bool $echo |
356 | 356 | * @return string |
357 | 357 | */ |
358 | - function espresso_event_categories( $EVT_ID = 0, $hide_uncategorized = TRUE, $echo = TRUE ) { |
|
359 | - if ( $echo ) { |
|
360 | - echo EEH_Event_View::event_categories( $EVT_ID, $hide_uncategorized ); |
|
358 | + function espresso_event_categories($EVT_ID = 0, $hide_uncategorized = TRUE, $echo = TRUE) { |
|
359 | + if ($echo) { |
|
360 | + echo EEH_Event_View::event_categories($EVT_ID, $hide_uncategorized); |
|
361 | 361 | return ''; |
362 | 362 | } |
363 | - return EEH_Event_View::event_categories( $EVT_ID, $hide_uncategorized ); |
|
363 | + return EEH_Event_View::event_categories($EVT_ID, $hide_uncategorized); |
|
364 | 364 | } |
365 | 365 | } |
366 | 366 | |
367 | 367 | |
368 | -if ( ! function_exists( 'espresso_event_tickets_available' )) { |
|
368 | +if ( ! function_exists('espresso_event_tickets_available')) { |
|
369 | 369 | /** |
370 | 370 | * espresso_event_tickets_available |
371 | 371 | * returns the ticket types available for purchase for an event |
@@ -375,26 +375,26 @@ discard block |
||
375 | 375 | * @param bool $format |
376 | 376 | * @return string |
377 | 377 | */ |
378 | - function espresso_event_tickets_available( $EVT_ID = 0, $echo = TRUE, $format = TRUE ) { |
|
379 | - $tickets = EEH_Event_View::event_tickets_available( $EVT_ID ); |
|
380 | - if ( is_array( $tickets ) && ! empty( $tickets )) { |
|
378 | + function espresso_event_tickets_available($EVT_ID = 0, $echo = TRUE, $format = TRUE) { |
|
379 | + $tickets = EEH_Event_View::event_tickets_available($EVT_ID); |
|
380 | + if (is_array($tickets) && ! empty($tickets)) { |
|
381 | 381 | // if formatting then $html will be a string, else it will be an array of ticket objects |
382 | - $html = $format ? '<ul id="ee-event-tickets-ul-' . $EVT_ID . '" class="ee-event-tickets-ul">' : array(); |
|
383 | - foreach ( $tickets as $ticket ) { |
|
384 | - if ( $ticket instanceof EE_Ticket ) { |
|
385 | - if ( $format ) { |
|
386 | - $html .= '<li id="ee-event-tickets-li-' . $ticket->ID() . '" class="ee-event-tickets-li">'; |
|
387 | - $html .= $ticket->name() . ' ' . EEH_Template::format_currency( $ticket->get_ticket_total_with_taxes() ); |
|
382 | + $html = $format ? '<ul id="ee-event-tickets-ul-'.$EVT_ID.'" class="ee-event-tickets-ul">' : array(); |
|
383 | + foreach ($tickets as $ticket) { |
|
384 | + if ($ticket instanceof EE_Ticket) { |
|
385 | + if ($format) { |
|
386 | + $html .= '<li id="ee-event-tickets-li-'.$ticket->ID().'" class="ee-event-tickets-li">'; |
|
387 | + $html .= $ticket->name().' '.EEH_Template::format_currency($ticket->get_ticket_total_with_taxes()); |
|
388 | 388 | $html .= '</li>'; |
389 | 389 | } else { |
390 | 390 | $html[] = $ticket; |
391 | 391 | } |
392 | 392 | } |
393 | 393 | } |
394 | - if ( $format ) { |
|
394 | + if ($format) { |
|
395 | 395 | $html .= '</ul>'; |
396 | 396 | } |
397 | - if ( $echo && $format ) { |
|
397 | + if ($echo && $format) { |
|
398 | 398 | echo $html; |
399 | 399 | return ''; |
400 | 400 | } |
@@ -404,7 +404,7 @@ discard block |
||
404 | 404 | } |
405 | 405 | } |
406 | 406 | |
407 | -if ( ! function_exists( 'espresso_event_date_obj' )) { |
|
407 | +if ( ! function_exists('espresso_event_date_obj')) { |
|
408 | 408 | /** |
409 | 409 | * espresso_event_date_obj |
410 | 410 | * returns the primary date object for an event |
@@ -412,13 +412,13 @@ discard block |
||
412 | 412 | * @param bool $EVT_ID |
413 | 413 | * @return object |
414 | 414 | */ |
415 | - function espresso_event_date_obj( $EVT_ID = FALSE ) { |
|
416 | - return EEH_Event_View::get_primary_date_obj( $EVT_ID ); |
|
415 | + function espresso_event_date_obj($EVT_ID = FALSE) { |
|
416 | + return EEH_Event_View::get_primary_date_obj($EVT_ID); |
|
417 | 417 | } |
418 | 418 | } |
419 | 419 | |
420 | 420 | |
421 | -if ( ! function_exists( 'espresso_event_date' )) { |
|
421 | +if ( ! function_exists('espresso_event_date')) { |
|
422 | 422 | /** |
423 | 423 | * espresso_event_date |
424 | 424 | * returns the primary date for an event |
@@ -429,22 +429,22 @@ discard block |
||
429 | 429 | * @param bool $echo |
430 | 430 | * @return string |
431 | 431 | */ |
432 | - function espresso_event_date( $date_format = '', $time_format = '', $EVT_ID = FALSE, $echo = TRUE ) { |
|
433 | - $date_format = ! empty( $date_format ) ? $date_format : get_option( 'date_format' ); |
|
434 | - $time_format = ! empty( $time_format ) ? $time_format : get_option( 'time_format' ); |
|
435 | - $date_format = apply_filters( 'FHEE__espresso_event_date__date_format', $date_format ); |
|
436 | - $time_format = apply_filters( 'FHEE__espresso_event_date__time_format', $time_format ); |
|
437 | - if($echo){ |
|
438 | - echo EEH_Event_View::the_event_date( $date_format, $time_format, $EVT_ID ); |
|
432 | + function espresso_event_date($date_format = '', $time_format = '', $EVT_ID = FALSE, $echo = TRUE) { |
|
433 | + $date_format = ! empty($date_format) ? $date_format : get_option('date_format'); |
|
434 | + $time_format = ! empty($time_format) ? $time_format : get_option('time_format'); |
|
435 | + $date_format = apply_filters('FHEE__espresso_event_date__date_format', $date_format); |
|
436 | + $time_format = apply_filters('FHEE__espresso_event_date__time_format', $time_format); |
|
437 | + if ($echo) { |
|
438 | + echo EEH_Event_View::the_event_date($date_format, $time_format, $EVT_ID); |
|
439 | 439 | return ''; |
440 | 440 | } |
441 | - return EEH_Event_View::the_event_date( $date_format, $time_format, $EVT_ID ); |
|
441 | + return EEH_Event_View::the_event_date($date_format, $time_format, $EVT_ID); |
|
442 | 442 | |
443 | 443 | } |
444 | 444 | } |
445 | 445 | |
446 | 446 | |
447 | -if ( ! function_exists( 'espresso_list_of_event_dates' )) { |
|
447 | +if ( ! function_exists('espresso_list_of_event_dates')) { |
|
448 | 448 | /** |
449 | 449 | * espresso_list_of_event_dates |
450 | 450 | * returns a unordered list of dates for an event |
@@ -459,45 +459,45 @@ discard block |
||
459 | 459 | * @param null $limit |
460 | 460 | * @return string |
461 | 461 | */ |
462 | - function espresso_list_of_event_dates( $EVT_ID = 0, $date_format = '', $time_format = '', $echo = TRUE, $show_expired = NULL, $format = TRUE, $add_breaks = TRUE, $limit = NULL ) { |
|
462 | + function espresso_list_of_event_dates($EVT_ID = 0, $date_format = '', $time_format = '', $echo = TRUE, $show_expired = NULL, $format = TRUE, $add_breaks = TRUE, $limit = NULL) { |
|
463 | 463 | $arguments = apply_filters( |
464 | 464 | 'FHEE__espresso_list_of_event_dates__arguments', |
465 | - [ $EVT_ID, $date_format, $time_format, $echo, $show_expired, $format, $add_breaks, $limit ] |
|
465 | + [$EVT_ID, $date_format, $time_format, $echo, $show_expired, $format, $add_breaks, $limit] |
|
466 | 466 | ); |
467 | 467 | list($EVT_ID, $date_format, $time_format, $echo, $show_expired, $format, $add_breaks, $limit) = $arguments; |
468 | - $datetimes = EEH_Event_View::get_all_date_obj( $EVT_ID, $show_expired, FALSE, $limit ); |
|
469 | - $date_format = ! empty( $date_format ) ? $date_format : get_option( 'date_format' ); |
|
470 | - $time_format = ! empty( $time_format ) ? $time_format : get_option( 'time_format' ); |
|
471 | - $date_format = apply_filters( 'FHEE__espresso_list_of_event_dates__date_format', $date_format ); |
|
472 | - $time_format = apply_filters( 'FHEE__espresso_list_of_event_dates__time_format', $time_format ); |
|
473 | - if ( ! $format ) { |
|
474 | - return apply_filters( 'FHEE__espresso_list_of_event_dates__datetimes', $datetimes ); |
|
468 | + $datetimes = EEH_Event_View::get_all_date_obj($EVT_ID, $show_expired, FALSE, $limit); |
|
469 | + $date_format = ! empty($date_format) ? $date_format : get_option('date_format'); |
|
470 | + $time_format = ! empty($time_format) ? $time_format : get_option('time_format'); |
|
471 | + $date_format = apply_filters('FHEE__espresso_list_of_event_dates__date_format', $date_format); |
|
472 | + $time_format = apply_filters('FHEE__espresso_list_of_event_dates__time_format', $time_format); |
|
473 | + if ( ! $format) { |
|
474 | + return apply_filters('FHEE__espresso_list_of_event_dates__datetimes', $datetimes); |
|
475 | 475 | } |
476 | - if ( is_array( $datetimes ) && ! empty( $datetimes )) { |
|
476 | + if (is_array($datetimes) && ! empty($datetimes)) { |
|
477 | 477 | global $post; |
478 | - $html = '<ul id="ee-event-datetimes-ul-' . $post->ID . '" class="ee-event-datetimes-ul ee-clearfix">'; |
|
479 | - foreach ( $datetimes as $datetime ) { |
|
480 | - if ( $datetime instanceof EE_Datetime ) { |
|
478 | + $html = '<ul id="ee-event-datetimes-ul-'.$post->ID.'" class="ee-event-datetimes-ul ee-clearfix">'; |
|
479 | + foreach ($datetimes as $datetime) { |
|
480 | + if ($datetime instanceof EE_Datetime) { |
|
481 | 481 | $datetime_name = $datetime->name(); |
482 | 482 | $datetime_description = $datetime->description(); |
483 | - $html .= '<li id="ee-event-datetimes-li-' . $datetime->ID(); |
|
484 | - $html .= '" class="ee-event-datetimes-li ee-event-datetimes-li-' . $datetime->get_active_status() . '">'; |
|
483 | + $html .= '<li id="ee-event-datetimes-li-'.$datetime->ID(); |
|
484 | + $html .= '" class="ee-event-datetimes-li ee-event-datetimes-li-'.$datetime->get_active_status().'">'; |
|
485 | 485 | $inner_html = ''; |
486 | - if (! empty( $datetime_name )) { |
|
487 | - $inner_html .= '<strong>' . $datetime_name . '</strong>'; |
|
486 | + if ( ! empty($datetime_name)) { |
|
487 | + $inner_html .= '<strong>'.$datetime_name.'</strong>'; |
|
488 | 488 | $inner_html .= $add_breaks ? '<br />' : ''; |
489 | 489 | } |
490 | 490 | // add date |
491 | 491 | $inner_html .= '<span class="dashicons dashicons-calendar"></span>'; |
492 | 492 | $inner_html .= '</span><span class="ee-event-datetimes-li-daterange">'; |
493 | - $inner_html .= $datetime->date_range( $date_format ) . '</span><br/>'; |
|
493 | + $inner_html .= $datetime->date_range($date_format).'</span><br/>'; |
|
494 | 494 | // add time |
495 | 495 | $inner_html .= '<span class="dashicons dashicons-clock"></span>'; |
496 | 496 | $inner_html .= '<span class="ee-event-datetimes-li-timerange">'; |
497 | - $inner_html .= $datetime->time_range( $time_format ) . '</span>'; |
|
498 | - if (! empty( $datetime_description )) { |
|
497 | + $inner_html .= $datetime->time_range($time_format).'</span>'; |
|
498 | + if ( ! empty($datetime_description)) { |
|
499 | 499 | $inner_html .= $add_breaks ? '<br />' : ''; |
500 | - $inner_html .= ' - ' . $datetime_description; |
|
500 | + $inner_html .= ' - '.$datetime_description; |
|
501 | 501 | } |
502 | 502 | $inner_html = apply_filters( |
503 | 503 | 'FHEE__espresso_list_of_event_dates__datetime_html', |
@@ -505,17 +505,17 @@ discard block |
||
505 | 505 | $datetime, |
506 | 506 | $arguments |
507 | 507 | ); |
508 | - $html .= $inner_html . '</li>'; |
|
508 | + $html .= $inner_html.'</li>'; |
|
509 | 509 | } |
510 | 510 | } |
511 | 511 | $html .= '</ul>'; |
512 | 512 | $html = apply_filters('FHEE__espresso_list_of_event_dates__html', $html, $arguments); |
513 | 513 | } else { |
514 | 514 | $html = '<p><span class="dashicons dashicons-marker pink-text"></span>'; |
515 | - $html .= esc_html__( 'There are no upcoming dates for this event.', 'event_espresso' ); |
|
515 | + $html .= esc_html__('There are no upcoming dates for this event.', 'event_espresso'); |
|
516 | 516 | $html .= '</p><br/>'; |
517 | 517 | } |
518 | - if ( $echo ) { |
|
518 | + if ($echo) { |
|
519 | 519 | echo $html; |
520 | 520 | return ''; |
521 | 521 | } |
@@ -524,7 +524,7 @@ discard block |
||
524 | 524 | } |
525 | 525 | |
526 | 526 | |
527 | -if ( ! function_exists( 'espresso_event_end_date' )) { |
|
527 | +if ( ! function_exists('espresso_event_end_date')) { |
|
528 | 528 | /** |
529 | 529 | * espresso_event_end_date |
530 | 530 | * returns the last date for an event |
@@ -535,20 +535,20 @@ discard block |
||
535 | 535 | * @param bool $echo |
536 | 536 | * @return string |
537 | 537 | */ |
538 | - function espresso_event_end_date( $date_format = '', $time_format = '', $EVT_ID = FALSE, $echo = TRUE ) { |
|
539 | - $date_format = ! empty( $date_format ) ? $date_format : get_option( 'date_format' ); |
|
540 | - $time_format = ! empty( $time_format ) ? $time_format : get_option( 'time_format' ); |
|
541 | - $date_format = apply_filters( 'FHEE__espresso_event_end_date__date_format', $date_format ); |
|
542 | - $time_format = apply_filters( 'FHEE__espresso_event_end_date__time_format', $time_format ); |
|
543 | - if($echo){ |
|
544 | - echo EEH_Event_View::the_event_end_date( $date_format, $time_format, $EVT_ID ); |
|
538 | + function espresso_event_end_date($date_format = '', $time_format = '', $EVT_ID = FALSE, $echo = TRUE) { |
|
539 | + $date_format = ! empty($date_format) ? $date_format : get_option('date_format'); |
|
540 | + $time_format = ! empty($time_format) ? $time_format : get_option('time_format'); |
|
541 | + $date_format = apply_filters('FHEE__espresso_event_end_date__date_format', $date_format); |
|
542 | + $time_format = apply_filters('FHEE__espresso_event_end_date__time_format', $time_format); |
|
543 | + if ($echo) { |
|
544 | + echo EEH_Event_View::the_event_end_date($date_format, $time_format, $EVT_ID); |
|
545 | 545 | return ''; |
546 | 546 | } |
547 | - return EEH_Event_View::the_event_end_date( $date_format, $time_format, $EVT_ID ); |
|
547 | + return EEH_Event_View::the_event_end_date($date_format, $time_format, $EVT_ID); |
|
548 | 548 | } |
549 | 549 | } |
550 | 550 | |
551 | -if ( ! function_exists( 'espresso_event_date_range' )) { |
|
551 | +if ( ! function_exists('espresso_event_date_range')) { |
|
552 | 552 | /** |
553 | 553 | * espresso_event_date_range |
554 | 554 | * returns the first and last chronologically ordered dates for an event (if different) |
@@ -561,32 +561,32 @@ discard block |
||
561 | 561 | * @param bool $echo |
562 | 562 | * @return string |
563 | 563 | */ |
564 | - function espresso_event_date_range( $date_format = '', $time_format = '', $single_date_format = '', $single_time_format = '', $EVT_ID = FALSE, $echo = TRUE ) { |
|
564 | + function espresso_event_date_range($date_format = '', $time_format = '', $single_date_format = '', $single_time_format = '', $EVT_ID = FALSE, $echo = TRUE) { |
|
565 | 565 | // set and filter date and time formats when a range is returned |
566 | - $date_format = ! empty( $date_format ) ? $date_format : get_option( 'date_format' ); |
|
567 | - $date_format = apply_filters( 'FHEE__espresso_event_date_range__date_format', $date_format ); |
|
566 | + $date_format = ! empty($date_format) ? $date_format : get_option('date_format'); |
|
567 | + $date_format = apply_filters('FHEE__espresso_event_date_range__date_format', $date_format); |
|
568 | 568 | // get the start and end date with NO time portion |
569 | - $the_event_date = EEH_Event_View::the_earliest_event_date( $date_format, '', $EVT_ID ); |
|
570 | - $the_event_end_date = EEH_Event_View::the_latest_event_date( $date_format, '', $EVT_ID ); |
|
569 | + $the_event_date = EEH_Event_View::the_earliest_event_date($date_format, '', $EVT_ID); |
|
570 | + $the_event_end_date = EEH_Event_View::the_latest_event_date($date_format, '', $EVT_ID); |
|
571 | 571 | // now we can determine if date range spans more than one day |
572 | - if ( $the_event_date != $the_event_end_date ) { |
|
573 | - $time_format = ! empty( $time_format ) ? $time_format : get_option( 'time_format' ); |
|
574 | - $time_format = apply_filters( 'FHEE__espresso_event_date_range__time_format', $time_format ); |
|
572 | + if ($the_event_date != $the_event_end_date) { |
|
573 | + $time_format = ! empty($time_format) ? $time_format : get_option('time_format'); |
|
574 | + $time_format = apply_filters('FHEE__espresso_event_date_range__time_format', $time_format); |
|
575 | 575 | $html = sprintf( |
576 | 576 | /* translators: 1: first event date, 2: last event date */ |
577 | - esc_html__( '%1$s - %2$s', 'event_espresso' ), |
|
578 | - EEH_Event_View::the_earliest_event_date( $date_format, $time_format, $EVT_ID ), |
|
579 | - EEH_Event_View::the_latest_event_date( $date_format, $time_format, $EVT_ID ) |
|
577 | + esc_html__('%1$s - %2$s', 'event_espresso'), |
|
578 | + EEH_Event_View::the_earliest_event_date($date_format, $time_format, $EVT_ID), |
|
579 | + EEH_Event_View::the_latest_event_date($date_format, $time_format, $EVT_ID) |
|
580 | 580 | ); |
581 | 581 | } else { |
582 | 582 | // set and filter date and time formats when only a single datetime is returned |
583 | - $single_date_format = ! empty( $single_date_format ) ? $single_date_format : get_option( 'date_format' ); |
|
584 | - $single_time_format = ! empty( $single_time_format ) ? $single_time_format : get_option( 'time_format' ); |
|
585 | - $single_date_format = apply_filters( 'FHEE__espresso_event_date_range__single_date_format', $single_date_format ); |
|
586 | - $single_time_format = apply_filters( 'FHEE__espresso_event_date_range__single_time_format', $single_time_format ); |
|
587 | - $html = EEH_Event_View::the_earliest_event_date( $single_date_format, $single_time_format, $EVT_ID ); |
|
583 | + $single_date_format = ! empty($single_date_format) ? $single_date_format : get_option('date_format'); |
|
584 | + $single_time_format = ! empty($single_time_format) ? $single_time_format : get_option('time_format'); |
|
585 | + $single_date_format = apply_filters('FHEE__espresso_event_date_range__single_date_format', $single_date_format); |
|
586 | + $single_time_format = apply_filters('FHEE__espresso_event_date_range__single_time_format', $single_time_format); |
|
587 | + $html = EEH_Event_View::the_earliest_event_date($single_date_format, $single_time_format, $EVT_ID); |
|
588 | 588 | } |
589 | - if ( $echo ) { |
|
589 | + if ($echo) { |
|
590 | 590 | echo $html; |
591 | 591 | return ''; |
592 | 592 | } |
@@ -594,7 +594,7 @@ discard block |
||
594 | 594 | } |
595 | 595 | } |
596 | 596 | |
597 | -if ( ! function_exists( 'espresso_next_upcoming_datetime_obj' )) { |
|
597 | +if ( ! function_exists('espresso_next_upcoming_datetime_obj')) { |
|
598 | 598 | /** |
599 | 599 | * espresso_next_upcoming_datetime_obj |
600 | 600 | * returns the next upcoming datetime object for an event |
@@ -602,12 +602,12 @@ discard block |
||
602 | 602 | * @param int $EVT_ID |
603 | 603 | * @return EE_Datetime|null |
604 | 604 | */ |
605 | - function espresso_next_upcoming_datetime_obj( $EVT_ID = 0 ) { |
|
606 | - return EEH_Event_View::get_next_upcoming_date_obj( $EVT_ID ); |
|
605 | + function espresso_next_upcoming_datetime_obj($EVT_ID = 0) { |
|
606 | + return EEH_Event_View::get_next_upcoming_date_obj($EVT_ID); |
|
607 | 607 | } |
608 | 608 | } |
609 | 609 | |
610 | -if ( ! function_exists( 'espresso_next_upcoming_datetime' ) ) { |
|
610 | +if ( ! function_exists('espresso_next_upcoming_datetime')) { |
|
611 | 611 | /** |
612 | 612 | * espresso_next_upcoming_datetime |
613 | 613 | * returns the start date and time for the next upcoming event. |
@@ -618,30 +618,30 @@ discard block |
||
618 | 618 | * @param bool $echo |
619 | 619 | * @return string |
620 | 620 | */ |
621 | - function espresso_next_upcoming_datetime( $date_format = '', $time_format = '', $EVT_ID = 0, $echo = true ) { |
|
621 | + function espresso_next_upcoming_datetime($date_format = '', $time_format = '', $EVT_ID = 0, $echo = true) { |
|
622 | 622 | |
623 | - $date_format = ! empty( $date_format ) ? $date_format : get_option( 'date_format' ); |
|
624 | - $date_format = apply_filters( 'FHEE__espresso_next_upcoming_datetime__date_format', $date_format ); |
|
623 | + $date_format = ! empty($date_format) ? $date_format : get_option('date_format'); |
|
624 | + $date_format = apply_filters('FHEE__espresso_next_upcoming_datetime__date_format', $date_format); |
|
625 | 625 | |
626 | - $time_format = ! empty( $time_format ) ? $time_format : get_option( 'time_format' ); |
|
627 | - $time_format = apply_filters( 'FHEE__espresso_next_upcoming_datetime__time_format', $time_format ); |
|
626 | + $time_format = ! empty($time_format) ? $time_format : get_option('time_format'); |
|
627 | + $time_format = apply_filters('FHEE__espresso_next_upcoming_datetime__time_format', $time_format); |
|
628 | 628 | |
629 | - $datetime_format = trim( $date_format . ' ' . $time_format); |
|
629 | + $datetime_format = trim($date_format.' '.$time_format); |
|
630 | 630 | |
631 | - $datetime = espresso_next_upcoming_datetime_obj( $EVT_ID ); |
|
631 | + $datetime = espresso_next_upcoming_datetime_obj($EVT_ID); |
|
632 | 632 | |
633 | - if( ! $datetime instanceof EE_Datetime ) { |
|
633 | + if ( ! $datetime instanceof EE_Datetime) { |
|
634 | 634 | return ''; |
635 | 635 | } |
636 | - if ( $echo ){ |
|
637 | - echo $datetime->get_i18n_datetime( 'DTT_EVT_start', $datetime_format ); |
|
636 | + if ($echo) { |
|
637 | + echo $datetime->get_i18n_datetime('DTT_EVT_start', $datetime_format); |
|
638 | 638 | return ''; |
639 | 639 | } |
640 | - return $datetime->get_i18n_datetime( 'DTT_EVT_start', $datetime_format ); |
|
640 | + return $datetime->get_i18n_datetime('DTT_EVT_start', $datetime_format); |
|
641 | 641 | } |
642 | 642 | } |
643 | 643 | |
644 | -if ( ! function_exists( 'espresso_event_date_as_calendar_page' )) { |
|
644 | +if ( ! function_exists('espresso_event_date_as_calendar_page')) { |
|
645 | 645 | /** |
646 | 646 | * espresso_event_date_as_calendar_page |
647 | 647 | * returns the primary date for an event, stylized to appear as the page of a calendar |
@@ -649,15 +649,15 @@ discard block |
||
649 | 649 | * @param bool $EVT_ID |
650 | 650 | * @return string |
651 | 651 | */ |
652 | - function espresso_event_date_as_calendar_page( $EVT_ID = FALSE ) { |
|
653 | - EEH_Event_View::event_date_as_calendar_page( $EVT_ID ); |
|
652 | + function espresso_event_date_as_calendar_page($EVT_ID = FALSE) { |
|
653 | + EEH_Event_View::event_date_as_calendar_page($EVT_ID); |
|
654 | 654 | } |
655 | 655 | } |
656 | 656 | |
657 | 657 | |
658 | 658 | |
659 | 659 | |
660 | -if ( ! function_exists( 'espresso_event_link_url' )) { |
|
660 | +if ( ! function_exists('espresso_event_link_url')) { |
|
661 | 661 | /** |
662 | 662 | * espresso_event_link_url |
663 | 663 | * |
@@ -665,18 +665,18 @@ discard block |
||
665 | 665 | * @param bool $echo |
666 | 666 | * @return string |
667 | 667 | */ |
668 | - function espresso_event_link_url( $EVT_ID = 0, $echo = TRUE ) { |
|
669 | - if ( $echo ) { |
|
670 | - echo EEH_Event_View::event_link_url( $EVT_ID ); |
|
668 | + function espresso_event_link_url($EVT_ID = 0, $echo = TRUE) { |
|
669 | + if ($echo) { |
|
670 | + echo EEH_Event_View::event_link_url($EVT_ID); |
|
671 | 671 | return ''; |
672 | 672 | } |
673 | - return EEH_Event_View::event_link_url( $EVT_ID ); |
|
673 | + return EEH_Event_View::event_link_url($EVT_ID); |
|
674 | 674 | } |
675 | 675 | } |
676 | 676 | |
677 | 677 | |
678 | 678 | |
679 | -if ( ! function_exists( 'espresso_event_has_content_or_excerpt' )) { |
|
679 | +if ( ! function_exists('espresso_event_has_content_or_excerpt')) { |
|
680 | 680 | /** |
681 | 681 | * espresso_event_has_content_or_excerpt |
682 | 682 | * |
@@ -684,15 +684,15 @@ discard block |
||
684 | 684 | * @param bool $EVT_ID |
685 | 685 | * @return boolean |
686 | 686 | */ |
687 | - function espresso_event_has_content_or_excerpt( $EVT_ID = FALSE ) { |
|
688 | - return EEH_Event_View::event_has_content_or_excerpt( $EVT_ID ); |
|
687 | + function espresso_event_has_content_or_excerpt($EVT_ID = FALSE) { |
|
688 | + return EEH_Event_View::event_has_content_or_excerpt($EVT_ID); |
|
689 | 689 | } |
690 | 690 | } |
691 | 691 | |
692 | 692 | |
693 | 693 | |
694 | 694 | |
695 | -if ( ! function_exists( 'espresso_event_content_or_excerpt' )) { |
|
695 | +if ( ! function_exists('espresso_event_content_or_excerpt')) { |
|
696 | 696 | /** |
697 | 697 | * espresso_event_content_or_excerpt |
698 | 698 | * |
@@ -701,18 +701,18 @@ discard block |
||
701 | 701 | * @param bool $echo |
702 | 702 | * @return string |
703 | 703 | */ |
704 | - function espresso_event_content_or_excerpt( $num_words = 55, $more = NULL, $echo = TRUE ) { |
|
705 | - if ( $echo ) { |
|
706 | - echo EEH_Event_View::event_content_or_excerpt( $num_words, $more ); |
|
704 | + function espresso_event_content_or_excerpt($num_words = 55, $more = NULL, $echo = TRUE) { |
|
705 | + if ($echo) { |
|
706 | + echo EEH_Event_View::event_content_or_excerpt($num_words, $more); |
|
707 | 707 | return ''; |
708 | 708 | } |
709 | - return EEH_Event_View::event_content_or_excerpt( $num_words, $more ); |
|
709 | + return EEH_Event_View::event_content_or_excerpt($num_words, $more); |
|
710 | 710 | } |
711 | 711 | } |
712 | 712 | |
713 | 713 | |
714 | 714 | |
715 | -if ( ! function_exists( 'espresso_event_phone' )) { |
|
715 | +if ( ! function_exists('espresso_event_phone')) { |
|
716 | 716 | /** |
717 | 717 | * espresso_event_phone |
718 | 718 | * |
@@ -720,18 +720,18 @@ discard block |
||
720 | 720 | * @param bool $echo |
721 | 721 | * @return string |
722 | 722 | */ |
723 | - function espresso_event_phone( $EVT_ID = 0, $echo = TRUE ) { |
|
724 | - if ( $echo ) { |
|
725 | - echo EEH_Event_View::event_phone( $EVT_ID ); |
|
723 | + function espresso_event_phone($EVT_ID = 0, $echo = TRUE) { |
|
724 | + if ($echo) { |
|
725 | + echo EEH_Event_View::event_phone($EVT_ID); |
|
726 | 726 | return ''; |
727 | 727 | } |
728 | - return EEH_Event_View::event_phone( $EVT_ID ); |
|
728 | + return EEH_Event_View::event_phone($EVT_ID); |
|
729 | 729 | } |
730 | 730 | } |
731 | 731 | |
732 | 732 | |
733 | 733 | |
734 | -if ( ! function_exists( 'espresso_edit_event_link' )) { |
|
734 | +if ( ! function_exists('espresso_edit_event_link')) { |
|
735 | 735 | /** |
736 | 736 | * espresso_edit_event_link |
737 | 737 | * returns a link to edit an event |
@@ -740,39 +740,39 @@ discard block |
||
740 | 740 | * @param bool $echo |
741 | 741 | * @return string |
742 | 742 | */ |
743 | - function espresso_edit_event_link( $EVT_ID = 0, $echo = TRUE ) { |
|
744 | - if ( $echo ) { |
|
745 | - echo EEH_Event_View::edit_event_link( $EVT_ID ); |
|
743 | + function espresso_edit_event_link($EVT_ID = 0, $echo = TRUE) { |
|
744 | + if ($echo) { |
|
745 | + echo EEH_Event_View::edit_event_link($EVT_ID); |
|
746 | 746 | return ''; |
747 | 747 | } |
748 | - return EEH_Event_View::edit_event_link( $EVT_ID ); |
|
748 | + return EEH_Event_View::edit_event_link($EVT_ID); |
|
749 | 749 | } |
750 | 750 | } |
751 | 751 | |
752 | 752 | |
753 | -if ( ! function_exists( 'espresso_organization_name' )) { |
|
753 | +if ( ! function_exists('espresso_organization_name')) { |
|
754 | 754 | /** |
755 | 755 | * espresso_organization_name |
756 | 756 | * @param bool $echo |
757 | 757 | * @return string |
758 | 758 | */ |
759 | 759 | function espresso_organization_name($echo = TRUE) { |
760 | - if($echo){ |
|
761 | - echo EE_Registry::instance()->CFG->organization->get_pretty( 'name' ); |
|
760 | + if ($echo) { |
|
761 | + echo EE_Registry::instance()->CFG->organization->get_pretty('name'); |
|
762 | 762 | return ''; |
763 | 763 | } |
764 | - return EE_Registry::instance()->CFG->organization->get_pretty( 'name' ); |
|
764 | + return EE_Registry::instance()->CFG->organization->get_pretty('name'); |
|
765 | 765 | } |
766 | 766 | } |
767 | 767 | |
768 | -if ( ! function_exists( 'espresso_organization_address' )) { |
|
768 | +if ( ! function_exists('espresso_organization_address')) { |
|
769 | 769 | /** |
770 | 770 | * espresso_organization_address |
771 | 771 | * @param string $type |
772 | 772 | * @return string |
773 | 773 | */ |
774 | - function espresso_organization_address( $type = 'inline' ) { |
|
775 | - if ( EE_Registry::instance()->CFG->organization instanceof EE_Organization_Config ) { |
|
774 | + function espresso_organization_address($type = 'inline') { |
|
775 | + if (EE_Registry::instance()->CFG->organization instanceof EE_Organization_Config) { |
|
776 | 776 | $address = new EventEspresso\core\domain\entities\GenericAddress( |
777 | 777 | EE_Registry::instance()->CFG->organization->address_1, |
778 | 778 | EE_Registry::instance()->CFG->organization->address_2, |
@@ -781,129 +781,129 @@ discard block |
||
781 | 781 | EE_Registry::instance()->CFG->organization->zip, |
782 | 782 | EE_Registry::instance()->CFG->organization->CNT_ISO |
783 | 783 | ); |
784 | - return EEH_Address::format( $address, $type ); |
|
784 | + return EEH_Address::format($address, $type); |
|
785 | 785 | } |
786 | 786 | return ''; |
787 | 787 | } |
788 | 788 | } |
789 | 789 | |
790 | -if ( ! function_exists( 'espresso_organization_email' )) { |
|
790 | +if ( ! function_exists('espresso_organization_email')) { |
|
791 | 791 | /** |
792 | 792 | * espresso_organization_email |
793 | 793 | * @param bool $echo |
794 | 794 | * @return string |
795 | 795 | */ |
796 | - function espresso_organization_email( $echo = TRUE ) { |
|
797 | - if($echo){ |
|
798 | - echo EE_Registry::instance()->CFG->organization->get_pretty( 'email' ); |
|
796 | + function espresso_organization_email($echo = TRUE) { |
|
797 | + if ($echo) { |
|
798 | + echo EE_Registry::instance()->CFG->organization->get_pretty('email'); |
|
799 | 799 | return ''; |
800 | 800 | } |
801 | - return EE_Registry::instance()->CFG->organization->get_pretty( 'email' ); |
|
801 | + return EE_Registry::instance()->CFG->organization->get_pretty('email'); |
|
802 | 802 | } |
803 | 803 | } |
804 | 804 | |
805 | -if ( ! function_exists( 'espresso_organization_logo_url' )) { |
|
805 | +if ( ! function_exists('espresso_organization_logo_url')) { |
|
806 | 806 | /** |
807 | 807 | * espresso_organization_logo_url |
808 | 808 | * @param bool $echo |
809 | 809 | * @return string |
810 | 810 | */ |
811 | - function espresso_organization_logo_url( $echo = TRUE ) { |
|
812 | - if($echo){ |
|
813 | - echo EE_Registry::instance()->CFG->organization->get_pretty( 'logo_url' ); |
|
811 | + function espresso_organization_logo_url($echo = TRUE) { |
|
812 | + if ($echo) { |
|
813 | + echo EE_Registry::instance()->CFG->organization->get_pretty('logo_url'); |
|
814 | 814 | return ''; |
815 | 815 | } |
816 | - return EE_Registry::instance()->CFG->organization->get_pretty( 'logo_url' ); |
|
816 | + return EE_Registry::instance()->CFG->organization->get_pretty('logo_url'); |
|
817 | 817 | } |
818 | 818 | } |
819 | 819 | |
820 | -if ( ! function_exists( 'espresso_organization_facebook' )) { |
|
820 | +if ( ! function_exists('espresso_organization_facebook')) { |
|
821 | 821 | /** |
822 | 822 | * espresso_organization_facebook |
823 | 823 | * @param bool $echo |
824 | 824 | * @return string |
825 | 825 | */ |
826 | - function espresso_organization_facebook( $echo = TRUE ) { |
|
827 | - if($echo){ |
|
828 | - echo EE_Registry::instance()->CFG->organization->get_pretty( 'facebook' ); |
|
826 | + function espresso_organization_facebook($echo = TRUE) { |
|
827 | + if ($echo) { |
|
828 | + echo EE_Registry::instance()->CFG->organization->get_pretty('facebook'); |
|
829 | 829 | return ''; |
830 | 830 | } |
831 | - return EE_Registry::instance()->CFG->organization->get_pretty( 'facebook' ); |
|
831 | + return EE_Registry::instance()->CFG->organization->get_pretty('facebook'); |
|
832 | 832 | } |
833 | 833 | } |
834 | 834 | |
835 | -if ( ! function_exists( 'espresso_organization_twitter' )) { |
|
835 | +if ( ! function_exists('espresso_organization_twitter')) { |
|
836 | 836 | /** |
837 | 837 | * espresso_organization_twitter |
838 | 838 | * @param bool $echo |
839 | 839 | * @return string |
840 | 840 | */ |
841 | - function espresso_organization_twitter( $echo = TRUE ) { |
|
842 | - if($echo){ |
|
843 | - echo EE_Registry::instance()->CFG->organization->get_pretty( 'twitter' ); |
|
841 | + function espresso_organization_twitter($echo = TRUE) { |
|
842 | + if ($echo) { |
|
843 | + echo EE_Registry::instance()->CFG->organization->get_pretty('twitter'); |
|
844 | 844 | return ''; |
845 | 845 | } |
846 | - return EE_Registry::instance()->CFG->organization->get_pretty( 'twitter' ); |
|
846 | + return EE_Registry::instance()->CFG->organization->get_pretty('twitter'); |
|
847 | 847 | } |
848 | 848 | } |
849 | 849 | |
850 | -if ( ! function_exists( 'espresso_organization_linkedin' )) { |
|
850 | +if ( ! function_exists('espresso_organization_linkedin')) { |
|
851 | 851 | /** |
852 | 852 | * espresso_organization_linkedin |
853 | 853 | * @param bool $echo |
854 | 854 | * @return string |
855 | 855 | */ |
856 | - function espresso_organization_linkedin( $echo = TRUE ) { |
|
857 | - if($echo){ |
|
858 | - echo EE_Registry::instance()->CFG->organization->get_pretty( 'linkedin' ); |
|
856 | + function espresso_organization_linkedin($echo = TRUE) { |
|
857 | + if ($echo) { |
|
858 | + echo EE_Registry::instance()->CFG->organization->get_pretty('linkedin'); |
|
859 | 859 | return ''; |
860 | 860 | } |
861 | - return EE_Registry::instance()->CFG->organization->get_pretty( 'linkedin' ); |
|
861 | + return EE_Registry::instance()->CFG->organization->get_pretty('linkedin'); |
|
862 | 862 | } |
863 | 863 | } |
864 | 864 | |
865 | -if ( ! function_exists( 'espresso_organization_pinterest' )) { |
|
865 | +if ( ! function_exists('espresso_organization_pinterest')) { |
|
866 | 866 | /** |
867 | 867 | * espresso_organization_pinterest |
868 | 868 | * @param bool $echo |
869 | 869 | * @return string |
870 | 870 | */ |
871 | - function espresso_organization_pinterest( $echo = TRUE ) { |
|
872 | - if($echo){ |
|
873 | - echo EE_Registry::instance()->CFG->organization->get_pretty( 'pinterest' ); |
|
871 | + function espresso_organization_pinterest($echo = TRUE) { |
|
872 | + if ($echo) { |
|
873 | + echo EE_Registry::instance()->CFG->organization->get_pretty('pinterest'); |
|
874 | 874 | return ''; |
875 | 875 | } |
876 | - return EE_Registry::instance()->CFG->organization->get_pretty( 'pinterest' ); |
|
876 | + return EE_Registry::instance()->CFG->organization->get_pretty('pinterest'); |
|
877 | 877 | } |
878 | 878 | } |
879 | 879 | |
880 | -if ( ! function_exists( 'espresso_organization_google' )) { |
|
880 | +if ( ! function_exists('espresso_organization_google')) { |
|
881 | 881 | /** |
882 | 882 | * espresso_organization_google |
883 | 883 | * @param bool $echo |
884 | 884 | * @return string |
885 | 885 | */ |
886 | - function espresso_organization_google( $echo = TRUE ) { |
|
887 | - if($echo){ |
|
888 | - echo EE_Registry::instance()->CFG->organization->get_pretty( 'google' ); |
|
886 | + function espresso_organization_google($echo = TRUE) { |
|
887 | + if ($echo) { |
|
888 | + echo EE_Registry::instance()->CFG->organization->get_pretty('google'); |
|
889 | 889 | return ''; |
890 | 890 | } |
891 | - return EE_Registry::instance()->CFG->organization->get_pretty( 'google' ); |
|
891 | + return EE_Registry::instance()->CFG->organization->get_pretty('google'); |
|
892 | 892 | } |
893 | 893 | } |
894 | 894 | |
895 | -if ( ! function_exists( 'espresso_organization_instagram' )) { |
|
895 | +if ( ! function_exists('espresso_organization_instagram')) { |
|
896 | 896 | /** |
897 | 897 | * espresso_organization_instagram |
898 | 898 | * @param bool $echo |
899 | 899 | * @return string |
900 | 900 | */ |
901 | - function espresso_organization_instagram( $echo = TRUE ) { |
|
902 | - if($echo){ |
|
903 | - echo EE_Registry::instance()->CFG->organization->get_pretty( 'instagram' ); |
|
901 | + function espresso_organization_instagram($echo = TRUE) { |
|
902 | + if ($echo) { |
|
903 | + echo EE_Registry::instance()->CFG->organization->get_pretty('instagram'); |
|
904 | 904 | return ''; |
905 | 905 | } |
906 | - return EE_Registry::instance()->CFG->organization->get_pretty( 'instagram' ); |
|
906 | + return EE_Registry::instance()->CFG->organization->get_pretty('instagram'); |
|
907 | 907 | } |
908 | 908 | } |
909 | 909 | |
@@ -913,7 +913,7 @@ discard block |
||
913 | 913 | |
914 | 914 | |
915 | 915 | |
916 | -if ( ! function_exists( 'espresso_event_venues' )) { |
|
916 | +if ( ! function_exists('espresso_event_venues')) { |
|
917 | 917 | /** |
918 | 918 | * espresso_event_venues |
919 | 919 | * |
@@ -927,7 +927,7 @@ discard block |
||
927 | 927 | |
928 | 928 | |
929 | 929 | |
930 | -if ( ! function_exists( 'espresso_venue_id' )) { |
|
930 | +if ( ! function_exists('espresso_venue_id')) { |
|
931 | 931 | /** |
932 | 932 | * espresso_venue_name |
933 | 933 | * |
@@ -935,15 +935,15 @@ discard block |
||
935 | 935 | * @param int $EVT_ID |
936 | 936 | * @return string |
937 | 937 | */ |
938 | - function espresso_venue_id( $EVT_ID = 0 ) { |
|
939 | - $venue = EEH_Venue_View::get_venue( $EVT_ID ); |
|
938 | + function espresso_venue_id($EVT_ID = 0) { |
|
939 | + $venue = EEH_Venue_View::get_venue($EVT_ID); |
|
940 | 940 | return $venue instanceof EE_Venue ? $venue->ID() : 0; |
941 | 941 | } |
942 | 942 | } |
943 | 943 | |
944 | 944 | |
945 | 945 | |
946 | -if ( ! function_exists( 'espresso_is_venue_private' ) ) { |
|
946 | +if ( ! function_exists('espresso_is_venue_private')) { |
|
947 | 947 | /** |
948 | 948 | * Return whether a venue is private or not. |
949 | 949 | * @see EEH_Venue_View::get_venue() for more info on expected return results. |
@@ -952,45 +952,45 @@ discard block |
||
952 | 952 | * |
953 | 953 | * @return bool | null |
954 | 954 | */ |
955 | - function espresso_is_venue_private( $VNU_ID = 0 ) { |
|
956 | - return EEH_Venue_View::is_venue_private( $VNU_ID ); |
|
955 | + function espresso_is_venue_private($VNU_ID = 0) { |
|
956 | + return EEH_Venue_View::is_venue_private($VNU_ID); |
|
957 | 957 | } |
958 | 958 | } |
959 | 959 | |
960 | 960 | |
961 | 961 | |
962 | -if ( ! function_exists( 'espresso_venue_is_password_protected' ) ) { |
|
962 | +if ( ! function_exists('espresso_venue_is_password_protected')) { |
|
963 | 963 | /** |
964 | 964 | * returns true or false if a venue is password protected or not |
965 | 965 | * |
966 | 966 | * @param int $VNU_ID optional, the venue id to check. |
967 | 967 | * @return string |
968 | 968 | */ |
969 | - function espresso_venue_is_password_protected( $VNU_ID = 0 ) { |
|
970 | - EE_Registry::instance()->load_helper( 'Venue_View' ); |
|
971 | - return EEH_Venue_View::is_venue_password_protected( $VNU_ID ); |
|
969 | + function espresso_venue_is_password_protected($VNU_ID = 0) { |
|
970 | + EE_Registry::instance()->load_helper('Venue_View'); |
|
971 | + return EEH_Venue_View::is_venue_password_protected($VNU_ID); |
|
972 | 972 | } |
973 | 973 | } |
974 | 974 | |
975 | 975 | |
976 | 976 | |
977 | -if ( ! function_exists( 'espresso_password_protected_venue_form' ) ) { |
|
977 | +if ( ! function_exists('espresso_password_protected_venue_form')) { |
|
978 | 978 | /** |
979 | 979 | * Returns a password form if venue is password protected. |
980 | 980 | * |
981 | 981 | * @param int $VNU_ID optional, the venue id to check. |
982 | 982 | * @return string |
983 | 983 | */ |
984 | - function espresso_password_protected_venue_form( $VNU_ID = 0 ) { |
|
985 | - EE_Registry::instance()->load_helper( 'Venue_View' ); |
|
986 | - return EEH_Venue_View::password_protected_venue_form( $VNU_ID ); |
|
984 | + function espresso_password_protected_venue_form($VNU_ID = 0) { |
|
985 | + EE_Registry::instance()->load_helper('Venue_View'); |
|
986 | + return EEH_Venue_View::password_protected_venue_form($VNU_ID); |
|
987 | 987 | } |
988 | 988 | } |
989 | 989 | |
990 | 990 | |
991 | 991 | |
992 | 992 | |
993 | -if ( ! function_exists( 'espresso_venue_name' )) { |
|
993 | +if ( ! function_exists('espresso_venue_name')) { |
|
994 | 994 | /** |
995 | 995 | * espresso_venue_name |
996 | 996 | * |
@@ -1000,19 +1000,19 @@ discard block |
||
1000 | 1000 | * @param bool $echo |
1001 | 1001 | * @return string |
1002 | 1002 | */ |
1003 | - function espresso_venue_name( $VNU_ID = 0, $link_to = 'details', $echo = TRUE ) { |
|
1004 | - if($echo){ |
|
1005 | - echo EEH_Venue_View::venue_name( $link_to, $VNU_ID ); |
|
1003 | + function espresso_venue_name($VNU_ID = 0, $link_to = 'details', $echo = TRUE) { |
|
1004 | + if ($echo) { |
|
1005 | + echo EEH_Venue_View::venue_name($link_to, $VNU_ID); |
|
1006 | 1006 | return ''; |
1007 | 1007 | } |
1008 | - return EEH_Venue_View::venue_name( $link_to, $VNU_ID ); |
|
1008 | + return EEH_Venue_View::venue_name($link_to, $VNU_ID); |
|
1009 | 1009 | } |
1010 | 1010 | } |
1011 | 1011 | |
1012 | 1012 | |
1013 | 1013 | |
1014 | 1014 | |
1015 | -if ( ! function_exists( 'espresso_venue_link' )) { |
|
1015 | +if ( ! function_exists('espresso_venue_link')) { |
|
1016 | 1016 | /** |
1017 | 1017 | * espresso_venue_link |
1018 | 1018 | * |
@@ -1021,14 +1021,14 @@ discard block |
||
1021 | 1021 | * @param string $text |
1022 | 1022 | * @return string |
1023 | 1023 | */ |
1024 | - function espresso_venue_link( $VNU_ID = 0, $text = '' ) { |
|
1025 | - return EEH_Venue_View::venue_details_link( $VNU_ID, $text ); |
|
1024 | + function espresso_venue_link($VNU_ID = 0, $text = '') { |
|
1025 | + return EEH_Venue_View::venue_details_link($VNU_ID, $text); |
|
1026 | 1026 | } |
1027 | 1027 | } |
1028 | 1028 | |
1029 | 1029 | |
1030 | 1030 | |
1031 | -if ( ! function_exists( 'espresso_venue_description' )) { |
|
1031 | +if ( ! function_exists('espresso_venue_description')) { |
|
1032 | 1032 | /** |
1033 | 1033 | * espresso_venue_description |
1034 | 1034 | * |
@@ -1037,17 +1037,17 @@ discard block |
||
1037 | 1037 | * @param bool $echo |
1038 | 1038 | * @return string |
1039 | 1039 | */ |
1040 | - function espresso_venue_description( $VNU_ID = FALSE, $echo = TRUE ) { |
|
1041 | - if($echo){ |
|
1042 | - echo EEH_Venue_View::venue_description( $VNU_ID ); |
|
1040 | + function espresso_venue_description($VNU_ID = FALSE, $echo = TRUE) { |
|
1041 | + if ($echo) { |
|
1042 | + echo EEH_Venue_View::venue_description($VNU_ID); |
|
1043 | 1043 | return ''; |
1044 | 1044 | } |
1045 | - return EEH_Venue_View::venue_description( $VNU_ID ); |
|
1045 | + return EEH_Venue_View::venue_description($VNU_ID); |
|
1046 | 1046 | } |
1047 | 1047 | } |
1048 | 1048 | |
1049 | 1049 | |
1050 | -if ( ! function_exists( 'espresso_venue_excerpt' )) { |
|
1050 | +if ( ! function_exists('espresso_venue_excerpt')) { |
|
1051 | 1051 | /** |
1052 | 1052 | * espresso_venue_excerpt |
1053 | 1053 | * |
@@ -1056,18 +1056,18 @@ discard block |
||
1056 | 1056 | * @param bool $echo |
1057 | 1057 | * @return string |
1058 | 1058 | */ |
1059 | - function espresso_venue_excerpt( $VNU_ID = 0, $echo = TRUE ) { |
|
1060 | - if ( $echo ) { |
|
1061 | - echo EEH_Venue_View::venue_excerpt( $VNU_ID ); |
|
1059 | + function espresso_venue_excerpt($VNU_ID = 0, $echo = TRUE) { |
|
1060 | + if ($echo) { |
|
1061 | + echo EEH_Venue_View::venue_excerpt($VNU_ID); |
|
1062 | 1062 | return ''; |
1063 | 1063 | } |
1064 | - return EEH_Venue_View::venue_excerpt( $VNU_ID ); |
|
1064 | + return EEH_Venue_View::venue_excerpt($VNU_ID); |
|
1065 | 1065 | } |
1066 | 1066 | } |
1067 | 1067 | |
1068 | 1068 | |
1069 | 1069 | |
1070 | -if ( ! function_exists( 'espresso_venue_categories' )) { |
|
1070 | +if ( ! function_exists('espresso_venue_categories')) { |
|
1071 | 1071 | /** |
1072 | 1072 | * espresso_venue_categories |
1073 | 1073 | * returns the terms associated with a venue |
@@ -1077,17 +1077,17 @@ discard block |
||
1077 | 1077 | * @param bool $echo |
1078 | 1078 | * @return string |
1079 | 1079 | */ |
1080 | - function espresso_venue_categories( $VNU_ID = 0, $hide_uncategorized = TRUE, $echo = TRUE ) { |
|
1081 | - if ( $echo ) { |
|
1082 | - echo EEH_Venue_View::venue_categories( $VNU_ID, $hide_uncategorized ); |
|
1080 | + function espresso_venue_categories($VNU_ID = 0, $hide_uncategorized = TRUE, $echo = TRUE) { |
|
1081 | + if ($echo) { |
|
1082 | + echo EEH_Venue_View::venue_categories($VNU_ID, $hide_uncategorized); |
|
1083 | 1083 | return ''; |
1084 | 1084 | } |
1085 | - return EEH_Venue_View::venue_categories( $VNU_ID, $hide_uncategorized ); |
|
1085 | + return EEH_Venue_View::venue_categories($VNU_ID, $hide_uncategorized); |
|
1086 | 1086 | } |
1087 | 1087 | } |
1088 | 1088 | |
1089 | 1089 | |
1090 | -if ( ! function_exists( 'espresso_venue_address' )) { |
|
1090 | +if ( ! function_exists('espresso_venue_address')) { |
|
1091 | 1091 | /** |
1092 | 1092 | * espresso_venue_address |
1093 | 1093 | * returns a formatted block of html for displaying a venue's address |
@@ -1097,17 +1097,17 @@ discard block |
||
1097 | 1097 | * @param bool $echo |
1098 | 1098 | * @return string |
1099 | 1099 | */ |
1100 | - function espresso_venue_address( $type = 'multiline', $VNU_ID = 0, $echo = TRUE ) { |
|
1101 | - if ( $echo ) { |
|
1102 | - echo EEH_Venue_View::venue_address( $type, $VNU_ID ); |
|
1100 | + function espresso_venue_address($type = 'multiline', $VNU_ID = 0, $echo = TRUE) { |
|
1101 | + if ($echo) { |
|
1102 | + echo EEH_Venue_View::venue_address($type, $VNU_ID); |
|
1103 | 1103 | return ''; |
1104 | 1104 | } |
1105 | - return EEH_Venue_View::venue_address( $type, $VNU_ID ); |
|
1105 | + return EEH_Venue_View::venue_address($type, $VNU_ID); |
|
1106 | 1106 | } |
1107 | 1107 | } |
1108 | 1108 | |
1109 | 1109 | |
1110 | -if ( ! function_exists( 'espresso_venue_raw_address' )) { |
|
1110 | +if ( ! function_exists('espresso_venue_raw_address')) { |
|
1111 | 1111 | /** |
1112 | 1112 | * espresso_venue_address |
1113 | 1113 | * returns an UN-formatted string containing a venue's address |
@@ -1117,17 +1117,17 @@ discard block |
||
1117 | 1117 | * @param bool $echo |
1118 | 1118 | * @return string |
1119 | 1119 | */ |
1120 | - function espresso_venue_raw_address( $type = 'multiline', $VNU_ID = 0, $echo = TRUE ) { |
|
1121 | - if ( $echo ) { |
|
1122 | - echo EEH_Venue_View::venue_address( $type, $VNU_ID, FALSE, FALSE ); |
|
1120 | + function espresso_venue_raw_address($type = 'multiline', $VNU_ID = 0, $echo = TRUE) { |
|
1121 | + if ($echo) { |
|
1122 | + echo EEH_Venue_View::venue_address($type, $VNU_ID, FALSE, FALSE); |
|
1123 | 1123 | return ''; |
1124 | 1124 | } |
1125 | - return EEH_Venue_View::venue_address( $type, $VNU_ID, FALSE, FALSE ); |
|
1125 | + return EEH_Venue_View::venue_address($type, $VNU_ID, FALSE, FALSE); |
|
1126 | 1126 | } |
1127 | 1127 | } |
1128 | 1128 | |
1129 | 1129 | |
1130 | -if ( ! function_exists( 'espresso_venue_has_address' )) { |
|
1130 | +if ( ! function_exists('espresso_venue_has_address')) { |
|
1131 | 1131 | /** |
1132 | 1132 | * espresso_venue_has_address |
1133 | 1133 | * returns TRUE or FALSE if a Venue has address information |
@@ -1135,13 +1135,13 @@ discard block |
||
1135 | 1135 | * @param int $VNU_ID |
1136 | 1136 | * @return bool |
1137 | 1137 | */ |
1138 | - function espresso_venue_has_address( $VNU_ID = 0 ) { |
|
1139 | - return EEH_Venue_View::venue_has_address( $VNU_ID ); |
|
1138 | + function espresso_venue_has_address($VNU_ID = 0) { |
|
1139 | + return EEH_Venue_View::venue_has_address($VNU_ID); |
|
1140 | 1140 | } |
1141 | 1141 | } |
1142 | 1142 | |
1143 | 1143 | |
1144 | -if ( ! function_exists( 'espresso_venue_gmap' )) { |
|
1144 | +if ( ! function_exists('espresso_venue_gmap')) { |
|
1145 | 1145 | /** |
1146 | 1146 | * espresso_venue_gmap |
1147 | 1147 | * returns a google map for the venue address |
@@ -1152,17 +1152,17 @@ discard block |
||
1152 | 1152 | * @param bool $echo |
1153 | 1153 | * @return string |
1154 | 1154 | */ |
1155 | - function espresso_venue_gmap( $VNU_ID = 0, $map_ID = FALSE, $gmap = array(), $echo = TRUE ) { |
|
1156 | - if ( $echo ) { |
|
1157 | - echo EEH_Venue_View::venue_gmap( $VNU_ID, $map_ID, $gmap ); |
|
1155 | + function espresso_venue_gmap($VNU_ID = 0, $map_ID = FALSE, $gmap = array(), $echo = TRUE) { |
|
1156 | + if ($echo) { |
|
1157 | + echo EEH_Venue_View::venue_gmap($VNU_ID, $map_ID, $gmap); |
|
1158 | 1158 | return ''; |
1159 | 1159 | } |
1160 | - return EEH_Venue_View::venue_gmap( $VNU_ID, $map_ID, $gmap ); |
|
1160 | + return EEH_Venue_View::venue_gmap($VNU_ID, $map_ID, $gmap); |
|
1161 | 1161 | } |
1162 | 1162 | } |
1163 | 1163 | |
1164 | 1164 | |
1165 | -if ( ! function_exists( 'espresso_venue_phone' )) { |
|
1165 | +if ( ! function_exists('espresso_venue_phone')) { |
|
1166 | 1166 | /** |
1167 | 1167 | * espresso_venue_phone |
1168 | 1168 | * |
@@ -1170,18 +1170,18 @@ discard block |
||
1170 | 1170 | * @param bool $echo |
1171 | 1171 | * @return string |
1172 | 1172 | */ |
1173 | - function espresso_venue_phone( $VNU_ID = 0, $echo = TRUE ) { |
|
1174 | - if ( $echo ) { |
|
1175 | - echo EEH_Venue_View::venue_phone( $VNU_ID ); |
|
1173 | + function espresso_venue_phone($VNU_ID = 0, $echo = TRUE) { |
|
1174 | + if ($echo) { |
|
1175 | + echo EEH_Venue_View::venue_phone($VNU_ID); |
|
1176 | 1176 | return ''; |
1177 | 1177 | } |
1178 | - return EEH_Venue_View::venue_phone( $VNU_ID ); |
|
1178 | + return EEH_Venue_View::venue_phone($VNU_ID); |
|
1179 | 1179 | } |
1180 | 1180 | } |
1181 | 1181 | |
1182 | 1182 | |
1183 | 1183 | |
1184 | -if ( ! function_exists( 'espresso_venue_website' )) { |
|
1184 | +if ( ! function_exists('espresso_venue_website')) { |
|
1185 | 1185 | /** |
1186 | 1186 | * espresso_venue_website |
1187 | 1187 | * |
@@ -1189,18 +1189,18 @@ discard block |
||
1189 | 1189 | * @param bool $echo |
1190 | 1190 | * @return string |
1191 | 1191 | */ |
1192 | - function espresso_venue_website( $VNU_ID = 0, $echo = TRUE ) { |
|
1193 | - if ( $echo ) { |
|
1194 | - echo EEH_Venue_View::venue_website_link( $VNU_ID ); |
|
1192 | + function espresso_venue_website($VNU_ID = 0, $echo = TRUE) { |
|
1193 | + if ($echo) { |
|
1194 | + echo EEH_Venue_View::venue_website_link($VNU_ID); |
|
1195 | 1195 | return ''; |
1196 | 1196 | } |
1197 | - return EEH_Venue_View::venue_website_link( $VNU_ID ); |
|
1197 | + return EEH_Venue_View::venue_website_link($VNU_ID); |
|
1198 | 1198 | } |
1199 | 1199 | } |
1200 | 1200 | |
1201 | 1201 | |
1202 | 1202 | |
1203 | -if ( ! function_exists( 'espresso_edit_venue_link' )) { |
|
1203 | +if ( ! function_exists('espresso_edit_venue_link')) { |
|
1204 | 1204 | /** |
1205 | 1205 | * espresso_edit_venue_link |
1206 | 1206 | * |
@@ -1208,12 +1208,12 @@ discard block |
||
1208 | 1208 | * @param bool $echo |
1209 | 1209 | * @return string |
1210 | 1210 | */ |
1211 | - function espresso_edit_venue_link( $VNU_ID = 0, $echo = TRUE ) { |
|
1212 | - if($echo){ |
|
1213 | - echo EEH_Venue_View::edit_venue_link( $VNU_ID ); |
|
1211 | + function espresso_edit_venue_link($VNU_ID = 0, $echo = TRUE) { |
|
1212 | + if ($echo) { |
|
1213 | + echo EEH_Venue_View::edit_venue_link($VNU_ID); |
|
1214 | 1214 | return ''; |
1215 | 1215 | } |
1216 | - return EEH_Venue_View::edit_venue_link( $VNU_ID ); |
|
1216 | + return EEH_Venue_View::edit_venue_link($VNU_ID); |
|
1217 | 1217 | } |
1218 | 1218 | } |
1219 | 1219 |
@@ -2,179 +2,179 @@ discard block |
||
2 | 2 | /* THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. */ |
3 | 3 | $generated_i18n_strings = array( |
4 | 4 | // Reference: domains/blocks/src/components/AvatarImage.tsx:27 |
5 | - __( 'contact avatar', 'event_espresso' ), |
|
5 | + __('contact avatar', 'event_espresso'), |
|
6 | 6 | |
7 | 7 | // Reference: domains/blocks/src/components/OrderByControl.tsx:13 |
8 | - __( 'Order by', 'event_espresso' ), |
|
8 | + __('Order by', 'event_espresso'), |
|
9 | 9 | |
10 | 10 | // Reference: domains/blocks/src/components/RegStatusControl.tsx:18 |
11 | 11 | // Reference: domains/blocks/src/event-attendees/controls/SelectStatus.tsx:12 |
12 | - __( 'Select Registration Status', 'event_espresso' ), |
|
12 | + __('Select Registration Status', 'event_espresso'), |
|
13 | 13 | |
14 | 14 | // Reference: domains/blocks/src/components/SortOrderControl.tsx:15 |
15 | - __( 'Ascending', 'event_espresso' ), |
|
15 | + __('Ascending', 'event_espresso'), |
|
16 | 16 | |
17 | 17 | // Reference: domains/blocks/src/components/SortOrderControl.tsx:19 |
18 | - __( 'Descending', 'event_espresso' ), |
|
18 | + __('Descending', 'event_espresso'), |
|
19 | 19 | |
20 | 20 | // Reference: domains/blocks/src/components/SortOrderControl.tsx:25 |
21 | - __( 'Sort order:', 'event_espresso' ), |
|
21 | + __('Sort order:', 'event_espresso'), |
|
22 | 22 | |
23 | 23 | // Reference: domains/blocks/src/event-attendees/AttendeesDisplay.tsx:40 |
24 | - __( 'There was some error fetching attendees list', 'event_espresso' ), |
|
24 | + __('There was some error fetching attendees list', 'event_espresso'), |
|
25 | 25 | |
26 | 26 | // Reference: domains/blocks/src/event-attendees/AttendeesDisplay.tsx:46 |
27 | - __( 'To get started, select what event you want to show attendees from in the block settings.', 'event_espresso' ), |
|
27 | + __('To get started, select what event you want to show attendees from in the block settings.', 'event_espresso'), |
|
28 | 28 | |
29 | 29 | // Reference: domains/blocks/src/event-attendees/AttendeesDisplay.tsx:52 |
30 | - __( 'There are no attendees for selected options.', 'event_espresso' ), |
|
30 | + __('There are no attendees for selected options.', 'event_espresso'), |
|
31 | 31 | |
32 | 32 | // Reference: domains/blocks/src/event-attendees/controls/ArchiveSettings.tsx:11 |
33 | - __( 'Display on Archives', 'event_espresso' ), |
|
33 | + __('Display on Archives', 'event_espresso'), |
|
34 | 34 | |
35 | 35 | // Reference: domains/blocks/src/event-attendees/controls/ArchiveSettings.tsx:16 |
36 | - __( 'Attendees are shown whenever this post is listed in an archive view.', 'event_espresso' ), |
|
36 | + __('Attendees are shown whenever this post is listed in an archive view.', 'event_espresso'), |
|
37 | 37 | |
38 | 38 | // Reference: domains/blocks/src/event-attendees/controls/ArchiveSettings.tsx:17 |
39 | - __( 'Attendees are hidden whenever this post is listed in an archive view.', 'event_espresso' ), |
|
39 | + __('Attendees are hidden whenever this post is listed in an archive view.', 'event_espresso'), |
|
40 | 40 | |
41 | 41 | // Reference: domains/blocks/src/event-attendees/controls/AttendeeLimit.tsx:28 |
42 | - __( 'Number of Attendees to Display:', 'event_espresso' ), |
|
42 | + __('Number of Attendees to Display:', 'event_espresso'), |
|
43 | 43 | |
44 | 44 | // Reference: domains/blocks/src/event-attendees/controls/AttendeeLimit.tsx:32 |
45 | - _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' ), |
|
45 | + _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'), |
|
46 | 46 | |
47 | 47 | // Reference: domains/blocks/src/event-attendees/controls/GravatarSettings.tsx:26 |
48 | - __( 'Display Gravatar', 'event_espresso' ), |
|
48 | + __('Display Gravatar', 'event_espresso'), |
|
49 | 49 | |
50 | 50 | // Reference: domains/blocks/src/event-attendees/controls/GravatarSettings.tsx:31 |
51 | - __( 'Gravatar images are shown for each attendee.', 'event_espresso' ), |
|
51 | + __('Gravatar images are shown for each attendee.', 'event_espresso'), |
|
52 | 52 | |
53 | 53 | // Reference: domains/blocks/src/event-attendees/controls/GravatarSettings.tsx:32 |
54 | - __( 'No gravatar images are shown for each attendee.', 'event_espresso' ), |
|
54 | + __('No gravatar images are shown for each attendee.', 'event_espresso'), |
|
55 | 55 | |
56 | 56 | // Reference: domains/blocks/src/event-attendees/controls/GravatarSettings.tsx:37 |
57 | - __( 'Size of Gravatar', 'event_espresso' ), |
|
57 | + __('Size of Gravatar', 'event_espresso'), |
|
58 | 58 | |
59 | 59 | // Reference: domains/blocks/src/event-attendees/controls/SelectDatetime.tsx:21 |
60 | - __( 'Select Datetime', 'event_espresso' ), |
|
60 | + __('Select Datetime', 'event_espresso'), |
|
61 | 61 | |
62 | 62 | // Reference: domains/blocks/src/event-attendees/controls/SelectEvent.tsx:21 |
63 | - __( 'Select Event', 'event_espresso' ), |
|
63 | + __('Select Event', 'event_espresso'), |
|
64 | 64 | |
65 | 65 | // Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:10 |
66 | - __( 'Attendee id', 'event_espresso' ), |
|
66 | + __('Attendee id', 'event_espresso'), |
|
67 | 67 | |
68 | 68 | // Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:14 |
69 | - __( 'Last name only', 'event_espresso' ), |
|
69 | + __('Last name only', 'event_espresso'), |
|
70 | 70 | |
71 | 71 | // Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:18 |
72 | - __( 'First name only', 'event_espresso' ), |
|
72 | + __('First name only', 'event_espresso'), |
|
73 | 73 | |
74 | 74 | // Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:22 |
75 | - __( 'First, then Last name', 'event_espresso' ), |
|
75 | + __('First, then Last name', 'event_espresso'), |
|
76 | 76 | |
77 | 77 | // Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:26 |
78 | - __( 'Last, then First name', 'event_espresso' ), |
|
78 | + __('Last, then First name', 'event_espresso'), |
|
79 | 79 | |
80 | 80 | // Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:40 |
81 | - __( 'Order Attendees by:', 'event_espresso' ), |
|
81 | + __('Order Attendees by:', 'event_espresso'), |
|
82 | 82 | |
83 | 83 | // Reference: domains/blocks/src/event-attendees/controls/SelectTicket.tsx:21 |
84 | - __( 'Select Ticket', 'event_espresso' ), |
|
84 | + __('Select Ticket', 'event_espresso'), |
|
85 | 85 | |
86 | 86 | // Reference: domains/blocks/src/event-attendees/controls/index.tsx:22 |
87 | - __( 'Filter By Settings', 'event_espresso' ), |
|
87 | + __('Filter By Settings', 'event_espresso'), |
|
88 | 88 | |
89 | 89 | // Reference: domains/blocks/src/event-attendees/controls/index.tsx:37 |
90 | - __( 'Gravatar Setttings', 'event_espresso' ), |
|
90 | + __('Gravatar Setttings', 'event_espresso'), |
|
91 | 91 | |
92 | 92 | // Reference: domains/blocks/src/event-attendees/controls/index.tsx:40 |
93 | - __( 'Archive Settings', 'event_espresso' ), |
|
93 | + __('Archive Settings', 'event_espresso'), |
|
94 | 94 | |
95 | 95 | // Reference: domains/blocks/src/event-attendees/index.tsx:10 |
96 | - __( 'Event Attendees', 'event_espresso' ), |
|
96 | + __('Event Attendees', 'event_espresso'), |
|
97 | 97 | |
98 | 98 | // Reference: domains/blocks/src/event-attendees/index.tsx:11 |
99 | - __( 'Displays a list of people that have registered for the specified event', 'event_espresso' ), |
|
99 | + __('Displays a list of people that have registered for the specified event', 'event_espresso'), |
|
100 | 100 | |
101 | 101 | // Reference: domains/blocks/src/event-attendees/index.tsx:14 |
102 | - __( 'event', 'event_espresso' ), |
|
102 | + __('event', 'event_espresso'), |
|
103 | 103 | |
104 | 104 | // Reference: domains/blocks/src/event-attendees/index.tsx:14 |
105 | - __( 'attendees', 'event_espresso' ), |
|
105 | + __('attendees', 'event_espresso'), |
|
106 | 106 | |
107 | 107 | // Reference: domains/blocks/src/event-attendees/index.tsx:14 |
108 | - __( 'list', 'event_espresso' ), |
|
108 | + __('list', 'event_espresso'), |
|
109 | 109 | |
110 | 110 | // Reference: domains/blocks/src/services/utils.ts:11 |
111 | - __( 'Loading...', 'event_espresso' ), |
|
111 | + __('Loading...', 'event_espresso'), |
|
112 | 112 | |
113 | 113 | // Reference: domains/blocks/src/services/utils.ts:19 |
114 | 114 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:32 |
115 | - __( 'Error', 'event_espresso' ), |
|
115 | + __('Error', 'event_espresso'), |
|
116 | 116 | |
117 | 117 | // Reference: domains/blocks/src/services/utils.ts:26 |
118 | - __( 'Select...', 'event_espresso' ), |
|
118 | + __('Select...', 'event_espresso'), |
|
119 | 119 | |
120 | 120 | // Reference: domains/eventEditor/src/ui/datetimes/DateRegistrationsLink.tsx:30 |
121 | - __( 'view ALL registrations for this date.', 'event_espresso' ), |
|
121 | + __('view ALL registrations for this date.', 'event_espresso'), |
|
122 | 122 | |
123 | 123 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/formValidation.ts:15 |
124 | 124 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/formValidation.ts:15 |
125 | - __( 'Name is required', 'event_espresso' ), |
|
125 | + __('Name is required', 'event_espresso'), |
|
126 | 126 | |
127 | 127 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/formValidation.ts:16 |
128 | 128 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/formValidation.ts:12 |
129 | 129 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/formValidation.ts:16 |
130 | 130 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/formValidation.ts:12 |
131 | - __( 'Name must be at least three characters', 'event_espresso' ), |
|
131 | + __('Name must be at least three characters', 'event_espresso'), |
|
132 | 132 | |
133 | 133 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/Container.tsx:17 |
134 | - __( 'Edit datetime %s', 'event_espresso' ), |
|
134 | + __('Edit datetime %s', 'event_espresso'), |
|
135 | 135 | |
136 | 136 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/Container.tsx:17 |
137 | - __( 'New Datetime', 'event_espresso' ), |
|
137 | + __('New Datetime', 'event_espresso'), |
|
138 | 138 | |
139 | 139 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/ContentBody.tsx:40 |
140 | - __( 'Save and assign tickets', 'event_espresso' ), |
|
140 | + __('Save and assign tickets', 'event_espresso'), |
|
141 | 141 | |
142 | 142 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:11 |
143 | - __( 'primary information about the date', 'event_espresso' ), |
|
143 | + __('primary information about the date', 'event_espresso'), |
|
144 | 144 | |
145 | 145 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:11 |
146 | - __( 'Date Details', 'event_espresso' ), |
|
146 | + __('Date Details', 'event_espresso'), |
|
147 | 147 | |
148 | 148 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:12 |
149 | 149 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:17 |
150 | - __( 'relations between tickets and dates', 'event_espresso' ), |
|
150 | + __('relations between tickets and dates', 'event_espresso'), |
|
151 | 151 | |
152 | 152 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:12 |
153 | - __( 'Assign Tickets', 'event_espresso' ), |
|
153 | + __('Assign Tickets', 'event_espresso'), |
|
154 | 154 | |
155 | 155 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:107 |
156 | 156 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:108 |
157 | 157 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:119 |
158 | 158 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:108 |
159 | - __( 'Details', 'event_espresso' ), |
|
159 | + __('Details', 'event_espresso'), |
|
160 | 160 | |
161 | 161 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:111 |
162 | 162 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:112 |
163 | 163 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:74 |
164 | - __( 'Capacity', 'event_espresso' ), |
|
164 | + __('Capacity', 'event_espresso'), |
|
165 | 165 | |
166 | 166 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:116 |
167 | - __( 'The maximum number of registrants that can attend the event at this particular date.%sSet to 0 to close registration or leave blank for no limit.', 'event_espresso' ), |
|
167 | + __('The maximum number of registrants that can attend the event at this particular date.%sSet to 0 to close registration or leave blank for no limit.', 'event_espresso'), |
|
168 | 168 | |
169 | 169 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:125 |
170 | 170 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:194 |
171 | - __( 'Trash', 'event_espresso' ), |
|
171 | + __('Trash', 'event_espresso'), |
|
172 | 172 | |
173 | 173 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:69 |
174 | 174 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:45 |
175 | 175 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:81 |
176 | 176 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:45 |
177 | - __( 'Basics', 'event_espresso' ), |
|
177 | + __('Basics', 'event_espresso'), |
|
178 | 178 | |
179 | 179 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:73 |
180 | 180 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:49 |
@@ -182,220 +182,220 @@ discard block |
||
182 | 182 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:85 |
183 | 183 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:49 |
184 | 184 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:42 |
185 | - __( 'Name', 'event_espresso' ), |
|
185 | + __('Name', 'event_espresso'), |
|
186 | 186 | |
187 | 187 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:80 |
188 | 188 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:55 |
189 | 189 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:92 |
190 | 190 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:55 |
191 | 191 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:40 |
192 | - __( 'Description', 'event_espresso' ), |
|
192 | + __('Description', 'event_espresso'), |
|
193 | 193 | |
194 | 194 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:88 |
195 | 195 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:63 |
196 | 196 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:63 |
197 | - __( 'Dates', 'event_espresso' ), |
|
197 | + __('Dates', 'event_espresso'), |
|
198 | 198 | |
199 | 199 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:92 |
200 | 200 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:51 |
201 | 201 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:104 |
202 | - __( 'Start Date', 'event_espresso' ), |
|
202 | + __('Start Date', 'event_espresso'), |
|
203 | 203 | |
204 | 204 | // Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:98 |
205 | 205 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:62 |
206 | 206 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:110 |
207 | - __( 'End Date', 'event_espresso' ), |
|
207 | + __('End Date', 'event_espresso'), |
|
208 | 208 | |
209 | 209 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/DatesList.tsx:30 |
210 | 210 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/TableView.tsx:39 |
211 | - __( 'Event Dates', 'event_espresso' ), |
|
211 | + __('Event Dates', 'event_espresso'), |
|
212 | 212 | |
213 | 213 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/DatesList.tsx:33 |
214 | - __( 'loading event dates...', 'event_espresso' ), |
|
214 | + __('loading event dates...', 'event_espresso'), |
|
215 | 215 | |
216 | 216 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/DatesListButtons.tsx:22 |
217 | - __( 'Ticket Assignments', 'event_espresso' ), |
|
217 | + __('Ticket Assignments', 'event_espresso'), |
|
218 | 218 | |
219 | 219 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:27 |
220 | - __( 'Number of related tickets', 'event_espresso' ), |
|
220 | + __('Number of related tickets', 'event_espresso'), |
|
221 | 221 | |
222 | 222 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:28 |
223 | - __( 'There are no tickets assigned to this datetime. Please click the ticket icon to update the assignments.', 'event_espresso' ), |
|
223 | + __('There are no tickets assigned to this datetime. Please click the ticket icon to update the assignments.', 'event_espresso'), |
|
224 | 224 | |
225 | 225 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:42 |
226 | - __( 'assign tickets', 'event_espresso' ), |
|
226 | + __('assign tickets', 'event_espresso'), |
|
227 | 227 | |
228 | 228 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:18 |
229 | - __( 'Permanently delete Datetime?', 'event_espresso' ), |
|
229 | + __('Permanently delete Datetime?', 'event_espresso'), |
|
230 | 230 | |
231 | 231 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:18 |
232 | - __( 'Move Datetime to Trash?', 'event_espresso' ), |
|
232 | + __('Move Datetime to Trash?', 'event_espresso'), |
|
233 | 233 | |
234 | 234 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:20 |
235 | - __( 'Are you sure you want to permanently delete this datetime? This action is permanent and can not be undone.', 'event_espresso' ), |
|
235 | + __('Are you sure you want to permanently delete this datetime? This action is permanent and can not be undone.', 'event_espresso'), |
|
236 | 236 | |
237 | 237 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:23 |
238 | - __( 'Are you sure you want to move this datetime to the trash? You can "untrash" this datetime later if you need to.', 'event_espresso' ), |
|
238 | + __('Are you sure you want to move this datetime to the trash? You can "untrash" this datetime later if you need to.', 'event_espresso'), |
|
239 | 239 | |
240 | 240 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:33 |
241 | - __( 'event date main menu', 'event_espresso' ), |
|
241 | + __('event date main menu', 'event_espresso'), |
|
242 | 242 | |
243 | 243 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:37 |
244 | 244 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:33 |
245 | - __( 'delete permanently', 'event_espresso' ), |
|
245 | + __('delete permanently', 'event_espresso'), |
|
246 | 246 | |
247 | 247 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:37 |
248 | - __( 'trash datetime', 'event_espresso' ), |
|
248 | + __('trash datetime', 'event_espresso'), |
|
249 | 249 | |
250 | 250 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:46 |
251 | - __( 'edit datetime', 'event_espresso' ), |
|
251 | + __('edit datetime', 'event_espresso'), |
|
252 | 252 | |
253 | 253 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:47 |
254 | - __( 'copy datetime', 'event_espresso' ), |
|
254 | + __('copy datetime', 'event_espresso'), |
|
255 | 255 | |
256 | 256 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:29 |
257 | 257 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:29 |
258 | 258 | // Reference: packages/components/src/bulkEdit/BulkActions.tsx:38 |
259 | - __( 'bulk actions', 'event_espresso' ), |
|
259 | + __('bulk actions', 'event_espresso'), |
|
260 | 260 | |
261 | 261 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:33 |
262 | - __( 'edit datetime details', 'event_espresso' ), |
|
262 | + __('edit datetime details', 'event_espresso'), |
|
263 | 263 | |
264 | 264 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:37 |
265 | - __( 'delete datetimes', 'event_espresso' ), |
|
265 | + __('delete datetimes', 'event_espresso'), |
|
266 | 266 | |
267 | 267 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:37 |
268 | - __( 'trash datetimes', 'event_espresso' ), |
|
268 | + __('trash datetimes', 'event_espresso'), |
|
269 | 269 | |
270 | 270 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:13 |
271 | - __( 'Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso' ), |
|
271 | + __('Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso'), |
|
272 | 272 | |
273 | 273 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:14 |
274 | - __( 'Are you sure you want to trash these datetimes?', 'event_espresso' ), |
|
274 | + __('Are you sure you want to trash these datetimes?', 'event_espresso'), |
|
275 | 275 | |
276 | 276 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:15 |
277 | - __( 'Delete datetimes permanently', 'event_espresso' ), |
|
277 | + __('Delete datetimes permanently', 'event_espresso'), |
|
278 | 278 | |
279 | 279 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:15 |
280 | - __( 'Trash datetimes', 'event_espresso' ), |
|
280 | + __('Trash datetimes', 'event_espresso'), |
|
281 | 281 | |
282 | 282 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:22 |
283 | - __( 'Bulk edit date details', 'event_espresso' ), |
|
283 | + __('Bulk edit date details', 'event_espresso'), |
|
284 | 284 | |
285 | 285 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:23 |
286 | - __( 'any changes will be applied to ALL of the selected dates.', 'event_espresso' ), |
|
286 | + __('any changes will be applied to ALL of the selected dates.', 'event_espresso'), |
|
287 | 287 | |
288 | 288 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:67 |
289 | 289 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:67 |
290 | - __( 'Shift dates', 'event_espresso' ), |
|
290 | + __('Shift dates', 'event_espresso'), |
|
291 | 291 | |
292 | 292 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:92 |
293 | 293 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:92 |
294 | - __( 'earlier', 'event_espresso' ), |
|
294 | + __('earlier', 'event_espresso'), |
|
295 | 295 | |
296 | 296 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:96 |
297 | 297 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:96 |
298 | - __( 'later', 'event_espresso' ), |
|
298 | + __('later', 'event_espresso'), |
|
299 | 299 | |
300 | 300 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateCapacity.tsx:35 |
301 | - __( 'edit capacity (registration limit)...', 'event_espresso' ), |
|
301 | + __('edit capacity (registration limit)...', 'event_espresso'), |
|
302 | 302 | |
303 | 303 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:38 |
304 | - __( 'Edit Event Date', 'event_espresso' ), |
|
304 | + __('Edit Event Date', 'event_espresso'), |
|
305 | 305 | |
306 | 306 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:41 |
307 | - __( 'edit start and end dates', 'event_espresso' ), |
|
307 | + __('edit start and end dates', 'event_espresso'), |
|
308 | 308 | |
309 | 309 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:14 |
310 | 310 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:14 |
311 | - __( 'sold', 'event_espresso' ), |
|
311 | + __('sold', 'event_espresso'), |
|
312 | 312 | |
313 | 313 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:27 |
314 | - __( 'capacity', 'event_espresso' ), |
|
314 | + __('capacity', 'event_espresso'), |
|
315 | 315 | |
316 | 316 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:33 |
317 | 317 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:32 |
318 | - __( 'reg list', 'event_espresso' ), |
|
318 | + __('reg list', 'event_espresso'), |
|
319 | 319 | |
320 | 320 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:41 |
321 | 321 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:41 |
322 | - __( 'Edit description', 'event_espresso' ), |
|
322 | + __('Edit description', 'event_espresso'), |
|
323 | 323 | |
324 | 324 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:42 |
325 | 325 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:42 |
326 | - __( 'edit description...', 'event_espresso' ), |
|
326 | + __('edit description...', 'event_espresso'), |
|
327 | 327 | |
328 | 328 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:13 |
329 | - __( 'Active', 'event_espresso' ), |
|
329 | + __('Active', 'event_espresso'), |
|
330 | 330 | |
331 | 331 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:14 |
332 | 332 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:13 |
333 | - __( 'Trashed', 'event_espresso' ), |
|
333 | + __('Trashed', 'event_espresso'), |
|
334 | 334 | |
335 | 335 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:15 |
336 | 336 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:14 |
337 | - __( 'Expired', 'event_espresso' ), |
|
337 | + __('Expired', 'event_espresso'), |
|
338 | 338 | |
339 | 339 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:16 |
340 | 340 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:16 |
341 | - __( 'Sold Out', 'event_espresso' ), |
|
341 | + __('Sold Out', 'event_espresso'), |
|
342 | 342 | |
343 | 343 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:17 |
344 | - __( 'Upcoming', 'event_espresso' ), |
|
344 | + __('Upcoming', 'event_espresso'), |
|
345 | 345 | |
346 | 346 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/editable/EditableName.tsx:17 |
347 | 347 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/editable/EditableName.tsx:28 |
348 | - __( 'edit title...', 'event_espresso' ), |
|
348 | + __('edit title...', 'event_espresso'), |
|
349 | 349 | |
350 | 350 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:10 |
351 | - __( 'start and end dates', 'event_espresso' ), |
|
351 | + __('start and end dates', 'event_espresso'), |
|
352 | 352 | |
353 | 353 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:15 |
354 | - __( 'dates above 90% capacity', 'event_espresso' ), |
|
354 | + __('dates above 90% capacity', 'event_espresso'), |
|
355 | 355 | |
356 | 356 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:16 |
357 | - __( 'dates above 75% capacity', 'event_espresso' ), |
|
357 | + __('dates above 75% capacity', 'event_espresso'), |
|
358 | 358 | |
359 | 359 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:17 |
360 | - __( 'dates above 50% capacity', 'event_espresso' ), |
|
360 | + __('dates above 50% capacity', 'event_espresso'), |
|
361 | 361 | |
362 | 362 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:18 |
363 | - __( 'dates below 50% capacity', 'event_espresso' ), |
|
363 | + __('dates below 50% capacity', 'event_espresso'), |
|
364 | 364 | |
365 | 365 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:22 |
366 | - __( 'all dates', 'event_espresso' ), |
|
366 | + __('all dates', 'event_espresso'), |
|
367 | 367 | |
368 | 368 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:23 |
369 | - __( 'all active and upcoming', 'event_espresso' ), |
|
369 | + __('all active and upcoming', 'event_espresso'), |
|
370 | 370 | |
371 | 371 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:24 |
372 | - __( 'active dates only', 'event_espresso' ), |
|
372 | + __('active dates only', 'event_espresso'), |
|
373 | 373 | |
374 | 374 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:25 |
375 | - __( 'upcoming dates only', 'event_espresso' ), |
|
375 | + __('upcoming dates only', 'event_espresso'), |
|
376 | 376 | |
377 | 377 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:26 |
378 | - __( 'next active or upcoming only', 'event_espresso' ), |
|
378 | + __('next active or upcoming only', 'event_espresso'), |
|
379 | 379 | |
380 | 380 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:27 |
381 | - __( 'sold out dates only', 'event_espresso' ), |
|
381 | + __('sold out dates only', 'event_espresso'), |
|
382 | 382 | |
383 | 383 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:28 |
384 | - __( 'recently expired dates', 'event_espresso' ), |
|
384 | + __('recently expired dates', 'event_espresso'), |
|
385 | 385 | |
386 | 386 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:29 |
387 | - __( 'all expired dates', 'event_espresso' ), |
|
387 | + __('all expired dates', 'event_espresso'), |
|
388 | 388 | |
389 | 389 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:30 |
390 | - __( 'trashed dates only', 'event_espresso' ), |
|
390 | + __('trashed dates only', 'event_espresso'), |
|
391 | 391 | |
392 | 392 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:34 |
393 | 393 | // Reference: packages/dates/src/DateRangePicker.tsx:52 |
394 | 394 | // Reference: packages/dates/src/DateRangePickerLegend.tsx:10 |
395 | - __( 'start date', 'event_espresso' ), |
|
395 | + __('start date', 'event_espresso'), |
|
396 | 396 | |
397 | 397 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:35 |
398 | - __( 'name', 'event_espresso' ), |
|
398 | + __('name', 'event_espresso'), |
|
399 | 399 | |
400 | 400 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:36 |
401 | 401 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:37 |
@@ -403,95 +403,95 @@ discard block |
||
403 | 403 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/table/HeaderCell.tsx:20 |
404 | 404 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:36 |
405 | 405 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:22 |
406 | - __( 'ID', 'event_espresso' ), |
|
406 | + __('ID', 'event_espresso'), |
|
407 | 407 | |
408 | 408 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:37 |
409 | 409 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:46 |
410 | - __( 'custom order', 'event_espresso' ), |
|
410 | + __('custom order', 'event_espresso'), |
|
411 | 411 | |
412 | 412 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:41 |
413 | 413 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:51 |
414 | - __( 'display', 'event_espresso' ), |
|
414 | + __('display', 'event_espresso'), |
|
415 | 415 | |
416 | 416 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:42 |
417 | 417 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:53 |
418 | - __( 'sales', 'event_espresso' ), |
|
418 | + __('sales', 'event_espresso'), |
|
419 | 419 | |
420 | 420 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:43 |
421 | 421 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:55 |
422 | - __( 'sort by', 'event_espresso' ), |
|
422 | + __('sort by', 'event_espresso'), |
|
423 | 423 | |
424 | 424 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:44 |
425 | 425 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:54 |
426 | 426 | // Reference: packages/components/src/EntityList/filterBar/EntityListFilterBar.tsx:73 |
427 | - __( 'search', 'event_espresso' ), |
|
427 | + __('search', 'event_espresso'), |
|
428 | 428 | |
429 | 429 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:45 |
430 | 430 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:56 |
431 | - __( 'status', 'event_espresso' ), |
|
431 | + __('status', 'event_espresso'), |
|
432 | 432 | |
433 | 433 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:8 |
434 | - __( 'start dates only', 'event_espresso' ), |
|
434 | + __('start dates only', 'event_espresso'), |
|
435 | 435 | |
436 | 436 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:9 |
437 | - __( 'end dates only', 'event_espresso' ), |
|
437 | + __('end dates only', 'event_espresso'), |
|
438 | 438 | |
439 | 439 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:20 |
440 | 440 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/OptionsPopover.tsx:14 |
441 | 441 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/OptionsPopoverButton.tsx:11 |
442 | - __( 'Add New Date', 'event_espresso' ), |
|
442 | + __('Add New Date', 'event_espresso'), |
|
443 | 443 | |
444 | 444 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:20 |
445 | - __( 'Add Single Date', 'event_espresso' ), |
|
445 | + __('Add Single Date', 'event_espresso'), |
|
446 | 446 | |
447 | 447 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:34 |
448 | - __( 'Add a single date |
|
449 | -that only occurs once', 'event_espresso' ), |
|
448 | + __('Add a single date |
|
449 | +that only occurs once', 'event_espresso'), |
|
450 | 450 | |
451 | 451 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:36 |
452 | - __( 'Single Date', 'event_espresso' ), |
|
452 | + __('Single Date', 'event_espresso'), |
|
453 | 453 | |
454 | 454 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:104 |
455 | 455 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:103 |
456 | 456 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:52 |
457 | - __( 'Actions', 'event_espresso' ), |
|
457 | + __('Actions', 'event_espresso'), |
|
458 | 458 | |
459 | 459 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:52 |
460 | - __( 'Start', 'event_espresso' ), |
|
460 | + __('Start', 'event_espresso'), |
|
461 | 461 | |
462 | 462 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:63 |
463 | - __( 'End', 'event_espresso' ), |
|
463 | + __('End', 'event_espresso'), |
|
464 | 464 | |
465 | 465 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:75 |
466 | - __( 'Cap', 'event_espresso' ), |
|
466 | + __('Cap', 'event_espresso'), |
|
467 | 467 | |
468 | 468 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:83 |
469 | 469 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:85 |
470 | - __( 'Sold', 'event_espresso' ), |
|
470 | + __('Sold', 'event_espresso'), |
|
471 | 471 | |
472 | 472 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:92 |
473 | - __( 'Reg list', 'event_espresso' ), |
|
473 | + __('Reg list', 'event_espresso'), |
|
474 | 474 | |
475 | 475 | // Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:93 |
476 | 476 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:95 |
477 | - __( 'Regs', 'event_espresso' ), |
|
477 | + __('Regs', 'event_espresso'), |
|
478 | 478 | |
479 | 479 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:18 |
480 | - __( 'Tickets must always have at least one date assigned to them but one or more of the tickets below does not have any. Please correct the assignments for the highlighted cells.', 'event_espresso' ), |
|
480 | + __('Tickets must always have at least one date assigned to them but one or more of the tickets below does not have any. Please correct the assignments for the highlighted cells.', 'event_espresso'), |
|
481 | 481 | |
482 | 482 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:22 |
483 | - __( '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. Please correct the assignments for the highlighted cells.', 'event_espresso' ), |
|
483 | + __('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. Please correct the assignments for the highlighted cells.', 'event_espresso'), |
|
484 | 484 | |
485 | 485 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:20 |
486 | - __( 'Ticket Assignment Manager for Datetime: %s - %s', 'event_espresso' ), |
|
486 | + __('Ticket Assignment Manager for Datetime: %s - %s', 'event_espresso'), |
|
487 | 487 | |
488 | 488 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:22 |
489 | - __( 'Ticket Assignment Manager for Ticket: %s - %s', 'event_espresso' ), |
|
489 | + __('Ticket Assignment Manager for Ticket: %s - %s', 'event_espresso'), |
|
490 | 490 | |
491 | 491 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal/buttons/useCancelButtonProps.tsx:18 |
492 | 492 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:16 |
493 | 493 | // Reference: packages/components/src/Modal/useCancelButtonProps.tsx:10 |
494 | - __( 'Cancel', 'event_espresso' ), |
|
494 | + __('Cancel', 'event_espresso'), |
|
495 | 495 | |
496 | 496 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal/buttons/useSubmitButtonProps.tsx:25 |
497 | 497 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:17 |
@@ -500,697 +500,697 @@ discard block |
||
500 | 500 | // Reference: packages/components/src/bulkEdit/details/Submit.tsx:38 |
501 | 501 | // Reference: packages/form/src/Submit.tsx:26 |
502 | 502 | // Reference: packages/tpc/src/buttons/useSubmitButtonProps.tsx:25 |
503 | - __( 'Submit', 'event_espresso' ), |
|
503 | + __('Submit', 'event_espresso'), |
|
504 | 504 | |
505 | 505 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal/index.tsx:32 |
506 | 506 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/table/Table.tsx:19 |
507 | - __( 'Ticket Assignment Manager', 'event_espresso' ), |
|
507 | + __('Ticket Assignment Manager', 'event_espresso'), |
|
508 | 508 | |
509 | 509 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:19 |
510 | - __( 'All Dates', 'event_espresso' ), |
|
510 | + __('All Dates', 'event_espresso'), |
|
511 | 511 | |
512 | 512 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:25 |
513 | - __( 'dates by month', 'event_espresso' ), |
|
513 | + __('dates by month', 'event_espresso'), |
|
514 | 514 | |
515 | 515 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowExpiredTicketsControl.tsx:13 |
516 | - __( 'show expired tickets', 'event_espresso' ), |
|
516 | + __('show expired tickets', 'event_espresso'), |
|
517 | 517 | |
518 | 518 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedDatesControl.tsx:13 |
519 | - __( 'show trashed dates', 'event_espresso' ), |
|
519 | + __('show trashed dates', 'event_espresso'), |
|
520 | 520 | |
521 | 521 | // Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedTicketsControl.tsx:13 |
522 | - __( 'show trashed tickets', 'event_espresso' ), |
|
522 | + __('show trashed tickets', 'event_espresso'), |
|
523 | 523 | |
524 | 524 | // Reference: domains/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:29 |
525 | - __( 'total registrations.', 'event_espresso' ), |
|
525 | + __('total registrations.', 'event_espresso'), |
|
526 | 526 | |
527 | 527 | // Reference: domains/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:30 |
528 | - __( 'view ALL registrations for this ticket.', 'event_espresso' ), |
|
528 | + __('view ALL registrations for this ticket.', 'event_espresso'), |
|
529 | 529 | |
530 | 530 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/Container.tsx:16 |
531 | - __( 'Edit ticket %s', 'event_espresso' ), |
|
531 | + __('Edit ticket %s', 'event_espresso'), |
|
532 | 532 | |
533 | 533 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/Container.tsx:16 |
534 | - __( 'New Ticket Details', 'event_espresso' ), |
|
534 | + __('New Ticket Details', 'event_espresso'), |
|
535 | 535 | |
536 | 536 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:44 |
537 | - __( 'Add ticket prices', 'event_espresso' ), |
|
537 | + __('Add ticket prices', 'event_espresso'), |
|
538 | 538 | |
539 | 539 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:50 |
540 | - __( 'Skip prices - assign dates', 'event_espresso' ), |
|
540 | + __('Skip prices - assign dates', 'event_espresso'), |
|
541 | 541 | |
542 | 542 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:66 |
543 | - __( 'Save and assign dates', 'event_espresso' ), |
|
543 | + __('Save and assign dates', 'event_espresso'), |
|
544 | 544 | |
545 | 545 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:79 |
546 | - __( 'Ticket details', 'event_espresso' ), |
|
546 | + __('Ticket details', 'event_espresso'), |
|
547 | 547 | |
548 | 548 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:11 |
549 | - __( 'primary information about the ticket', 'event_espresso' ), |
|
549 | + __('primary information about the ticket', 'event_espresso'), |
|
550 | 550 | |
551 | 551 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:11 |
552 | - __( 'Ticket Details', 'event_espresso' ), |
|
552 | + __('Ticket Details', 'event_espresso'), |
|
553 | 553 | |
554 | 554 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:13 |
555 | - __( 'apply ticket price modifiers and taxes', 'event_espresso' ), |
|
555 | + __('apply ticket price modifiers and taxes', 'event_espresso'), |
|
556 | 556 | |
557 | 557 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:15 |
558 | - __( 'Price Calculator', 'event_espresso' ), |
|
558 | + __('Price Calculator', 'event_espresso'), |
|
559 | 559 | |
560 | 560 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:17 |
561 | - __( 'Assign Dates', 'event_espresso' ), |
|
561 | + __('Assign Dates', 'event_espresso'), |
|
562 | 562 | |
563 | 563 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:100 |
564 | - __( 'Ticket Sales', 'event_espresso' ), |
|
564 | + __('Ticket Sales', 'event_espresso'), |
|
565 | 565 | |
566 | 566 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:123 |
567 | 567 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:112 |
568 | - __( 'Quantity For Sale', 'event_espresso' ), |
|
568 | + __('Quantity For Sale', 'event_espresso'), |
|
569 | 569 | |
570 | 570 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:128 |
571 | - __( 'The maximum number of this ticket available for sale.%sSet to 0 to stop sales, or leave blank for no limit.', 'event_espresso' ), |
|
571 | + __('The maximum number of this ticket available for sale.%sSet to 0 to stop sales, or leave blank for no limit.', 'event_espresso'), |
|
572 | 572 | |
573 | 573 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:137 |
574 | 574 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:120 |
575 | - __( 'Number of Uses', 'event_espresso' ), |
|
575 | + __('Number of Uses', 'event_espresso'), |
|
576 | 576 | |
577 | 577 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:142 |
578 | - __( 'Controls the total number of times this ticket can be used, regardless of the number of dates it is assigned to.%sExample: 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' ), |
|
578 | + __('Controls the total number of times this ticket can be used, regardless of the number of dates it is assigned to.%sExample: 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'), |
|
579 | 579 | |
580 | 580 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:151 |
581 | 581 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:128 |
582 | - __( 'Minimum Quantity', 'event_espresso' ), |
|
582 | + __('Minimum Quantity', 'event_espresso'), |
|
583 | 583 | |
584 | 584 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:155 |
585 | - __( 'The minimum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.%sLeave blank for no minimum.', 'event_espresso' ), |
|
585 | + __('The minimum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.%sLeave blank for no minimum.', 'event_espresso'), |
|
586 | 586 | |
587 | 587 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:164 |
588 | 588 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:135 |
589 | - __( 'Maximum Quantity', 'event_espresso' ), |
|
589 | + __('Maximum Quantity', 'event_espresso'), |
|
590 | 590 | |
591 | 591 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:169 |
592 | - __( 'The maximum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.%sLeave blank for no maximum.', 'event_espresso' ), |
|
592 | + __('The maximum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.%sLeave blank for no maximum.', 'event_espresso'), |
|
593 | 593 | |
594 | 594 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:178 |
595 | 595 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:143 |
596 | - __( 'Required Ticket', 'event_espresso' ), |
|
596 | + __('Required Ticket', 'event_espresso'), |
|
597 | 597 | |
598 | 598 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:180 |
599 | - __( 'If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso' ), |
|
599 | + __('If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso'), |
|
600 | 600 | |
601 | 601 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:187 |
602 | - __( 'Default Ticket', 'event_espresso' ), |
|
602 | + __('Default Ticket', 'event_espresso'), |
|
603 | 603 | |
604 | 604 | // Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:189 |
605 | - __( 'If enabled, the ticket will appear on all new events.', 'event_espresso' ), |
|
605 | + __('If enabled, the ticket will appear on all new events.', 'event_espresso'), |
|
606 | 606 | |
607 | 607 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:30 |
608 | - __( 'Available Tickets', 'event_espresso' ), |
|
608 | + __('Available Tickets', 'event_espresso'), |
|
609 | 609 | |
610 | 610 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:33 |
611 | - __( 'loading tickets...', 'event_espresso' ), |
|
611 | + __('loading tickets...', 'event_espresso'), |
|
612 | 612 | |
613 | 613 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:27 |
614 | - __( 'Number of related dates', 'event_espresso' ), |
|
614 | + __('Number of related dates', 'event_espresso'), |
|
615 | 615 | |
616 | 616 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:28 |
617 | - __( 'There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso' ), |
|
617 | + __('There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso'), |
|
618 | 618 | |
619 | 619 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:44 |
620 | - __( 'assign dates', 'event_espresso' ), |
|
620 | + __('assign dates', 'event_espresso'), |
|
621 | 621 | |
622 | 622 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:17 |
623 | - __( 'Permanently delete Ticket?', 'event_espresso' ), |
|
623 | + __('Permanently delete Ticket?', 'event_espresso'), |
|
624 | 624 | |
625 | 625 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:17 |
626 | - __( 'Move Ticket to Trash?', 'event_espresso' ), |
|
626 | + __('Move Ticket to Trash?', 'event_espresso'), |
|
627 | 627 | |
628 | 628 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:19 |
629 | - __( 'Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso' ), |
|
629 | + __('Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso'), |
|
630 | 630 | |
631 | 631 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:20 |
632 | - __( 'Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso' ), |
|
632 | + __('Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso'), |
|
633 | 633 | |
634 | 634 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:29 |
635 | - __( 'ticket main menu', 'event_espresso' ), |
|
635 | + __('ticket main menu', 'event_espresso'), |
|
636 | 636 | |
637 | 637 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:33 |
638 | - __( 'trash ticket', 'event_espresso' ), |
|
638 | + __('trash ticket', 'event_espresso'), |
|
639 | 639 | |
640 | 640 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:42 |
641 | - __( 'edit ticket', 'event_espresso' ), |
|
641 | + __('edit ticket', 'event_espresso'), |
|
642 | 642 | |
643 | 643 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:43 |
644 | - __( 'copy ticket', 'event_espresso' ), |
|
644 | + __('copy ticket', 'event_espresso'), |
|
645 | 645 | |
646 | 646 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:33 |
647 | - __( 'edit ticket details', 'event_espresso' ), |
|
647 | + __('edit ticket details', 'event_espresso'), |
|
648 | 648 | |
649 | 649 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:37 |
650 | - __( 'delete tickets', 'event_espresso' ), |
|
650 | + __('delete tickets', 'event_espresso'), |
|
651 | 651 | |
652 | 652 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:37 |
653 | - __( 'trash tickets', 'event_espresso' ), |
|
653 | + __('trash tickets', 'event_espresso'), |
|
654 | 654 | |
655 | 655 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:41 |
656 | - __( 'edit ticket prices', 'event_espresso' ), |
|
656 | + __('edit ticket prices', 'event_espresso'), |
|
657 | 657 | |
658 | 658 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:13 |
659 | - __( 'Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso' ), |
|
659 | + __('Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso'), |
|
660 | 660 | |
661 | 661 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:14 |
662 | - __( 'Are you sure you want to trash these tickets?', 'event_espresso' ), |
|
662 | + __('Are you sure you want to trash these tickets?', 'event_espresso'), |
|
663 | 663 | |
664 | 664 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:15 |
665 | - __( 'Delete tickets permanently', 'event_espresso' ), |
|
665 | + __('Delete tickets permanently', 'event_espresso'), |
|
666 | 666 | |
667 | 667 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:15 |
668 | - __( 'Trash tickets', 'event_espresso' ), |
|
668 | + __('Trash tickets', 'event_espresso'), |
|
669 | 669 | |
670 | 670 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:22 |
671 | - __( 'Bulk edit ticket details', 'event_espresso' ), |
|
671 | + __('Bulk edit ticket details', 'event_espresso'), |
|
672 | 672 | |
673 | 673 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:23 |
674 | - __( 'any changes will be applied to ALL of the selected tickets.', 'event_espresso' ), |
|
674 | + __('any changes will be applied to ALL of the selected tickets.', 'event_espresso'), |
|
675 | 675 | |
676 | 676 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/EditPrices.tsx:18 |
677 | - __( 'Bulk edit ticket prices', 'event_espresso' ), |
|
677 | + __('Bulk edit ticket prices', 'event_espresso'), |
|
678 | 678 | |
679 | 679 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:18 |
680 | - __( 'Edit all prices together', 'event_espresso' ), |
|
680 | + __('Edit all prices together', 'event_espresso'), |
|
681 | 681 | |
682 | 682 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:19 |
683 | - __( 'Edit all the selected ticket prices dynamically', 'event_espresso' ), |
|
683 | + __('Edit all the selected ticket prices dynamically', 'event_espresso'), |
|
684 | 684 | |
685 | 685 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:23 |
686 | - __( 'Edit prices individually', 'event_espresso' ), |
|
686 | + __('Edit prices individually', 'event_espresso'), |
|
687 | 687 | |
688 | 688 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:24 |
689 | - __( 'Edit prices for each ticket individually', 'event_espresso' ), |
|
689 | + __('Edit prices for each ticket individually', 'event_espresso'), |
|
690 | 690 | |
691 | 691 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:15 |
692 | 692 | // Reference: packages/components/src/bulkEdit/details/Submit.tsx:45 |
693 | 693 | // Reference: packages/form/src/ResetButton.tsx:17 |
694 | 694 | // Reference: packages/tpc/src/buttons/useResetButtonProps.tsx:12 |
695 | - __( 'Reset', 'event_espresso' ), |
|
695 | + __('Reset', 'event_espresso'), |
|
696 | 696 | |
697 | 697 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/editSeparately/TPCInstance.tsx:22 |
698 | - __( 'Edit prices for Ticket: %s', 'event_espresso' ), |
|
698 | + __('Edit prices for Ticket: %s', 'event_espresso'), |
|
699 | 699 | |
700 | 700 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:38 |
701 | - __( 'Edit Ticket Sale Dates', 'event_espresso' ), |
|
701 | + __('Edit Ticket Sale Dates', 'event_espresso'), |
|
702 | 702 | |
703 | 703 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:40 |
704 | - __( 'edit ticket sales start and end dates', 'event_espresso' ), |
|
704 | + __('edit ticket sales start and end dates', 'event_espresso'), |
|
705 | 705 | |
706 | 706 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:27 |
707 | - __( 'quantity', 'event_espresso' ), |
|
707 | + __('quantity', 'event_espresso'), |
|
708 | 708 | |
709 | 709 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketQuantity.tsx:26 |
710 | - __( 'edit quantity of tickets available...', 'event_espresso' ), |
|
710 | + __('edit quantity of tickets available...', 'event_espresso'), |
|
711 | 711 | |
712 | 712 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:15 |
713 | 713 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:51 |
714 | - __( 'On Sale', 'event_espresso' ), |
|
714 | + __('On Sale', 'event_espresso'), |
|
715 | 715 | |
716 | 716 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:17 |
717 | - __( 'Pending', 'event_espresso' ), |
|
717 | + __('Pending', 'event_espresso'), |
|
718 | 718 | |
719 | 719 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:32 |
720 | - __( 'set price...', 'event_espresso' ), |
|
720 | + __('set price...', 'event_espresso'), |
|
721 | 721 | |
722 | 722 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:36 |
723 | - __( 'edit ticket total...', 'event_espresso' ), |
|
723 | + __('edit ticket total...', 'event_espresso'), |
|
724 | 724 | |
725 | 725 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/ActiveTicketsFilters.tsx:24 |
726 | - __( 'ON', 'event_espresso' ), |
|
726 | + __('ON', 'event_espresso'), |
|
727 | 727 | |
728 | 728 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:24 |
729 | - __( 'tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso' ), |
|
729 | + __('tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso'), |
|
730 | 730 | |
731 | 731 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:25 |
732 | - __( 'tickets list is unlinked and is showing tickets for all event dates', 'event_espresso' ), |
|
732 | + __('tickets list is unlinked and is showing tickets for all event dates', 'event_espresso'), |
|
733 | 733 | |
734 | 734 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:10 |
735 | - __( 'ticket sales start and end dates', 'event_espresso' ), |
|
735 | + __('ticket sales start and end dates', 'event_espresso'), |
|
736 | 736 | |
737 | 737 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:15 |
738 | - __( 'tickets with 90% or more sold', 'event_espresso' ), |
|
738 | + __('tickets with 90% or more sold', 'event_espresso'), |
|
739 | 739 | |
740 | 740 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:16 |
741 | - __( 'tickets with 75% or more sold', 'event_espresso' ), |
|
741 | + __('tickets with 75% or more sold', 'event_espresso'), |
|
742 | 742 | |
743 | 743 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:17 |
744 | - __( 'tickets with 50% or more sold', 'event_espresso' ), |
|
744 | + __('tickets with 50% or more sold', 'event_espresso'), |
|
745 | 745 | |
746 | 746 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:18 |
747 | - __( 'tickets with less than 50% sold', 'event_espresso' ), |
|
747 | + __('tickets with less than 50% sold', 'event_espresso'), |
|
748 | 748 | |
749 | 749 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:27 |
750 | - __( 'all tickets for all dates', 'event_espresso' ), |
|
750 | + __('all tickets for all dates', 'event_espresso'), |
|
751 | 751 | |
752 | 752 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:28 |
753 | - __( 'all on sale and sale pending', 'event_espresso' ), |
|
753 | + __('all on sale and sale pending', 'event_espresso'), |
|
754 | 754 | |
755 | 755 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:29 |
756 | - __( 'on sale tickets only', 'event_espresso' ), |
|
756 | + __('on sale tickets only', 'event_espresso'), |
|
757 | 757 | |
758 | 758 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:30 |
759 | - __( 'sale pending tickets only', 'event_espresso' ), |
|
759 | + __('sale pending tickets only', 'event_espresso'), |
|
760 | 760 | |
761 | 761 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:31 |
762 | - __( 'next on sale or sale pending only', 'event_espresso' ), |
|
762 | + __('next on sale or sale pending only', 'event_espresso'), |
|
763 | 763 | |
764 | 764 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:32 |
765 | - __( 'sold out tickets only', 'event_espresso' ), |
|
765 | + __('sold out tickets only', 'event_espresso'), |
|
766 | 766 | |
767 | 767 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:33 |
768 | - __( 'expired tickets only', 'event_espresso' ), |
|
768 | + __('expired tickets only', 'event_espresso'), |
|
769 | 769 | |
770 | 770 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:34 |
771 | - __( 'trashed tickets only', 'event_espresso' ), |
|
771 | + __('trashed tickets only', 'event_espresso'), |
|
772 | 772 | |
773 | 773 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:39 |
774 | - __( 'all tickets for above dates', 'event_espresso' ), |
|
774 | + __('all tickets for above dates', 'event_espresso'), |
|
775 | 775 | |
776 | 776 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:43 |
777 | - __( 'ticket sale date', 'event_espresso' ), |
|
777 | + __('ticket sale date', 'event_espresso'), |
|
778 | 778 | |
779 | 779 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:44 |
780 | - __( 'ticket name', 'event_espresso' ), |
|
780 | + __('ticket name', 'event_espresso'), |
|
781 | 781 | |
782 | 782 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:45 |
783 | - __( 'ticket ID', 'event_espresso' ), |
|
783 | + __('ticket ID', 'event_espresso'), |
|
784 | 784 | |
785 | 785 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:52 |
786 | - __( 'link', 'event_espresso' ), |
|
786 | + __('link', 'event_espresso'), |
|
787 | 787 | |
788 | 788 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:8 |
789 | - __( 'ticket sales start date only', 'event_espresso' ), |
|
789 | + __('ticket sales start date only', 'event_espresso'), |
|
790 | 790 | |
791 | 791 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:9 |
792 | - __( 'ticket sales end date only', 'event_espresso' ), |
|
792 | + __('ticket sales end date only', 'event_espresso'), |
|
793 | 793 | |
794 | 794 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:19 |
795 | - __( 'Add New Ticket', 'event_espresso' ), |
|
795 | + __('Add New Ticket', 'event_espresso'), |
|
796 | 796 | |
797 | 797 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:31 |
798 | - __( 'Single Ticket', 'event_espresso' ), |
|
798 | + __('Single Ticket', 'event_espresso'), |
|
799 | 799 | |
800 | 800 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:33 |
801 | - __( 'Add a single ticket and assign the dates to it', 'event_espresso' ), |
|
801 | + __('Add a single ticket and assign the dates to it', 'event_espresso'), |
|
802 | 802 | |
803 | 803 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/TableView.tsx:36 |
804 | - __( 'Tickets', 'event_espresso' ), |
|
804 | + __('Tickets', 'event_espresso'), |
|
805 | 805 | |
806 | 806 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:50 |
807 | - __( 'Goes on Sale', 'event_espresso' ), |
|
807 | + __('Goes on Sale', 'event_espresso'), |
|
808 | 808 | |
809 | 809 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:61 |
810 | - __( 'Sale Ends', 'event_espresso' ), |
|
810 | + __('Sale Ends', 'event_espresso'), |
|
811 | 811 | |
812 | 812 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:62 |
813 | - __( 'Ends', 'event_espresso' ), |
|
813 | + __('Ends', 'event_espresso'), |
|
814 | 814 | |
815 | 815 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:71 |
816 | - __( 'Price', 'event_espresso' ), |
|
816 | + __('Price', 'event_espresso'), |
|
817 | 817 | |
818 | 818 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:78 |
819 | - __( 'Quantity', 'event_espresso' ), |
|
819 | + __('Quantity', 'event_espresso'), |
|
820 | 820 | |
821 | 821 | // Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:94 |
822 | - __( 'Registrations', 'event_espresso' ), |
|
822 | + __('Registrations', 'event_espresso'), |
|
823 | 823 | |
824 | 824 | // Reference: domains/wpPluginsPage/src/exitSurvey/Popup.tsx:28 |
825 | - __( 'Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso' ), |
|
825 | + __('Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso'), |
|
826 | 826 | |
827 | 827 | // Reference: domains/wpPluginsPage/src/exitSurvey/Popup.tsx:39 |
828 | - __( 'Skip', 'event_espresso' ), |
|
828 | + __('Skip', 'event_espresso'), |
|
829 | 829 | |
830 | 830 | // Reference: domains/wpPluginsPage/src/exitSurvey/Popup.tsx:41 |
831 | - __( 'Sure I\'ll help', 'event_espresso' ), |
|
831 | + __('Sure I\'ll help', 'event_espresso'), |
|
832 | 832 | |
833 | 833 | // Reference: packages/adapters/src/Steps/Steps.tsx:30 |
834 | - __( 'Steps', 'event_espresso' ), |
|
834 | + __('Steps', 'event_espresso'), |
|
835 | 835 | |
836 | 836 | // Reference: packages/components/src/ActiveFilters/ActiveFilters.tsx:8 |
837 | - __( 'active filters:', 'event_espresso' ), |
|
837 | + __('active filters:', 'event_espresso'), |
|
838 | 838 | |
839 | 839 | // Reference: packages/components/src/ActiveFilters/FilterTag.tsx:12 |
840 | - __( 'remove filter', 'event_espresso' ), |
|
840 | + __('remove filter', 'event_espresso'), |
|
841 | 841 | |
842 | 842 | // Reference: packages/components/src/CalendarDateRange/CalendarDateRange.tsx:39 |
843 | - __( 'to', 'event_espresso' ), |
|
843 | + __('to', 'event_espresso'), |
|
844 | 844 | |
845 | 845 | // Reference: packages/components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:29 |
846 | - __( 'starts', 'event_espresso' ), |
|
846 | + __('starts', 'event_espresso'), |
|
847 | 847 | |
848 | 848 | // Reference: packages/components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:41 |
849 | - __( 'ends', 'event_espresso' ), |
|
849 | + __('ends', 'event_espresso'), |
|
850 | 850 | |
851 | 851 | // Reference: packages/components/src/CalendarPageDate/CalendarPageDate.tsx:57 |
852 | - __( 'TO', 'event_espresso' ), |
|
852 | + __('TO', 'event_espresso'), |
|
853 | 853 | |
854 | 854 | // Reference: packages/components/src/Confirm/ConfirmClose.tsx:8 |
855 | 855 | // Reference: packages/components/src/Modal/ModalWithAlert.tsx:23 |
856 | - __( 'Are you sure you want to close this?', 'event_espresso' ), |
|
856 | + __('Are you sure you want to close this?', 'event_espresso'), |
|
857 | 857 | |
858 | 858 | // Reference: packages/components/src/Confirm/ConfirmDelete.tsx:8 |
859 | - __( 'Are you sure you want to delete this?', 'event_espresso' ), |
|
859 | + __('Are you sure you want to delete this?', 'event_espresso'), |
|
860 | 860 | |
861 | 861 | // Reference: packages/components/src/Confirm/useConfirmWithButton.tsx:11 |
862 | - __( 'Please confirm this action.', 'event_espresso' ), |
|
862 | + __('Please confirm this action.', 'event_espresso'), |
|
863 | 863 | |
864 | 864 | // Reference: packages/components/src/Confirm/useConfirmationDialog.tsx:35 |
865 | - __( 'No', 'event_espresso' ), |
|
865 | + __('No', 'event_espresso'), |
|
866 | 866 | |
867 | 867 | // Reference: packages/components/src/Confirm/useConfirmationDialog.tsx:36 |
868 | - __( 'Yes', 'event_espresso' ), |
|
868 | + __('Yes', 'event_espresso'), |
|
869 | 869 | |
870 | 870 | // Reference: packages/components/src/DateTimeRangePicker/index.tsx:33 |
871 | - __( 'save', 'event_espresso' ), |
|
871 | + __('save', 'event_espresso'), |
|
872 | 872 | |
873 | 873 | // Reference: packages/components/src/DebugInfo/DebugInfo.tsx:36 |
874 | - __( 'Hide Debug Info', 'event_espresso' ), |
|
874 | + __('Hide Debug Info', 'event_espresso'), |
|
875 | 875 | |
876 | 876 | // Reference: packages/components/src/DebugInfo/DebugInfo.tsx:36 |
877 | - __( 'Show Debug Info', 'event_espresso' ), |
|
877 | + __('Show Debug Info', 'event_espresso'), |
|
878 | 878 | |
879 | 879 | // Reference: packages/components/src/EditDateRangeButton/index.tsx:41 |
880 | - __( 'Edit Start and End Dates and Times', 'event_espresso' ), |
|
880 | + __('Edit Start and End Dates and Times', 'event_espresso'), |
|
881 | 881 | |
882 | 882 | // Reference: packages/components/src/EntityActionsMenu/entityMenuItems/Copy.tsx:9 |
883 | - __( 'copy', 'event_espresso' ), |
|
883 | + __('copy', 'event_espresso'), |
|
884 | 884 | |
885 | 885 | // Reference: packages/components/src/EntityActionsMenu/entityMenuItems/Edit.tsx:9 |
886 | - __( 'edit', 'event_espresso' ), |
|
886 | + __('edit', 'event_espresso'), |
|
887 | 887 | |
888 | 888 | // Reference: packages/components/src/EntityActionsMenu/entityMenuItems/Trash.tsx:9 |
889 | - __( 'trash', 'event_espresso' ), |
|
889 | + __('trash', 'event_espresso'), |
|
890 | 890 | |
891 | 891 | // Reference: packages/components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:31 |
892 | - __( 'view approved registrations for this date.', 'event_espresso' ), |
|
892 | + __('view approved registrations for this date.', 'event_espresso'), |
|
893 | 893 | |
894 | 894 | // Reference: packages/components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:32 |
895 | - __( 'view approved registrations for this ticket.', 'event_espresso' ), |
|
895 | + __('view approved registrations for this ticket.', 'event_espresso'), |
|
896 | 896 | |
897 | 897 | // Reference: packages/components/src/EntityList/EntityList.tsx:39 |
898 | - __( 'no results found', 'event_espresso' ), |
|
898 | + __('no results found', 'event_espresso'), |
|
899 | 899 | |
900 | 900 | // Reference: packages/components/src/EntityList/EntityList.tsx:40 |
901 | - __( 'try changing filter settings', 'event_espresso' ), |
|
901 | + __('try changing filter settings', 'event_espresso'), |
|
902 | 902 | |
903 | 903 | // Reference: packages/components/src/EntityList/filterBar/buttons/CardViewFilterButton.tsx:23 |
904 | - __( 'card view', 'event_espresso' ), |
|
904 | + __('card view', 'event_espresso'), |
|
905 | 905 | |
906 | 906 | // Reference: packages/components/src/EntityList/filterBar/buttons/TableViewFilterButton.tsx:24 |
907 | - __( 'table view', 'event_espresso' ), |
|
907 | + __('table view', 'event_espresso'), |
|
908 | 908 | |
909 | 909 | // Reference: packages/components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:13 |
910 | - __( 'hide filters', 'event_espresso' ), |
|
910 | + __('hide filters', 'event_espresso'), |
|
911 | 911 | |
912 | 912 | // Reference: packages/components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:13 |
913 | - __( 'show filters', 'event_espresso' ), |
|
913 | + __('show filters', 'event_espresso'), |
|
914 | 914 | |
915 | 915 | // Reference: packages/components/src/EntityList/filterBar/buttons/ToggleSortingButton.tsx:29 |
916 | - __( 'disable sorting', 'event_espresso' ), |
|
916 | + __('disable sorting', 'event_espresso'), |
|
917 | 917 | |
918 | 918 | // Reference: packages/components/src/EntityList/filterBar/buttons/ToggleSortingButton.tsx:29 |
919 | - __( 'enable sorting', 'event_espresso' ), |
|
919 | + __('enable sorting', 'event_espresso'), |
|
920 | 920 | |
921 | 921 | // Reference: packages/components/src/Legend/ToggleLegendButton.tsx:28 |
922 | - __( 'hide legend', 'event_espresso' ), |
|
922 | + __('hide legend', 'event_espresso'), |
|
923 | 923 | |
924 | 924 | // Reference: packages/components/src/Legend/ToggleLegendButton.tsx:28 |
925 | - __( 'show legend', 'event_espresso' ), |
|
925 | + __('show legend', 'event_espresso'), |
|
926 | 926 | |
927 | 927 | // Reference: packages/components/src/LoadingIndicator/LoadingIndicator.tsx:7 |
928 | - __( 'loading ...', 'event_espresso' ), |
|
928 | + __('loading ...', 'event_espresso'), |
|
929 | 929 | |
930 | 930 | // Reference: packages/components/src/PriceTypeSign/PercentSign.tsx:11 |
931 | - __( '%', 'event_espresso' ), |
|
931 | + __('%', 'event_espresso'), |
|
932 | 932 | |
933 | 933 | // Reference: packages/components/src/Stepper/buttons/Next.tsx:12 |
934 | - __( 'Next', 'event_espresso' ), |
|
934 | + __('Next', 'event_espresso'), |
|
935 | 935 | |
936 | 936 | // Reference: packages/components/src/Stepper/buttons/Previous.tsx:12 |
937 | - __( 'Previous', 'event_espresso' ), |
|
937 | + __('Previous', 'event_espresso'), |
|
938 | 938 | |
939 | 939 | // Reference: packages/components/src/TabbableText/index.tsx:12 |
940 | - __( 'Click to edit...', 'event_espresso' ), |
|
940 | + __('Click to edit...', 'event_espresso'), |
|
941 | 941 | |
942 | 942 | // Reference: packages/components/src/TimezoneTimeInfo/Content.tsx:16 |
943 | - __( 'Your Local Time Zone', 'event_espresso' ), |
|
943 | + __('Your Local Time Zone', 'event_espresso'), |
|
944 | 944 | |
945 | 945 | // Reference: packages/components/src/TimezoneTimeInfo/Content.tsx:21 |
946 | - __( 'The Website\'s Time Zone', 'event_espresso' ), |
|
946 | + __('The Website\'s Time Zone', 'event_espresso'), |
|
947 | 947 | |
948 | 948 | // Reference: packages/components/src/TimezoneTimeInfo/Content.tsx:26 |
949 | - __( 'UTC (Greenwich Mean Time)', 'event_espresso' ), |
|
949 | + __('UTC (Greenwich Mean Time)', 'event_espresso'), |
|
950 | 950 | |
951 | 951 | // Reference: packages/components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:23 |
952 | - __( 'This Date Converted To:', 'event_espresso' ), |
|
952 | + __('This Date Converted To:', 'event_espresso'), |
|
953 | 953 | |
954 | 954 | // Reference: packages/components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:24 |
955 | - __( 'click for timezone |
|
956 | -information', 'event_espresso' ), |
|
955 | + __('click for timezone |
|
956 | +information', 'event_espresso'), |
|
957 | 957 | |
958 | 958 | // Reference: packages/components/src/bulkEdit/ActionCheckbox.tsx:40 |
959 | - __( 'select entity', 'event_espresso' ), |
|
959 | + __('select entity', 'event_espresso'), |
|
960 | 960 | |
961 | 961 | // Reference: packages/components/src/bulkEdit/BulkActions.tsx:45 |
962 | - __( 'select all', 'event_espresso' ), |
|
962 | + __('select all', 'event_espresso'), |
|
963 | 963 | |
964 | 964 | // Reference: packages/components/src/bulkEdit/BulkActions.tsx:47 |
965 | - __( 'apply', 'event_espresso' ), |
|
965 | + __('apply', 'event_espresso'), |
|
966 | 966 | |
967 | 967 | // Reference: packages/components/src/bulkEdit/details/BulkEditDetailsProps.tsx:27 |
968 | - __( 'Bulk edit details', 'event_espresso' ), |
|
968 | + __('Bulk edit details', 'event_espresso'), |
|
969 | 969 | |
970 | 970 | // Reference: packages/components/src/bulkEdit/details/Submit.tsx:28 |
971 | - __( 'Are you sure you want to bulk update the details?', 'event_espresso' ), |
|
971 | + __('Are you sure you want to bulk update the details?', 'event_espresso'), |
|
972 | 972 | |
973 | 973 | // Reference: packages/components/src/bulkEdit/details/Submit.tsx:29 |
974 | - __( 'Bulk update details', 'event_espresso' ), |
|
974 | + __('Bulk update details', 'event_espresso'), |
|
975 | 975 | |
976 | 976 | // Reference: packages/components/src/bulkEdit/details/Warning.tsx:12 |
977 | - __( 'Note: ', 'event_espresso' ), |
|
977 | + __('Note: ', 'event_espresso'), |
|
978 | 978 | |
979 | 979 | // Reference: packages/components/src/bulkEdit/details/Warning.tsx:13 |
980 | - __( 'any changes will be applied to ALL of the selected entities.', 'event_espresso' ), |
|
980 | + __('any changes will be applied to ALL of the selected entities.', 'event_espresso'), |
|
981 | 981 | |
982 | 982 | // Reference: packages/dates/src/DateRangePicker.tsx:66 |
983 | 983 | // Reference: packages/dates/src/DateRangePickerLegend.tsx:18 |
984 | - __( 'end date', 'event_espresso' ), |
|
984 | + __('end date', 'event_espresso'), |
|
985 | 985 | |
986 | 986 | // Reference: packages/dates/src/DateRangePickerLegend.tsx:14 |
987 | - __( 'day in range', 'event_espresso' ), |
|
987 | + __('day in range', 'event_espresso'), |
|
988 | 988 | |
989 | 989 | // Reference: packages/dates/src/DateTimePicker.tsx:8 |
990 | 990 | // Reference: packages/dates/src/TimePicker.tsx:13 |
991 | - __( 'time', 'event_espresso' ), |
|
991 | + __('time', 'event_espresso'), |
|
992 | 992 | |
993 | 993 | // Reference: packages/dates/src/utils/misc.ts:13 |
994 | - __( 'month(s)', 'event_espresso' ), |
|
994 | + __('month(s)', 'event_espresso'), |
|
995 | 995 | |
996 | 996 | // Reference: packages/dates/src/utils/misc.ts:14 |
997 | - __( 'week(s)', 'event_espresso' ), |
|
997 | + __('week(s)', 'event_espresso'), |
|
998 | 998 | |
999 | 999 | // Reference: packages/dates/src/utils/misc.ts:15 |
1000 | - __( 'day(s)', 'event_espresso' ), |
|
1000 | + __('day(s)', 'event_espresso'), |
|
1001 | 1001 | |
1002 | 1002 | // Reference: packages/dates/src/utils/misc.ts:16 |
1003 | - __( 'hour(s)', 'event_espresso' ), |
|
1003 | + __('hour(s)', 'event_espresso'), |
|
1004 | 1004 | |
1005 | 1005 | // Reference: packages/dates/src/utils/misc.ts:17 |
1006 | - __( 'minute(s)', 'event_espresso' ), |
|
1006 | + __('minute(s)', 'event_espresso'), |
|
1007 | 1007 | |
1008 | 1008 | // Reference: packages/edtr-services/src/apollo/queries/datetimes/useFetchDatetimes.ts:25 |
1009 | - __( 'datetimes initialized', 'event_espresso' ), |
|
1009 | + __('datetimes initialized', 'event_espresso'), |
|
1010 | 1010 | |
1011 | 1011 | // Reference: packages/edtr-services/src/apollo/queries/datetimes/useFetchDatetimes.ts:37 |
1012 | - __( 'initializing datetimes', 'event_espresso' ), |
|
1012 | + __('initializing datetimes', 'event_espresso'), |
|
1013 | 1013 | |
1014 | 1014 | // Reference: packages/edtr-services/src/apollo/queries/priceTypes/useFetchPriceTypes.ts:25 |
1015 | - __( 'price types initialized', 'event_espresso' ), |
|
1015 | + __('price types initialized', 'event_espresso'), |
|
1016 | 1016 | |
1017 | 1017 | // Reference: packages/edtr-services/src/apollo/queries/priceTypes/useFetchPriceTypes.ts:36 |
1018 | - __( 'initializing price types', 'event_espresso' ), |
|
1018 | + __('initializing price types', 'event_espresso'), |
|
1019 | 1019 | |
1020 | 1020 | // Reference: packages/edtr-services/src/apollo/queries/prices/useFetchPrices.ts:35 |
1021 | - __( 'prices initialized', 'event_espresso' ), |
|
1021 | + __('prices initialized', 'event_espresso'), |
|
1022 | 1022 | |
1023 | 1023 | // Reference: packages/edtr-services/src/apollo/queries/prices/useFetchPrices.ts:65 |
1024 | - __( 'initializing prices', 'event_espresso' ), |
|
1024 | + __('initializing prices', 'event_espresso'), |
|
1025 | 1025 | |
1026 | 1026 | // Reference: packages/edtr-services/src/apollo/queries/tickets/useFetchTickets.ts:31 |
1027 | - __( 'tickets initialized', 'event_espresso' ), |
|
1027 | + __('tickets initialized', 'event_espresso'), |
|
1028 | 1028 | |
1029 | 1029 | // Reference: packages/edtr-services/src/apollo/queries/tickets/useFetchTickets.ts:42 |
1030 | - __( 'initializing tickets', 'event_espresso' ), |
|
1030 | + __('initializing tickets', 'event_espresso'), |
|
1031 | 1031 | |
1032 | 1032 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:11 |
1033 | - __( 'Start Date is required', 'event_espresso' ), |
|
1033 | + __('Start Date is required', 'event_espresso'), |
|
1034 | 1034 | |
1035 | 1035 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:15 |
1036 | - __( 'End Date is required', 'event_espresso' ), |
|
1036 | + __('End Date is required', 'event_espresso'), |
|
1037 | 1037 | |
1038 | 1038 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:5 |
1039 | - __( 'End Date & Time must be set later than the Start Date & Time', 'event_espresso' ), |
|
1039 | + __('End Date & Time must be set later than the Start Date & Time', 'event_espresso'), |
|
1040 | 1040 | |
1041 | 1041 | // Reference: packages/edtr-services/src/utils/dateAndTime.ts:6 |
1042 | - __( 'Required', 'event_espresso' ), |
|
1042 | + __('Required', 'event_espresso'), |
|
1043 | 1043 | |
1044 | 1044 | // Reference: packages/form/src/renderers/RepeatableRenderer.tsx:33 |
1045 | - __( 'Entry %d', 'event_espresso' ), |
|
1045 | + __('Entry %d', 'event_espresso'), |
|
1046 | 1046 | |
1047 | 1047 | // Reference: packages/form/src/renderers/RepeatableRenderer.tsx:47 |
1048 | - __( 'Add', 'event_espresso' ), |
|
1048 | + __('Add', 'event_espresso'), |
|
1049 | 1049 | |
1050 | 1050 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:11 |
1051 | 1051 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:17 |
1052 | - __( 'sold out', 'event_espresso' ), |
|
1052 | + __('sold out', 'event_espresso'), |
|
1053 | 1053 | |
1054 | 1054 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:14 |
1055 | 1055 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:14 |
1056 | - __( 'expired', 'event_espresso' ), |
|
1056 | + __('expired', 'event_espresso'), |
|
1057 | 1057 | |
1058 | 1058 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:17 |
1059 | - __( 'upcoming', 'event_espresso' ), |
|
1059 | + __('upcoming', 'event_espresso'), |
|
1060 | 1060 | |
1061 | 1061 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:20 |
1062 | - __( 'active', 'event_espresso' ), |
|
1062 | + __('active', 'event_espresso'), |
|
1063 | 1063 | |
1064 | 1064 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:23 |
1065 | 1065 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:11 |
1066 | - __( 'trashed', 'event_espresso' ), |
|
1066 | + __('trashed', 'event_espresso'), |
|
1067 | 1067 | |
1068 | 1068 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:26 |
1069 | - __( 'cancelled', 'event_espresso' ), |
|
1069 | + __('cancelled', 'event_espresso'), |
|
1070 | 1070 | |
1071 | 1071 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:29 |
1072 | - __( 'postponed', 'event_espresso' ), |
|
1072 | + __('postponed', 'event_espresso'), |
|
1073 | 1073 | |
1074 | 1074 | // Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:33 |
1075 | - __( 'inactive', 'event_espresso' ), |
|
1075 | + __('inactive', 'event_espresso'), |
|
1076 | 1076 | |
1077 | 1077 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:20 |
1078 | - __( 'pending', 'event_espresso' ), |
|
1078 | + __('pending', 'event_espresso'), |
|
1079 | 1079 | |
1080 | 1080 | // Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:23 |
1081 | - __( 'on sale', 'event_espresso' ), |
|
1081 | + __('on sale', 'event_espresso'), |
|
1082 | 1082 | |
1083 | 1083 | // Reference: packages/predicates/src/registration/statusOptions.ts:10 |
1084 | - __( 'Cancelled', 'event_espresso' ), |
|
1084 | + __('Cancelled', 'event_espresso'), |
|
1085 | 1085 | |
1086 | 1086 | // Reference: packages/predicates/src/registration/statusOptions.ts:14 |
1087 | - __( 'Declined', 'event_espresso' ), |
|
1087 | + __('Declined', 'event_espresso'), |
|
1088 | 1088 | |
1089 | 1089 | // Reference: packages/predicates/src/registration/statusOptions.ts:18 |
1090 | - __( 'Incomplete', 'event_espresso' ), |
|
1090 | + __('Incomplete', 'event_espresso'), |
|
1091 | 1091 | |
1092 | 1092 | // Reference: packages/predicates/src/registration/statusOptions.ts:22 |
1093 | - __( 'Not Approved', 'event_espresso' ), |
|
1093 | + __('Not Approved', 'event_espresso'), |
|
1094 | 1094 | |
1095 | 1095 | // Reference: packages/predicates/src/registration/statusOptions.ts:26 |
1096 | - __( 'Pending Payment', 'event_espresso' ), |
|
1096 | + __('Pending Payment', 'event_espresso'), |
|
1097 | 1097 | |
1098 | 1098 | // Reference: packages/predicates/src/registration/statusOptions.ts:30 |
1099 | - __( 'Wait List', 'event_espresso' ), |
|
1099 | + __('Wait List', 'event_espresso'), |
|
1100 | 1100 | |
1101 | 1101 | // Reference: packages/predicates/src/registration/statusOptions.ts:6 |
1102 | - __( 'Approved', 'event_espresso' ), |
|
1102 | + __('Approved', 'event_espresso'), |
|
1103 | 1103 | |
1104 | 1104 | // Reference: packages/tpc/src/buttons/AddPriceModifierButton.tsx:15 |
1105 | - __( 'add new price modifier after this row', 'event_espresso' ), |
|
1105 | + __('add new price modifier after this row', 'event_espresso'), |
|
1106 | 1106 | |
1107 | 1107 | // Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:13 |
1108 | - __( 'Delete all prices', 'event_espresso' ), |
|
1108 | + __('Delete all prices', 'event_espresso'), |
|
1109 | 1109 | |
1110 | 1110 | // Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:26 |
1111 | - __( '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' ), |
|
1111 | + __('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'), |
|
1112 | 1112 | |
1113 | 1113 | // Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:30 |
1114 | - __( 'Delete all prices?', 'event_espresso' ), |
|
1114 | + __('Delete all prices?', 'event_espresso'), |
|
1115 | 1115 | |
1116 | 1116 | // Reference: packages/tpc/src/buttons/DeletePriceModifierButton.tsx:12 |
1117 | - __( 'delete price modifier', 'event_espresso' ), |
|
1117 | + __('delete price modifier', 'event_espresso'), |
|
1118 | 1118 | |
1119 | 1119 | // Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:15 |
1120 | - __( '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' ), |
|
1120 | + __('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'), |
|
1121 | 1121 | |
1122 | 1122 | // Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:18 |
1123 | - __( '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' ), |
|
1123 | + __('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'), |
|
1124 | 1124 | |
1125 | 1125 | // Reference: packages/tpc/src/buttons/TicketPriceCalculatorButton.tsx:30 |
1126 | - __( 'ticket price calculator', 'event_espresso' ), |
|
1126 | + __('ticket price calculator', 'event_espresso'), |
|
1127 | 1127 | |
1128 | 1128 | // Reference: packages/tpc/src/buttons/taxes/AddDefaultTaxesButton.tsx:10 |
1129 | 1129 | // Reference: packages/tpc/src/components/DefaultTaxesInfo.tsx:30 |
1130 | - __( 'Add default taxes', 'event_espresso' ), |
|
1130 | + __('Add default taxes', 'event_espresso'), |
|
1131 | 1131 | |
1132 | 1132 | // Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:11 |
1133 | - __( 'Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso' ), |
|
1133 | + __('Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso'), |
|
1134 | 1134 | |
1135 | 1135 | // Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:15 |
1136 | - __( 'Remove all taxes?', 'event_espresso' ), |
|
1136 | + __('Remove all taxes?', 'event_espresso'), |
|
1137 | 1137 | |
1138 | 1138 | // Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:8 |
1139 | - __( 'Remove taxes', 'event_espresso' ), |
|
1139 | + __('Remove taxes', 'event_espresso'), |
|
1140 | 1140 | |
1141 | 1141 | // Reference: packages/tpc/src/components/DefaultPricesInfo.tsx:28 |
1142 | - __( 'Modify default prices.', 'event_espresso' ), |
|
1142 | + __('Modify default prices.', 'event_espresso'), |
|
1143 | 1143 | |
1144 | 1144 | // Reference: packages/tpc/src/components/DefaultTaxesInfo.tsx:29 |
1145 | - __( 'New default taxes are available. Click the "%s" button to add them now.', 'event_espresso' ), |
|
1145 | + __('New default taxes are available. Click the "%s" button to add them now.', 'event_espresso'), |
|
1146 | 1146 | |
1147 | 1147 | // Reference: packages/tpc/src/components/NoPricesBanner/AddDefaultPricesButton.tsx:10 |
1148 | - __( 'Add default prices', 'event_espresso' ), |
|
1148 | + __('Add default prices', 'event_espresso'), |
|
1149 | 1149 | |
1150 | 1150 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:14 |
1151 | - __( 'This Ticket is Currently Free', 'event_espresso' ), |
|
1151 | + __('This Ticket is Currently Free', 'event_espresso'), |
|
1152 | 1152 | |
1153 | 1153 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:22 |
1154 | 1154 | /* translators: %s default prices */ |
1155 | - __( 'Click the button below to load your %s into the calculator.', 'event_espresso' ), |
|
1155 | + __('Click the button below to load your %s into the calculator.', 'event_espresso'), |
|
1156 | 1156 | |
1157 | 1157 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:23 |
1158 | - __( 'default prices', 'event_espresso' ), |
|
1158 | + __('default prices', 'event_espresso'), |
|
1159 | 1159 | |
1160 | 1160 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:30 |
1161 | - __( 'Additional ticket price modifiers can be added or removed.', 'event_espresso' ), |
|
1161 | + __('Additional ticket price modifiers can be added or removed.', 'event_espresso'), |
|
1162 | 1162 | |
1163 | 1163 | // Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:33 |
1164 | - __( 'Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso' ), |
|
1164 | + __('Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso'), |
|
1165 | 1165 | |
1166 | 1166 | // Reference: packages/tpc/src/components/TicketPriceCalculatorModal.tsx:31 |
1167 | - __( 'Price Calculator for Ticket: %s', 'event_espresso' ), |
|
1167 | + __('Price Calculator for Ticket: %s', 'event_espresso'), |
|
1168 | 1168 | |
1169 | 1169 | // Reference: packages/tpc/src/components/table/Table.tsx:44 |
1170 | - __( 'Ticket Price Calculator', 'event_espresso' ), |
|
1170 | + __('Ticket Price Calculator', 'event_espresso'), |
|
1171 | 1171 | |
1172 | 1172 | // Reference: packages/tpc/src/components/table/useFooterRowGenerator.tsx:42 |
1173 | - __( 'Total', 'event_espresso' ), |
|
1173 | + __('Total', 'event_espresso'), |
|
1174 | 1174 | |
1175 | 1175 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:28 |
1176 | - __( 'Price Type', 'event_espresso' ), |
|
1176 | + __('Price Type', 'event_espresso'), |
|
1177 | 1177 | |
1178 | 1178 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:34 |
1179 | - __( 'Label', 'event_espresso' ), |
|
1179 | + __('Label', 'event_espresso'), |
|
1180 | 1180 | |
1181 | 1181 | // Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:46 |
1182 | - __( 'Amount', 'event_espresso' ), |
|
1182 | + __('Amount', 'event_espresso'), |
|
1183 | 1183 | |
1184 | 1184 | // Reference: packages/tpc/src/inputs/PriceAmountInput.tsx:44 |
1185 | - __( 'amount...', 'event_espresso' ), |
|
1185 | + __('amount...', 'event_espresso'), |
|
1186 | 1186 | |
1187 | 1187 | // Reference: packages/tpc/src/inputs/PriceDescriptionInput.tsx:14 |
1188 | - __( 'description...', 'event_espresso' ), |
|
1188 | + __('description...', 'event_espresso'), |
|
1189 | 1189 | |
1190 | 1190 | // Reference: packages/tpc/src/inputs/PriceNameInput.tsx:14 |
1191 | - __( 'label...', 'event_espresso' ), |
|
1191 | + __('label...', 'event_espresso'), |
|
1192 | 1192 | |
1193 | 1193 | // Reference: packages/components/src/LoadingNotice/LoadingNotice.tsx:17 |
1194 | - _x( 'loading%s', 'loading...', 'event_espresso' ) |
|
1194 | + _x('loading%s', 'loading...', 'event_espresso') |
|
1195 | 1195 | ); |
1196 | 1196 | /* THIS IS THE END OF THE GENERATED FILE */ |