Completed
Branch barista-prod (0ef1e5)
by
unknown
42:12 queued 33:29
created
languages/event_espresso-translations-js.php 1 patch
Spacing   +366 added lines, -366 removed lines patch added patch discarded remove patch
@@ -2,179 +2,179 @@  discard block
 block discarded – undo
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:24
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:17
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:37
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:45
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:51
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:10
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:15
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:16
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:25
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:29
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:14
48
-	__( 'Display Gravatar', 'event_espresso' ),
48
+	__('Display Gravatar', 'event_espresso'),
49 49
 
50 50
 	// Reference: domains/blocks/src/event-attendees/controls/GravatarSettings.tsx:19
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:20
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:25
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:20
60
-	__( 'Select Datetime', 'event_espresso' ),
60
+	__('Select Datetime', 'event_espresso'),
61 61
 
62 62
 	// Reference: domains/blocks/src/event-attendees/controls/SelectEvent.tsx:20
63
-	__( 'Select Event', 'event_espresso' ),
63
+	__('Select Event', 'event_espresso'),
64 64
 
65 65
 	// Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:13
66
-	__( 'Attendee id', 'event_espresso' ),
66
+	__('Attendee id', 'event_espresso'),
67 67
 
68 68
 	// Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:17
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:21
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:25
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:29
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:36
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:19
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:41
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,219 +182,219 @@  discard block
 block discarded – undo
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:27
257 257
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:27
258
-	__( 'bulk actions', 'event_espresso' ),
258
+	__('bulk actions', 'event_espresso'),
259 259
 
260 260
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:31
261
-	__( 'edit datetime details', 'event_espresso' ),
261
+	__('edit datetime details', 'event_espresso'),
262 262
 
263 263
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:35
264
-	__( 'delete datetimes', 'event_espresso' ),
264
+	__('delete datetimes', 'event_espresso'),
265 265
 
266 266
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:35
267
-	__( 'trash datetimes', 'event_espresso' ),
267
+	__('trash datetimes', 'event_espresso'),
268 268
 
269 269
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:13
270
-	__( 'Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso' ),
270
+	__('Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso'),
271 271
 
272 272
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:14
273
-	__( 'Are you sure you want to trash these datetimes?', 'event_espresso' ),
273
+	__('Are you sure you want to trash these datetimes?', 'event_espresso'),
274 274
 
275 275
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:15
276
-	__( 'Delete datetimes permanently', 'event_espresso' ),
276
+	__('Delete datetimes permanently', 'event_espresso'),
277 277
 
278 278
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:15
279
-	__( 'Trash datetimes', 'event_espresso' ),
279
+	__('Trash datetimes', 'event_espresso'),
280 280
 
281 281
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:22
282
-	__( 'Bulk edit date details', 'event_espresso' ),
282
+	__('Bulk edit date details', 'event_espresso'),
283 283
 
284 284
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:23
285
-	__( 'any changes will be applied to ALL of the selected dates.', 'event_espresso' ),
285
+	__('any changes will be applied to ALL of the selected dates.', 'event_espresso'),
286 286
 
287 287
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:67
288 288
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:67
289
-	__( 'Shift dates', 'event_espresso' ),
289
+	__('Shift dates', 'event_espresso'),
290 290
 
291 291
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:92
292 292
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:92
293
-	__( 'earlier', 'event_espresso' ),
293
+	__('earlier', 'event_espresso'),
294 294
 
295 295
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:96
296 296
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:96
297
-	__( 'later', 'event_espresso' ),
297
+	__('later', 'event_espresso'),
298 298
 
299 299
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateCapacity.tsx:35
300
-	__( 'edit capacity (registration limit)...', 'event_espresso' ),
300
+	__('edit capacity (registration limit)...', 'event_espresso'),
301 301
 
302 302
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:38
303
-	__( 'Edit Event Date', 'event_espresso' ),
303
+	__('Edit Event Date', 'event_espresso'),
304 304
 
305 305
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:41
306
-	__( 'edit start and end dates', 'event_espresso' ),
306
+	__('edit start and end dates', 'event_espresso'),
307 307
 
308 308
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:14
309 309
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:14
310
-	__( 'sold', 'event_espresso' ),
310
+	__('sold', 'event_espresso'),
311 311
 
312 312
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:27
313
-	__( 'capacity', 'event_espresso' ),
313
+	__('capacity', 'event_espresso'),
314 314
 
315 315
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:33
316 316
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:32
317
-	__( 'reg list', 'event_espresso' ),
317
+	__('reg list', 'event_espresso'),
318 318
 
319 319
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:41
320 320
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:41
321
-	__( 'Edit description', 'event_espresso' ),
321
+	__('Edit description', 'event_espresso'),
322 322
 
323 323
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:42
324 324
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:42
325
-	__( 'edit description...', 'event_espresso' ),
325
+	__('edit description...', 'event_espresso'),
326 326
 
327 327
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:13
328
-	__( 'Active', 'event_espresso' ),
328
+	__('Active', 'event_espresso'),
329 329
 
330 330
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:14
331 331
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:13
332
-	__( 'Trashed', 'event_espresso' ),
332
+	__('Trashed', 'event_espresso'),
333 333
 
334 334
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:15
335 335
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:14
336
-	__( 'Expired', 'event_espresso' ),
336
+	__('Expired', 'event_espresso'),
337 337
 
338 338
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:16
339 339
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:16
340
-	__( 'Sold Out', 'event_espresso' ),
340
+	__('Sold Out', 'event_espresso'),
341 341
 
342 342
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:17
343
-	__( 'Upcoming', 'event_espresso' ),
343
+	__('Upcoming', 'event_espresso'),
344 344
 
345 345
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/editable/EditableName.tsx:17
346 346
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/editable/EditableName.tsx:28
347
-	__( 'edit title...', 'event_espresso' ),
347
+	__('edit title...', 'event_espresso'),
348 348
 
349 349
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:10
350
-	__( 'start and end dates', 'event_espresso' ),
350
+	__('start and end dates', 'event_espresso'),
351 351
 
352 352
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:15
353
-	__( 'dates above 90% capacity', 'event_espresso' ),
353
+	__('dates above 90% capacity', 'event_espresso'),
354 354
 
355 355
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:16
356
-	__( 'dates above 75% capacity', 'event_espresso' ),
356
+	__('dates above 75% capacity', 'event_espresso'),
357 357
 
358 358
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:17
359
-	__( 'dates above 50% capacity', 'event_espresso' ),
359
+	__('dates above 50% capacity', 'event_espresso'),
360 360
 
361 361
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:18
362
-	__( 'dates below 50% capacity', 'event_espresso' ),
362
+	__('dates below 50% capacity', 'event_espresso'),
363 363
 
364 364
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:22
365
-	__( 'all dates', 'event_espresso' ),
365
+	__('all dates', 'event_espresso'),
366 366
 
367 367
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:23
368
-	__( 'all active and upcoming', 'event_espresso' ),
368
+	__('all active and upcoming', 'event_espresso'),
369 369
 
370 370
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:24
371
-	__( 'active dates only', 'event_espresso' ),
371
+	__('active dates only', 'event_espresso'),
372 372
 
373 373
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:25
374
-	__( 'upcoming dates only', 'event_espresso' ),
374
+	__('upcoming dates only', 'event_espresso'),
375 375
 
376 376
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:26
377
-	__( 'next active or upcoming only', 'event_espresso' ),
377
+	__('next active or upcoming only', 'event_espresso'),
378 378
 
379 379
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:27
380
-	__( 'sold out dates only', 'event_espresso' ),
380
+	__('sold out dates only', 'event_espresso'),
381 381
 
382 382
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:28
383
-	__( 'recently expired dates', 'event_espresso' ),
383
+	__('recently expired dates', 'event_espresso'),
384 384
 
385 385
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:29
386
-	__( 'all expired dates', 'event_espresso' ),
386
+	__('all expired dates', 'event_espresso'),
387 387
 
388 388
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:30
389
-	__( 'trashed dates only', 'event_espresso' ),
389
+	__('trashed dates only', 'event_espresso'),
390 390
 
391 391
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:34
392 392
 	// Reference: packages/dates/src/DateRangePicker.tsx:52
393 393
 	// Reference: packages/dates/src/DateRangePickerLegend.tsx:10
394
-	__( 'start date', 'event_espresso' ),
394
+	__('start date', 'event_espresso'),
395 395
 
396 396
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:35
397
-	__( 'name', 'event_espresso' ),
397
+	__('name', 'event_espresso'),
398 398
 
399 399
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:36
400 400
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:37
@@ -402,95 +402,95 @@  discard block
 block discarded – undo
402 402
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/table/HeaderCell.tsx:20
403 403
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:36
404 404
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:22
405
-	__( 'ID', 'event_espresso' ),
405
+	__('ID', 'event_espresso'),
406 406
 
407 407
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:37
408 408
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:46
409
-	__( 'custom order', 'event_espresso' ),
409
+	__('custom order', 'event_espresso'),
410 410
 
411 411
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:41
412 412
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:51
413
-	__( 'display', 'event_espresso' ),
413
+	__('display', 'event_espresso'),
414 414
 
415 415
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:42
416 416
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:53
417
-	__( 'sales', 'event_espresso' ),
417
+	__('sales', 'event_espresso'),
418 418
 
419 419
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:43
420 420
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:55
421
-	__( 'sort by', 'event_espresso' ),
421
+	__('sort by', 'event_espresso'),
422 422
 
423 423
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:44
424 424
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:54
425 425
 	// Reference: packages/components/src/EntityList/filterBar/EntityListFilterBar.tsx:71
426
-	__( 'search', 'event_espresso' ),
426
+	__('search', 'event_espresso'),
427 427
 
428 428
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:45
429 429
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:56
430
-	__( 'status', 'event_espresso' ),
430
+	__('status', 'event_espresso'),
431 431
 
432 432
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:8
433
-	__( 'start dates only', 'event_espresso' ),
433
+	__('start dates only', 'event_espresso'),
434 434
 
435 435
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:9
436
-	__( 'end dates only', 'event_espresso' ),
436
+	__('end dates only', 'event_espresso'),
437 437
 
438 438
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:20
439 439
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/OptionsPopover.tsx:14
440 440
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/OptionsPopoverButton.tsx:11
441
-	__( 'Add New Date', 'event_espresso' ),
441
+	__('Add New Date', 'event_espresso'),
442 442
 
443 443
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:20
444
-	__( 'Add Single Date', 'event_espresso' ),
444
+	__('Add Single Date', 'event_espresso'),
445 445
 
446 446
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:34
447
-	__( 'Add a single date
448
-that only occurs once', 'event_espresso' ),
447
+	__('Add a single date
448
+that only occurs once', 'event_espresso'),
449 449
 
450 450
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:36
451
-	__( 'Single Date', 'event_espresso' ),
451
+	__('Single Date', 'event_espresso'),
452 452
 
453 453
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:104
454 454
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:103
455 455
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:52
456
-	__( 'Actions', 'event_espresso' ),
456
+	__('Actions', 'event_espresso'),
457 457
 
458 458
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:52
459
-	__( 'Start', 'event_espresso' ),
459
+	__('Start', 'event_espresso'),
460 460
 
461 461
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:63
462
-	__( 'End', 'event_espresso' ),
462
+	__('End', 'event_espresso'),
463 463
 
464 464
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:75
465
-	__( 'Cap', 'event_espresso' ),
465
+	__('Cap', 'event_espresso'),
466 466
 
467 467
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:83
468 468
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:85
469
-	__( 'Sold', 'event_espresso' ),
469
+	__('Sold', 'event_espresso'),
470 470
 
471 471
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:92
472
-	__( 'Reg list', 'event_espresso' ),
472
+	__('Reg list', 'event_espresso'),
473 473
 
474 474
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:93
475 475
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:95
476
-	__( 'Regs', 'event_espresso' ),
476
+	__('Regs', 'event_espresso'),
477 477
 
478 478
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:18
479
-	__( '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' ),
479
+	__('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 480
 
481 481
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:22
482
-	__( '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' ),
482
+	__('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 483
 
484 484
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:20
485
-	__( 'Ticket Assignment Manager for Datetime: %s - %s', 'event_espresso' ),
485
+	__('Ticket Assignment Manager for Datetime: %s - %s', 'event_espresso'),
486 486
 
487 487
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:22
488
-	__( 'Ticket Assignment Manager for Ticket: %s - %s', 'event_espresso' ),
488
+	__('Ticket Assignment Manager for Ticket: %s - %s', 'event_espresso'),
489 489
 
490 490
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal/buttons/useCancelButtonProps.tsx:18
491 491
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:16
492 492
 	// Reference: packages/components/src/Modal/useCancelButtonProps.tsx:10
493
-	__( 'Cancel', 'event_espresso' ),
493
+	__('Cancel', 'event_espresso'),
494 494
 
495 495
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal/buttons/useSubmitButtonProps.tsx:25
496 496
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:17
@@ -499,691 +499,691 @@  discard block
 block discarded – undo
499 499
 	// Reference: packages/components/src/bulkEdit/details/Submit.tsx:36
500 500
 	// Reference: packages/form/src/Submit.tsx:26
501 501
 	// Reference: packages/tpc/src/buttons/useSubmitButtonProps.tsx:25
502
-	__( 'Submit', 'event_espresso' ),
502
+	__('Submit', 'event_espresso'),
503 503
 
504 504
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal/index.tsx:32
505 505
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/table/Table.tsx:19
506
-	__( 'Ticket Assignment Manager', 'event_espresso' ),
506
+	__('Ticket Assignment Manager', 'event_espresso'),
507 507
 
508 508
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:19
509
-	__( 'All Dates', 'event_espresso' ),
509
+	__('All Dates', 'event_espresso'),
510 510
 
511 511
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:23
512
-	__( 'dates by month', 'event_espresso' ),
512
+	__('dates by month', 'event_espresso'),
513 513
 
514 514
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowExpiredTicketsControl.tsx:13
515
-	__( 'show expired tickets', 'event_espresso' ),
515
+	__('show expired tickets', 'event_espresso'),
516 516
 
517 517
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedDatesControl.tsx:13
518
-	__( 'show trashed dates', 'event_espresso' ),
518
+	__('show trashed dates', 'event_espresso'),
519 519
 
520 520
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedTicketsControl.tsx:13
521
-	__( 'show trashed tickets', 'event_espresso' ),
521
+	__('show trashed tickets', 'event_espresso'),
522 522
 
523 523
 	// Reference: domains/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:29
524
-	__( 'total registrations.', 'event_espresso' ),
524
+	__('total registrations.', 'event_espresso'),
525 525
 
526 526
 	// Reference: domains/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:30
527
-	__( 'view ALL registrations for this ticket.', 'event_espresso' ),
527
+	__('view ALL registrations for this ticket.', 'event_espresso'),
528 528
 
529 529
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/Container.tsx:16
530
-	__( 'Edit ticket %s', 'event_espresso' ),
530
+	__('Edit ticket %s', 'event_espresso'),
531 531
 
532 532
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/Container.tsx:16
533
-	__( 'New Ticket Details', 'event_espresso' ),
533
+	__('New Ticket Details', 'event_espresso'),
534 534
 
535 535
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:44
536
-	__( 'Add ticket prices', 'event_espresso' ),
536
+	__('Add ticket prices', 'event_espresso'),
537 537
 
538 538
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:50
539
-	__( 'Skip prices - assign dates', 'event_espresso' ),
539
+	__('Skip prices - assign dates', 'event_espresso'),
540 540
 
541 541
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:65
542
-	__( 'Save and assign dates', 'event_espresso' ),
542
+	__('Save and assign dates', 'event_espresso'),
543 543
 
544 544
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:77
545
-	__( 'Ticket details', 'event_espresso' ),
545
+	__('Ticket details', 'event_espresso'),
546 546
 
547 547
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:11
548
-	__( 'primary information about the ticket', 'event_espresso' ),
548
+	__('primary information about the ticket', 'event_espresso'),
549 549
 
550 550
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:11
551
-	__( 'Ticket Details', 'event_espresso' ),
551
+	__('Ticket Details', 'event_espresso'),
552 552
 
553 553
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:13
554
-	__( 'apply ticket price modifiers and taxes', 'event_espresso' ),
554
+	__('apply ticket price modifiers and taxes', 'event_espresso'),
555 555
 
556 556
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:15
557
-	__( 'Price Calculator', 'event_espresso' ),
557
+	__('Price Calculator', 'event_espresso'),
558 558
 
559 559
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:17
560
-	__( 'Assign Dates', 'event_espresso' ),
560
+	__('Assign Dates', 'event_espresso'),
561 561
 
562 562
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:100
563
-	__( 'Ticket Sales', 'event_espresso' ),
563
+	__('Ticket Sales', 'event_espresso'),
564 564
 
565 565
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:123
566 566
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:112
567
-	__( 'Quantity For Sale', 'event_espresso' ),
567
+	__('Quantity For Sale', 'event_espresso'),
568 568
 
569 569
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:128
570
-	__( 'The maximum number of this ticket available for sale.%sSet to 0 to stop sales, or leave blank for no limit.', 'event_espresso' ),
570
+	__('The maximum number of this ticket available for sale.%sSet to 0 to stop sales, or leave blank for no limit.', 'event_espresso'),
571 571
 
572 572
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:137
573 573
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:120
574
-	__( 'Number of Uses', 'event_espresso' ),
574
+	__('Number of Uses', 'event_espresso'),
575 575
 
576 576
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:142
577
-	__( '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' ),
577
+	__('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 578
 
579 579
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:151
580 580
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:128
581
-	__( 'Minimum Quantity', 'event_espresso' ),
581
+	__('Minimum Quantity', 'event_espresso'),
582 582
 
583 583
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:155
584
-	__( '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' ),
584
+	__('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 585
 
586 586
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:164
587 587
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:135
588
-	__( 'Maximum Quantity', 'event_espresso' ),
588
+	__('Maximum Quantity', 'event_espresso'),
589 589
 
590 590
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:169
591
-	__( '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' ),
591
+	__('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 592
 
593 593
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:178
594 594
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:143
595
-	__( 'Required Ticket', 'event_espresso' ),
595
+	__('Required Ticket', 'event_espresso'),
596 596
 
597 597
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:180
598
-	__( 'If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso' ),
598
+	__('If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso'),
599 599
 
600 600
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:187
601
-	__( 'Default Ticket', 'event_espresso' ),
601
+	__('Default Ticket', 'event_espresso'),
602 602
 
603 603
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:189
604
-	__( 'If enabled, the ticket will appear on all new events.', 'event_espresso' ),
604
+	__('If enabled, the ticket will appear on all new events.', 'event_espresso'),
605 605
 
606 606
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:30
607
-	__( 'Available Tickets', 'event_espresso' ),
607
+	__('Available Tickets', 'event_espresso'),
608 608
 
609 609
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:33
610
-	__( 'loading tickets...', 'event_espresso' ),
610
+	__('loading tickets...', 'event_espresso'),
611 611
 
612 612
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:27
613
-	__( 'Number of related dates', 'event_espresso' ),
613
+	__('Number of related dates', 'event_espresso'),
614 614
 
615 615
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:28
616
-	__( 'There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso' ),
616
+	__('There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso'),
617 617
 
618 618
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:44
619
-	__( 'assign dates', 'event_espresso' ),
619
+	__('assign dates', 'event_espresso'),
620 620
 
621 621
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:17
622
-	__( 'Permanently delete Ticket?', 'event_espresso' ),
622
+	__('Permanently delete Ticket?', 'event_espresso'),
623 623
 
624 624
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:17
625
-	__( 'Move Ticket to Trash?', 'event_espresso' ),
625
+	__('Move Ticket to Trash?', 'event_espresso'),
626 626
 
627 627
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:19
628
-	__( 'Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso' ),
628
+	__('Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso'),
629 629
 
630 630
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:20
631
-	__( 'Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso' ),
631
+	__('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 632
 
633 633
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:29
634
-	__( 'ticket main menu', 'event_espresso' ),
634
+	__('ticket main menu', 'event_espresso'),
635 635
 
636 636
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:33
637
-	__( 'trash ticket', 'event_espresso' ),
637
+	__('trash ticket', 'event_espresso'),
638 638
 
639 639
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:42
640
-	__( 'edit ticket', 'event_espresso' ),
640
+	__('edit ticket', 'event_espresso'),
641 641
 
642 642
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:43
643
-	__( 'copy ticket', 'event_espresso' ),
643
+	__('copy ticket', 'event_espresso'),
644 644
 
645 645
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:31
646
-	__( 'edit ticket details', 'event_espresso' ),
646
+	__('edit ticket details', 'event_espresso'),
647 647
 
648 648
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:35
649
-	__( 'delete tickets', 'event_espresso' ),
649
+	__('delete tickets', 'event_espresso'),
650 650
 
651 651
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:35
652
-	__( 'trash tickets', 'event_espresso' ),
652
+	__('trash tickets', 'event_espresso'),
653 653
 
654 654
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:39
655
-	__( 'edit ticket prices', 'event_espresso' ),
655
+	__('edit ticket prices', 'event_espresso'),
656 656
 
657 657
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:13
658
-	__( 'Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso' ),
658
+	__('Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso'),
659 659
 
660 660
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:14
661
-	__( 'Are you sure you want to trash these tickets?', 'event_espresso' ),
661
+	__('Are you sure you want to trash these tickets?', 'event_espresso'),
662 662
 
663 663
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:15
664
-	__( 'Delete tickets permanently', 'event_espresso' ),
664
+	__('Delete tickets permanently', 'event_espresso'),
665 665
 
666 666
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:15
667
-	__( 'Trash tickets', 'event_espresso' ),
667
+	__('Trash tickets', 'event_espresso'),
668 668
 
669 669
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:22
670
-	__( 'Bulk edit ticket details', 'event_espresso' ),
670
+	__('Bulk edit ticket details', 'event_espresso'),
671 671
 
672 672
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:23
673
-	__( 'any changes will be applied to ALL of the selected tickets.', 'event_espresso' ),
673
+	__('any changes will be applied to ALL of the selected tickets.', 'event_espresso'),
674 674
 
675 675
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/EditPrices.tsx:18
676
-	__( 'Bulk edit ticket prices', 'event_espresso' ),
676
+	__('Bulk edit ticket prices', 'event_espresso'),
677 677
 
678 678
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:18
679
-	__( 'Edit all prices together', 'event_espresso' ),
679
+	__('Edit all prices together', 'event_espresso'),
680 680
 
681 681
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:19
682
-	__( 'Edit all the selected ticket prices dynamically', 'event_espresso' ),
682
+	__('Edit all the selected ticket prices dynamically', 'event_espresso'),
683 683
 
684 684
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:23
685
-	__( 'Edit prices individually', 'event_espresso' ),
685
+	__('Edit prices individually', 'event_espresso'),
686 686
 
687 687
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:24
688
-	__( 'Edit prices for each ticket individually', 'event_espresso' ),
688
+	__('Edit prices for each ticket individually', 'event_espresso'),
689 689
 
690 690
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:15
691 691
 	// Reference: packages/components/src/bulkEdit/details/Submit.tsx:43
692 692
 	// Reference: packages/form/src/ResetButton.tsx:16
693 693
 	// Reference: packages/tpc/src/buttons/useResetButtonProps.tsx:12
694
-	__( 'Reset', 'event_espresso' ),
694
+	__('Reset', 'event_espresso'),
695 695
 
696 696
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/editSeparately/TPCInstance.tsx:22
697
-	__( 'Edit prices for Ticket: %s', 'event_espresso' ),
697
+	__('Edit prices for Ticket: %s', 'event_espresso'),
698 698
 
699 699
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:38
700
-	__( 'Edit Ticket Sale Dates', 'event_espresso' ),
700
+	__('Edit Ticket Sale Dates', 'event_espresso'),
701 701
 
702 702
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:40
703
-	__( 'edit ticket sales start and end dates', 'event_espresso' ),
703
+	__('edit ticket sales start and end dates', 'event_espresso'),
704 704
 
705 705
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:27
706
-	__( 'quantity', 'event_espresso' ),
706
+	__('quantity', 'event_espresso'),
707 707
 
708 708
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketQuantity.tsx:26
709
-	__( 'edit quantity of tickets available...', 'event_espresso' ),
709
+	__('edit quantity of tickets available...', 'event_espresso'),
710 710
 
711 711
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:15
712 712
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:51
713
-	__( 'On Sale', 'event_espresso' ),
713
+	__('On Sale', 'event_espresso'),
714 714
 
715 715
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:17
716
-	__( 'Pending', 'event_espresso' ),
716
+	__('Pending', 'event_espresso'),
717 717
 
718 718
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:32
719
-	__( 'set price...', 'event_espresso' ),
719
+	__('set price...', 'event_espresso'),
720 720
 
721 721
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:36
722
-	__( 'edit ticket total...', 'event_espresso' ),
722
+	__('edit ticket total...', 'event_espresso'),
723 723
 
724 724
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/ActiveTicketsFilters.tsx:24
725
-	__( 'ON', 'event_espresso' ),
725
+	__('ON', 'event_espresso'),
726 726
 
727 727
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:24
728
-	__( 'tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso' ),
728
+	__('tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso'),
729 729
 
730 730
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:25
731
-	__( 'tickets list is unlinked and is showing tickets for all event dates', 'event_espresso' ),
731
+	__('tickets list is unlinked and is showing tickets for all event dates', 'event_espresso'),
732 732
 
733 733
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:10
734
-	__( 'ticket sales start and end dates', 'event_espresso' ),
734
+	__('ticket sales start and end dates', 'event_espresso'),
735 735
 
736 736
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:15
737
-	__( 'tickets with 90% or more sold', 'event_espresso' ),
737
+	__('tickets with 90% or more sold', 'event_espresso'),
738 738
 
739 739
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:16
740
-	__( 'tickets with 75% or more sold', 'event_espresso' ),
740
+	__('tickets with 75% or more sold', 'event_espresso'),
741 741
 
742 742
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:17
743
-	__( 'tickets with 50% or more sold', 'event_espresso' ),
743
+	__('tickets with 50% or more sold', 'event_espresso'),
744 744
 
745 745
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:18
746
-	__( 'tickets with less than 50% sold', 'event_espresso' ),
746
+	__('tickets with less than 50% sold', 'event_espresso'),
747 747
 
748 748
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:27
749
-	__( 'all tickets for all dates', 'event_espresso' ),
749
+	__('all tickets for all dates', 'event_espresso'),
750 750
 
751 751
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:28
752
-	__( 'all on sale and sale pending', 'event_espresso' ),
752
+	__('all on sale and sale pending', 'event_espresso'),
753 753
 
754 754
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:29
755
-	__( 'on sale tickets only', 'event_espresso' ),
755
+	__('on sale tickets only', 'event_espresso'),
756 756
 
757 757
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:30
758
-	__( 'sale pending tickets only', 'event_espresso' ),
758
+	__('sale pending tickets only', 'event_espresso'),
759 759
 
760 760
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:31
761
-	__( 'next on sale or sale pending only', 'event_espresso' ),
761
+	__('next on sale or sale pending only', 'event_espresso'),
762 762
 
763 763
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:32
764
-	__( 'sold out tickets only', 'event_espresso' ),
764
+	__('sold out tickets only', 'event_espresso'),
765 765
 
766 766
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:33
767
-	__( 'expired tickets only', 'event_espresso' ),
767
+	__('expired tickets only', 'event_espresso'),
768 768
 
769 769
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:34
770
-	__( 'trashed tickets only', 'event_espresso' ),
770
+	__('trashed tickets only', 'event_espresso'),
771 771
 
772 772
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:39
773
-	__( 'all tickets for above dates', 'event_espresso' ),
773
+	__('all tickets for above dates', 'event_espresso'),
774 774
 
775 775
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:43
776
-	__( 'ticket sale date', 'event_espresso' ),
776
+	__('ticket sale date', 'event_espresso'),
777 777
 
778 778
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:44
779
-	__( 'ticket name', 'event_espresso' ),
779
+	__('ticket name', 'event_espresso'),
780 780
 
781 781
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:45
782
-	__( 'ticket ID', 'event_espresso' ),
782
+	__('ticket ID', 'event_espresso'),
783 783
 
784 784
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:52
785
-	__( 'link', 'event_espresso' ),
785
+	__('link', 'event_espresso'),
786 786
 
787 787
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:8
788
-	__( 'ticket sales start date only', 'event_espresso' ),
788
+	__('ticket sales start date only', 'event_espresso'),
789 789
 
790 790
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:9
791
-	__( 'ticket sales end date only', 'event_espresso' ),
791
+	__('ticket sales end date only', 'event_espresso'),
792 792
 
793 793
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:19
794
-	__( 'Add New Ticket', 'event_espresso' ),
794
+	__('Add New Ticket', 'event_espresso'),
795 795
 
796 796
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:31
797
-	__( 'Single Ticket', 'event_espresso' ),
797
+	__('Single Ticket', 'event_espresso'),
798 798
 
799 799
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:33
800
-	__( 'Add a single ticket and assign the dates to it', 'event_espresso' ),
800
+	__('Add a single ticket and assign the dates to it', 'event_espresso'),
801 801
 
802 802
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/TableView.tsx:36
803
-	__( 'Tickets', 'event_espresso' ),
803
+	__('Tickets', 'event_espresso'),
804 804
 
805 805
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:50
806
-	__( 'Goes on Sale', 'event_espresso' ),
806
+	__('Goes on Sale', 'event_espresso'),
807 807
 
808 808
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:61
809
-	__( 'Sale Ends', 'event_espresso' ),
809
+	__('Sale Ends', 'event_espresso'),
810 810
 
811 811
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:62
812
-	__( 'Ends', 'event_espresso' ),
812
+	__('Ends', 'event_espresso'),
813 813
 
814 814
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:71
815
-	__( 'Price', 'event_espresso' ),
815
+	__('Price', 'event_espresso'),
816 816
 
817 817
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:78
818
-	__( 'Quantity', 'event_espresso' ),
818
+	__('Quantity', 'event_espresso'),
819 819
 
820 820
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:94
821
-	__( 'Registrations', 'event_espresso' ),
821
+	__('Registrations', 'event_espresso'),
822 822
 
823 823
 	// Reference: domains/wpPluginsPage/src/exitSurvey/Popup.tsx:28
824
-	__( 'Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso' ),
824
+	__('Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso'),
825 825
 
826 826
 	// Reference: domains/wpPluginsPage/src/exitSurvey/Popup.tsx:39
827
-	__( 'Skip', 'event_espresso' ),
827
+	__('Skip', 'event_espresso'),
828 828
 
829 829
 	// Reference: domains/wpPluginsPage/src/exitSurvey/Popup.tsx:41
830
-	__( 'Sure I\'ll help', 'event_espresso' ),
830
+	__('Sure I\'ll help', 'event_espresso'),
831 831
 
832 832
 	// Reference: packages/adapters/src/Steps/Steps.tsx:30
833
-	__( 'Steps', 'event_espresso' ),
833
+	__('Steps', 'event_espresso'),
834 834
 
835 835
 	// Reference: packages/components/src/ActiveFilters/ActiveFilters.tsx:8
836
-	__( 'active filters:', 'event_espresso' ),
836
+	__('active filters:', 'event_espresso'),
837 837
 
838 838
 	// Reference: packages/components/src/CalendarDateRange/CalendarDateRange.tsx:39
839
-	__( 'to', 'event_espresso' ),
839
+	__('to', 'event_espresso'),
840 840
 
841 841
 	// Reference: packages/components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:29
842
-	__( 'starts', 'event_espresso' ),
842
+	__('starts', 'event_espresso'),
843 843
 
844 844
 	// Reference: packages/components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:41
845
-	__( 'ends', 'event_espresso' ),
845
+	__('ends', 'event_espresso'),
846 846
 
847 847
 	// Reference: packages/components/src/CalendarPageDate/CalendarPageDate.tsx:57
848
-	__( 'TO', 'event_espresso' ),
848
+	__('TO', 'event_espresso'),
849 849
 
850 850
 	// Reference: packages/components/src/Confirm/ConfirmClose.tsx:8
851 851
 	// Reference: packages/components/src/Modal/ModalWithAlert.tsx:23
852
-	__( 'Are you sure you want to close this?', 'event_espresso' ),
852
+	__('Are you sure you want to close this?', 'event_espresso'),
853 853
 
854 854
 	// Reference: packages/components/src/Confirm/ConfirmDelete.tsx:8
855
-	__( 'Are you sure you want to delete this?', 'event_espresso' ),
855
+	__('Are you sure you want to delete this?', 'event_espresso'),
856 856
 
857 857
 	// Reference: packages/components/src/Confirm/useConfirmWithButton.tsx:11
858
-	__( 'Please confirm this action.', 'event_espresso' ),
858
+	__('Please confirm this action.', 'event_espresso'),
859 859
 
860 860
 	// Reference: packages/components/src/Confirm/useConfirmationDialog.tsx:35
861
-	__( 'No', 'event_espresso' ),
861
+	__('No', 'event_espresso'),
862 862
 
863 863
 	// Reference: packages/components/src/Confirm/useConfirmationDialog.tsx:36
864
-	__( 'Yes', 'event_espresso' ),
864
+	__('Yes', 'event_espresso'),
865 865
 
866 866
 	// Reference: packages/components/src/DateTimeRangePicker/index.tsx:33
867
-	__( 'save', 'event_espresso' ),
867
+	__('save', 'event_espresso'),
868 868
 
869 869
 	// Reference: packages/components/src/DebugInfo/DebugInfo.tsx:36
870
-	__( 'Hide Debug Info', 'event_espresso' ),
870
+	__('Hide Debug Info', 'event_espresso'),
871 871
 
872 872
 	// Reference: packages/components/src/DebugInfo/DebugInfo.tsx:36
873
-	__( 'Show Debug Info', 'event_espresso' ),
873
+	__('Show Debug Info', 'event_espresso'),
874 874
 
875 875
 	// Reference: packages/components/src/EditDateRangeButton/index.tsx:41
876
-	__( 'Edit Start and End Dates and Times', 'event_espresso' ),
876
+	__('Edit Start and End Dates and Times', 'event_espresso'),
877 877
 
878 878
 	// Reference: packages/components/src/EntityActionsMenu/entityMenuItems/Copy.tsx:9
879
-	__( 'copy', 'event_espresso' ),
879
+	__('copy', 'event_espresso'),
880 880
 
881 881
 	// Reference: packages/components/src/EntityActionsMenu/entityMenuItems/Edit.tsx:9
882
-	__( 'edit', 'event_espresso' ),
882
+	__('edit', 'event_espresso'),
883 883
 
884 884
 	// Reference: packages/components/src/EntityActionsMenu/entityMenuItems/Trash.tsx:9
885
-	__( 'trash', 'event_espresso' ),
885
+	__('trash', 'event_espresso'),
886 886
 
887 887
 	// Reference: packages/components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:31
888
-	__( 'view approved registrations for this date.', 'event_espresso' ),
888
+	__('view approved registrations for this date.', 'event_espresso'),
889 889
 
890 890
 	// Reference: packages/components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:32
891
-	__( 'view approved registrations for this ticket.', 'event_espresso' ),
891
+	__('view approved registrations for this ticket.', 'event_espresso'),
892 892
 
893 893
 	// Reference: packages/components/src/EntityList/EntityList.tsx:39
894
-	__( 'no results found', 'event_espresso' ),
894
+	__('no results found', 'event_espresso'),
895 895
 
896 896
 	// Reference: packages/components/src/EntityList/EntityList.tsx:40
897
-	__( 'try changing filter settings', 'event_espresso' ),
897
+	__('try changing filter settings', 'event_espresso'),
898 898
 
899 899
 	// Reference: packages/components/src/EntityList/filterBar/buttons/CardViewFilterButton.tsx:23
900
-	__( 'card view', 'event_espresso' ),
900
+	__('card view', 'event_espresso'),
901 901
 
902 902
 	// Reference: packages/components/src/EntityList/filterBar/buttons/TableViewFilterButton.tsx:24
903
-	__( 'table view', 'event_espresso' ),
903
+	__('table view', 'event_espresso'),
904 904
 
905 905
 	// Reference: packages/components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:13
906
-	__( 'hide filters', 'event_espresso' ),
906
+	__('hide filters', 'event_espresso'),
907 907
 
908 908
 	// Reference: packages/components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:13
909
-	__( 'show filters', 'event_espresso' ),
909
+	__('show filters', 'event_espresso'),
910 910
 
911 911
 	// Reference: packages/components/src/EntityList/filterBar/buttons/ToggleSortingButton.tsx:29
912
-	__( 'disable sorting', 'event_espresso' ),
912
+	__('disable sorting', 'event_espresso'),
913 913
 
914 914
 	// Reference: packages/components/src/EntityList/filterBar/buttons/ToggleSortingButton.tsx:29
915
-	__( 'enable sorting', 'event_espresso' ),
915
+	__('enable sorting', 'event_espresso'),
916 916
 
917 917
 	// Reference: packages/components/src/Legend/ToggleLegendButton.tsx:27
918
-	__( 'hide legend', 'event_espresso' ),
918
+	__('hide legend', 'event_espresso'),
919 919
 
920 920
 	// Reference: packages/components/src/Legend/ToggleLegendButton.tsx:27
921
-	__( 'show legend', 'event_espresso' ),
921
+	__('show legend', 'event_espresso'),
922 922
 
923 923
 	// Reference: packages/components/src/LoadingIndicator/LoadingIndicator.tsx:7
924
-	__( 'loading ...', 'event_espresso' ),
924
+	__('loading ...', 'event_espresso'),
925 925
 
926 926
 	// Reference: packages/components/src/PriceTypeSign/PercentSign.tsx:11
927
-	__( '%', 'event_espresso' ),
927
+	__('%', 'event_espresso'),
928 928
 
929 929
 	// Reference: packages/components/src/Stepper/buttons/Next.tsx:12
930
-	__( 'Next', 'event_espresso' ),
930
+	__('Next', 'event_espresso'),
931 931
 
932 932
 	// Reference: packages/components/src/Stepper/buttons/Previous.tsx:12
933
-	__( 'Previous', 'event_espresso' ),
933
+	__('Previous', 'event_espresso'),
934 934
 
935 935
 	// Reference: packages/components/src/TabbableText/index.tsx:12
936
-	__( 'Click to edit...', 'event_espresso' ),
936
+	__('Click to edit...', 'event_espresso'),
937 937
 
938 938
 	// Reference: packages/components/src/TimezoneTimeInfo/Content.tsx:16
939
-	__( 'Your Local Time Zone', 'event_espresso' ),
939
+	__('Your Local Time Zone', 'event_espresso'),
940 940
 
941 941
 	// Reference: packages/components/src/TimezoneTimeInfo/Content.tsx:21
942
-	__( 'The Website\'s Time Zone', 'event_espresso' ),
942
+	__('The Website\'s Time Zone', 'event_espresso'),
943 943
 
944 944
 	// Reference: packages/components/src/TimezoneTimeInfo/Content.tsx:26
945
-	__( 'UTC (Greenwich Mean Time)', 'event_espresso' ),
945
+	__('UTC (Greenwich Mean Time)', 'event_espresso'),
946 946
 
947 947
 	// Reference: packages/components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:24
948
-	__( 'This Date Converted To:', 'event_espresso' ),
948
+	__('This Date Converted To:', 'event_espresso'),
949 949
 
950 950
 	// Reference: packages/components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:25
951
-	__( 'click for timezone
952
-information', 'event_espresso' ),
951
+	__('click for timezone
952
+information', 'event_espresso'),
953 953
 
954 954
 	// Reference: packages/components/src/bulkEdit/BulkActions.tsx:42
955
-	__( 'select all', 'event_espresso' ),
955
+	__('select all', 'event_espresso'),
956 956
 
957 957
 	// Reference: packages/components/src/bulkEdit/BulkActions.tsx:44
958
-	__( 'apply', 'event_espresso' ),
958
+	__('apply', 'event_espresso'),
959 959
 
960 960
 	// Reference: packages/components/src/bulkEdit/details/BulkEditDetailsProps.tsx:27
961
-	__( 'Bulk edit details', 'event_espresso' ),
961
+	__('Bulk edit details', 'event_espresso'),
962 962
 
963 963
 	// Reference: packages/components/src/bulkEdit/details/Submit.tsx:28
964
-	__( 'Are you sure you want to bulk update the details?', 'event_espresso' ),
964
+	__('Are you sure you want to bulk update the details?', 'event_espresso'),
965 965
 
966 966
 	// Reference: packages/components/src/bulkEdit/details/Submit.tsx:29
967
-	__( 'Bulk update details', 'event_espresso' ),
967
+	__('Bulk update details', 'event_espresso'),
968 968
 
969 969
 	// Reference: packages/components/src/bulkEdit/details/Warning.tsx:12
970
-	__( 'Note: ', 'event_espresso' ),
970
+	__('Note: ', 'event_espresso'),
971 971
 
972 972
 	// Reference: packages/components/src/bulkEdit/details/Warning.tsx:13
973
-	__( 'any changes will be applied to ALL of the selected entities.', 'event_espresso' ),
973
+	__('any changes will be applied to ALL of the selected entities.', 'event_espresso'),
974 974
 
975 975
 	// Reference: packages/dates/src/DateRangePicker.tsx:66
976 976
 	// Reference: packages/dates/src/DateRangePickerLegend.tsx:18
977
-	__( 'end date', 'event_espresso' ),
977
+	__('end date', 'event_espresso'),
978 978
 
979 979
 	// Reference: packages/dates/src/DateRangePickerLegend.tsx:14
980
-	__( 'day in range', 'event_espresso' ),
980
+	__('day in range', 'event_espresso'),
981 981
 
982 982
 	// Reference: packages/dates/src/DateTimePicker.tsx:8
983 983
 	// Reference: packages/dates/src/TimePicker.tsx:13
984
-	__( 'time', 'event_espresso' ),
984
+	__('time', 'event_espresso'),
985 985
 
986 986
 	// Reference: packages/edtr-services/src/apollo/queries/datetimes/useFetchDatetimes.ts:25
987
-	__( 'datetimes initialized', 'event_espresso' ),
987
+	__('datetimes initialized', 'event_espresso'),
988 988
 
989 989
 	// Reference: packages/edtr-services/src/apollo/queries/datetimes/useFetchDatetimes.ts:37
990
-	__( 'initializing datetimes', 'event_espresso' ),
990
+	__('initializing datetimes', 'event_espresso'),
991 991
 
992 992
 	// Reference: packages/edtr-services/src/apollo/queries/priceTypes/useFetchPriceTypes.ts:25
993
-	__( 'price types initialized', 'event_espresso' ),
993
+	__('price types initialized', 'event_espresso'),
994 994
 
995 995
 	// Reference: packages/edtr-services/src/apollo/queries/priceTypes/useFetchPriceTypes.ts:36
996
-	__( 'initializing  price types', 'event_espresso' ),
996
+	__('initializing  price types', 'event_espresso'),
997 997
 
998 998
 	// Reference: packages/edtr-services/src/apollo/queries/prices/useFetchPrices.ts:35
999
-	__( 'prices initialized', 'event_espresso' ),
999
+	__('prices initialized', 'event_espresso'),
1000 1000
 
1001 1001
 	// Reference: packages/edtr-services/src/apollo/queries/prices/useFetchPrices.ts:65
1002
-	__( 'initializing prices', 'event_espresso' ),
1002
+	__('initializing prices', 'event_espresso'),
1003 1003
 
1004 1004
 	// Reference: packages/edtr-services/src/apollo/queries/tickets/useFetchTickets.ts:31
1005
-	__( 'tickets initialized', 'event_espresso' ),
1005
+	__('tickets initialized', 'event_espresso'),
1006 1006
 
1007 1007
 	// Reference: packages/edtr-services/src/apollo/queries/tickets/useFetchTickets.ts:42
1008
-	__( 'initializing tickets', 'event_espresso' ),
1008
+	__('initializing tickets', 'event_espresso'),
1009 1009
 
1010 1010
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:11
1011
-	__( 'Start Date is required', 'event_espresso' ),
1011
+	__('Start Date is required', 'event_espresso'),
1012 1012
 
1013 1013
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:15
1014
-	__( 'End Date is required', 'event_espresso' ),
1014
+	__('End Date is required', 'event_espresso'),
1015 1015
 
1016 1016
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:5
1017
-	__( 'End Date & Time must be set later than the Start Date & Time', 'event_espresso' ),
1017
+	__('End Date & Time must be set later than the Start Date & Time', 'event_espresso'),
1018 1018
 
1019 1019
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:6
1020
-	__( 'Required', 'event_espresso' ),
1020
+	__('Required', 'event_espresso'),
1021 1021
 
1022 1022
 	// Reference: packages/form/src/renderers/RepeatableRenderer.tsx:30
1023
-	__( 'Entry %d', 'event_espresso' ),
1023
+	__('Entry %d', 'event_espresso'),
1024 1024
 
1025 1025
 	// Reference: packages/form/src/renderers/RepeatableRenderer.tsx:44
1026
-	__( 'Add', 'event_espresso' ),
1026
+	__('Add', 'event_espresso'),
1027 1027
 
1028 1028
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:11
1029 1029
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:17
1030
-	__( 'sold out', 'event_espresso' ),
1030
+	__('sold out', 'event_espresso'),
1031 1031
 
1032 1032
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:14
1033 1033
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:14
1034
-	__( 'expired', 'event_espresso' ),
1034
+	__('expired', 'event_espresso'),
1035 1035
 
1036 1036
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:17
1037
-	__( 'upcoming', 'event_espresso' ),
1037
+	__('upcoming', 'event_espresso'),
1038 1038
 
1039 1039
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:20
1040
-	__( 'active', 'event_espresso' ),
1040
+	__('active', 'event_espresso'),
1041 1041
 
1042 1042
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:23
1043 1043
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:11
1044
-	__( 'trashed', 'event_espresso' ),
1044
+	__('trashed', 'event_espresso'),
1045 1045
 
1046 1046
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:26
1047
-	__( 'cancelled', 'event_espresso' ),
1047
+	__('cancelled', 'event_espresso'),
1048 1048
 
1049 1049
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:29
1050
-	__( 'postponed', 'event_espresso' ),
1050
+	__('postponed', 'event_espresso'),
1051 1051
 
1052 1052
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:33
1053
-	__( 'inactive', 'event_espresso' ),
1053
+	__('inactive', 'event_espresso'),
1054 1054
 
1055 1055
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:20
1056
-	__( 'pending', 'event_espresso' ),
1056
+	__('pending', 'event_espresso'),
1057 1057
 
1058 1058
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:23
1059
-	__( 'on sale', 'event_espresso' ),
1059
+	__('on sale', 'event_espresso'),
1060 1060
 
1061 1061
 	// Reference: packages/predicates/src/registration/statusOptions.ts:10
1062
-	__( 'Cancelled', 'event_espresso' ),
1062
+	__('Cancelled', 'event_espresso'),
1063 1063
 
1064 1064
 	// Reference: packages/predicates/src/registration/statusOptions.ts:14
1065
-	__( 'Declined', 'event_espresso' ),
1065
+	__('Declined', 'event_espresso'),
1066 1066
 
1067 1067
 	// Reference: packages/predicates/src/registration/statusOptions.ts:18
1068
-	__( 'Incomplete', 'event_espresso' ),
1068
+	__('Incomplete', 'event_espresso'),
1069 1069
 
1070 1070
 	// Reference: packages/predicates/src/registration/statusOptions.ts:22
1071
-	__( 'Not Approved', 'event_espresso' ),
1071
+	__('Not Approved', 'event_espresso'),
1072 1072
 
1073 1073
 	// Reference: packages/predicates/src/registration/statusOptions.ts:26
1074
-	__( 'Pending Payment', 'event_espresso' ),
1074
+	__('Pending Payment', 'event_espresso'),
1075 1075
 
1076 1076
 	// Reference: packages/predicates/src/registration/statusOptions.ts:30
1077
-	__( 'Wait List', 'event_espresso' ),
1077
+	__('Wait List', 'event_espresso'),
1078 1078
 
1079 1079
 	// Reference: packages/predicates/src/registration/statusOptions.ts:6
1080
-	__( 'Approved', 'event_espresso' ),
1080
+	__('Approved', 'event_espresso'),
1081 1081
 
1082 1082
 	// Reference: packages/tpc/src/buttons/AddPriceModifierButton.tsx:15
1083
-	__( 'add new price modifier after this row', 'event_espresso' ),
1083
+	__('add new price modifier after this row', 'event_espresso'),
1084 1084
 
1085 1085
 	// Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:13
1086
-	__( 'Delete all prices', 'event_espresso' ),
1086
+	__('Delete all prices', 'event_espresso'),
1087 1087
 
1088 1088
 	// Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:26
1089
-	__( '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' ),
1089
+	__('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'),
1090 1090
 
1091 1091
 	// Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:30
1092
-	__( 'Delete all prices?', 'event_espresso' ),
1092
+	__('Delete all prices?', 'event_espresso'),
1093 1093
 
1094 1094
 	// Reference: packages/tpc/src/buttons/DeletePriceModifierButton.tsx:12
1095
-	__( 'delete price modifier', 'event_espresso' ),
1095
+	__('delete price modifier', 'event_espresso'),
1096 1096
 
1097 1097
 	// Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:15
1098
-	__( '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' ),
1098
+	__('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'),
1099 1099
 
1100 1100
 	// Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:18
1101
-	__( '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' ),
1101
+	__('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'),
1102 1102
 
1103 1103
 	// Reference: packages/tpc/src/buttons/TicketPriceCalculatorButton.tsx:30
1104
-	__( 'ticket price calculator', 'event_espresso' ),
1104
+	__('ticket price calculator', 'event_espresso'),
1105 1105
 
1106 1106
 	// Reference: packages/tpc/src/buttons/taxes/AddDefaultTaxesButton.tsx:10
1107 1107
 	// Reference: packages/tpc/src/components/DefaultTaxesInfo.tsx:30
1108
-	__( 'Add default taxes', 'event_espresso' ),
1108
+	__('Add default taxes', 'event_espresso'),
1109 1109
 
1110 1110
 	// Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:12
1111
-	__( 'Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso' ),
1111
+	__('Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso'),
1112 1112
 
1113 1113
 	// Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:16
1114
-	__( 'Remove all taxes?', 'event_espresso' ),
1114
+	__('Remove all taxes?', 'event_espresso'),
1115 1115
 
1116 1116
 	// Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:9
1117
-	__( 'Remove taxes', 'event_espresso' ),
1117
+	__('Remove taxes', 'event_espresso'),
1118 1118
 
1119 1119
 	// Reference: packages/tpc/src/components/DefaultPricesInfo.tsx:28
1120
-	__( 'Modify default prices.', 'event_espresso' ),
1120
+	__('Modify default prices.', 'event_espresso'),
1121 1121
 
1122 1122
 	// Reference: packages/tpc/src/components/DefaultTaxesInfo.tsx:29
1123
-	__( 'New default taxes are available. Click the "%s" button to add them now.', 'event_espresso' ),
1123
+	__('New default taxes are available. Click the "%s" button to add them now.', 'event_espresso'),
1124 1124
 
1125 1125
 	// Reference: packages/tpc/src/components/NoPricesBanner/AddDefaultPricesButton.tsx:10
1126
-	__( 'Add default prices', 'event_espresso' ),
1126
+	__('Add default prices', 'event_espresso'),
1127 1127
 
1128 1128
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:14
1129
-	__( 'This Ticket is Currently Free', 'event_espresso' ),
1129
+	__('This Ticket is Currently Free', 'event_espresso'),
1130 1130
 
1131 1131
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:22
1132 1132
 	/* translators: %s default prices */
1133
-	__( 'Click the button below to load your %s into the calculator.', 'event_espresso' ),
1133
+	__('Click the button below to load your %s into the calculator.', 'event_espresso'),
1134 1134
 
1135 1135
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:23
1136
-	__( 'default prices', 'event_espresso' ),
1136
+	__('default prices', 'event_espresso'),
1137 1137
 
1138 1138
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:30
1139
-	__( 'Additional ticket price modifiers can be added or removed.', 'event_espresso' ),
1139
+	__('Additional ticket price modifiers can be added or removed.', 'event_espresso'),
1140 1140
 
1141 1141
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:33
1142
-	__( 'Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso' ),
1142
+	__('Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso'),
1143 1143
 
1144 1144
 	// Reference: packages/tpc/src/components/TicketPriceCalculatorModal.tsx:31
1145
-	__( 'Price Calculator for Ticket: %s', 'event_espresso' ),
1145
+	__('Price Calculator for Ticket: %s', 'event_espresso'),
1146 1146
 
1147 1147
 	// Reference: packages/tpc/src/components/table/Table.tsx:44
1148
-	__( 'Ticket Price Calculator', 'event_espresso' ),
1148
+	__('Ticket Price Calculator', 'event_espresso'),
1149 1149
 
1150 1150
 	// Reference: packages/tpc/src/components/table/useFooterRowGenerator.tsx:42
1151
-	__( 'Total', 'event_espresso' ),
1151
+	__('Total', 'event_espresso'),
1152 1152
 
1153 1153
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:28
1154
-	__( 'Price Type', 'event_espresso' ),
1154
+	__('Price Type', 'event_espresso'),
1155 1155
 
1156 1156
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:34
1157
-	__( 'Label', 'event_espresso' ),
1157
+	__('Label', 'event_espresso'),
1158 1158
 
1159 1159
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:46
1160
-	__( 'Amount', 'event_espresso' ),
1160
+	__('Amount', 'event_espresso'),
1161 1161
 
1162 1162
 	// Reference: packages/tpc/src/inputs/PriceAmountInput.tsx:44
1163
-	__( 'amount...', 'event_espresso' ),
1163
+	__('amount...', 'event_espresso'),
1164 1164
 
1165 1165
 	// Reference: packages/tpc/src/inputs/PriceDescriptionInput.tsx:14
1166
-	__( 'description...', 'event_espresso' ),
1166
+	__('description...', 'event_espresso'),
1167 1167
 
1168 1168
 	// Reference: packages/tpc/src/inputs/PriceNameInput.tsx:14
1169
-	__( 'label...', 'event_espresso' ),
1169
+	__('label...', 'event_espresso'),
1170 1170
 
1171 1171
 	// Reference: packages/utils/src/date/misc.ts:31
1172
-	__( 'month(s)', 'event_espresso' ),
1172
+	__('month(s)', 'event_espresso'),
1173 1173
 
1174 1174
 	// Reference: packages/utils/src/date/misc.ts:32
1175
-	__( 'week(s)', 'event_espresso' ),
1175
+	__('week(s)', 'event_espresso'),
1176 1176
 
1177 1177
 	// Reference: packages/utils/src/date/misc.ts:33
1178
-	__( 'day(s)', 'event_espresso' ),
1178
+	__('day(s)', 'event_espresso'),
1179 1179
 
1180 1180
 	// Reference: packages/utils/src/date/misc.ts:34
1181
-	__( 'hour(s)', 'event_espresso' ),
1181
+	__('hour(s)', 'event_espresso'),
1182 1182
 
1183 1183
 	// Reference: packages/utils/src/date/misc.ts:35
1184
-	__( 'minute(s)', 'event_espresso' ),
1184
+	__('minute(s)', 'event_espresso'),
1185 1185
 
1186 1186
 	// Reference: packages/components/src/LoadingNotice/LoadingNotice.tsx:17
1187
-	_x( 'loading%s', 'loading...', 'event_espresso' )
1187
+	_x('loading%s', 'loading...', 'event_espresso')
1188 1188
 );
1189 1189
 /* THIS IS THE END OF THE GENERATED FILE */
Please login to merge, or discard this patch.
core/domain/services/graphql/data/mutations/TicketMutation.php 2 patches
Indentation   +189 added lines, -189 removed lines patch added patch discarded remove patch
@@ -24,193 +24,193 @@
 block discarded – undo
24 24
 class TicketMutation
25 25
 {
26 26
 
27
-    /**
28
-     * Maps the GraphQL input to a format that the model functions can use
29
-     *
30
-     * @param array $input Data coming from the GraphQL mutation query input
31
-     * @return array
32
-     * @throws Exception
33
-     */
34
-    public static function prepareFields(array $input)
35
-    {
36
-        $args = [];
37
-
38
-        if (! empty($input['datetimes'])) {
39
-            $args['datetimes'] = array_map('sanitize_text_field', (array) $input['datetimes']);
40
-        }
41
-
42
-        if (isset($input['description'])) {
43
-            $args['TKT_description'] = wp_kses_post($input['description']);
44
-        }
45
-
46
-        if (! empty($input['endDate'])) {
47
-            $args['TKT_end_date'] = new DateTime(sanitize_text_field($input['endDate']));
48
-        }
49
-
50
-        if (array_key_exists('isDefault', $input)) {
51
-            $args['TKT_is_default'] = (bool) $input['isDefault'];
52
-        }
53
-
54
-        if (array_key_exists('isRequired', $input)) {
55
-            $args['TKT_required'] = (bool) $input['isRequired'];
56
-        }
57
-
58
-        if (array_key_exists('isTaxable', $input)) {
59
-            $args['TKT_taxable'] = (bool) $input['isTaxable'];
60
-        }
61
-
62
-        if (array_key_exists('isTrashed', $input)) {
63
-            $args['TKT_deleted'] = (bool) $input['isTrashed'];
64
-        }
65
-
66
-        if (array_key_exists('max', $input)) {
67
-            $args['TKT_max'] = (int) $input['max'];
68
-        }
69
-
70
-        if (array_key_exists('min', $input)) {
71
-            $args['TKT_min'] = (int) $input['min'];
72
-        }
73
-
74
-        if (isset($input['name'])) {
75
-            $args['TKT_name'] = sanitize_text_field($input['name']);
76
-        }
77
-
78
-        if (array_key_exists('order', $input)) {
79
-            $args['TKT_order'] = (int) $input['order'];
80
-        }
81
-
82
-        if (! empty($input['parent'])) {
83
-            $parts = Relay::fromGlobalId(sanitize_text_field($input['parent']));
84
-            $args['TKT_parent'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
85
-        }
86
-
87
-        // price can be 0
88
-        if (array_key_exists('price', $input)) {
89
-            $args['TKT_price'] = (float) $input['price'];
90
-        }
91
-
92
-        // prices can be an empty array when all prices are deleted
93
-        if (array_key_exists('prices', $input) && is_array($input['prices'])) {
94
-            $args['prices'] = array_map('sanitize_text_field', $input['prices']);
95
-        }
96
-
97
-        if (array_key_exists('quantity', $input)) {
98
-            $args['TKT_qty'] = (int) $input['quantity'];
99
-        }
100
-
101
-        if (array_key_exists('reserved', $input)) {
102
-            $args['TKT_reserved'] = (int) $input['reserved'];
103
-        }
104
-
105
-        if (array_key_exists('reverseCalculate', $input)) {
106
-            $args['TKT_reverse_calculate'] = (bool) $input['reverseCalculate'];
107
-        }
108
-
109
-        if (array_key_exists('row', $input)) {
110
-            $args['TKT_row'] = (int) $input['row'];
111
-        }
112
-
113
-        if (array_key_exists('sold', $input)) {
114
-            $args['TKT_sold'] = (int) $input['sold'];
115
-        }
116
-
117
-        if (! empty($input['startDate'])) {
118
-            $args['TKT_start_date'] = new DateTime(sanitize_text_field($input['startDate']));
119
-        }
120
-
121
-        if (array_key_exists('uses', $input)) {
122
-            $args['TKT_uses'] = (int) $input['uses'];
123
-        }
124
-
125
-        if (! empty($input['wpUser'])) {
126
-            $parts = Relay::fromGlobalId(sanitize_text_field($input['wpUser']));
127
-            $args['TKT_wp_user'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
128
-        }
129
-
130
-        return apply_filters(
131
-            'FHEE__EventEspresso_core_domain_services_graphql_data_mutations__ticket_args',
132
-            $args,
133
-            $input
134
-        );
135
-    }
136
-
137
-
138
-    /**
139
-     * Sets the related datetimes for the given ticket.
140
-     *
141
-     * @param EE_Ticket $entity    The Ticket instance.
142
-     * @param array     $datetimes Array of datetime IDs to relate.
143
-     * @throws EE_Error
144
-     * @throws InvalidArgumentException
145
-     * @throws InvalidDataTypeException
146
-     * @throws InvalidInterfaceException
147
-     * @throws ReflectionException
148
-     */
149
-    public static function setRelatedDatetimes($entity, array $datetimes)
150
-    {
151
-        $relationName = 'Datetime';
152
-        // Remove all the existing related datetimes
153
-
154
-        $entity->_remove_relations($relationName);
155
-        // @todo replace loop with single query
156
-        foreach ($datetimes as $ID) {
157
-            $parts = Relay::fromGlobalId($ID);
158
-            if (! empty($parts['id']) && absint($parts['id'])) {
159
-                $entity->_add_relation_to(
160
-                    $parts['id'],
161
-                    $relationName
162
-                );
163
-            }
164
-        }
165
-    }
166
-
167
-
168
-    /**
169
-     * Sets the related prices for the given ticket.
170
-     *
171
-     * @param EE_Ticket $entity The Ticket instance.
172
-     * @param array     $prices Array of entity IDs to relate.
173
-     * @throws EE_Error
174
-     * @throws InvalidArgumentException
175
-     * @throws InvalidDataTypeException
176
-     * @throws InvalidInterfaceException
177
-     * @throws ReflectionException
178
-     */
179
-    public static function setRelatedPrices($entity, array $prices)
180
-    {
181
-        $relationName = 'Price';
182
-        // Remove all the existing related entities
183
-        $entity->_remove_relations($relationName);
184
-
185
-        // @todo replace loop with single query
186
-        foreach ($prices as $ID) {
187
-            $parts = Relay::fromGlobalId($ID);
188
-            if (! empty($parts['id']) && absint($parts['id'])) {
189
-                $entity->_add_relation_to(
190
-                    $parts['id'],
191
-                    $relationName
192
-                );
193
-            }
194
-        }
195
-    }
196
-
197
-
198
-    /**
199
-     * @param EE_Ticket  $ticket_entity
200
-     * @param EEM_Ticket $ticket_model
201
-     * @throws EE_Error
202
-     * @throws InvalidArgumentException
203
-     * @throws InvalidDataTypeException
204
-     * @throws InvalidInterfaceException
205
-     * @throws ReflectionException
206
-     * @since $VID:$
207
-     */
208
-    public static function addDefaultPrices(EE_Ticket $ticket_entity, EEM_Ticket $ticket_model)
209
-    {
210
-        /** @var DefaultPrices $default_prices */
211
-        $default_prices = LoaderFactory::getLoader()->getShared(
212
-            'EventEspresso\core\domain\services\admin\entities\DefaultPrices'
213
-        );
214
-        $default_prices->create($ticket_entity);
215
-    }
27
+	/**
28
+	 * Maps the GraphQL input to a format that the model functions can use
29
+	 *
30
+	 * @param array $input Data coming from the GraphQL mutation query input
31
+	 * @return array
32
+	 * @throws Exception
33
+	 */
34
+	public static function prepareFields(array $input)
35
+	{
36
+		$args = [];
37
+
38
+		if (! empty($input['datetimes'])) {
39
+			$args['datetimes'] = array_map('sanitize_text_field', (array) $input['datetimes']);
40
+		}
41
+
42
+		if (isset($input['description'])) {
43
+			$args['TKT_description'] = wp_kses_post($input['description']);
44
+		}
45
+
46
+		if (! empty($input['endDate'])) {
47
+			$args['TKT_end_date'] = new DateTime(sanitize_text_field($input['endDate']));
48
+		}
49
+
50
+		if (array_key_exists('isDefault', $input)) {
51
+			$args['TKT_is_default'] = (bool) $input['isDefault'];
52
+		}
53
+
54
+		if (array_key_exists('isRequired', $input)) {
55
+			$args['TKT_required'] = (bool) $input['isRequired'];
56
+		}
57
+
58
+		if (array_key_exists('isTaxable', $input)) {
59
+			$args['TKT_taxable'] = (bool) $input['isTaxable'];
60
+		}
61
+
62
+		if (array_key_exists('isTrashed', $input)) {
63
+			$args['TKT_deleted'] = (bool) $input['isTrashed'];
64
+		}
65
+
66
+		if (array_key_exists('max', $input)) {
67
+			$args['TKT_max'] = (int) $input['max'];
68
+		}
69
+
70
+		if (array_key_exists('min', $input)) {
71
+			$args['TKT_min'] = (int) $input['min'];
72
+		}
73
+
74
+		if (isset($input['name'])) {
75
+			$args['TKT_name'] = sanitize_text_field($input['name']);
76
+		}
77
+
78
+		if (array_key_exists('order', $input)) {
79
+			$args['TKT_order'] = (int) $input['order'];
80
+		}
81
+
82
+		if (! empty($input['parent'])) {
83
+			$parts = Relay::fromGlobalId(sanitize_text_field($input['parent']));
84
+			$args['TKT_parent'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
85
+		}
86
+
87
+		// price can be 0
88
+		if (array_key_exists('price', $input)) {
89
+			$args['TKT_price'] = (float) $input['price'];
90
+		}
91
+
92
+		// prices can be an empty array when all prices are deleted
93
+		if (array_key_exists('prices', $input) && is_array($input['prices'])) {
94
+			$args['prices'] = array_map('sanitize_text_field', $input['prices']);
95
+		}
96
+
97
+		if (array_key_exists('quantity', $input)) {
98
+			$args['TKT_qty'] = (int) $input['quantity'];
99
+		}
100
+
101
+		if (array_key_exists('reserved', $input)) {
102
+			$args['TKT_reserved'] = (int) $input['reserved'];
103
+		}
104
+
105
+		if (array_key_exists('reverseCalculate', $input)) {
106
+			$args['TKT_reverse_calculate'] = (bool) $input['reverseCalculate'];
107
+		}
108
+
109
+		if (array_key_exists('row', $input)) {
110
+			$args['TKT_row'] = (int) $input['row'];
111
+		}
112
+
113
+		if (array_key_exists('sold', $input)) {
114
+			$args['TKT_sold'] = (int) $input['sold'];
115
+		}
116
+
117
+		if (! empty($input['startDate'])) {
118
+			$args['TKT_start_date'] = new DateTime(sanitize_text_field($input['startDate']));
119
+		}
120
+
121
+		if (array_key_exists('uses', $input)) {
122
+			$args['TKT_uses'] = (int) $input['uses'];
123
+		}
124
+
125
+		if (! empty($input['wpUser'])) {
126
+			$parts = Relay::fromGlobalId(sanitize_text_field($input['wpUser']));
127
+			$args['TKT_wp_user'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
128
+		}
129
+
130
+		return apply_filters(
131
+			'FHEE__EventEspresso_core_domain_services_graphql_data_mutations__ticket_args',
132
+			$args,
133
+			$input
134
+		);
135
+	}
136
+
137
+
138
+	/**
139
+	 * Sets the related datetimes for the given ticket.
140
+	 *
141
+	 * @param EE_Ticket $entity    The Ticket instance.
142
+	 * @param array     $datetimes Array of datetime IDs to relate.
143
+	 * @throws EE_Error
144
+	 * @throws InvalidArgumentException
145
+	 * @throws InvalidDataTypeException
146
+	 * @throws InvalidInterfaceException
147
+	 * @throws ReflectionException
148
+	 */
149
+	public static function setRelatedDatetimes($entity, array $datetimes)
150
+	{
151
+		$relationName = 'Datetime';
152
+		// Remove all the existing related datetimes
153
+
154
+		$entity->_remove_relations($relationName);
155
+		// @todo replace loop with single query
156
+		foreach ($datetimes as $ID) {
157
+			$parts = Relay::fromGlobalId($ID);
158
+			if (! empty($parts['id']) && absint($parts['id'])) {
159
+				$entity->_add_relation_to(
160
+					$parts['id'],
161
+					$relationName
162
+				);
163
+			}
164
+		}
165
+	}
166
+
167
+
168
+	/**
169
+	 * Sets the related prices for the given ticket.
170
+	 *
171
+	 * @param EE_Ticket $entity The Ticket instance.
172
+	 * @param array     $prices Array of entity IDs to relate.
173
+	 * @throws EE_Error
174
+	 * @throws InvalidArgumentException
175
+	 * @throws InvalidDataTypeException
176
+	 * @throws InvalidInterfaceException
177
+	 * @throws ReflectionException
178
+	 */
179
+	public static function setRelatedPrices($entity, array $prices)
180
+	{
181
+		$relationName = 'Price';
182
+		// Remove all the existing related entities
183
+		$entity->_remove_relations($relationName);
184
+
185
+		// @todo replace loop with single query
186
+		foreach ($prices as $ID) {
187
+			$parts = Relay::fromGlobalId($ID);
188
+			if (! empty($parts['id']) && absint($parts['id'])) {
189
+				$entity->_add_relation_to(
190
+					$parts['id'],
191
+					$relationName
192
+				);
193
+			}
194
+		}
195
+	}
196
+
197
+
198
+	/**
199
+	 * @param EE_Ticket  $ticket_entity
200
+	 * @param EEM_Ticket $ticket_model
201
+	 * @throws EE_Error
202
+	 * @throws InvalidArgumentException
203
+	 * @throws InvalidDataTypeException
204
+	 * @throws InvalidInterfaceException
205
+	 * @throws ReflectionException
206
+	 * @since $VID:$
207
+	 */
208
+	public static function addDefaultPrices(EE_Ticket $ticket_entity, EEM_Ticket $ticket_model)
209
+	{
210
+		/** @var DefaultPrices $default_prices */
211
+		$default_prices = LoaderFactory::getLoader()->getShared(
212
+			'EventEspresso\core\domain\services\admin\entities\DefaultPrices'
213
+		);
214
+		$default_prices->create($ticket_entity);
215
+	}
216 216
 }
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $args = [];
37 37
 
38
-        if (! empty($input['datetimes'])) {
38
+        if ( ! empty($input['datetimes'])) {
39 39
             $args['datetimes'] = array_map('sanitize_text_field', (array) $input['datetimes']);
40 40
         }
41 41
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
             $args['TKT_description'] = wp_kses_post($input['description']);
44 44
         }
45 45
 
46
-        if (! empty($input['endDate'])) {
46
+        if ( ! empty($input['endDate'])) {
47 47
             $args['TKT_end_date'] = new DateTime(sanitize_text_field($input['endDate']));
48 48
         }
49 49
 
@@ -79,9 +79,9 @@  discard block
 block discarded – undo
79 79
             $args['TKT_order'] = (int) $input['order'];
80 80
         }
81 81
 
82
-        if (! empty($input['parent'])) {
82
+        if ( ! empty($input['parent'])) {
83 83
             $parts = Relay::fromGlobalId(sanitize_text_field($input['parent']));
84
-            $args['TKT_parent'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
84
+            $args['TKT_parent'] = ( ! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
85 85
         }
86 86
 
87 87
         // price can be 0
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
             $args['TKT_sold'] = (int) $input['sold'];
115 115
         }
116 116
 
117
-        if (! empty($input['startDate'])) {
117
+        if ( ! empty($input['startDate'])) {
118 118
             $args['TKT_start_date'] = new DateTime(sanitize_text_field($input['startDate']));
119 119
         }
120 120
 
@@ -122,9 +122,9 @@  discard block
 block discarded – undo
122 122
             $args['TKT_uses'] = (int) $input['uses'];
123 123
         }
124 124
 
125
-        if (! empty($input['wpUser'])) {
125
+        if ( ! empty($input['wpUser'])) {
126 126
             $parts = Relay::fromGlobalId(sanitize_text_field($input['wpUser']));
127
-            $args['TKT_wp_user'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
127
+            $args['TKT_wp_user'] = ( ! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
128 128
         }
129 129
 
130 130
         return apply_filters(
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         // @todo replace loop with single query
156 156
         foreach ($datetimes as $ID) {
157 157
             $parts = Relay::fromGlobalId($ID);
158
-            if (! empty($parts['id']) && absint($parts['id'])) {
158
+            if ( ! empty($parts['id']) && absint($parts['id'])) {
159 159
                 $entity->_add_relation_to(
160 160
                     $parts['id'],
161 161
                     $relationName
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
         // @todo replace loop with single query
186 186
         foreach ($prices as $ID) {
187 187
             $parts = Relay::fromGlobalId($ID);
188
-            if (! empty($parts['id']) && absint($parts['id'])) {
188
+            if ( ! empty($parts['id']) && absint($parts['id'])) {
189 189
                 $entity->_add_relation_to(
190 190
                     $parts['id'],
191 191
                     $relationName
Please login to merge, or discard this patch.
core/domain/services/graphql/data/mutations/PriceMutation.php 1 patch
Indentation   +49 added lines, -49 removed lines patch added patch discarded remove patch
@@ -13,64 +13,64 @@
 block discarded – undo
13 13
 class PriceMutation
14 14
 {
15 15
 
16
-    /**
17
-     * Maps the GraphQL input to a format that the model functions can use
18
-     *
19
-     * @param array $input Data coming from the GraphQL mutation query input
20
-     * @return array
21
-     */
22
-    public static function prepareFields(array $input)
23
-    {
24
-        $args = [];
16
+	/**
17
+	 * Maps the GraphQL input to a format that the model functions can use
18
+	 *
19
+	 * @param array $input Data coming from the GraphQL mutation query input
20
+	 * @return array
21
+	 */
22
+	public static function prepareFields(array $input)
23
+	{
24
+		$args = [];
25 25
 
26
-        // amount can be 0
27
-        if (array_key_exists('amount', $input)) {
28
-            $args['PRC_amount'] = (float) $input['amount'];
29
-        }
26
+		// amount can be 0
27
+		if (array_key_exists('amount', $input)) {
28
+			$args['PRC_amount'] = (float) $input['amount'];
29
+		}
30 30
 
31
-        if (isset($input['description'])) {
32
-            $args['PRC_desc'] = wp_kses_post($input['description']);
33
-        }
31
+		if (isset($input['description'])) {
32
+			$args['PRC_desc'] = wp_kses_post($input['description']);
33
+		}
34 34
 
35
-        if (array_key_exists('isDefault', $input)) {
36
-            $args['PRC_is_default'] = (bool) $input['isDefault'];
37
-        }
35
+		if (array_key_exists('isDefault', $input)) {
36
+			$args['PRC_is_default'] = (bool) $input['isDefault'];
37
+		}
38 38
 
39
-        if (array_key_exists('isTrashed', $input)) {
40
-            $args['PRC_deleted'] = (bool) $input['isTrashed'];
41
-        }
39
+		if (array_key_exists('isTrashed', $input)) {
40
+			$args['PRC_deleted'] = (bool) $input['isTrashed'];
41
+		}
42 42
 
43
-        if (isset($input['name'])) {
44
-            $args['PRC_name'] = sanitize_text_field($input['name']);
45
-        }
43
+		if (isset($input['name'])) {
44
+			$args['PRC_name'] = sanitize_text_field($input['name']);
45
+		}
46 46
 
47
-        if (! empty($input['order'])) {
48
-            $args['PRC_order'] = (int) $input['order'];
49
-        }
47
+		if (! empty($input['order'])) {
48
+			$args['PRC_order'] = (int) $input['order'];
49
+		}
50 50
 
51
-        if (! empty($input['overrides'])) {
52
-            $args['PRC_overrides'] = (int) $input['overrides'];
53
-        }
51
+		if (! empty($input['overrides'])) {
52
+			$args['PRC_overrides'] = (int) $input['overrides'];
53
+		}
54 54
 
55
-        if (! empty($input['parent'])) {
56
-            $parts = Relay::fromGlobalId(sanitize_text_field($input['parent']));
57
-            $args['PRC_parent'] = ! empty($parts['id']) ? absint($parts['id']) : 0;
58
-        }
55
+		if (! empty($input['parent'])) {
56
+			$parts = Relay::fromGlobalId(sanitize_text_field($input['parent']));
57
+			$args['PRC_parent'] = ! empty($parts['id']) ? absint($parts['id']) : 0;
58
+		}
59 59
 
60
-        if (! empty($input['priceType'])) {
61
-            $parts = Relay::fromGlobalId(sanitize_text_field($input['priceType']));
62
-            $args['PRT_ID'] = ! empty($parts['id']) ? absint($parts['id']) : 0;
63
-        }
60
+		if (! empty($input['priceType'])) {
61
+			$parts = Relay::fromGlobalId(sanitize_text_field($input['priceType']));
62
+			$args['PRT_ID'] = ! empty($parts['id']) ? absint($parts['id']) : 0;
63
+		}
64 64
 
65
-        if (! empty($input['wpUser'])) {
66
-            $parts = Relay::fromGlobalId(sanitize_text_field($input['wpUser']));
67
-            $args['PRC_wp_user'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
68
-        }
65
+		if (! empty($input['wpUser'])) {
66
+			$parts = Relay::fromGlobalId(sanitize_text_field($input['wpUser']));
67
+			$args['PRC_wp_user'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
68
+		}
69 69
 
70
-        return apply_filters(
71
-            'FHEE__EventEspresso_core_domain_services_graphql_data_mutations__price_args',
72
-            $args,
73
-            $input
74
-        );
75
-    }
70
+		return apply_filters(
71
+			'FHEE__EventEspresso_core_domain_services_graphql_data_mutations__price_args',
72
+			$args,
73
+			$input
74
+		);
75
+	}
76 76
 }
Please login to merge, or discard this patch.
core/domain/services/graphql/data/mutations/VenueMutation.php 2 patches
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -11,36 +11,36 @@
 block discarded – undo
11 11
 class VenueMutation
12 12
 {
13 13
 
14
-    /**
15
-     * Maps the GraphQL input to a format that the model functions can use
16
-     *
17
-     * @param array  $input         Data coming from the GraphQL mutation query input
18
-     * @param string $mutation_name Name of the mutation being performed
19
-     * @return array
20
-     */
21
-    public static function prepareFields(array $input, $mutation_name)
22
-    {
23
-
24
-        $args = [];
25
-
26
-        if (! empty($input['name'])) {
27
-            $args['VNU_name'] = sanitize_text_field($input['name']);
28
-        }
29
-
30
-        if (! empty($input['description'])) {
31
-            $args['VNU_desc'] = wp_kses_post($input['description']);
32
-        }
33
-
34
-        if (! empty($input['shortDescription'])) {
35
-            $args['VNU_short_desc'] = sanitize_text_field($input['shortDescription']);
36
-        }
37
-
38
-        // Likewise the other fields...
39
-
40
-        return apply_filters(
41
-            'FHEE__EventEspresso_core_domain_services_graphql_data_mutations__venue_args',
42
-            $args,
43
-            $input
44
-        );
45
-    }
14
+	/**
15
+	 * Maps the GraphQL input to a format that the model functions can use
16
+	 *
17
+	 * @param array  $input         Data coming from the GraphQL mutation query input
18
+	 * @param string $mutation_name Name of the mutation being performed
19
+	 * @return array
20
+	 */
21
+	public static function prepareFields(array $input, $mutation_name)
22
+	{
23
+
24
+		$args = [];
25
+
26
+		if (! empty($input['name'])) {
27
+			$args['VNU_name'] = sanitize_text_field($input['name']);
28
+		}
29
+
30
+		if (! empty($input['description'])) {
31
+			$args['VNU_desc'] = wp_kses_post($input['description']);
32
+		}
33
+
34
+		if (! empty($input['shortDescription'])) {
35
+			$args['VNU_short_desc'] = sanitize_text_field($input['shortDescription']);
36
+		}
37
+
38
+		// Likewise the other fields...
39
+
40
+		return apply_filters(
41
+			'FHEE__EventEspresso_core_domain_services_graphql_data_mutations__venue_args',
42
+			$args,
43
+			$input
44
+		);
45
+	}
46 46
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,15 +23,15 @@
 block discarded – undo
23 23
 
24 24
         $args = [];
25 25
 
26
-        if (! empty($input['name'])) {
26
+        if ( ! empty($input['name'])) {
27 27
             $args['VNU_name'] = sanitize_text_field($input['name']);
28 28
         }
29 29
 
30
-        if (! empty($input['description'])) {
30
+        if ( ! empty($input['description'])) {
31 31
             $args['VNU_desc'] = wp_kses_post($input['description']);
32 32
         }
33 33
 
34
-        if (! empty($input['shortDescription'])) {
34
+        if ( ! empty($input['shortDescription'])) {
35 35
             $args['VNU_short_desc'] = sanitize_text_field($input['shortDescription']);
36 36
         }
37 37
 
Please login to merge, or discard this patch.
core/domain/services/graphql/data/mutations/EventMutation.php 2 patches
Indentation   +78 added lines, -78 removed lines patch added patch discarded remove patch
@@ -14,82 +14,82 @@
 block discarded – undo
14 14
 class EventMutation
15 15
 {
16 16
 
17
-    /**
18
-     * Maps the GraphQL input to a format that the model functions can use
19
-     *
20
-     * @param array  $input         Data coming from the GraphQL mutation query input
21
-     * @param string $mutation_name Name of the mutation being performed
22
-     * @return array
23
-     * @throws Exception
24
-     */
25
-    public static function prepareFields(array $input, $mutation_name)
26
-    {
27
-        $args = [];
28
-
29
-        if (! empty($input['additionalLimit'])) {
30
-            $args['EVT_additional_limit'] = absint($input['additionalLimit']);
31
-        }
32
-
33
-        if (array_key_exists('allowOverflow', $input)) {
34
-            $args['EVT_allow_overflow'] = (bool) ($input['allowOverflow']);
35
-        }
36
-
37
-        if (! empty($input['description'])) {
38
-            $args['EVT_desc'] = wp_kses_post($input['description']);
39
-        }
40
-
41
-        if (array_key_exists('displayDesc', $input)) {
42
-            $args['EVT_display_desc'] = (bool) ($input['displayDesc']);
43
-        }
44
-
45
-        if (array_key_exists('displayTicketSelector', $input)) {
46
-            $args['EVT_display_ticket_selector'] = (bool) ($input['displayTicketSelector']);
47
-        }
48
-
49
-        if (array_key_exists('donations', $input)) {
50
-            $args['EVT_donations'] = (bool) ($input['donations']);
51
-        }
52
-
53
-        if (! empty($input['externalUrl'])) {
54
-            $args['EVT_external_URL'] = sanitize_text_field($input['externalUrl']);
55
-        }
56
-
57
-        if (array_key_exists('memberOnly', $input)) {
58
-            $args['EVT_member_only'] = (bool) ($input['memberOnly']);
59
-        }
60
-
61
-        if (! empty($input['name'])) {
62
-            $args['EVT_name'] = sanitize_text_field($input['name']);
63
-        }
64
-
65
-        if (! empty($input['order'])) {
66
-            $args['EVT_order'] = absint($input['order']);
67
-        }
68
-
69
-        if (! empty($input['phone'])) {
70
-            $args['EVT_phone'] = sanitize_text_field($input['phone']);
71
-        }
72
-
73
-        if (! empty($input['shortDescription'])) {
74
-            $args['EVT_short_desc'] = sanitize_post_field('post_excerpt', $input['shortDescription'], null, $context = 'db');
75
-        }
76
-
77
-        if (! empty($input['timezoneString'])) {
78
-            $args['EVT_timezone_string'] = sanitize_text_field($input['timezoneString']);
79
-        }
80
-
81
-        if (! empty($input['visibleOn'])) {
82
-            $args['EVT_visible_on'] = new DateTime(sanitize_text_field($input['visibleOn']));
83
-        }
84
-
85
-        if (! empty($input['wpUser'])) {
86
-            $args['EVT_wp_user'] = absint($input['wpUser']);
87
-        }
88
-
89
-        return apply_filters(
90
-            'FHEE__EventEspresso_core_domain_services_graphql_data_mutations__event_args',
91
-            $args,
92
-            $input
93
-        );
94
-    }
17
+	/**
18
+	 * Maps the GraphQL input to a format that the model functions can use
19
+	 *
20
+	 * @param array  $input         Data coming from the GraphQL mutation query input
21
+	 * @param string $mutation_name Name of the mutation being performed
22
+	 * @return array
23
+	 * @throws Exception
24
+	 */
25
+	public static function prepareFields(array $input, $mutation_name)
26
+	{
27
+		$args = [];
28
+
29
+		if (! empty($input['additionalLimit'])) {
30
+			$args['EVT_additional_limit'] = absint($input['additionalLimit']);
31
+		}
32
+
33
+		if (array_key_exists('allowOverflow', $input)) {
34
+			$args['EVT_allow_overflow'] = (bool) ($input['allowOverflow']);
35
+		}
36
+
37
+		if (! empty($input['description'])) {
38
+			$args['EVT_desc'] = wp_kses_post($input['description']);
39
+		}
40
+
41
+		if (array_key_exists('displayDesc', $input)) {
42
+			$args['EVT_display_desc'] = (bool) ($input['displayDesc']);
43
+		}
44
+
45
+		if (array_key_exists('displayTicketSelector', $input)) {
46
+			$args['EVT_display_ticket_selector'] = (bool) ($input['displayTicketSelector']);
47
+		}
48
+
49
+		if (array_key_exists('donations', $input)) {
50
+			$args['EVT_donations'] = (bool) ($input['donations']);
51
+		}
52
+
53
+		if (! empty($input['externalUrl'])) {
54
+			$args['EVT_external_URL'] = sanitize_text_field($input['externalUrl']);
55
+		}
56
+
57
+		if (array_key_exists('memberOnly', $input)) {
58
+			$args['EVT_member_only'] = (bool) ($input['memberOnly']);
59
+		}
60
+
61
+		if (! empty($input['name'])) {
62
+			$args['EVT_name'] = sanitize_text_field($input['name']);
63
+		}
64
+
65
+		if (! empty($input['order'])) {
66
+			$args['EVT_order'] = absint($input['order']);
67
+		}
68
+
69
+		if (! empty($input['phone'])) {
70
+			$args['EVT_phone'] = sanitize_text_field($input['phone']);
71
+		}
72
+
73
+		if (! empty($input['shortDescription'])) {
74
+			$args['EVT_short_desc'] = sanitize_post_field('post_excerpt', $input['shortDescription'], null, $context = 'db');
75
+		}
76
+
77
+		if (! empty($input['timezoneString'])) {
78
+			$args['EVT_timezone_string'] = sanitize_text_field($input['timezoneString']);
79
+		}
80
+
81
+		if (! empty($input['visibleOn'])) {
82
+			$args['EVT_visible_on'] = new DateTime(sanitize_text_field($input['visibleOn']));
83
+		}
84
+
85
+		if (! empty($input['wpUser'])) {
86
+			$args['EVT_wp_user'] = absint($input['wpUser']);
87
+		}
88
+
89
+		return apply_filters(
90
+			'FHEE__EventEspresso_core_domain_services_graphql_data_mutations__event_args',
91
+			$args,
92
+			$input
93
+		);
94
+	}
95 95
 }
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     {
27 27
         $args = [];
28 28
 
29
-        if (! empty($input['additionalLimit'])) {
29
+        if ( ! empty($input['additionalLimit'])) {
30 30
             $args['EVT_additional_limit'] = absint($input['additionalLimit']);
31 31
         }
32 32
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             $args['EVT_allow_overflow'] = (bool) ($input['allowOverflow']);
35 35
         }
36 36
 
37
-        if (! empty($input['description'])) {
37
+        if ( ! empty($input['description'])) {
38 38
             $args['EVT_desc'] = wp_kses_post($input['description']);
39 39
         }
40 40
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             $args['EVT_donations'] = (bool) ($input['donations']);
51 51
         }
52 52
 
53
-        if (! empty($input['externalUrl'])) {
53
+        if ( ! empty($input['externalUrl'])) {
54 54
             $args['EVT_external_URL'] = sanitize_text_field($input['externalUrl']);
55 55
         }
56 56
 
@@ -58,31 +58,31 @@  discard block
 block discarded – undo
58 58
             $args['EVT_member_only'] = (bool) ($input['memberOnly']);
59 59
         }
60 60
 
61
-        if (! empty($input['name'])) {
61
+        if ( ! empty($input['name'])) {
62 62
             $args['EVT_name'] = sanitize_text_field($input['name']);
63 63
         }
64 64
 
65
-        if (! empty($input['order'])) {
65
+        if ( ! empty($input['order'])) {
66 66
             $args['EVT_order'] = absint($input['order']);
67 67
         }
68 68
 
69
-        if (! empty($input['phone'])) {
69
+        if ( ! empty($input['phone'])) {
70 70
             $args['EVT_phone'] = sanitize_text_field($input['phone']);
71 71
         }
72 72
 
73
-        if (! empty($input['shortDescription'])) {
73
+        if ( ! empty($input['shortDescription'])) {
74 74
             $args['EVT_short_desc'] = sanitize_post_field('post_excerpt', $input['shortDescription'], null, $context = 'db');
75 75
         }
76 76
 
77
-        if (! empty($input['timezoneString'])) {
77
+        if ( ! empty($input['timezoneString'])) {
78 78
             $args['EVT_timezone_string'] = sanitize_text_field($input['timezoneString']);
79 79
         }
80 80
 
81
-        if (! empty($input['visibleOn'])) {
81
+        if ( ! empty($input['visibleOn'])) {
82 82
             $args['EVT_visible_on'] = new DateTime(sanitize_text_field($input['visibleOn']));
83 83
         }
84 84
 
85
-        if (! empty($input['wpUser'])) {
85
+        if ( ! empty($input['wpUser'])) {
86 86
             $args['EVT_wp_user'] = absint($input['wpUser']);
87 87
         }
88 88
 
Please login to merge, or discard this patch.
core/domain/services/graphql/data/mutations/DatetimeMutation.php 2 patches
Indentation   +102 added lines, -102 removed lines patch added patch discarded remove patch
@@ -21,106 +21,106 @@
 block discarded – undo
21 21
 class DatetimeMutation
22 22
 {
23 23
 
24
-    /**
25
-     * Maps the GraphQL input to a format that the model functions can use
26
-     *
27
-     * @param array $input Data coming from the GraphQL mutation query input
28
-     * @return array
29
-     * @throws Exception
30
-     */
31
-    public static function prepareFields(array $input)
32
-    {
33
-        $args = [];
34
-
35
-        if (array_key_exists('capacity', $input)) {
36
-            $args['DTT_reg_limit'] = (int) $input['capacity'];
37
-        }
38
-
39
-        if (isset($input['description'])) {
40
-            $args['DTT_description'] = wp_kses_post($input['description']);
41
-        }
42
-
43
-        if (! empty($input['endDate'])) {
44
-            $args['DTT_EVT_end'] = new DateTime(sanitize_text_field($input['endDate']));
45
-        }
46
-
47
-        if (! empty($input['eventId'])) {
48
-            $args['EVT_ID'] = absint($input['eventId']);
49
-        } elseif (! empty($input['event'])) {
50
-            $parts = Relay::fromGlobalId(sanitize_text_field($input['event']));
51
-            $args['EVT_ID'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
52
-        }
53
-
54
-        if (array_key_exists('isPrimary', $input)) {
55
-            $args['DTT_is_primary'] = (bool) $input['isPrimary'];
56
-        }
57
-
58
-        if (array_key_exists('isTrashed', $input)) {
59
-            $args['DTT_deleted'] = (bool) $input['isTrashed'];
60
-        }
61
-
62
-        if (isset($input['name'])) {
63
-            $args['DTT_name'] = sanitize_text_field($input['name']);
64
-        }
65
-
66
-        if (array_key_exists('order', $input)) {
67
-            $args['DTT_order'] = (int) $input['order'];
68
-        }
69
-
70
-        if (! empty($input['parent'])) {
71
-            $parts = Relay::fromGlobalId(sanitize_text_field($input['parent']));
72
-            $args['DTT_parent'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
73
-        }
74
-
75
-        if (array_key_exists('reserved', $input)) {
76
-            $args['DTT_reserved'] = (int) $input['reserved'];
77
-        }
78
-
79
-        if (array_key_exists('sold', $input)) {
80
-            $args['DTT_sold'] = (int) $input['sold'];
81
-        }
82
-
83
-        if (! empty($input['startDate'])) {
84
-            $args['DTT_EVT_start'] = new DateTime(sanitize_text_field($input['startDate']));
85
-        }
86
-
87
-        if (! empty($input['tickets'])) {
88
-            $args['tickets'] = array_map('sanitize_text_field', (array) $input['tickets']);
89
-        }
90
-
91
-        return apply_filters(
92
-            'FHEE__EventEspresso_core_domain_services_graphql_data_mutations__datetime_args',
93
-            $args,
94
-            $input
95
-        );
96
-    }
97
-
98
-
99
-    /**
100
-     * Sets the related tickets for the given datetime.
101
-     *
102
-     * @param EE_Datetime $entity  The datetime instance.
103
-     * @param array       $tickets Array of ticket IDs to relate.
104
-     * @throws EE_Error
105
-     * @throws InvalidDataTypeException
106
-     * @throws InvalidInterfaceException
107
-     * @throws InvalidArgumentException
108
-     * @throws ReflectionException
109
-     */
110
-    public static function setRelatedTickets($entity, array $tickets)
111
-    {
112
-        $relationName = 'Ticket';
113
-        // Remove all the existing related tickets
114
-        $entity->_remove_relations($relationName);
115
-
116
-        foreach ($tickets as $ID) {
117
-            $parts = Relay::fromGlobalId($ID);
118
-            if (! empty($parts['id']) && absint($parts['id'])) {
119
-                $entity->_add_relation_to(
120
-                    $parts['id'],
121
-                    $relationName
122
-                );
123
-            }
124
-        }
125
-    }
24
+	/**
25
+	 * Maps the GraphQL input to a format that the model functions can use
26
+	 *
27
+	 * @param array $input Data coming from the GraphQL mutation query input
28
+	 * @return array
29
+	 * @throws Exception
30
+	 */
31
+	public static function prepareFields(array $input)
32
+	{
33
+		$args = [];
34
+
35
+		if (array_key_exists('capacity', $input)) {
36
+			$args['DTT_reg_limit'] = (int) $input['capacity'];
37
+		}
38
+
39
+		if (isset($input['description'])) {
40
+			$args['DTT_description'] = wp_kses_post($input['description']);
41
+		}
42
+
43
+		if (! empty($input['endDate'])) {
44
+			$args['DTT_EVT_end'] = new DateTime(sanitize_text_field($input['endDate']));
45
+		}
46
+
47
+		if (! empty($input['eventId'])) {
48
+			$args['EVT_ID'] = absint($input['eventId']);
49
+		} elseif (! empty($input['event'])) {
50
+			$parts = Relay::fromGlobalId(sanitize_text_field($input['event']));
51
+			$args['EVT_ID'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
52
+		}
53
+
54
+		if (array_key_exists('isPrimary', $input)) {
55
+			$args['DTT_is_primary'] = (bool) $input['isPrimary'];
56
+		}
57
+
58
+		if (array_key_exists('isTrashed', $input)) {
59
+			$args['DTT_deleted'] = (bool) $input['isTrashed'];
60
+		}
61
+
62
+		if (isset($input['name'])) {
63
+			$args['DTT_name'] = sanitize_text_field($input['name']);
64
+		}
65
+
66
+		if (array_key_exists('order', $input)) {
67
+			$args['DTT_order'] = (int) $input['order'];
68
+		}
69
+
70
+		if (! empty($input['parent'])) {
71
+			$parts = Relay::fromGlobalId(sanitize_text_field($input['parent']));
72
+			$args['DTT_parent'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
73
+		}
74
+
75
+		if (array_key_exists('reserved', $input)) {
76
+			$args['DTT_reserved'] = (int) $input['reserved'];
77
+		}
78
+
79
+		if (array_key_exists('sold', $input)) {
80
+			$args['DTT_sold'] = (int) $input['sold'];
81
+		}
82
+
83
+		if (! empty($input['startDate'])) {
84
+			$args['DTT_EVT_start'] = new DateTime(sanitize_text_field($input['startDate']));
85
+		}
86
+
87
+		if (! empty($input['tickets'])) {
88
+			$args['tickets'] = array_map('sanitize_text_field', (array) $input['tickets']);
89
+		}
90
+
91
+		return apply_filters(
92
+			'FHEE__EventEspresso_core_domain_services_graphql_data_mutations__datetime_args',
93
+			$args,
94
+			$input
95
+		);
96
+	}
97
+
98
+
99
+	/**
100
+	 * Sets the related tickets for the given datetime.
101
+	 *
102
+	 * @param EE_Datetime $entity  The datetime instance.
103
+	 * @param array       $tickets Array of ticket IDs to relate.
104
+	 * @throws EE_Error
105
+	 * @throws InvalidDataTypeException
106
+	 * @throws InvalidInterfaceException
107
+	 * @throws InvalidArgumentException
108
+	 * @throws ReflectionException
109
+	 */
110
+	public static function setRelatedTickets($entity, array $tickets)
111
+	{
112
+		$relationName = 'Ticket';
113
+		// Remove all the existing related tickets
114
+		$entity->_remove_relations($relationName);
115
+
116
+		foreach ($tickets as $ID) {
117
+			$parts = Relay::fromGlobalId($ID);
118
+			if (! empty($parts['id']) && absint($parts['id'])) {
119
+				$entity->_add_relation_to(
120
+					$parts['id'],
121
+					$relationName
122
+				);
123
+			}
124
+		}
125
+	}
126 126
 }
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -40,15 +40,15 @@  discard block
 block discarded – undo
40 40
             $args['DTT_description'] = wp_kses_post($input['description']);
41 41
         }
42 42
 
43
-        if (! empty($input['endDate'])) {
43
+        if ( ! empty($input['endDate'])) {
44 44
             $args['DTT_EVT_end'] = new DateTime(sanitize_text_field($input['endDate']));
45 45
         }
46 46
 
47
-        if (! empty($input['eventId'])) {
47
+        if ( ! empty($input['eventId'])) {
48 48
             $args['EVT_ID'] = absint($input['eventId']);
49
-        } elseif (! empty($input['event'])) {
49
+        } elseif ( ! empty($input['event'])) {
50 50
             $parts = Relay::fromGlobalId(sanitize_text_field($input['event']));
51
-            $args['EVT_ID'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
51
+            $args['EVT_ID'] = ( ! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
52 52
         }
53 53
 
54 54
         if (array_key_exists('isPrimary', $input)) {
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
             $args['DTT_order'] = (int) $input['order'];
68 68
         }
69 69
 
70
-        if (! empty($input['parent'])) {
70
+        if ( ! empty($input['parent'])) {
71 71
             $parts = Relay::fromGlobalId(sanitize_text_field($input['parent']));
72
-            $args['DTT_parent'] = (! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
72
+            $args['DTT_parent'] = ( ! empty($parts['id']) && is_int($parts['id'])) ? $parts['id'] : null;
73 73
         }
74 74
 
75 75
         if (array_key_exists('reserved', $input)) {
@@ -80,11 +80,11 @@  discard block
 block discarded – undo
80 80
             $args['DTT_sold'] = (int) $input['sold'];
81 81
         }
82 82
 
83
-        if (! empty($input['startDate'])) {
83
+        if ( ! empty($input['startDate'])) {
84 84
             $args['DTT_EVT_start'] = new DateTime(sanitize_text_field($input['startDate']));
85 85
         }
86 86
 
87
-        if (! empty($input['tickets'])) {
87
+        if ( ! empty($input['tickets'])) {
88 88
             $args['tickets'] = array_map('sanitize_text_field', (array) $input['tickets']);
89 89
         }
90 90
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
         foreach ($tickets as $ID) {
117 117
             $parts = Relay::fromGlobalId($ID);
118
-            if (! empty($parts['id']) && absint($parts['id'])) {
118
+            if ( ! empty($parts['id']) && absint($parts['id'])) {
119 119
                 $entity->_add_relation_to(
120 120
                     $parts['id'],
121 121
                     $relationName
Please login to merge, or discard this patch.