Completed
Branch FET/reg-form-builder/main (a66e69)
by
unknown
09:49 queued 19s
created
core/domain/services/graphql/connections/DatetimeTicketsConnection.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * @param $args
53 53
      * @param $context
54 54
      * @param $info
55
-     * @return array|Deferred|mixed
55
+     * @return Deferred
56 56
      * @throws Exception
57 57
      */
58 58
     public function resolveConnection($entity, $args, $context, $info)
Please login to merge, or discard this patch.
Indentation   +117 added lines, -117 removed lines patch added patch discarded remove patch
@@ -20,127 +20,127 @@
 block discarded – undo
20 20
 {
21 21
 
22 22
 
23
-    /**
24
-     * DatetimeConnection constructor.
25
-     *
26
-     * @param EEM_Ticket $model
27
-     */
28
-    public function __construct(EEM_Ticket $model)
29
-    {
30
-        parent::__construct($model);
31
-    }
23
+	/**
24
+	 * DatetimeConnection constructor.
25
+	 *
26
+	 * @param EEM_Ticket $model
27
+	 */
28
+	public function __construct(EEM_Ticket $model)
29
+	{
30
+		parent::__construct($model);
31
+	}
32 32
 
33 33
 
34
-    /**
35
-     * @return array
36
-     */
37
-    public function config(): array
38
-    {
39
-        return [
40
-            'fromType'           => $this->namespace . 'Datetime',
41
-            'toType'             => $this->namespace . 'Ticket',
42
-            'fromFieldName'      => 'tickets',
43
-            'connectionTypeName' => "{$this->namespace}DatetimeTicketsConnection",
44
-            'connectionArgs'     => self::get_connection_args(),
45
-            'resolve'            => [$this, 'resolveConnection'],
46
-        ];
47
-    }
34
+	/**
35
+	 * @return array
36
+	 */
37
+	public function config(): array
38
+	{
39
+		return [
40
+			'fromType'           => $this->namespace . 'Datetime',
41
+			'toType'             => $this->namespace . 'Ticket',
42
+			'fromFieldName'      => 'tickets',
43
+			'connectionTypeName' => "{$this->namespace}DatetimeTicketsConnection",
44
+			'connectionArgs'     => self::get_connection_args(),
45
+			'resolve'            => [$this, 'resolveConnection'],
46
+		];
47
+	}
48 48
 
49 49
 
50
-    /**
51
-     * @param $entity
52
-     * @param $args
53
-     * @param $context
54
-     * @param $info
55
-     * @return array|Deferred|mixed
56
-     * @throws Exception
57
-     */
58
-    public function resolveConnection($entity, $args, $context, $info)
59
-    {
60
-        $resolver = new TicketConnectionResolver($entity, $args, $context, $info);
61
-        return $resolver->get_connection();
62
-    }
50
+	/**
51
+	 * @param $entity
52
+	 * @param $args
53
+	 * @param $context
54
+	 * @param $info
55
+	 * @return array|Deferred|mixed
56
+	 * @throws Exception
57
+	 */
58
+	public function resolveConnection($entity, $args, $context, $info)
59
+	{
60
+		$resolver = new TicketConnectionResolver($entity, $args, $context, $info);
61
+		return $resolver->get_connection();
62
+	}
63 63
 
64
-    /**
65
-     * Given an optional array of args, this returns the args to be used in the connection
66
-     *
67
-     * @param array $args The args to modify the defaults
68
-     * @return array
69
-     */
70
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
71
-    public static function get_connection_args(array $args = []): array
72
-    {
73
-        $newArgs = [
74
-            'orderby'      => [
75
-                'type'        => ['list_of' => 'EspressoTicketsConnectionOrderbyInput'],
76
-                'description' => esc_html__('What parameter to use to order the objects by.', 'event_espresso'),
77
-            ],
78
-            'datetime' => [
79
-                'type'        => 'ID',
80
-                'description' => esc_html__('Globally unique datetime ID to get the tickets for.', 'event_espresso'),
81
-            ],
82
-            'datetimeIn' => [
83
-                'type'        => ['list_of' => 'ID'],
84
-                'description' => esc_html__('Globally unique datetime IDs to get the tickets for.', 'event_espresso'),
85
-            ],
86
-            'datetimeId' => [
87
-                'type'        => 'Int',
88
-                'description' => esc_html__('Datetime ID to get the tickets for.', 'event_espresso'),
89
-            ],
90
-            'datetimeIdIn' => [
91
-                'type'        => ['list_of' => 'Int'],
92
-                'description' => esc_html__('Datetime IDs to get the tickets for.', 'event_espresso'),
93
-            ],
94
-            'event'  => [
95
-                'type'        => 'ID',
96
-                'description' => esc_html__('Globally unique event ID to get the tickets for.', 'event_espresso'),
97
-            ],
98
-            'eventIn'  => [
99
-                'type'        => ['list_of' => 'ID'],
100
-                'description' => esc_html__('Globally unique event IDs to get the tickets for.', 'event_espresso'),
101
-            ],
102
-            'eventId'  => [
103
-                'type'        => 'Int',
104
-                'description' => esc_html__('Event ID to get the tickets for.', 'event_espresso'),
105
-            ],
106
-            'eventIdIn'  => [
107
-                'type'        => ['list_of' => 'Int'],
108
-                'description' => esc_html__('Event IDs to get the tickets for.', 'event_espresso'),
109
-            ],
110
-            'includeDefaultTickets'  => [
111
-                'type'        => 'Boolean',
112
-                'description' => esc_html__('Whether to add default tickets to the list.', 'event_espresso'),
113
-            ],
114
-            'search' => [
115
-                'type'        => 'String',
116
-                'description' => esc_html__('The search keywords', 'event_espresso'),
117
-            ],
118
-            'isDefault' => [
119
-                'type'        => 'Boolean',
120
-                'description' => esc_html__('Filter the default tickets', 'event_espresso'),
121
-            ],
122
-            'isRequired'   => [
123
-                'type'        => 'Boolean',
124
-                'description' => esc_html__('Filter the required tickets', 'event_espresso'),
125
-            ],
126
-            'isTaxable'   => [
127
-                'type'        => 'Boolean',
128
-                'description' => esc_html__('Filter the taxable tickets', 'event_espresso'),
129
-            ],
130
-            'isTrashed'   => [
131
-                'type'        => 'Boolean',
132
-                'description' => esc_html__('Filter the trashed tickets', 'event_espresso'),
133
-            ],
134
-        ];
64
+	/**
65
+	 * Given an optional array of args, this returns the args to be used in the connection
66
+	 *
67
+	 * @param array $args The args to modify the defaults
68
+	 * @return array
69
+	 */
70
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
71
+	public static function get_connection_args(array $args = []): array
72
+	{
73
+		$newArgs = [
74
+			'orderby'      => [
75
+				'type'        => ['list_of' => 'EspressoTicketsConnectionOrderbyInput'],
76
+				'description' => esc_html__('What parameter to use to order the objects by.', 'event_espresso'),
77
+			],
78
+			'datetime' => [
79
+				'type'        => 'ID',
80
+				'description' => esc_html__('Globally unique datetime ID to get the tickets for.', 'event_espresso'),
81
+			],
82
+			'datetimeIn' => [
83
+				'type'        => ['list_of' => 'ID'],
84
+				'description' => esc_html__('Globally unique datetime IDs to get the tickets for.', 'event_espresso'),
85
+			],
86
+			'datetimeId' => [
87
+				'type'        => 'Int',
88
+				'description' => esc_html__('Datetime ID to get the tickets for.', 'event_espresso'),
89
+			],
90
+			'datetimeIdIn' => [
91
+				'type'        => ['list_of' => 'Int'],
92
+				'description' => esc_html__('Datetime IDs to get the tickets for.', 'event_espresso'),
93
+			],
94
+			'event'  => [
95
+				'type'        => 'ID',
96
+				'description' => esc_html__('Globally unique event ID to get the tickets for.', 'event_espresso'),
97
+			],
98
+			'eventIn'  => [
99
+				'type'        => ['list_of' => 'ID'],
100
+				'description' => esc_html__('Globally unique event IDs to get the tickets for.', 'event_espresso'),
101
+			],
102
+			'eventId'  => [
103
+				'type'        => 'Int',
104
+				'description' => esc_html__('Event ID to get the tickets for.', 'event_espresso'),
105
+			],
106
+			'eventIdIn'  => [
107
+				'type'        => ['list_of' => 'Int'],
108
+				'description' => esc_html__('Event IDs to get the tickets for.', 'event_espresso'),
109
+			],
110
+			'includeDefaultTickets'  => [
111
+				'type'        => 'Boolean',
112
+				'description' => esc_html__('Whether to add default tickets to the list.', 'event_espresso'),
113
+			],
114
+			'search' => [
115
+				'type'        => 'String',
116
+				'description' => esc_html__('The search keywords', 'event_espresso'),
117
+			],
118
+			'isDefault' => [
119
+				'type'        => 'Boolean',
120
+				'description' => esc_html__('Filter the default tickets', 'event_espresso'),
121
+			],
122
+			'isRequired'   => [
123
+				'type'        => 'Boolean',
124
+				'description' => esc_html__('Filter the required tickets', 'event_espresso'),
125
+			],
126
+			'isTaxable'   => [
127
+				'type'        => 'Boolean',
128
+				'description' => esc_html__('Filter the taxable tickets', 'event_espresso'),
129
+			],
130
+			'isTrashed'   => [
131
+				'type'        => 'Boolean',
132
+				'description' => esc_html__('Filter the trashed tickets', 'event_espresso'),
133
+			],
134
+		];
135 135
 
136
-        $newArgs = apply_filters(
137
-            'FHEE__EventEspresso_core_domain_services_graphql_connections__ticket_args',
138
-            $newArgs,
139
-            $args
140
-        );
141
-        return array_merge(
142
-            $newArgs,
143
-            $args
144
-        );
145
-    }
136
+		$newArgs = apply_filters(
137
+			'FHEE__EventEspresso_core_domain_services_graphql_connections__ticket_args',
138
+			$newArgs,
139
+			$args
140
+		);
141
+		return array_merge(
142
+			$newArgs,
143
+			$args
144
+		);
145
+	}
146 146
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
     public function config(): array
38 38
     {
39 39
         return [
40
-            'fromType'           => $this->namespace . 'Datetime',
41
-            'toType'             => $this->namespace . 'Ticket',
40
+            'fromType'           => $this->namespace.'Datetime',
41
+            'toType'             => $this->namespace.'Ticket',
42 42
             'fromFieldName'      => 'tickets',
43 43
             'connectionTypeName' => "{$this->namespace}DatetimeTicketsConnection",
44 44
             'connectionArgs'     => self::get_connection_args(),
Please login to merge, or discard this patch.
core/domain/services/graphql/mutators/EntityMutator.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 
124 124
     /**
125 125
      * @param EEM_Base   $model
126
-     * @param int|string $ID
126
+     * @param integer $ID
127 127
      * @return EE_Base_Class
128 128
      * @throws OutOfBoundsException
129 129
      * @throws EE_Error
Please login to merge, or discard this patch.
Indentation   +163 added lines, -163 removed lines patch added patch discarded remove patch
@@ -22,168 +22,168 @@
 block discarded – undo
22 22
 abstract class EntityMutator
23 23
 {
24 24
 
25
-    /**
26
-     * @param EEM_Base $model
27
-     * @param integer  $ID
28
-     * @param string   $capability
29
-     * @return EE_Base_Class
30
-     * @throws OutOfBoundsException
31
-     * @throws UserError
32
-     * @throws EE_Error
33
-     */
34
-    protected static function getEntityFromID(
35
-        EEM_Base $model,
36
-        int $ID,
37
-        string $capability = 'ee_edit_events'
38
-    ): EE_Base_Class {
39
-        EntityMutator::checkPermissions($model, $capability);
40
-        return EntityMutator::getEntity($model, $ID);
41
-    }
42
-
43
-
44
-    /**
45
-     * @param EEM_Base $model
46
-     * @param array    $input
47
-     * @param string   $capability
48
-     * @return EE_Base_Class
49
-     * @throws OutOfBoundsException
50
-     * @throws UserError
51
-     * @throws EE_Error
52
-     */
53
-    protected static function getEntityFromInputData(
54
-        EEM_Base $model,
55
-        array $input,
56
-        string $capability = 'ee_edit_events'
57
-    ): EE_Base_Class {
58
-        EntityMutator::checkPermissions($model, $capability);
25
+	/**
26
+	 * @param EEM_Base $model
27
+	 * @param integer  $ID
28
+	 * @param string   $capability
29
+	 * @return EE_Base_Class
30
+	 * @throws OutOfBoundsException
31
+	 * @throws UserError
32
+	 * @throws EE_Error
33
+	 */
34
+	protected static function getEntityFromID(
35
+		EEM_Base $model,
36
+		int $ID,
37
+		string $capability = 'ee_edit_events'
38
+	): EE_Base_Class {
39
+		EntityMutator::checkPermissions($model, $capability);
40
+		return EntityMutator::getEntity($model, $ID);
41
+	}
42
+
43
+
44
+	/**
45
+	 * @param EEM_Base $model
46
+	 * @param array    $input
47
+	 * @param string   $capability
48
+	 * @return EE_Base_Class
49
+	 * @throws OutOfBoundsException
50
+	 * @throws UserError
51
+	 * @throws EE_Error
52
+	 */
53
+	protected static function getEntityFromInputData(
54
+		EEM_Base $model,
55
+		array $input,
56
+		string $capability = 'ee_edit_events'
57
+	): EE_Base_Class {
58
+		EntityMutator::checkPermissions($model, $capability);
59 59
         
60
-        $primaryKey = $model->get_primary_key_field()->get_name();
61
-        // e.g. "FSC_UUID" will give us "FSC"
62
-        [$keyPrefix] = explode('_', $primaryKey);
63
-        $uuid_field  = $keyPrefix . '_UUID'; // e.g. "FSC_UUID"
64
-
65
-        // If the model has UUID field, then we will use that in place of ID.
66
-        $ID = $model->has_field($uuid_field) ? $input['id'] : EntityMutator::getEntityIDFromGlobalId($model, $input);
67
-        return EntityMutator::getEntity($model, $ID);
68
-    }
69
-
70
-
71
-    /**
72
-     * @param EEM_Base $model
73
-     * @param string   $capability
74
-     * @throws UserError
75
-     */
76
-    protected static function checkPermissions(EEM_Base $model, string $capability = 'ee_edit_events')
77
-    {
78
-        /**
79
-         * Stop now if a user isn't allowed to execute mutation
80
-         */
81
-        if (! current_user_can($capability)) {
82
-            $model_name = $model->get_this_model_name();
83
-            $message    = sprintf(
84
-                esc_html_x(
85
-                    'We\'re sorry but you do not have the required permissions to execute %1$s mutations!',
86
-                    'We\'re sorry but you do not have the required permissions to execute entity(datetime/ticket/etc) mutations!',
87
-                    'event_espresso'
88
-                ),
89
-                strtolower($model_name)
90
-            );
91
-            throw new UserError($message);
92
-        }
93
-    }
94
-
95
-
96
-    /**
97
-     * @param EEM_Base $model
98
-     * @param array    $input
99
-     * @return int
100
-     * @throws OutOfBoundsException
101
-     */
102
-    protected static function getEntityIDFromGlobalId(EEM_Base $model, array $input): int
103
-    {
104
-        $id_parts = ! empty($input['id']) ? Relay::fromGlobalId($input['id']) : null;
105
-        $id       = ! empty($id_parts['id']) ? absint($id_parts['id']) : 0;
106
-        if ($id > 0) {
107
-            return $id;
108
-        }
109
-        // no ID? throw an exception
110
-        $model_name = $model->get_this_model_name();
111
-        throw new OutOfBoundsException(
112
-            sprintf(
113
-                esc_html_x(
114
-                    'A missing or invalid %1$s ID was received.',
115
-                    'A missing or invalid entity(datetime/ticket/etc) ID was received.',
116
-                    'event_espresso'
117
-                ),
118
-                strtolower($model_name)
119
-            )
120
-        );
121
-    }
122
-
123
-
124
-    /**
125
-     * @param EEM_Base   $model
126
-     * @param int|string $ID
127
-     * @return EE_Base_Class
128
-     * @throws OutOfBoundsException
129
-     * @throws EE_Error
130
-     */
131
-    protected static function getEntity(EEM_Base $model, $ID = 0): EE_Base_Class
132
-    {
133
-        $entity = $model->get_one_by_ID($ID);
134
-        $model_name = $model->get_this_model_name();
135
-        $class_name = 'EE_' . $model_name;
136
-        if ($entity instanceof $class_name) {
137
-            return $entity;
138
-        }
139
-        // OOPS!!! invalid entity
140
-        throw new OutOfBoundsException(
141
-            sprintf(
142
-                esc_html_x(
143
-                    'A valid %1$s could not be retrieved from the database.',
144
-                    'A valid entity(datetime/ticket/etc) could not be found in the database.',
145
-                    'event_espresso'
146
-                ),
147
-                strtolower($model_name)
148
-            )
149
-        );
150
-    }
151
-
152
-
153
-    /**
154
-     * @param        $results
155
-     * @param string $message
156
-     * @throws RuntimeException
157
-     */
158
-    protected static function validateResults($results, string $message = '')
159
-    {
160
-        if (empty($results)) {
161
-            $message = $message !== ''
162
-                ? $message
163
-                : esc_html__(
164
-                    'An unknown error occurred. Please check your server\'s error  logs for more information',
165
-                    'event_espresso'
166
-                );
167
-            throw new RuntimeException($message);
168
-        }
169
-    }
170
-
171
-
172
-    /**
173
-     * @param Exception $exception
174
-     * @param string    $message_prefix
175
-     * @throws RuntimeException
176
-     */
177
-    protected static function handleExceptions(Exception $exception, string $message_prefix = '')
178
-    {
179
-        $message_prefix = $message_prefix !== ''
180
-            ? $message_prefix
181
-            : esc_html__(
182
-                'The mutation could not be executed because of the following error(s)',
183
-                'event_espresso'
184
-            );
185
-        throw new RuntimeException(
186
-            sprintf('%1$s: %2$s', $message_prefix, $exception->getMessage())
187
-        );
188
-    }
60
+		$primaryKey = $model->get_primary_key_field()->get_name();
61
+		// e.g. "FSC_UUID" will give us "FSC"
62
+		[$keyPrefix] = explode('_', $primaryKey);
63
+		$uuid_field  = $keyPrefix . '_UUID'; // e.g. "FSC_UUID"
64
+
65
+		// If the model has UUID field, then we will use that in place of ID.
66
+		$ID = $model->has_field($uuid_field) ? $input['id'] : EntityMutator::getEntityIDFromGlobalId($model, $input);
67
+		return EntityMutator::getEntity($model, $ID);
68
+	}
69
+
70
+
71
+	/**
72
+	 * @param EEM_Base $model
73
+	 * @param string   $capability
74
+	 * @throws UserError
75
+	 */
76
+	protected static function checkPermissions(EEM_Base $model, string $capability = 'ee_edit_events')
77
+	{
78
+		/**
79
+		 * Stop now if a user isn't allowed to execute mutation
80
+		 */
81
+		if (! current_user_can($capability)) {
82
+			$model_name = $model->get_this_model_name();
83
+			$message    = sprintf(
84
+				esc_html_x(
85
+					'We\'re sorry but you do not have the required permissions to execute %1$s mutations!',
86
+					'We\'re sorry but you do not have the required permissions to execute entity(datetime/ticket/etc) mutations!',
87
+					'event_espresso'
88
+				),
89
+				strtolower($model_name)
90
+			);
91
+			throw new UserError($message);
92
+		}
93
+	}
94
+
95
+
96
+	/**
97
+	 * @param EEM_Base $model
98
+	 * @param array    $input
99
+	 * @return int
100
+	 * @throws OutOfBoundsException
101
+	 */
102
+	protected static function getEntityIDFromGlobalId(EEM_Base $model, array $input): int
103
+	{
104
+		$id_parts = ! empty($input['id']) ? Relay::fromGlobalId($input['id']) : null;
105
+		$id       = ! empty($id_parts['id']) ? absint($id_parts['id']) : 0;
106
+		if ($id > 0) {
107
+			return $id;
108
+		}
109
+		// no ID? throw an exception
110
+		$model_name = $model->get_this_model_name();
111
+		throw new OutOfBoundsException(
112
+			sprintf(
113
+				esc_html_x(
114
+					'A missing or invalid %1$s ID was received.',
115
+					'A missing or invalid entity(datetime/ticket/etc) ID was received.',
116
+					'event_espresso'
117
+				),
118
+				strtolower($model_name)
119
+			)
120
+		);
121
+	}
122
+
123
+
124
+	/**
125
+	 * @param EEM_Base   $model
126
+	 * @param int|string $ID
127
+	 * @return EE_Base_Class
128
+	 * @throws OutOfBoundsException
129
+	 * @throws EE_Error
130
+	 */
131
+	protected static function getEntity(EEM_Base $model, $ID = 0): EE_Base_Class
132
+	{
133
+		$entity = $model->get_one_by_ID($ID);
134
+		$model_name = $model->get_this_model_name();
135
+		$class_name = 'EE_' . $model_name;
136
+		if ($entity instanceof $class_name) {
137
+			return $entity;
138
+		}
139
+		// OOPS!!! invalid entity
140
+		throw new OutOfBoundsException(
141
+			sprintf(
142
+				esc_html_x(
143
+					'A valid %1$s could not be retrieved from the database.',
144
+					'A valid entity(datetime/ticket/etc) could not be found in the database.',
145
+					'event_espresso'
146
+				),
147
+				strtolower($model_name)
148
+			)
149
+		);
150
+	}
151
+
152
+
153
+	/**
154
+	 * @param        $results
155
+	 * @param string $message
156
+	 * @throws RuntimeException
157
+	 */
158
+	protected static function validateResults($results, string $message = '')
159
+	{
160
+		if (empty($results)) {
161
+			$message = $message !== ''
162
+				? $message
163
+				: esc_html__(
164
+					'An unknown error occurred. Please check your server\'s error  logs for more information',
165
+					'event_espresso'
166
+				);
167
+			throw new RuntimeException($message);
168
+		}
169
+	}
170
+
171
+
172
+	/**
173
+	 * @param Exception $exception
174
+	 * @param string    $message_prefix
175
+	 * @throws RuntimeException
176
+	 */
177
+	protected static function handleExceptions(Exception $exception, string $message_prefix = '')
178
+	{
179
+		$message_prefix = $message_prefix !== ''
180
+			? $message_prefix
181
+			: esc_html__(
182
+				'The mutation could not be executed because of the following error(s)',
183
+				'event_espresso'
184
+			);
185
+		throw new RuntimeException(
186
+			sprintf('%1$s: %2$s', $message_prefix, $exception->getMessage())
187
+		);
188
+	}
189 189
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $primaryKey = $model->get_primary_key_field()->get_name();
61 61
         // e.g. "FSC_UUID" will give us "FSC"
62 62
         [$keyPrefix] = explode('_', $primaryKey);
63
-        $uuid_field  = $keyPrefix . '_UUID'; // e.g. "FSC_UUID"
63
+        $uuid_field  = $keyPrefix.'_UUID'; // e.g. "FSC_UUID"
64 64
 
65 65
         // If the model has UUID field, then we will use that in place of ID.
66 66
         $ID = $model->has_field($uuid_field) ? $input['id'] : EntityMutator::getEntityIDFromGlobalId($model, $input);
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         /**
79 79
          * Stop now if a user isn't allowed to execute mutation
80 80
          */
81
-        if (! current_user_can($capability)) {
81
+        if ( ! current_user_can($capability)) {
82 82
             $model_name = $model->get_this_model_name();
83 83
             $message    = sprintf(
84 84
                 esc_html_x(
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     {
133 133
         $entity = $model->get_one_by_ID($ID);
134 134
         $model_name = $model->get_this_model_name();
135
-        $class_name = 'EE_' . $model_name;
135
+        $class_name = 'EE_'.$model_name;
136 136
         if ($entity instanceof $class_name) {
137 137
             return $entity;
138 138
         }
Please login to merge, or discard this patch.
core/domain/services/graphql/mutators/FormSectionCreate.php 4 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * Defines the mutation data modification closure.
18 18
      *
19 19
      * @param EEM_Form_Section $model
20
-     * @return callable
20
+     * @return \Closure
21 21
      */
22 22
     public static function mutateAndGetPayload(EEM_Form_Section $model)
23 23
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use EE_Form_Section;
6 6
 use EEM_Form_Section;
7
-use EventEspresso\core\domain\services\graphql\types\FormSection;
8 7
 use EventEspresso\core\domain\services\graphql\data\mutations\FormSectionMutation;
9 8
 use GraphQL\Type\Definition\ResolveInfo;
10 9
 use WPGraphQL\AppContext;
Please login to merge, or discard this patch.
Indentation   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -13,51 +13,51 @@
 block discarded – undo
13 13
 class FormSectionCreate extends EntityMutator
14 14
 {
15 15
 
16
-    /**
17
-     * Defines the mutation data modification closure.
18
-     *
19
-     * @param EEM_Form_Section $model
20
-     * @return callable
21
-     */
22
-    public static function mutateAndGetPayload(EEM_Form_Section $model)
23
-    {
24
-        /**
25
-         * Creates an entity.
26
-         *
27
-         * @param array       $input   The input for the mutation
28
-         * @param AppContext  $context The AppContext passed down to all resolvers
29
-         * @param ResolveInfo $info    The ResolveInfo passed down to all resolvers
30
-         * @return array
31
-         */
32
-        return static function (array $input, AppContext $context, ResolveInfo $info) use ($model): array {
33
-            $id = null;
34
-            try {
35
-                EntityMutator::checkPermissions($model);
36
-
37
-                $args = FormSectionMutation::prepareFields($input);
38
-
39
-                $entity = EE_Form_Section::new_instance($args);
40
-                $id = $entity->save();
41
-                EntityMutator::validateResults($id);
42
-
43
-                do_action(
44
-                    'AHEE__EventEspresso_core_domain_services_graphql_mutators_form_section_create',
45
-                    $entity,
46
-                    $input
47
-                );
48
-            } catch (Exception $exception) {
49
-                EntityMutator::handleExceptions(
50
-                    $exception,
51
-                    esc_html__(
52
-                        'The form section could not be created because of the following error(s)',
53
-                        'event_espresso'
54
-                    )
55
-                );
56
-            }
57
-
58
-            return [
59
-                'id' => $id,
60
-            ];
61
-        };
62
-    }
16
+	/**
17
+	 * Defines the mutation data modification closure.
18
+	 *
19
+	 * @param EEM_Form_Section $model
20
+	 * @return callable
21
+	 */
22
+	public static function mutateAndGetPayload(EEM_Form_Section $model)
23
+	{
24
+		/**
25
+		 * Creates an entity.
26
+		 *
27
+		 * @param array       $input   The input for the mutation
28
+		 * @param AppContext  $context The AppContext passed down to all resolvers
29
+		 * @param ResolveInfo $info    The ResolveInfo passed down to all resolvers
30
+		 * @return array
31
+		 */
32
+		return static function (array $input, AppContext $context, ResolveInfo $info) use ($model): array {
33
+			$id = null;
34
+			try {
35
+				EntityMutator::checkPermissions($model);
36
+
37
+				$args = FormSectionMutation::prepareFields($input);
38
+
39
+				$entity = EE_Form_Section::new_instance($args);
40
+				$id = $entity->save();
41
+				EntityMutator::validateResults($id);
42
+
43
+				do_action(
44
+					'AHEE__EventEspresso_core_domain_services_graphql_mutators_form_section_create',
45
+					$entity,
46
+					$input
47
+				);
48
+			} catch (Exception $exception) {
49
+				EntityMutator::handleExceptions(
50
+					$exception,
51
+					esc_html__(
52
+						'The form section could not be created because of the following error(s)',
53
+						'event_espresso'
54
+					)
55
+				);
56
+			}
57
+
58
+			return [
59
+				'id' => $id,
60
+			];
61
+		};
62
+	}
63 63
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
          * @param ResolveInfo $info    The ResolveInfo passed down to all resolvers
30 30
          * @return array
31 31
          */
32
-        return static function (array $input, AppContext $context, ResolveInfo $info) use ($model): array {
32
+        return static function(array $input, AppContext $context, ResolveInfo $info) use ($model): array {
33 33
             $id = null;
34 34
             try {
35 35
                 EntityMutator::checkPermissions($model);
Please login to merge, or discard this patch.
core/domain/services/graphql/resolvers/FieldResolver.php 3 patches
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * Resolve the global ID
128 128
      *
129
-     * @param mixed $source
129
+     * @param EE_Base_Class $source
130 130
      * @return string|null
131 131
      * @throws Exception
132 132
      */
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     /**
148 148
      * Resolve the cache ID
149 149
      *
150
-     * @param mixed $source
150
+     * @param EE_Base_Class $source
151 151
      * @return string
152 152
      */
153 153
     public function resolveCacheId($source): string
@@ -162,9 +162,9 @@  discard block
 block discarded – undo
162 162
 
163 163
 
164 164
     /**
165
-     * @param mixed     $source
165
+     * @param EE_Base_Class     $source
166 166
      * @param           $args
167
-     * @param           $context
167
+     * @param           AppContext $context
168 168
      * @return Deferred|null
169 169
      * @throws Exception
170 170
      */
@@ -178,9 +178,9 @@  discard block
 block discarded – undo
178 178
 
179 179
 
180 180
     /**
181
-     * @param mixed     $source
181
+     * @param EE_Base_Class     $source
182 182
      * @param           $args
183
-     * @param           $context
183
+     * @param           AppContext $context
184 184
      * @return string|null
185 185
      * @throws Exception
186 186
      */
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 
195 195
 
196 196
     /**
197
-     * @param mixed $source
197
+     * @param EE_Base_Class $source
198 198
      * @return EE_Base_Class|null
199 199
      * @throws InvalidArgumentException
200 200
      * @throws InvalidDataTypeException
@@ -208,9 +208,9 @@  discard block
 block discarded – undo
208 208
 
209 209
 
210 210
     /**
211
-     * @param mixed       $source
211
+     * @param EE_Base_Class       $source
212 212
      * @param             $args
213
-     * @param             $context
213
+     * @param             AppContext $context
214 214
      * @return Deferred|null
215 215
      * @throws EE_Error
216 216
      * @throws InvalidArgumentException
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
 
243 243
     /**
244
-     * @param mixed $source The source instance.
244
+     * @param EE_Base_Class $source The source instance.
245 245
      * @return EE_Base_Class|null
246 246
      * @throws EE_Error
247 247
      * @throws InvalidArgumentException
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
 
268 268
 
269 269
     /**
270
-     * @param mixed $source The source instance.
270
+     * @param EE_Base_Class $source The source instance.
271 271
      * @return EE_Base_Class|null
272 272
      * @throws EE_Error
273 273
      * @throws InvalidArgumentException
Please login to merge, or discard this patch.
Indentation   +233 added lines, -233 removed lines patch added patch discarded remove patch
@@ -38,260 +38,260 @@
 block discarded – undo
38 38
 class FieldResolver extends ResolverBase
39 39
 {
40 40
 
41
-    /**
42
-     * @var EEM_Base $model
43
-     */
44
-    protected $model;
41
+	/**
42
+	 * @var EEM_Base $model
43
+	 */
44
+	protected $model;
45 45
 
46
-    /**
47
-     * @var array $fields .
48
-     */
49
-    protected $fields;
46
+	/**
47
+	 * @var array $fields .
48
+	 */
49
+	protected $fields;
50 50
 
51 51
 
52
-    /**
53
-     * FieldResolver constructor.
54
-     *
55
-     * @param EEM_Base|null $model  The model instance.
56
-     * @param array         $fields The fields registered for the type.
57
-     */
58
-    public function __construct(EEM_Base $model = null, array $fields = [])
59
-    {
60
-        $this->model  = $model;
61
-        $this->fields = $fields;
62
-    }
52
+	/**
53
+	 * FieldResolver constructor.
54
+	 *
55
+	 * @param EEM_Base|null $model  The model instance.
56
+	 * @param array         $fields The fields registered for the type.
57
+	 */
58
+	public function __construct(EEM_Base $model = null, array $fields = [])
59
+	{
60
+		$this->model  = $model;
61
+		$this->fields = $fields;
62
+	}
63 63
 
64 64
 
65
-    /**
66
-     * @param mixed       $source  The source that's passed down the GraphQL queries
67
-     * @param array       $args    The inputArgs on the field
68
-     * @param AppContext  $context The AppContext passed down the GraphQL tree
69
-     * @param ResolveInfo $info    The ResolveInfo passed down the GraphQL tree
70
-     * @return EE_Base_Class|Deferred|string
71
-     * @throws EE_Error
72
-     * @throws Exception
73
-     * @throws InvalidArgumentException
74
-     * @throws InvalidDataTypeException
75
-     * @throws InvalidInterfaceException
76
-     * @throws ReflectionException
77
-     * @throws UserError
78
-     * @throws UnexpectedEntityException
79
-     */
80
-    public function resolve($source, array $args, AppContext $context, ResolveInfo $info)
81
-    {
82
-        $fieldName = $info->fieldName;
83
-        $field     = $this->fields[ $fieldName ] ?? null;
84
-        // Field should exist in teh registered fields
85
-        if ($field instanceof GraphQLField) {
86
-            // check if the field should be resolved.
87
-            if (! $field->shouldResolve()) {
88
-                return null;
89
-            }
90
-            // Give priority to the internal resolver.
91
-            if ($field->hasInternalResolver()) {
92
-                return $field->resolve($source, $args, $context, $info);
93
-            }
94
-            if (! ($source instanceof EE_Base_Class)) {
95
-                return null;
96
-            }
97
-            // Check if the field has a key mapped to model.
98
-            if (! empty($field->key())) {
99
-                $value = $source->{$field->key()}();
100
-                return $field->mayBeFormatValue($value, $source);
101
-            }
102
-            switch ($fieldName) {
103
-                case 'id': // the global ID
104
-                    return $this->resolveId($source);
105
-                case 'cacheId':
106
-                    return $this->resolveCacheId($source);
107
-                case 'parent':
108
-                    return $this->resolveParent($source);
109
-                case 'event':
110
-                    return $this->resolveEvent($source, $args, $context);
111
-                case 'wpUser':
112
-                case 'manager':
113
-                    return $this->resolveWpUser($source, $args, $context);
114
-                case 'userId':
115
-                    return $this->resolveUserId($source, $args, $context);
116
-                case 'state': // Venue
117
-                    return $this->resolveState($source);
118
-                case 'country': // State, Venue
119
-                    return $this->resolveCountry($source);
120
-            }
121
-        }
122
-        return null;
123
-    }
65
+	/**
66
+	 * @param mixed       $source  The source that's passed down the GraphQL queries
67
+	 * @param array       $args    The inputArgs on the field
68
+	 * @param AppContext  $context The AppContext passed down the GraphQL tree
69
+	 * @param ResolveInfo $info    The ResolveInfo passed down the GraphQL tree
70
+	 * @return EE_Base_Class|Deferred|string
71
+	 * @throws EE_Error
72
+	 * @throws Exception
73
+	 * @throws InvalidArgumentException
74
+	 * @throws InvalidDataTypeException
75
+	 * @throws InvalidInterfaceException
76
+	 * @throws ReflectionException
77
+	 * @throws UserError
78
+	 * @throws UnexpectedEntityException
79
+	 */
80
+	public function resolve($source, array $args, AppContext $context, ResolveInfo $info)
81
+	{
82
+		$fieldName = $info->fieldName;
83
+		$field     = $this->fields[ $fieldName ] ?? null;
84
+		// Field should exist in teh registered fields
85
+		if ($field instanceof GraphQLField) {
86
+			// check if the field should be resolved.
87
+			if (! $field->shouldResolve()) {
88
+				return null;
89
+			}
90
+			// Give priority to the internal resolver.
91
+			if ($field->hasInternalResolver()) {
92
+				return $field->resolve($source, $args, $context, $info);
93
+			}
94
+			if (! ($source instanceof EE_Base_Class)) {
95
+				return null;
96
+			}
97
+			// Check if the field has a key mapped to model.
98
+			if (! empty($field->key())) {
99
+				$value = $source->{$field->key()}();
100
+				return $field->mayBeFormatValue($value, $source);
101
+			}
102
+			switch ($fieldName) {
103
+				case 'id': // the global ID
104
+					return $this->resolveId($source);
105
+				case 'cacheId':
106
+					return $this->resolveCacheId($source);
107
+				case 'parent':
108
+					return $this->resolveParent($source);
109
+				case 'event':
110
+					return $this->resolveEvent($source, $args, $context);
111
+				case 'wpUser':
112
+				case 'manager':
113
+					return $this->resolveWpUser($source, $args, $context);
114
+				case 'userId':
115
+					return $this->resolveUserId($source, $args, $context);
116
+				case 'state': // Venue
117
+					return $this->resolveState($source);
118
+				case 'country': // State, Venue
119
+					return $this->resolveCountry($source);
120
+			}
121
+		}
122
+		return null;
123
+	}
124 124
 
125 125
 
126
-    /**
127
-     * Resolve the global ID
128
-     *
129
-     * @param mixed $source
130
-     * @return string|null
131
-     * @throws Exception
132
-     */
133
-    public function resolveId($source): ?string
134
-    {
135
-        if (! $source instanceof EE_Base_Class) {
136
-            return null;
137
-        }
138
-        // If the model has a UUID method
139
-        if (method_exists($source, 'UUID') && is_callable([$source, 'UUID'])) {
140
-            return $source->UUID();
141
-        }
126
+	/**
127
+	 * Resolve the global ID
128
+	 *
129
+	 * @param mixed $source
130
+	 * @return string|null
131
+	 * @throws Exception
132
+	 */
133
+	public function resolveId($source): ?string
134
+	{
135
+		if (! $source instanceof EE_Base_Class) {
136
+			return null;
137
+		}
138
+		// If the model has a UUID method
139
+		if (method_exists($source, 'UUID') && is_callable([$source, 'UUID'])) {
140
+			return $source->UUID();
141
+		}
142 142
 
143
-        return Relay::toGlobalId($this->model->item_name(), $source->ID());
144
-    }
143
+		return Relay::toGlobalId($this->model->item_name(), $source->ID());
144
+	}
145 145
 
146 146
 
147
-    /**
148
-     * Resolve the cache ID
149
-     *
150
-     * @param mixed $source
151
-     * @return string
152
-     */
153
-    public function resolveCacheId($source): string
154
-    {
155
-        $model_name = $this->model->item_name();
156
-        $ID         = $source->ID();
157
-        // Since cacheId does not need to be globally unique
158
-        // $uniqid is sufficient, still adding the model name and ID
159
-        // may be we need/use them in future.
160
-        return uniqid("{$model_name}:{$ID}:", true);
161
-    }
147
+	/**
148
+	 * Resolve the cache ID
149
+	 *
150
+	 * @param mixed $source
151
+	 * @return string
152
+	 */
153
+	public function resolveCacheId($source): string
154
+	{
155
+		$model_name = $this->model->item_name();
156
+		$ID         = $source->ID();
157
+		// Since cacheId does not need to be globally unique
158
+		// $uniqid is sufficient, still adding the model name and ID
159
+		// may be we need/use them in future.
160
+		return uniqid("{$model_name}:{$ID}:", true);
161
+	}
162 162
 
163 163
 
164
-    /**
165
-     * @param mixed     $source
166
-     * @param           $args
167
-     * @param           $context
168
-     * @return Deferred|null
169
-     * @throws Exception
170
-     */
171
-    public function resolveWpUser($source, $args, $context): ?Deferred
172
-    {
173
-        $user_id = $source->wp_user();
174
-        return $user_id
175
-            ? $context->get_loader('user')->load_deferred($user_id)
176
-            : null;
177
-    }
164
+	/**
165
+	 * @param mixed     $source
166
+	 * @param           $args
167
+	 * @param           $context
168
+	 * @return Deferred|null
169
+	 * @throws Exception
170
+	 */
171
+	public function resolveWpUser($source, $args, $context): ?Deferred
172
+	{
173
+		$user_id = $source->wp_user();
174
+		return $user_id
175
+			? $context->get_loader('user')->load_deferred($user_id)
176
+			: null;
177
+	}
178 178
 
179 179
 
180
-    /**
181
-     * @param mixed     $source
182
-     * @param           $args
183
-     * @param           $context
184
-     * @return string|null
185
-     * @throws Exception
186
-     */
187
-    public function resolveUserId($source, $args, $context): ?string
188
-    {
189
-        $user_id = $source->wp_user();
190
-        return $user_id
191
-            ? Relay::toGlobalId('user', $user_id)
192
-            : null;
193
-    }
180
+	/**
181
+	 * @param mixed     $source
182
+	 * @param           $args
183
+	 * @param           $context
184
+	 * @return string|null
185
+	 * @throws Exception
186
+	 */
187
+	public function resolveUserId($source, $args, $context): ?string
188
+	{
189
+		$user_id = $source->wp_user();
190
+		return $user_id
191
+			? Relay::toGlobalId('user', $user_id)
192
+			: null;
193
+	}
194 194
 
195 195
 
196
-    /**
197
-     * @param mixed $source
198
-     * @return EE_Base_Class|null
199
-     * @throws InvalidArgumentException
200
-     * @throws InvalidDataTypeException
201
-     * @throws InvalidInterfaceException
202
-     * @throws EE_Error
203
-     */
204
-    public function resolveParent($source): ?EE_Base_Class
205
-    {
206
-        return $this->model->get_one_by_ID($source->parent());
207
-    }
196
+	/**
197
+	 * @param mixed $source
198
+	 * @return EE_Base_Class|null
199
+	 * @throws InvalidArgumentException
200
+	 * @throws InvalidDataTypeException
201
+	 * @throws InvalidInterfaceException
202
+	 * @throws EE_Error
203
+	 */
204
+	public function resolveParent($source): ?EE_Base_Class
205
+	{
206
+		return $this->model->get_one_by_ID($source->parent());
207
+	}
208 208
 
209 209
 
210
-    /**
211
-     * @param mixed       $source
212
-     * @param             $args
213
-     * @param             $context
214
-     * @return Deferred|null
215
-     * @throws EE_Error
216
-     * @throws InvalidArgumentException
217
-     * @throws InvalidDataTypeException
218
-     * @throws InvalidInterfaceException
219
-     * @throws ReflectionException
220
-     * @throws UserError
221
-     * @throws UnexpectedEntityException
222
-     */
223
-    public function resolveEvent($source, $args, $context): ?Deferred
224
-    {
225
-        switch (true) {
226
-            case $source instanceof EE_Datetime:
227
-                $event = $source->event();
228
-                break;
229
-            case $source instanceof EE_Venue:
230
-            case $source instanceof EE_Ticket:
231
-                $event = $source->get_related_event();
232
-                break;
233
-            default:
234
-                $event = null;
235
-                break;
236
-        }
237
-        return $event instanceof EE_Event
238
-            ? $context->get_loader('post')->load_deferred($event->ID())
239
-            : null;
240
-    }
210
+	/**
211
+	 * @param mixed       $source
212
+	 * @param             $args
213
+	 * @param             $context
214
+	 * @return Deferred|null
215
+	 * @throws EE_Error
216
+	 * @throws InvalidArgumentException
217
+	 * @throws InvalidDataTypeException
218
+	 * @throws InvalidInterfaceException
219
+	 * @throws ReflectionException
220
+	 * @throws UserError
221
+	 * @throws UnexpectedEntityException
222
+	 */
223
+	public function resolveEvent($source, $args, $context): ?Deferred
224
+	{
225
+		switch (true) {
226
+			case $source instanceof EE_Datetime:
227
+				$event = $source->event();
228
+				break;
229
+			case $source instanceof EE_Venue:
230
+			case $source instanceof EE_Ticket:
231
+				$event = $source->get_related_event();
232
+				break;
233
+			default:
234
+				$event = null;
235
+				break;
236
+		}
237
+		return $event instanceof EE_Event
238
+			? $context->get_loader('post')->load_deferred($event->ID())
239
+			: null;
240
+	}
241 241
 
242 242
 
243
-    /**
244
-     * @param mixed $source The source instance.
245
-     * @return EE_Base_Class|null
246
-     * @throws EE_Error
247
-     * @throws InvalidArgumentException
248
-     * @throws InvalidDataTypeException
249
-     * @throws InvalidInterfaceException
250
-     * @throws ReflectionException
251
-     */
252
-    public function resolveState($source): ?EE_Base_Class
253
-    {
254
-        switch (true) {
255
-            case $source instanceof EE_Attendee:
256
-            case $source instanceof EE_Venue:
257
-                $state_id = $source->state_ID();
258
-                break;
259
-            default:
260
-                $state_id = null;
261
-                break;
262
-        }
263
-        return $state_id
264
-            ? EEM_State::instance()->get_one_by_ID($state_id)
265
-            : null;
266
-    }
243
+	/**
244
+	 * @param mixed $source The source instance.
245
+	 * @return EE_Base_Class|null
246
+	 * @throws EE_Error
247
+	 * @throws InvalidArgumentException
248
+	 * @throws InvalidDataTypeException
249
+	 * @throws InvalidInterfaceException
250
+	 * @throws ReflectionException
251
+	 */
252
+	public function resolveState($source): ?EE_Base_Class
253
+	{
254
+		switch (true) {
255
+			case $source instanceof EE_Attendee:
256
+			case $source instanceof EE_Venue:
257
+				$state_id = $source->state_ID();
258
+				break;
259
+			default:
260
+				$state_id = null;
261
+				break;
262
+		}
263
+		return $state_id
264
+			? EEM_State::instance()->get_one_by_ID($state_id)
265
+			: null;
266
+	}
267 267
 
268 268
 
269
-    /**
270
-     * @param mixed $source The source instance.
271
-     * @return EE_Base_Class|null
272
-     * @throws EE_Error
273
-     * @throws InvalidArgumentException
274
-     * @throws InvalidDataTypeException
275
-     * @throws InvalidInterfaceException
276
-     * @throws ReflectionException
277
-     */
278
-    public function resolveCountry($source): ?EE_Base_Class
279
-    {
280
-        switch (true) {
281
-            case $source instanceof EE_State:
282
-                $country_iso = $source->country_iso();
283
-                break;
284
-            case $source instanceof EE_Attendee:
285
-            case $source instanceof EE_Venue:
286
-                $country_iso = $source->country_ID();
287
-                break;
288
-            default:
289
-                $country_iso = null;
290
-                break;
291
-        }
269
+	/**
270
+	 * @param mixed $source The source instance.
271
+	 * @return EE_Base_Class|null
272
+	 * @throws EE_Error
273
+	 * @throws InvalidArgumentException
274
+	 * @throws InvalidDataTypeException
275
+	 * @throws InvalidInterfaceException
276
+	 * @throws ReflectionException
277
+	 */
278
+	public function resolveCountry($source): ?EE_Base_Class
279
+	{
280
+		switch (true) {
281
+			case $source instanceof EE_State:
282
+				$country_iso = $source->country_iso();
283
+				break;
284
+			case $source instanceof EE_Attendee:
285
+			case $source instanceof EE_Venue:
286
+				$country_iso = $source->country_ID();
287
+				break;
288
+			default:
289
+				$country_iso = null;
290
+				break;
291
+		}
292 292
 
293
-        return $country_iso
294
-            ? EEM_Country::instance()->get_one_by_ID($country_iso)
295
-            : null;
296
-    }
293
+		return $country_iso
294
+			? EEM_Country::instance()->get_one_by_ID($country_iso)
295
+			: null;
296
+	}
297 297
 }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,22 +80,22 @@  discard block
 block discarded – undo
80 80
     public function resolve($source, array $args, AppContext $context, ResolveInfo $info)
81 81
     {
82 82
         $fieldName = $info->fieldName;
83
-        $field     = $this->fields[ $fieldName ] ?? null;
83
+        $field     = $this->fields[$fieldName] ?? null;
84 84
         // Field should exist in teh registered fields
85 85
         if ($field instanceof GraphQLField) {
86 86
             // check if the field should be resolved.
87
-            if (! $field->shouldResolve()) {
87
+            if ( ! $field->shouldResolve()) {
88 88
                 return null;
89 89
             }
90 90
             // Give priority to the internal resolver.
91 91
             if ($field->hasInternalResolver()) {
92 92
                 return $field->resolve($source, $args, $context, $info);
93 93
             }
94
-            if (! ($source instanceof EE_Base_Class)) {
94
+            if ( ! ($source instanceof EE_Base_Class)) {
95 95
                 return null;
96 96
             }
97 97
             // Check if the field has a key mapped to model.
98
-            if (! empty($field->key())) {
98
+            if ( ! empty($field->key())) {
99 99
                 $value = $source->{$field->key()}();
100 100
                 return $field->mayBeFormatValue($value, $source);
101 101
             }
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      */
133 133
     public function resolveId($source): ?string
134 134
     {
135
-        if (! $source instanceof EE_Base_Class) {
135
+        if ( ! $source instanceof EE_Base_Class) {
136 136
             return null;
137 137
         }
138 138
         // If the model has a UUID method
Please login to merge, or discard this patch.
core/services/graphql/types/TypeBase.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@
 block discarded – undo
254 254
      * @param mixed      $payload The payload returned after mutation
255 255
      * @param array      $args    The inputArgs on the field
256 256
      * @param AppContext $context The AppContext passed down the GraphQL tree
257
-     * @return string|null
257
+     * @return null|EE_Base_Class
258 258
      * @throws EE_Error
259 259
      */
260 260
     public function resolveFromPayload($payload, array $args, AppContext $context)
Please login to merge, or discard this patch.
Indentation   +253 added lines, -253 removed lines patch added patch discarded remove patch
@@ -32,257 +32,257 @@
 block discarded – undo
32 32
 abstract class TypeBase implements TypeInterface
33 33
 {
34 34
 
35
-    /**
36
-     * @var string $namespace The graphql namespace/prefix.
37
-     */
38
-    protected $namespace = 'Espresso';
39
-
40
-    /**
41
-     * @var EEM_Base $model
42
-     */
43
-    protected $model;
44
-
45
-    /**
46
-     * @var string $name
47
-     */
48
-    protected $name = '';
49
-
50
-    /**
51
-     * @var string $description
52
-     */
53
-    protected $description = '';
54
-
55
-    /**
56
-     * @var GraphQLFieldInterface[] $fields
57
-     */
58
-    protected $fields = [];
59
-
60
-    /**
61
-     * @var array $graphql_to_model_map
62
-     */
63
-    protected $graphql_to_model_map = [];
64
-
65
-    /**
66
-     * @var FieldResolver $field_resolver
67
-     */
68
-    protected $field_resolver;
69
-
70
-    /**
71
-     * @var bool $is_custom_post_type
72
-     */
73
-    protected $is_custom_post_type = false;
74
-
75
-
76
-    /**
77
-     * TypeBase constructor.
78
-     *
79
-     * @param EEM_Base|null $model
80
-     */
81
-    public function __construct(EEM_Base $model = null)
82
-    {
83
-        $this->model = $model;
84
-        $this->setFields($this->getFields());
85
-        $this->field_resolver = new FieldResolver(
86
-            $this->model,
87
-            $this->getFieldsForResolver()
88
-        );
89
-    }
90
-
91
-
92
-    /**
93
-     * @return GraphQLFieldInterface[]
94
-     * @since $VID:$
95
-     */
96
-    abstract protected function getFields(): array;
97
-
98
-
99
-    /**
100
-     * @return string
101
-     */
102
-    public function name(): string
103
-    {
104
-        return $this->name;
105
-    }
106
-
107
-
108
-    /**
109
-     * @param string $name
110
-     */
111
-    protected function setName(string $name)
112
-    {
113
-        $this->name = $name;
114
-    }
115
-
116
-
117
-    /**
118
-     * @return string
119
-     */
120
-    public function description(): string
121
-    {
122
-        return $this->description;
123
-    }
124
-
125
-
126
-    /**
127
-     * @param string $description
128
-     */
129
-    protected function setDescription(string $description)
130
-    {
131
-        $this->description = $description;
132
-    }
133
-
134
-
135
-    /**
136
-     * @return GraphQLFieldInterface[]
137
-     * @since $VID:$
138
-     */
139
-    public function fields(): array
140
-    {
141
-        return (array) $this->fields;
142
-    }
143
-
144
-
145
-    /**
146
-     * @param GraphQLFieldInterface[] $fields
147
-     */
148
-    protected function setFields(array $fields)
149
-    {
150
-        foreach ($fields as $field) {
151
-            if ($field instanceof GraphQLField) {
152
-                $this->fields[] = $field;
153
-            }
154
-        }
155
-    }
156
-
157
-
158
-    /**
159
-     * Creates a key map for internal resolver.
160
-     *
161
-     * @return array
162
-     * @since $VID:$
163
-     */
164
-    public function getFieldsForResolver(): array
165
-    {
166
-        $fields = [];
167
-        foreach ($this->fields() as $field) {
168
-            if ($field->useForOutput()) {
169
-                $fields[ $field->name() ] = $field;
170
-            }
171
-        }
172
-        return $fields;
173
-    }
174
-
175
-
176
-    /**
177
-     * @return bool
178
-     */
179
-    public function isCustomPostType(): bool
180
-    {
181
-        return $this->is_custom_post_type;
182
-    }
183
-
184
-
185
-    /**
186
-     * @param bool $is_custom_post_type
187
-     */
188
-    protected function setIsCustomPostType(bool $is_custom_post_type)
189
-    {
190
-        $this->is_custom_post_type = filter_var($is_custom_post_type, FILTER_VALIDATE_BOOLEAN);
191
-    }
192
-
193
-
194
-    /**
195
-     * @param int|float $value
196
-     * @return int
197
-     * @since $VID:$
198
-     */
199
-    public function parseInfiniteValue($value): int
200
-    {
201
-        $value = trim($value);
202
-        return $value === null
203
-               || $value === ''
204
-               || $value === '∞'
205
-               || $value === 'INF'
206
-               || $value === INF
207
-               || $value === EE_INF
208
-               || is_infinite((float) $value)
209
-            ? -1
210
-            : $value;
211
-    }
212
-
213
-
214
-    /**
215
-     * @param mixed $source
216
-     * @return EE_Base_Class|null
217
-     * @throws EE_Error
218
-     */
219
-    private function getModel($source): ?EE_Base_Class
220
-    {
221
-        // If it comes from a custom connection
222
-        // where the $source is already instantiated.
223
-        if ($source instanceof EE_Base_Class) {
224
-            return $source;
225
-        }
226
-        return $source instanceof Post ? $this->model->get_one_by_ID($source->ID) : null;
227
-    }
228
-
229
-
230
-    /**
231
-     * @param mixed       $source  The source that's passed down the GraphQL queries
232
-     * @param array       $args    The inputArgs on the field
233
-     * @param AppContext  $context The AppContext passed down the GraphQL tree
234
-     * @param ResolveInfo $info    The ResolveInfo passed down the GraphQL tree
235
-     * @return mixed
236
-     * @throws EE_Error
237
-     * @throws InvalidDataTypeException
238
-     * @throws InvalidInterfaceException
239
-     * @throws UnexpectedEntityException
240
-     * @throws UserError
241
-     * @throws InvalidArgumentException
242
-     * @throws ReflectionException
243
-     * @since $VID:$
244
-     */
245
-    public function resolveField($source, array $args, AppContext $context, ResolveInfo $info)
246
-    {
247
-        $source = $source instanceof RootQuery ? $source : $this->getModel($source);
248
-
249
-        return $this->field_resolver->resolve($source, $args, $context, $info);
250
-    }
251
-
252
-
253
-    /**
254
-     * @param mixed      $payload The payload returned after mutation
255
-     * @param array      $args    The inputArgs on the field
256
-     * @param AppContext $context The AppContext passed down the GraphQL tree
257
-     * @return string|null
258
-     * @throws EE_Error
259
-     */
260
-    public function resolveFromPayload($payload, array $args, AppContext $context)
261
-    {
262
-        if (empty($payload['id'])) {
263
-            return null;
264
-        }
265
-        return $this->model->get_one_by_ID($payload['id']);
266
-    }
267
-
268
-
269
-    /**
270
-     * Prepares a datetime value in ISO8601/RFC3339 format.
271
-     * It is assumed that the value of $datetime is in the format
272
-     * returned by EE_Base_Class::get_format().
273
-     *
274
-     * @param string        $datetime The datetime value.
275
-     * @param EE_Base_Class $source   The source object.
276
-     * @return string ISO8601/RFC3339 formatted datetime.
277
-     */
278
-    public function formatDatetime(string $datetime, EE_Base_Class $source): string
279
-    {
280
-        $format   = $source->get_format();
281
-        // create date object based on local timezone
282
-        $datetime = DateTime::createFromFormat($format, $datetime, new DateTimeZone($source->get_timezone()));
283
-        // change the timezone to UTC
284
-        $datetime->setTimezone(new DateTimeZone('UTC'));
285
-
286
-        return $datetime->format(DateTime::RFC3339);
287
-    }
35
+	/**
36
+	 * @var string $namespace The graphql namespace/prefix.
37
+	 */
38
+	protected $namespace = 'Espresso';
39
+
40
+	/**
41
+	 * @var EEM_Base $model
42
+	 */
43
+	protected $model;
44
+
45
+	/**
46
+	 * @var string $name
47
+	 */
48
+	protected $name = '';
49
+
50
+	/**
51
+	 * @var string $description
52
+	 */
53
+	protected $description = '';
54
+
55
+	/**
56
+	 * @var GraphQLFieldInterface[] $fields
57
+	 */
58
+	protected $fields = [];
59
+
60
+	/**
61
+	 * @var array $graphql_to_model_map
62
+	 */
63
+	protected $graphql_to_model_map = [];
64
+
65
+	/**
66
+	 * @var FieldResolver $field_resolver
67
+	 */
68
+	protected $field_resolver;
69
+
70
+	/**
71
+	 * @var bool $is_custom_post_type
72
+	 */
73
+	protected $is_custom_post_type = false;
74
+
75
+
76
+	/**
77
+	 * TypeBase constructor.
78
+	 *
79
+	 * @param EEM_Base|null $model
80
+	 */
81
+	public function __construct(EEM_Base $model = null)
82
+	{
83
+		$this->model = $model;
84
+		$this->setFields($this->getFields());
85
+		$this->field_resolver = new FieldResolver(
86
+			$this->model,
87
+			$this->getFieldsForResolver()
88
+		);
89
+	}
90
+
91
+
92
+	/**
93
+	 * @return GraphQLFieldInterface[]
94
+	 * @since $VID:$
95
+	 */
96
+	abstract protected function getFields(): array;
97
+
98
+
99
+	/**
100
+	 * @return string
101
+	 */
102
+	public function name(): string
103
+	{
104
+		return $this->name;
105
+	}
106
+
107
+
108
+	/**
109
+	 * @param string $name
110
+	 */
111
+	protected function setName(string $name)
112
+	{
113
+		$this->name = $name;
114
+	}
115
+
116
+
117
+	/**
118
+	 * @return string
119
+	 */
120
+	public function description(): string
121
+	{
122
+		return $this->description;
123
+	}
124
+
125
+
126
+	/**
127
+	 * @param string $description
128
+	 */
129
+	protected function setDescription(string $description)
130
+	{
131
+		$this->description = $description;
132
+	}
133
+
134
+
135
+	/**
136
+	 * @return GraphQLFieldInterface[]
137
+	 * @since $VID:$
138
+	 */
139
+	public function fields(): array
140
+	{
141
+		return (array) $this->fields;
142
+	}
143
+
144
+
145
+	/**
146
+	 * @param GraphQLFieldInterface[] $fields
147
+	 */
148
+	protected function setFields(array $fields)
149
+	{
150
+		foreach ($fields as $field) {
151
+			if ($field instanceof GraphQLField) {
152
+				$this->fields[] = $field;
153
+			}
154
+		}
155
+	}
156
+
157
+
158
+	/**
159
+	 * Creates a key map for internal resolver.
160
+	 *
161
+	 * @return array
162
+	 * @since $VID:$
163
+	 */
164
+	public function getFieldsForResolver(): array
165
+	{
166
+		$fields = [];
167
+		foreach ($this->fields() as $field) {
168
+			if ($field->useForOutput()) {
169
+				$fields[ $field->name() ] = $field;
170
+			}
171
+		}
172
+		return $fields;
173
+	}
174
+
175
+
176
+	/**
177
+	 * @return bool
178
+	 */
179
+	public function isCustomPostType(): bool
180
+	{
181
+		return $this->is_custom_post_type;
182
+	}
183
+
184
+
185
+	/**
186
+	 * @param bool $is_custom_post_type
187
+	 */
188
+	protected function setIsCustomPostType(bool $is_custom_post_type)
189
+	{
190
+		$this->is_custom_post_type = filter_var($is_custom_post_type, FILTER_VALIDATE_BOOLEAN);
191
+	}
192
+
193
+
194
+	/**
195
+	 * @param int|float $value
196
+	 * @return int
197
+	 * @since $VID:$
198
+	 */
199
+	public function parseInfiniteValue($value): int
200
+	{
201
+		$value = trim($value);
202
+		return $value === null
203
+			   || $value === ''
204
+			   || $value === '∞'
205
+			   || $value === 'INF'
206
+			   || $value === INF
207
+			   || $value === EE_INF
208
+			   || is_infinite((float) $value)
209
+			? -1
210
+			: $value;
211
+	}
212
+
213
+
214
+	/**
215
+	 * @param mixed $source
216
+	 * @return EE_Base_Class|null
217
+	 * @throws EE_Error
218
+	 */
219
+	private function getModel($source): ?EE_Base_Class
220
+	{
221
+		// If it comes from a custom connection
222
+		// where the $source is already instantiated.
223
+		if ($source instanceof EE_Base_Class) {
224
+			return $source;
225
+		}
226
+		return $source instanceof Post ? $this->model->get_one_by_ID($source->ID) : null;
227
+	}
228
+
229
+
230
+	/**
231
+	 * @param mixed       $source  The source that's passed down the GraphQL queries
232
+	 * @param array       $args    The inputArgs on the field
233
+	 * @param AppContext  $context The AppContext passed down the GraphQL tree
234
+	 * @param ResolveInfo $info    The ResolveInfo passed down the GraphQL tree
235
+	 * @return mixed
236
+	 * @throws EE_Error
237
+	 * @throws InvalidDataTypeException
238
+	 * @throws InvalidInterfaceException
239
+	 * @throws UnexpectedEntityException
240
+	 * @throws UserError
241
+	 * @throws InvalidArgumentException
242
+	 * @throws ReflectionException
243
+	 * @since $VID:$
244
+	 */
245
+	public function resolveField($source, array $args, AppContext $context, ResolveInfo $info)
246
+	{
247
+		$source = $source instanceof RootQuery ? $source : $this->getModel($source);
248
+
249
+		return $this->field_resolver->resolve($source, $args, $context, $info);
250
+	}
251
+
252
+
253
+	/**
254
+	 * @param mixed      $payload The payload returned after mutation
255
+	 * @param array      $args    The inputArgs on the field
256
+	 * @param AppContext $context The AppContext passed down the GraphQL tree
257
+	 * @return string|null
258
+	 * @throws EE_Error
259
+	 */
260
+	public function resolveFromPayload($payload, array $args, AppContext $context)
261
+	{
262
+		if (empty($payload['id'])) {
263
+			return null;
264
+		}
265
+		return $this->model->get_one_by_ID($payload['id']);
266
+	}
267
+
268
+
269
+	/**
270
+	 * Prepares a datetime value in ISO8601/RFC3339 format.
271
+	 * It is assumed that the value of $datetime is in the format
272
+	 * returned by EE_Base_Class::get_format().
273
+	 *
274
+	 * @param string        $datetime The datetime value.
275
+	 * @param EE_Base_Class $source   The source object.
276
+	 * @return string ISO8601/RFC3339 formatted datetime.
277
+	 */
278
+	public function formatDatetime(string $datetime, EE_Base_Class $source): string
279
+	{
280
+		$format   = $source->get_format();
281
+		// create date object based on local timezone
282
+		$datetime = DateTime::createFromFormat($format, $datetime, new DateTimeZone($source->get_timezone()));
283
+		// change the timezone to UTC
284
+		$datetime->setTimezone(new DateTimeZone('UTC'));
285
+
286
+		return $datetime->format(DateTime::RFC3339);
287
+	}
288 288
 }
Please login to merge, or discard this patch.
languages/event_espresso-translations-js.php 1 patch
Spacing   +601 added lines, -601 removed lines patch added patch discarded remove patch
@@ -2,226 +2,226 @@  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: packages/ui-components/src/Pagination/constants.ts:6
5
-	__( '2', 'event_espresso' ),
5
+	__('2', 'event_espresso'),
6 6
 
7 7
 	// Reference: packages/ui-components/src/Pagination/constants.ts:7
8
-	__( '6', 'event_espresso' ),
8
+	__('6', 'event_espresso'),
9 9
 
10 10
 	// Reference: packages/ui-components/src/Pagination/constants.ts:8
11
-	__( '12', 'event_espresso' ),
11
+	__('12', 'event_espresso'),
12 12
 
13 13
 	// Reference: packages/ui-components/src/Pagination/constants.ts:9
14
-	__( '24', 'event_espresso' ),
14
+	__('24', 'event_espresso'),
15 15
 
16 16
 	// Reference: packages/ui-components/src/Pagination/constants.ts:10
17
-	__( '48', 'event_espresso' ),
17
+	__('48', 'event_espresso'),
18 18
 
19 19
 	// Reference: domains/core/admin/blocks/src/components/AvatarImage.tsx:27
20
-	__( 'contact avatar', 'event_espresso' ),
20
+	__('contact avatar', 'event_espresso'),
21 21
 
22 22
 	// Reference: domains/core/admin/blocks/src/components/OrderByControl.tsx:12
23
-	__( 'Order by', 'event_espresso' ),
23
+	__('Order by', 'event_espresso'),
24 24
 
25 25
 	// Reference: domains/core/admin/blocks/src/components/RegStatusControl.tsx:17
26 26
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectStatus.tsx:13
27
-	__( 'Select Registration Status', 'event_espresso' ),
27
+	__('Select Registration Status', 'event_espresso'),
28 28
 
29 29
 	// Reference: domains/core/admin/blocks/src/components/SortOrderControl.tsx:14
30
-	__( 'Ascending', 'event_espresso' ),
30
+	__('Ascending', 'event_espresso'),
31 31
 
32 32
 	// Reference: domains/core/admin/blocks/src/components/SortOrderControl.tsx:18
33
-	__( 'Descending', 'event_espresso' ),
33
+	__('Descending', 'event_espresso'),
34 34
 
35 35
 	// Reference: domains/core/admin/blocks/src/components/SortOrderControl.tsx:24
36
-	__( 'Sort order:', 'event_espresso' ),
36
+	__('Sort order:', 'event_espresso'),
37 37
 
38 38
 	// Reference: domains/core/admin/blocks/src/event-attendees/AttendeesDisplay.tsx:41
39
-	__( 'There was some error fetching attendees list', 'event_espresso' ),
39
+	__('There was some error fetching attendees list', 'event_espresso'),
40 40
 
41 41
 	// Reference: domains/core/admin/blocks/src/event-attendees/AttendeesDisplay.tsx:47
42
-	__( 'To get started, select what event you want to show attendees from in the block settings.', 'event_espresso' ),
42
+	__('To get started, select what event you want to show attendees from in the block settings.', 'event_espresso'),
43 43
 
44 44
 	// Reference: domains/core/admin/blocks/src/event-attendees/AttendeesDisplay.tsx:53
45
-	__( 'There are no attendees for selected options.', 'event_espresso' ),
45
+	__('There are no attendees for selected options.', 'event_espresso'),
46 46
 
47 47
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/ArchiveSettings.tsx:12
48
-	__( 'Display on Archives', 'event_espresso' ),
48
+	__('Display on Archives', 'event_espresso'),
49 49
 
50 50
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/ArchiveSettings.tsx:17
51
-	__( 'Attendees are shown whenever this post is listed in an archive view.', 'event_espresso' ),
51
+	__('Attendees are shown whenever this post is listed in an archive view.', 'event_espresso'),
52 52
 
53 53
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/ArchiveSettings.tsx:18
54
-	__( 'Attendees are hidden whenever this post is listed in an archive view.', 'event_espresso' ),
54
+	__('Attendees are hidden whenever this post is listed in an archive view.', 'event_espresso'),
55 55
 
56 56
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/AttendeeLimit.tsx:29
57
-	__( 'Number of Attendees to Display:', 'event_espresso' ),
57
+	__('Number of Attendees to Display:', 'event_espresso'),
58 58
 
59 59
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/AttendeeLimit.tsx:34
60 60
 	/* translators: %d attendees count */
61
-	_n_noop( 'Used to adjust the number of attendees displayed (There is %d total attendee for the current filter settings).', 'Used to adjust the number of attendees displayed (There are %d total attendees for the current filter settings).', 'event_espresso' ),
61
+	_n_noop('Used to adjust the number of attendees displayed (There is %d total attendee for the current filter settings).', 'Used to adjust the number of attendees displayed (There are %d total attendees for the current filter settings).', 'event_espresso'),
62 62
 
63 63
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/GravatarSettings.tsx:27
64
-	__( 'Display Gravatar', 'event_espresso' ),
64
+	__('Display Gravatar', 'event_espresso'),
65 65
 
66 66
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/GravatarSettings.tsx:32
67
-	__( 'Gravatar images are shown for each attendee.', 'event_espresso' ),
67
+	__('Gravatar images are shown for each attendee.', 'event_espresso'),
68 68
 
69 69
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/GravatarSettings.tsx:33
70
-	__( 'No gravatar images are shown for each attendee.', 'event_espresso' ),
70
+	__('No gravatar images are shown for each attendee.', 'event_espresso'),
71 71
 
72 72
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/GravatarSettings.tsx:38
73
-	__( 'Size of Gravatar', 'event_espresso' ),
73
+	__('Size of Gravatar', 'event_espresso'),
74 74
 
75 75
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectDatetime.tsx:22
76
-	__( 'Select Datetime', 'event_espresso' ),
76
+	__('Select Datetime', 'event_espresso'),
77 77
 
78 78
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectEvent.tsx:22
79
-	__( 'Select Event', 'event_espresso' ),
79
+	__('Select Event', 'event_espresso'),
80 80
 
81 81
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:11
82
-	__( 'Attendee id', 'event_espresso' ),
82
+	__('Attendee id', 'event_espresso'),
83 83
 
84 84
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:15
85
-	__( 'Last name only', 'event_espresso' ),
85
+	__('Last name only', 'event_espresso'),
86 86
 
87 87
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:19
88
-	__( 'First name only', 'event_espresso' ),
88
+	__('First name only', 'event_espresso'),
89 89
 
90 90
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:23
91
-	__( 'First, then Last name', 'event_espresso' ),
91
+	__('First, then Last name', 'event_espresso'),
92 92
 
93 93
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:27
94
-	__( 'Last, then First name', 'event_espresso' ),
94
+	__('Last, then First name', 'event_espresso'),
95 95
 
96 96
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectOrderBy.tsx:41
97
-	__( 'Order Attendees by:', 'event_espresso' ),
97
+	__('Order Attendees by:', 'event_espresso'),
98 98
 
99 99
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/SelectTicket.tsx:22
100
-	__( 'Select Ticket', 'event_espresso' ),
100
+	__('Select Ticket', 'event_espresso'),
101 101
 
102 102
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/index.tsx:21
103
-	__( 'Filter By Settings', 'event_espresso' ),
103
+	__('Filter By Settings', 'event_espresso'),
104 104
 
105 105
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/index.tsx:36
106
-	__( 'Gravatar Setttings', 'event_espresso' ),
106
+	__('Gravatar Setttings', 'event_espresso'),
107 107
 
108 108
 	// Reference: domains/core/admin/blocks/src/event-attendees/controls/index.tsx:39
109
-	__( 'Archive Settings', 'event_espresso' ),
109
+	__('Archive Settings', 'event_espresso'),
110 110
 
111 111
 	// Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:10
112
-	__( 'Event Attendees', 'event_espresso' ),
112
+	__('Event Attendees', 'event_espresso'),
113 113
 
114 114
 	// Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:11
115
-	__( 'Displays a list of people that have registered for the specified event', 'event_espresso' ),
115
+	__('Displays a list of people that have registered for the specified event', 'event_espresso'),
116 116
 
117 117
 	// Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:14
118
-	__( 'event', 'event_espresso' ),
118
+	__('event', 'event_espresso'),
119 119
 
120 120
 	// Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:14
121
-	__( 'attendees', 'event_espresso' ),
121
+	__('attendees', 'event_espresso'),
122 122
 
123 123
 	// Reference: domains/core/admin/blocks/src/event-attendees/index.tsx:14
124
-	__( 'list', 'event_espresso' ),
124
+	__('list', 'event_espresso'),
125 125
 
126 126
 	// Reference: domains/core/admin/blocks/src/services/utils.ts:17
127
-	__( 'Error', 'event_espresso' ),
127
+	__('Error', 'event_espresso'),
128 128
 
129 129
 	// Reference: domains/core/admin/blocks/src/services/utils.ts:24
130 130
 	// Reference: packages/ui-components/src/SimpleEntityList/EntityTemplate.tsx:16
131
-	__( 'Select…', 'event_espresso' ),
131
+	__('Select…', 'event_espresso'),
132 132
 
133 133
 	// Reference: domains/core/admin/blocks/src/services/utils.ts:9
134
-	__( 'Loading…', 'event_espresso' ),
134
+	__('Loading…', 'event_espresso'),
135 135
 
136 136
 	// Reference: domains/core/admin/eventEditor/src/ui/EventDescription.tsx:33
137
-	__( 'Event Description', 'event_espresso' ),
137
+	__('Event Description', 'event_espresso'),
138 138
 
139 139
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/ActiveStatus.tsx:22
140
-	__( 'Active status', 'event_espresso' ),
140
+	__('Active status', 'event_espresso'),
141 141
 
142 142
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/AltRegPage.tsx:14
143
-	__( 'Alternative Registration Page', 'event_espresso' ),
143
+	__('Alternative Registration Page', 'event_espresso'),
144 144
 
145 145
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/DefaultRegistrationStatus.tsx:15
146
-	__( 'Default Registration Status', 'event_espresso' ),
146
+	__('Default Registration Status', 'event_espresso'),
147 147
 
148 148
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/Donations.tsx:9
149
-	__( 'Donations Enabled', 'event_espresso' ),
149
+	__('Donations Enabled', 'event_espresso'),
150 150
 
151 151
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/Donations.tsx:9
152
-	__( 'Donations Disabled', 'event_espresso' ),
152
+	__('Donations Disabled', 'event_espresso'),
153 153
 
154 154
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/EventManager.tsx:16
155
-	__( 'Event Manager', 'event_espresso' ),
155
+	__('Event Manager', 'event_espresso'),
156 156
 
157 157
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/EventPhoneNumber.tsx:11
158
-	__( 'Event Phone Number', 'event_espresso' ),
158
+	__('Event Phone Number', 'event_espresso'),
159 159
 
160 160
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/MaxRegistrations.tsx:12
161
-	__( 'Max Registrations per Transaction', 'event_espresso' ),
161
+	__('Max Registrations per Transaction', 'event_espresso'),
162 162
 
163 163
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/TicketSelector.tsx:9
164
-	__( 'Ticket Selector Enabled', 'event_espresso' ),
164
+	__('Ticket Selector Enabled', 'event_espresso'),
165 165
 
166 166
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/TicketSelector.tsx:9
167
-	__( 'Ticket Selector Disabled', 'event_espresso' ),
167
+	__('Ticket Selector Disabled', 'event_espresso'),
168 168
 
169 169
 	// Reference: domains/core/admin/eventEditor/src/ui/EventRegistrationOptions/index.tsx:43
170
-	__( 'Registration Options', 'event_espresso' ),
170
+	__('Registration Options', 'event_espresso'),
171 171
 
172 172
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/DateRegistrationsLink.tsx:13
173
-	__( 'view ALL registrations for this date.', 'event_espresso' ),
173
+	__('view ALL registrations for this date.', 'event_espresso'),
174 174
 
175 175
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:10
176
-	__( 'primary information about the date', 'event_espresso' ),
176
+	__('primary information about the date', 'event_espresso'),
177 177
 
178 178
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:10
179
-	__( 'Date Details', 'event_espresso' ),
179
+	__('Date Details', 'event_espresso'),
180 180
 
181 181
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:11
182 182
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:16
183 183
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:16
184
-	__( 'relations between tickets and dates', 'event_espresso' ),
184
+	__('relations between tickets and dates', 'event_espresso'),
185 185
 
186 186
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:11
187
-	__( 'Assign Tickets', 'event_espresso' ),
187
+	__('Assign Tickets', 'event_espresso'),
188 188
 
189 189
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/FooterButtons.tsx:22
190
-	__( 'Save and assign tickets', 'event_espresso' ),
190
+	__('Save and assign tickets', 'event_espresso'),
191 191
 
192 192
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/Modal.tsx:27
193 193
 	/* translators: %s datetime id */
194
-	__( 'Edit datetime %s', 'event_espresso' ),
194
+	__('Edit datetime %s', 'event_espresso'),
195 195
 
196 196
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/multiStep/Modal.tsx:30
197
-	__( 'New Datetime', 'event_espresso' ),
197
+	__('New Datetime', 'event_espresso'),
198 198
 
199 199
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:110
200 200
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:108
201 201
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:126
202 202
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:108
203
-	__( 'Details', 'event_espresso' ),
203
+	__('Details', 'event_espresso'),
204 204
 
205 205
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:114
206 206
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:112
207 207
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:81
208
-	__( 'Capacity', 'event_espresso' ),
208
+	__('Capacity', 'event_espresso'),
209 209
 
210 210
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:119
211
-	__( 'The maximum number of registrants that can attend the event at this particular date.', 'event_espresso' ),
211
+	__('The maximum number of registrants that can attend the event at this particular date.', 'event_espresso'),
212 212
 
213 213
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:123
214
-	__( 'Set to 0 to close registration or leave blank for no limit.', 'event_espresso' ),
214
+	__('Set to 0 to close registration or leave blank for no limit.', 'event_espresso'),
215 215
 
216 216
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:129
217 217
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:203
218
-	__( 'Trash', 'event_espresso' ),
218
+	__('Trash', 'event_espresso'),
219 219
 
220 220
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:71
221 221
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:45
222 222
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:87
223 223
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:45
224
-	__( 'Basics', 'event_espresso' ),
224
+	__('Basics', 'event_espresso'),
225 225
 
226 226
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:75
227 227
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:49
@@ -229,249 +229,249 @@  discard block
 block discarded – undo
229 229
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:91
230 230
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:49
231 231
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:40
232
-	__( 'Name', 'event_espresso' ),
232
+	__('Name', 'event_espresso'),
233 233
 
234 234
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:80
235 235
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:55
236 236
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:96
237 237
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:55
238 238
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:47
239
-	__( 'Description', 'event_espresso' ),
239
+	__('Description', 'event_espresso'),
240 240
 
241 241
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:88
242 242
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:63
243 243
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:63
244
-	__( 'Dates', 'event_espresso' ),
244
+	__('Dates', 'event_espresso'),
245 245
 
246 246
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:92
247 247
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:51
248 248
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:108
249
-	__( 'Start Date', 'event_espresso' ),
249
+	__('Start Date', 'event_espresso'),
250 250
 
251 251
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:99
252 252
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:65
253 253
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:115
254
-	__( 'End Date', 'event_espresso' ),
254
+	__('End Date', 'event_espresso'),
255 255
 
256 256
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesList.tsx:35
257 257
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/TableView.tsx:33
258
-	__( 'Event Dates', 'event_espresso' ),
258
+	__('Event Dates', 'event_espresso'),
259 259
 
260 260
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesList.tsx:38
261
-	__( 'loading event dates…', 'event_espresso' ),
261
+	__('loading event dates…', 'event_espresso'),
262 262
 
263 263
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesListButtons.tsx:20
264
-	__( 'Add a date or a ticket in order to use Ticket Assignment Manager', 'event_espresso' ),
264
+	__('Add a date or a ticket in order to use Ticket Assignment Manager', 'event_espresso'),
265 265
 
266 266
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/DatesListButtons.tsx:30
267
-	__( 'Ticket Assignments', 'event_espresso' ),
267
+	__('Ticket Assignments', 'event_espresso'),
268 268
 
269 269
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:25
270
-	__( 'Number of related tickets', 'event_espresso' ),
270
+	__('Number of related tickets', 'event_espresso'),
271 271
 
272 272
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:26
273
-	__( 'There are no tickets assigned to this datetime. Please click the ticket icon to update the assignments.', 'event_espresso' ),
273
+	__('There are no tickets assigned to this datetime. Please click the ticket icon to update the assignments.', 'event_espresso'),
274 274
 
275 275
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:34
276
-	__( 'assign tickets', 'event_espresso' ),
276
+	__('assign tickets', 'event_espresso'),
277 277
 
278 278
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:25
279
-	__( 'Permanently delete Datetime?', 'event_espresso' ),
279
+	__('Permanently delete Datetime?', 'event_espresso'),
280 280
 
281 281
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:25
282
-	__( 'Move Datetime to Trash?', 'event_espresso' ),
282
+	__('Move Datetime to Trash?', 'event_espresso'),
283 283
 
284 284
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:27
285
-	__( 'Are you sure you want to permanently delete this datetime? This action is permanent and can not be undone.', 'event_espresso' ),
285
+	__('Are you sure you want to permanently delete this datetime? This action is permanent and can not be undone.', 'event_espresso'),
286 286
 
287 287
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:30
288
-	__( 'Are you sure you want to move this datetime to the trash? You can "untrash" this datetime later if you need to.', 'event_espresso' ),
288
+	__('Are you sure you want to move this datetime to the trash? You can "untrash" this datetime later if you need to.', 'event_espresso'),
289 289
 
290 290
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:39
291 291
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:44
292
-	__( 'delete permanently', 'event_espresso' ),
292
+	__('delete permanently', 'event_espresso'),
293 293
 
294 294
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:39
295
-	__( 'trash datetime', 'event_espresso' ),
295
+	__('trash datetime', 'event_espresso'),
296 296
 
297 297
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:45
298
-	__( 'event date main menu', 'event_espresso' ),
298
+	__('event date main menu', 'event_espresso'),
299 299
 
300 300
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:59
301
-	__( 'edit datetime', 'event_espresso' ),
301
+	__('edit datetime', 'event_espresso'),
302 302
 
303 303
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:60
304
-	__( 'copy datetime', 'event_espresso' ),
304
+	__('copy datetime', 'event_espresso'),
305 305
 
306 306
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:36
307 307
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:39
308 308
 	// Reference: packages/ui-components/src/bulkEdit/BulkActions.tsx:43
309
-	__( 'bulk actions', 'event_espresso' ),
309
+	__('bulk actions', 'event_espresso'),
310 310
 
311 311
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:40
312
-	__( 'edit datetime details', 'event_espresso' ),
312
+	__('edit datetime details', 'event_espresso'),
313 313
 
314 314
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:44
315
-	__( 'delete datetimes', 'event_espresso' ),
315
+	__('delete datetimes', 'event_espresso'),
316 316
 
317 317
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:44
318
-	__( 'trash datetimes', 'event_espresso' ),
318
+	__('trash datetimes', 'event_espresso'),
319 319
 
320 320
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:14
321
-	__( 'Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso' ),
321
+	__('Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso'),
322 322
 
323 323
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:15
324
-	__( 'Are you sure you want to trash these datetimes?', 'event_espresso' ),
324
+	__('Are you sure you want to trash these datetimes?', 'event_espresso'),
325 325
 
326 326
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:16
327
-	__( 'Delete datetimes permanently', 'event_espresso' ),
327
+	__('Delete datetimes permanently', 'event_espresso'),
328 328
 
329 329
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:16
330
-	__( 'Trash datetimes', 'event_espresso' ),
330
+	__('Trash datetimes', 'event_espresso'),
331 331
 
332 332
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:21
333
-	__( 'Bulk edit date details', 'event_espresso' ),
333
+	__('Bulk edit date details', 'event_espresso'),
334 334
 
335 335
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:22
336
-	__( 'any changes will be applied to ALL of the selected dates.', 'event_espresso' ),
336
+	__('any changes will be applied to ALL of the selected dates.', 'event_espresso'),
337 337
 
338 338
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/formValidation.ts:12
339 339
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/formValidation.ts:12
340
-	__( 'Name must be at least three characters', 'event_espresso' ),
340
+	__('Name must be at least three characters', 'event_espresso'),
341 341
 
342 342
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:67
343 343
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:67
344
-	__( 'Shift dates', 'event_espresso' ),
344
+	__('Shift dates', 'event_espresso'),
345 345
 
346 346
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:92
347 347
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:92
348
-	__( 'earlier', 'event_espresso' ),
348
+	__('earlier', 'event_espresso'),
349 349
 
350 350
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:96
351 351
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:96
352
-	__( 'later', 'event_espresso' ),
352
+	__('later', 'event_espresso'),
353 353
 
354 354
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCapacity.tsx:37
355
-	__( 'edit capacity (registration limit)…', 'event_espresso' ),
355
+	__('edit capacity (registration limit)…', 'event_espresso'),
356 356
 
357 357
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:38
358
-	__( 'Edit Event Date', 'event_espresso' ),
358
+	__('Edit Event Date', 'event_espresso'),
359 359
 
360 360
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:42
361
-	__( 'edit start and end dates', 'event_espresso' ),
361
+	__('edit start and end dates', 'event_espresso'),
362 362
 
363 363
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:15
364 364
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:15
365
-	__( 'sold', 'event_espresso' ),
365
+	__('sold', 'event_espresso'),
366 366
 
367 367
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:28
368
-	__( 'capacity', 'event_espresso' ),
368
+	__('capacity', 'event_espresso'),
369 369
 
370 370
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:34
371 371
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:33
372
-	__( 'reg list', 'event_espresso' ),
372
+	__('reg list', 'event_espresso'),
373 373
 
374 374
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:46
375 375
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:45
376
-	__( 'Edit description', 'event_espresso' ),
376
+	__('Edit description', 'event_espresso'),
377 377
 
378 378
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:47
379 379
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:46
380
-	__( 'edit description…', 'event_espresso' ),
380
+	__('edit description…', 'event_espresso'),
381 381
 
382 382
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:10
383
-	__( 'Move Date to Trash', 'event_espresso' ),
383
+	__('Move Date to Trash', 'event_espresso'),
384 384
 
385 385
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:13
386 386
 	// Reference: packages/constants/src/datetime.ts:6
387
-	__( 'Active', 'event_espresso' ),
387
+	__('Active', 'event_espresso'),
388 388
 
389 389
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:14
390 390
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:13
391
-	__( 'Trashed', 'event_espresso' ),
391
+	__('Trashed', 'event_espresso'),
392 392
 
393 393
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:15
394 394
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:14
395 395
 	// Reference: packages/constants/src/datetime.ts:8
396
-	__( 'Expired', 'event_espresso' ),
396
+	__('Expired', 'event_espresso'),
397 397
 
398 398
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:16
399 399
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:16
400
-	__( 'Sold Out', 'event_espresso' ),
400
+	__('Sold Out', 'event_espresso'),
401 401
 
402 402
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:17
403 403
 	// Reference: packages/constants/src/datetime.ts:12
404
-	__( 'Upcoming', 'event_espresso' ),
404
+	__('Upcoming', 'event_espresso'),
405 405
 
406 406
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:7
407
-	__( 'Edit Event Date Details', 'event_espresso' ),
407
+	__('Edit Event Date Details', 'event_espresso'),
408 408
 
409 409
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:8
410
-	__( 'View Registrations for this Date', 'event_espresso' ),
410
+	__('View Registrations for this Date', 'event_espresso'),
411 411
 
412 412
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/config.ts:9
413
-	__( 'Manage Ticket Assignments', 'event_espresso' ),
413
+	__('Manage Ticket Assignments', 'event_espresso'),
414 414
 
415 415
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/editable/EditableName.tsx:23
416 416
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/editable/EditableName.tsx:34
417
-	__( 'edit title…', 'event_espresso' ),
417
+	__('edit title…', 'event_espresso'),
418 418
 
419 419
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/ActiveDatesFilters.tsx:17
420 420
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/ActiveTicketsFilters.tsx:17
421
-	__( 'ON', 'event_espresso' ),
421
+	__('ON', 'event_espresso'),
422 422
 
423 423
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:10
424
-	__( 'end dates only', 'event_espresso' ),
424
+	__('end dates only', 'event_espresso'),
425 425
 
426 426
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:11
427
-	__( 'start and end dates', 'event_espresso' ),
427
+	__('start and end dates', 'event_espresso'),
428 428
 
429 429
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:16
430
-	__( 'dates above 90% capacity', 'event_espresso' ),
430
+	__('dates above 90% capacity', 'event_espresso'),
431 431
 
432 432
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:17
433
-	__( 'dates above 75% capacity', 'event_espresso' ),
433
+	__('dates above 75% capacity', 'event_espresso'),
434 434
 
435 435
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:18
436
-	__( 'dates above 50% capacity', 'event_espresso' ),
436
+	__('dates above 50% capacity', 'event_espresso'),
437 437
 
438 438
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:19
439
-	__( 'dates below 50% capacity', 'event_espresso' ),
439
+	__('dates below 50% capacity', 'event_espresso'),
440 440
 
441 441
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:23
442
-	__( 'all dates', 'event_espresso' ),
442
+	__('all dates', 'event_espresso'),
443 443
 
444 444
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:24
445
-	__( 'all active and upcoming', 'event_espresso' ),
445
+	__('all active and upcoming', 'event_espresso'),
446 446
 
447 447
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:25
448
-	__( 'active dates only', 'event_espresso' ),
448
+	__('active dates only', 'event_espresso'),
449 449
 
450 450
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:26
451
-	__( 'upcoming dates only', 'event_espresso' ),
451
+	__('upcoming dates only', 'event_espresso'),
452 452
 
453 453
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:27
454
-	__( 'next active or upcoming only', 'event_espresso' ),
454
+	__('next active or upcoming only', 'event_espresso'),
455 455
 
456 456
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:28
457
-	__( 'sold out dates only', 'event_espresso' ),
457
+	__('sold out dates only', 'event_espresso'),
458 458
 
459 459
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:29
460
-	__( 'recently expired dates', 'event_espresso' ),
460
+	__('recently expired dates', 'event_espresso'),
461 461
 
462 462
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:30
463
-	__( 'all expired dates', 'event_espresso' ),
463
+	__('all expired dates', 'event_espresso'),
464 464
 
465 465
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:31
466
-	__( 'trashed dates only', 'event_espresso' ),
466
+	__('trashed dates only', 'event_espresso'),
467 467
 
468 468
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:35
469 469
 	// Reference: packages/dates/src/components/DateRangePicker/DateRangePickerLegend.tsx:9
470 470
 	// Reference: packages/dates/src/components/DateRangePicker/index.tsx:61
471
-	__( 'start date', 'event_espresso' ),
471
+	__('start date', 'event_espresso'),
472 472
 
473 473
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:36
474
-	__( 'name', 'event_espresso' ),
474
+	__('name', 'event_espresso'),
475 475
 
476 476
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:37
477 477
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:31
@@ -479,141 +479,141 @@  discard block
 block discarded – undo
479 479
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/HeaderCell.tsx:27
480 480
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:31
481 481
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:23
482
-	__( 'ID', 'event_espresso' ),
482
+	__('ID', 'event_espresso'),
483 483
 
484 484
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:38
485 485
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:47
486
-	__( 'custom order', 'event_espresso' ),
486
+	__('custom order', 'event_espresso'),
487 487
 
488 488
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:42
489 489
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:51
490
-	__( 'display', 'event_espresso' ),
490
+	__('display', 'event_espresso'),
491 491
 
492 492
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:43
493
-	__( 'recurrence', 'event_espresso' ),
493
+	__('recurrence', 'event_espresso'),
494 494
 
495 495
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:44
496 496
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:53
497
-	__( 'sales', 'event_espresso' ),
497
+	__('sales', 'event_espresso'),
498 498
 
499 499
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:45
500 500
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:55
501
-	__( 'sort by', 'event_espresso' ),
501
+	__('sort by', 'event_espresso'),
502 502
 
503 503
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:46
504 504
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:54
505 505
 	// Reference: packages/ee-components/src/EntityList/EntityListFilterBar.tsx:46
506
-	__( 'search', 'event_espresso' ),
506
+	__('search', 'event_espresso'),
507 507
 
508 508
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:47
509 509
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:56
510
-	__( 'status', 'event_espresso' ),
510
+	__('status', 'event_espresso'),
511 511
 
512 512
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:9
513
-	__( 'start dates only', 'event_espresso' ),
513
+	__('start dates only', 'event_espresso'),
514 514
 
515 515
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:26
516 516
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/NewDateModal.tsx:12
517 517
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/OptionsModalButton.tsx:16
518
-	__( 'Add New Date', 'event_espresso' ),
518
+	__('Add New Date', 'event_espresso'),
519 519
 
520 520
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:26
521
-	__( 'Add Single Date', 'event_espresso' ),
521
+	__('Add Single Date', 'event_espresso'),
522 522
 
523 523
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:43
524
-	__( 'Add a single date that only occurs once', 'event_espresso' ),
524
+	__('Add a single date that only occurs once', 'event_espresso'),
525 525
 
526 526
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:45
527
-	__( 'Single Date', 'event_espresso' ),
527
+	__('Single Date', 'event_espresso'),
528 528
 
529 529
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:106
530
-	__( 'Reg list', 'event_espresso' ),
530
+	__('Reg list', 'event_espresso'),
531 531
 
532 532
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:107
533 533
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:111
534
-	__( 'Regs', 'event_espresso' ),
534
+	__('Regs', 'event_espresso'),
535 535
 
536 536
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:122
537 537
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:126
538 538
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:59
539
-	__( 'Actions', 'event_espresso' ),
539
+	__('Actions', 'event_espresso'),
540 540
 
541 541
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:52
542
-	__( 'Start', 'event_espresso' ),
542
+	__('Start', 'event_espresso'),
543 543
 
544 544
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:66
545
-	__( 'End', 'event_espresso' ),
545
+	__('End', 'event_espresso'),
546 546
 
547 547
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:82
548
-	__( 'Cap', 'event_espresso' ),
548
+	__('Cap', 'event_espresso'),
549 549
 
550 550
 	// Reference: domains/core/admin/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:94
551 551
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:98
552
-	__( 'Sold', 'event_espresso' ),
552
+	__('Sold', 'event_espresso'),
553 553
 
554 554
 	// Reference: domains/core/admin/eventEditor/src/ui/registrationForm/RegistrationForm.tsx:11
555
-	__( 'Registration Form Builder', 'event_espresso' ),
555
+	__('Registration Form Builder', 'event_espresso'),
556 556
 
557 557
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:18
558
-	__( 'Tickets must always have at least one date assigned to them but one or more of the tickets below does not have any. 
559
-Please correct the assignments for the highlighted cells.', 'event_espresso' ),
558
+	__('Tickets must always have at least one date assigned to them but one or more of the tickets below does not have any. 
559
+Please correct the assignments for the highlighted cells.', 'event_espresso'),
560 560
 
561 561
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:22
562
-	__( '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. 
563
-Please correct the assignments for the highlighted cells.', 'event_espresso' ),
562
+	__('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. 
563
+Please correct the assignments for the highlighted cells.', 'event_espresso'),
564 564
 
565 565
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:32
566
-	__( 'Please Update Assignments', 'event_espresso' ),
566
+	__('Please Update Assignments', 'event_espresso'),
567 567
 
568 568
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:26
569
-	__( 'There seem to be some dates/tickets which have no tickets/dates assigned. Do you want to fix them now?', 'event_espresso' ),
569
+	__('There seem to be some dates/tickets which have no tickets/dates assigned. Do you want to fix them now?', 'event_espresso'),
570 570
 
571 571
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:29
572 572
 	// Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:74
573 573
 	// Reference: packages/ui-components/src/Modal/ModalWithAlert.tsx:21
574
-	__( 'Alert!', 'event_espresso' ),
574
+	__('Alert!', 'event_espresso'),
575 575
 
576 576
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:42
577 577
 	/* translators: 1 entity id, 2 entity name */
578
-	__( 'Ticket Assignment Manager for Datetime: %1$s - %2$s', 'event_espresso' ),
578
+	__('Ticket Assignment Manager for Datetime: %1$s - %2$s', 'event_espresso'),
579 579
 
580 580
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:49
581 581
 	/* translators: 1 entity id, 2 entity name */
582
-	__( 'Ticket Assignment Manager for Ticket: %1$s - %2$s', 'event_espresso' ),
582
+	__('Ticket Assignment Manager for Ticket: %1$s - %2$s', 'event_espresso'),
583 583
 
584 584
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal.tsx:28
585 585
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/Table.tsx:13
586
-	__( 'Ticket Assignment Manager', 'event_espresso' ),
586
+	__('Ticket Assignment Manager', 'event_espresso'),
587 587
 
588 588
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:10
589
-	__( 'existing relation', 'event_espresso' ),
589
+	__('existing relation', 'event_espresso'),
590 590
 
591 591
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:15
592
-	__( 'remove existing relation', 'event_espresso' ),
592
+	__('remove existing relation', 'event_espresso'),
593 593
 
594 594
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:20
595
-	__( 'add new relation', 'event_espresso' ),
595
+	__('add new relation', 'event_espresso'),
596 596
 
597 597
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:25
598
-	__( 'invalid relation', 'event_espresso' ),
598
+	__('invalid relation', 'event_espresso'),
599 599
 
600 600
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/config.ts:29
601
-	__( 'no relation', 'event_espresso' ),
601
+	__('no relation', 'event_espresso'),
602 602
 
603 603
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/BodyCell.tsx:23
604
-	__( 'assign ticket', 'event_espresso' ),
604
+	__('assign ticket', 'event_espresso'),
605 605
 
606 606
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:15
607
-	__( 'Assignments', 'event_espresso' ),
607
+	__('Assignments', 'event_espresso'),
608 608
 
609 609
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:16
610
-	__( 'Event Dates are listed below', 'event_espresso' ),
610
+	__('Event Dates are listed below', 'event_espresso'),
611 611
 
612 612
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:17
613
-	__( 'Tickets are listed along the top', 'event_espresso' ),
613
+	__('Tickets are listed along the top', 'event_espresso'),
614 614
 
615 615
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/table/useGetHeaderRows.tsx:18
616
-	__( 'Click the cell buttons to toggle assigments', 'event_espresso' ),
616
+	__('Click the cell buttons to toggle assigments', 'event_espresso'),
617 617
 
618 618
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/components/useSubmitButtonProps.ts:29
619 619
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:16
@@ -622,1321 +622,1321 @@  discard block
 block discarded – undo
622 622
 	// Reference: packages/tpc/src/buttons/useSubmitButtonProps.tsx:29
623 623
 	// Reference: packages/ui-components/src/Modal/useSubmitButtonProps.tsx:13
624 624
 	// Reference: packages/ui-components/src/Stepper/buttons/Submit.tsx:7
625
-	__( 'Submit', 'event_espresso' ),
625
+	__('Submit', 'event_espresso'),
626 626
 
627 627
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:20
628
-	__( 'All Dates', 'event_espresso' ),
628
+	__('All Dates', 'event_espresso'),
629 629
 
630 630
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:27
631
-	__( 'dates by month', 'event_espresso' ),
631
+	__('dates by month', 'event_espresso'),
632 632
 
633 633
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowExpiredTicketsControl.tsx:16
634
-	__( 'show expired tickets', 'event_espresso' ),
634
+	__('show expired tickets', 'event_espresso'),
635 635
 
636 636
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedDatesControl.tsx:13
637
-	__( 'show trashed dates', 'event_espresso' ),
637
+	__('show trashed dates', 'event_espresso'),
638 638
 
639 639
 	// Reference: domains/core/admin/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedTicketsControl.tsx:16
640
-	__( 'show trashed tickets', 'event_espresso' ),
640
+	__('show trashed tickets', 'event_espresso'),
641 641
 
642 642
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:13
643
-	__( 'total registrations.', 'event_espresso' ),
643
+	__('total registrations.', 'event_espresso'),
644 644
 
645 645
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:14
646
-	__( 'view ALL registrations for this ticket.', 'event_espresso' ),
646
+	__('view ALL registrations for this ticket.', 'event_espresso'),
647 647
 
648 648
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/Container.tsx:38
649 649
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actions/Actions.tsx:21
650
-	__( 'Default tickets', 'event_espresso' ),
650
+	__('Default tickets', 'event_espresso'),
651 651
 
652 652
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:26
653 653
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:33
654
-	__( 'Set ticket prices', 'event_espresso' ),
654
+	__('Set ticket prices', 'event_espresso'),
655 655
 
656 656
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:31
657
-	__( 'Skip prices - Save', 'event_espresso' ),
657
+	__('Skip prices - Save', 'event_espresso'),
658 658
 
659 659
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:37
660 660
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:57
661
-	__( 'Ticket details', 'event_espresso' ),
661
+	__('Ticket details', 'event_espresso'),
662 662
 
663 663
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/FooterButtons.tsx:38
664
-	__( 'Save', 'event_espresso' ),
664
+	__('Save', 'event_espresso'),
665 665
 
666 666
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/Modal.tsx:22
667 667
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/Modal.tsx:26
668 668
 	/* translators: %s ticket id */
669
-	__( 'Edit ticket %s', 'event_espresso' ),
669
+	__('Edit ticket %s', 'event_espresso'),
670 670
 
671 671
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/Modal.tsx:25
672 672
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/Modal.tsx:29
673
-	__( 'New Ticket Details', 'event_espresso' ),
673
+	__('New Ticket Details', 'event_espresso'),
674 674
 
675 675
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:10
676 676
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:10
677
-	__( 'primary information about the ticket', 'event_espresso' ),
677
+	__('primary information about the ticket', 'event_espresso'),
678 678
 
679 679
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:10
680 680
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:10
681
-	__( 'Ticket Details', 'event_espresso' ),
681
+	__('Ticket Details', 'event_espresso'),
682 682
 
683 683
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:12
684 684
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:12
685
-	__( 'apply ticket price modifiers and taxes', 'event_espresso' ),
685
+	__('apply ticket price modifiers and taxes', 'event_espresso'),
686 686
 
687 687
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:14
688 688
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:14
689
-	__( 'Price Calculator', 'event_espresso' ),
689
+	__('Price Calculator', 'event_espresso'),
690 690
 
691 691
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/defaultTickets/multiStep/TicketFormSteps.tsx:16
692 692
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:16
693
-	__( 'Assign Dates', 'event_espresso' ),
693
+	__('Assign Dates', 'event_espresso'),
694 694
 
695 695
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:39
696
-	__( 'Skip prices - assign dates', 'event_espresso' ),
696
+	__('Skip prices - assign dates', 'event_espresso'),
697 697
 
698 698
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/multiStep/FooterButtons.tsx:50
699
-	__( 'Save and assign dates', 'event_espresso' ),
699
+	__('Save and assign dates', 'event_espresso'),
700 700
 
701 701
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:104
702
-	__( 'Ticket Sales', 'event_espresso' ),
702
+	__('Ticket Sales', 'event_espresso'),
703 703
 
704 704
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:130
705 705
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:112
706
-	__( 'Quantity For Sale', 'event_espresso' ),
706
+	__('Quantity For Sale', 'event_espresso'),
707 707
 
708 708
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:136
709
-	__( 'The maximum number of this ticket available for sale.', 'event_espresso' ),
709
+	__('The maximum number of this ticket available for sale.', 'event_espresso'),
710 710
 
711 711
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:138
712
-	__( 'Set to 0 to stop sales, or leave blank for no limit.', 'event_espresso' ),
712
+	__('Set to 0 to stop sales, or leave blank for no limit.', 'event_espresso'),
713 713
 
714 714
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:144
715 715
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:121
716
-	__( 'Number of Uses', 'event_espresso' ),
716
+	__('Number of Uses', 'event_espresso'),
717 717
 
718 718
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:150
719
-	__( 'Controls the total number of times this ticket can be used, regardless of the number of dates it is assigned to.', 'event_espresso' ),
719
+	__('Controls the total number of times this ticket can be used, regardless of the number of dates it is assigned to.', 'event_espresso'),
720 720
 
721 721
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:154
722
-	__( 'Example: A ticket might have access to 4 different dates, but setting this field to 2 would mean that the ticket could only be used twice. Leave blank for no limit.', 'event_espresso' ),
722
+	__('Example: A ticket might have access to 4 different dates, but setting this field to 2 would mean that the ticket could only be used twice. Leave blank for no limit.', 'event_espresso'),
723 723
 
724 724
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:162
725 725
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:129
726
-	__( 'Minimum Quantity', 'event_espresso' ),
726
+	__('Minimum Quantity', 'event_espresso'),
727 727
 
728 728
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:167
729
-	__( 'The minimum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso' ),
729
+	__('The minimum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso'),
730 730
 
731 731
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:171
732
-	__( 'Leave blank for no minimum.', 'event_espresso' ),
732
+	__('Leave blank for no minimum.', 'event_espresso'),
733 733
 
734 734
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:177
735 735
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:137
736
-	__( 'Maximum Quantity', 'event_espresso' ),
736
+	__('Maximum Quantity', 'event_espresso'),
737 737
 
738 738
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:183
739
-	__( 'The maximum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso' ),
739
+	__('The maximum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.', 'event_espresso'),
740 740
 
741 741
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:187
742
-	__( 'Leave blank for no maximum.', 'event_espresso' ),
742
+	__('Leave blank for no maximum.', 'event_espresso'),
743 743
 
744 744
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:193
745 745
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:146
746
-	__( 'Required Ticket', 'event_espresso' ),
746
+	__('Required Ticket', 'event_espresso'),
747 747
 
748 748
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:195
749
-	__( 'If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso' ),
749
+	__('If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso'),
750 750
 
751 751
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:209
752
-	__( 'Visibility', 'event_espresso' ),
752
+	__('Visibility', 'event_espresso'),
753 753
 
754 754
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.ts:211
755
-	__( 'Where the ticket can be viewed throughout the UI.', 'event_espresso' ),
755
+	__('Where the ticket can be viewed throughout the UI.', 'event_espresso'),
756 756
 
757 757
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:36
758
-	__( 'Available Tickets', 'event_espresso' ),
758
+	__('Available Tickets', 'event_espresso'),
759 759
 
760 760
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:39
761
-	__( 'loading tickets…', 'event_espresso' ),
761
+	__('loading tickets…', 'event_espresso'),
762 762
 
763 763
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:26
764
-	__( 'Number of related dates', 'event_espresso' ),
764
+	__('Number of related dates', 'event_espresso'),
765 765
 
766 766
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:27
767
-	__( 'There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso' ),
767
+	__('There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso'),
768 768
 
769 769
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:37
770
-	__( 'assign dates', 'event_espresso' ),
770
+	__('assign dates', 'event_espresso'),
771 771
 
772 772
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:18
773
-	__( 'Permanently delete Ticket?', 'event_espresso' ),
773
+	__('Permanently delete Ticket?', 'event_espresso'),
774 774
 
775 775
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:18
776
-	__( 'Move Ticket to Trash?', 'event_espresso' ),
776
+	__('Move Ticket to Trash?', 'event_espresso'),
777 777
 
778 778
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:21
779
-	__( 'Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso' ),
779
+	__('Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso'),
780 780
 
781 781
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:22
782
-	__( 'Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso' ),
782
+	__('Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso'),
783 783
 
784 784
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/DeleteTicket.tsx:44
785 785
 	// Reference: packages/ee-components/src/SimpleTicketCard/actions/Trash.tsx:6
786
-	__( 'trash ticket', 'event_espresso' ),
786
+	__('trash ticket', 'event_espresso'),
787 787
 
788 788
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:25
789
-	__( 'ticket main menu', 'event_espresso' ),
789
+	__('ticket main menu', 'event_espresso'),
790 790
 
791 791
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:38
792 792
 	// Reference: packages/ee-components/src/SimpleTicketCard/actions/Edit.tsx:15
793
-	__( 'edit ticket', 'event_espresso' ),
793
+	__('edit ticket', 'event_espresso'),
794 794
 
795 795
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:39
796
-	__( 'copy ticket', 'event_espresso' ),
796
+	__('copy ticket', 'event_espresso'),
797 797
 
798 798
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:43
799
-	__( 'edit ticket details', 'event_espresso' ),
799
+	__('edit ticket details', 'event_espresso'),
800 800
 
801 801
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:47
802
-	__( 'delete tickets', 'event_espresso' ),
802
+	__('delete tickets', 'event_espresso'),
803 803
 
804 804
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:47
805
-	__( 'trash tickets', 'event_espresso' ),
805
+	__('trash tickets', 'event_espresso'),
806 806
 
807 807
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:51
808
-	__( 'edit ticket prices', 'event_espresso' ),
808
+	__('edit ticket prices', 'event_espresso'),
809 809
 
810 810
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:14
811
-	__( 'Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso' ),
811
+	__('Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso'),
812 812
 
813 813
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:15
814
-	__( 'Are you sure you want to trash these tickets?', 'event_espresso' ),
814
+	__('Are you sure you want to trash these tickets?', 'event_espresso'),
815 815
 
816 816
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:16
817
-	__( 'Delete tickets permanently', 'event_espresso' ),
817
+	__('Delete tickets permanently', 'event_espresso'),
818 818
 
819 819
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:16
820
-	__( 'Trash tickets', 'event_espresso' ),
820
+	__('Trash tickets', 'event_espresso'),
821 821
 
822 822
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:21
823
-	__( 'Bulk edit ticket details', 'event_espresso' ),
823
+	__('Bulk edit ticket details', 'event_espresso'),
824 824
 
825 825
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:22
826
-	__( 'any changes will be applied to ALL of the selected tickets.', 'event_espresso' ),
826
+	__('any changes will be applied to ALL of the selected tickets.', 'event_espresso'),
827 827
 
828 828
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/EditPrices.tsx:19
829
-	__( 'Bulk edit ticket prices', 'event_espresso' ),
829
+	__('Bulk edit ticket prices', 'event_espresso'),
830 830
 
831 831
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:20
832
-	__( 'Edit all prices together', 'event_espresso' ),
832
+	__('Edit all prices together', 'event_espresso'),
833 833
 
834 834
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:21
835
-	__( 'Edit all the selected ticket prices dynamically', 'event_espresso' ),
835
+	__('Edit all the selected ticket prices dynamically', 'event_espresso'),
836 836
 
837 837
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:25
838
-	__( 'Edit prices individually', 'event_espresso' ),
838
+	__('Edit prices individually', 'event_espresso'),
839 839
 
840 840
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:26
841
-	__( 'Edit prices for each ticket individually', 'event_espresso' ),
841
+	__('Edit prices for each ticket individually', 'event_espresso'),
842 842
 
843 843
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:14
844 844
 	// Reference: packages/ee-components/src/bulkEdit/details/Submit.tsx:34
845 845
 	// Reference: packages/form/src/ResetButton.tsx:18
846 846
 	// Reference: packages/tpc/src/buttons/useResetButtonProps.tsx:12
847
-	__( 'Reset', 'event_espresso' ),
847
+	__('Reset', 'event_espresso'),
848 848
 
849 849
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:15
850 850
 	// Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:76
851 851
 	// Reference: packages/ui-components/src/Modal/useCancelButtonProps.tsx:10
852
-	__( 'Cancel', 'event_espresso' ),
852
+	__('Cancel', 'event_espresso'),
853 853
 
854 854
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/editSeparately/TPCInstance.tsx:26
855 855
 	/* translators: %s ticket name */
856
-	__( 'Edit prices for Ticket: %s', 'event_espresso' ),
856
+	__('Edit prices for Ticket: %s', 'event_espresso'),
857 857
 
858 858
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:37
859
-	__( 'Edit Ticket Sale Dates', 'event_espresso' ),
859
+	__('Edit Ticket Sale Dates', 'event_espresso'),
860 860
 
861 861
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:41
862
-	__( 'edit ticket sales start and end dates', 'event_espresso' ),
862
+	__('edit ticket sales start and end dates', 'event_espresso'),
863 863
 
864 864
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:28
865
-	__( 'quantity', 'event_espresso' ),
865
+	__('quantity', 'event_espresso'),
866 866
 
867 867
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/cardView/TicketQuantity.tsx:27
868
-	__( 'edit quantity of tickets available…', 'event_espresso' ),
868
+	__('edit quantity of tickets available…', 'event_espresso'),
869 869
 
870 870
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:10
871
-	__( 'Move Ticket to Trash', 'event_espresso' ),
871
+	__('Move Ticket to Trash', 'event_espresso'),
872 872
 
873 873
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:15
874 874
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:52
875
-	__( 'On Sale', 'event_espresso' ),
875
+	__('On Sale', 'event_espresso'),
876 876
 
877 877
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:17
878
-	__( 'Pending', 'event_espresso' ),
878
+	__('Pending', 'event_espresso'),
879 879
 
880 880
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:7
881
-	__( 'Edit Ticket Details', 'event_espresso' ),
881
+	__('Edit Ticket Details', 'event_espresso'),
882 882
 
883 883
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:8
884
-	__( 'Manage Date Assignments', 'event_espresso' ),
884
+	__('Manage Date Assignments', 'event_espresso'),
885 885
 
886 886
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/config.ts:9
887 887
 	// Reference: packages/tpc/src/components/table/Table.tsx:43
888
-	__( 'Ticket Price Calculator', 'event_espresso' ),
888
+	__('Ticket Price Calculator', 'event_espresso'),
889 889
 
890 890
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:39
891
-	__( 'edit ticket total…', 'event_espresso' ),
891
+	__('edit ticket total…', 'event_espresso'),
892 892
 
893 893
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:53
894
-	__( 'set price…', 'event_espresso' ),
894
+	__('set price…', 'event_espresso'),
895 895
 
896 896
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:23
897
-	__( 'tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso' ),
897
+	__('tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso'),
898 898
 
899 899
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:24
900
-	__( 'tickets list is unlinked and is showing tickets for all event dates', 'event_espresso' ),
900
+	__('tickets list is unlinked and is showing tickets for all event dates', 'event_espresso'),
901 901
 
902 902
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:10
903
-	__( 'ticket sales start and end dates', 'event_espresso' ),
903
+	__('ticket sales start and end dates', 'event_espresso'),
904 904
 
905 905
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:15
906
-	__( 'tickets with 90% or more sold', 'event_espresso' ),
906
+	__('tickets with 90% or more sold', 'event_espresso'),
907 907
 
908 908
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:16
909
-	__( 'tickets with 75% or more sold', 'event_espresso' ),
909
+	__('tickets with 75% or more sold', 'event_espresso'),
910 910
 
911 911
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:17
912
-	__( 'tickets with 50% or more sold', 'event_espresso' ),
912
+	__('tickets with 50% or more sold', 'event_espresso'),
913 913
 
914 914
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:19
915
-	__( 'tickets with less than 50% sold', 'event_espresso' ),
915
+	__('tickets with less than 50% sold', 'event_espresso'),
916 916
 
917 917
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:28
918
-	__( 'all tickets for all dates', 'event_espresso' ),
918
+	__('all tickets for all dates', 'event_espresso'),
919 919
 
920 920
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:29
921
-	__( 'all on sale and sale pending', 'event_espresso' ),
921
+	__('all on sale and sale pending', 'event_espresso'),
922 922
 
923 923
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:30
924
-	__( 'on sale tickets only', 'event_espresso' ),
924
+	__('on sale tickets only', 'event_espresso'),
925 925
 
926 926
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:31
927
-	__( 'sale pending tickets only', 'event_espresso' ),
927
+	__('sale pending tickets only', 'event_espresso'),
928 928
 
929 929
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:32
930
-	__( 'next on sale or sale pending only', 'event_espresso' ),
930
+	__('next on sale or sale pending only', 'event_espresso'),
931 931
 
932 932
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:33
933
-	__( 'sold out tickets only', 'event_espresso' ),
933
+	__('sold out tickets only', 'event_espresso'),
934 934
 
935 935
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:34
936
-	__( 'expired tickets only', 'event_espresso' ),
936
+	__('expired tickets only', 'event_espresso'),
937 937
 
938 938
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:35
939
-	__( 'trashed tickets only', 'event_espresso' ),
939
+	__('trashed tickets only', 'event_espresso'),
940 940
 
941 941
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:40
942
-	__( 'all tickets for above dates', 'event_espresso' ),
942
+	__('all tickets for above dates', 'event_espresso'),
943 943
 
944 944
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:44
945
-	__( 'ticket sale date', 'event_espresso' ),
945
+	__('ticket sale date', 'event_espresso'),
946 946
 
947 947
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:45
948
-	__( 'ticket name', 'event_espresso' ),
948
+	__('ticket name', 'event_espresso'),
949 949
 
950 950
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:46
951
-	__( 'ticket ID', 'event_espresso' ),
951
+	__('ticket ID', 'event_espresso'),
952 952
 
953 953
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:52
954
-	__( 'link', 'event_espresso' ),
954
+	__('link', 'event_espresso'),
955 955
 
956 956
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:8
957
-	__( 'ticket sales start date only', 'event_espresso' ),
957
+	__('ticket sales start date only', 'event_espresso'),
958 958
 
959 959
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:9
960
-	__( 'ticket sales end date only', 'event_espresso' ),
960
+	__('ticket sales end date only', 'event_espresso'),
961 961
 
962 962
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:18
963
-	__( 'Add New Ticket', 'event_espresso' ),
963
+	__('Add New Ticket', 'event_espresso'),
964 964
 
965 965
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:32
966
-	__( 'Add a single ticket and assign the dates to it', 'event_espresso' ),
966
+	__('Add a single ticket and assign the dates to it', 'event_espresso'),
967 967
 
968 968
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:34
969
-	__( 'Single Ticket', 'event_espresso' ),
969
+	__('Single Ticket', 'event_espresso'),
970 970
 
971 971
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/TableView.tsx:39
972
-	__( 'Tickets', 'event_espresso' ),
972
+	__('Tickets', 'event_espresso'),
973 973
 
974 974
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:110
975
-	__( 'Registrations', 'event_espresso' ),
975
+	__('Registrations', 'event_espresso'),
976 976
 
977 977
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:51
978
-	__( 'Goes on Sale', 'event_espresso' ),
978
+	__('Goes on Sale', 'event_espresso'),
979 979
 
980 980
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:65
981
-	__( 'Sale Ends', 'event_espresso' ),
981
+	__('Sale Ends', 'event_espresso'),
982 982
 
983 983
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:66
984
-	__( 'Ends', 'event_espresso' ),
984
+	__('Ends', 'event_espresso'),
985 985
 
986 986
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:78
987
-	__( 'Price', 'event_espresso' ),
987
+	__('Price', 'event_espresso'),
988 988
 
989 989
 	// Reference: domains/core/admin/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:88
990
-	__( 'Quantity', 'event_espresso' ),
990
+	__('Quantity', 'event_espresso'),
991 991
 
992 992
 	// Reference: domains/core/admin/wpPluginsPage/src/exitSurvey/Popup.tsx:29
993
-	__( 'Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso' ),
993
+	__('Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso'),
994 994
 
995 995
 	// Reference: domains/core/admin/wpPluginsPage/src/exitSurvey/Popup.tsx:40
996
-	__( 'Skip', 'event_espresso' ),
996
+	__('Skip', 'event_espresso'),
997 997
 
998 998
 	// Reference: domains/core/admin/wpPluginsPage/src/exitSurvey/Popup.tsx:42
999
-	__( 'Sure I\'ll help', 'event_espresso' ),
999
+	__('Sure I\'ll help', 'event_espresso'),
1000 1000
 
1001 1001
 	// Reference: packages/adapters/src/Pagination/Pagination.tsx:23
1002
-	__( 'pagination', 'event_espresso' ),
1002
+	__('pagination', 'event_espresso'),
1003 1003
 
1004 1004
 	// Reference: packages/adapters/src/TagSelector/TagSelector.tsx:112
1005
-	__( 'toggle menu', 'event_espresso' ),
1005
+	__('toggle menu', 'event_espresso'),
1006 1006
 
1007 1007
 	// Reference: packages/constants/src/datetime.ts:10
1008
-	__( 'Postponed', 'event_espresso' ),
1008
+	__('Postponed', 'event_espresso'),
1009 1009
 
1010 1010
 	// Reference: packages/constants/src/datetime.ts:11
1011
-	__( 'SoldOut', 'event_espresso' ),
1011
+	__('SoldOut', 'event_espresso'),
1012 1012
 
1013 1013
 	// Reference: packages/constants/src/datetime.ts:7
1014 1014
 	// Reference: packages/predicates/src/registration/statusOptions.ts:10
1015
-	__( 'Cancelled', 'event_espresso' ),
1015
+	__('Cancelled', 'event_espresso'),
1016 1016
 
1017 1017
 	// Reference: packages/constants/src/datetime.ts:9
1018
-	__( 'Inactive', 'event_espresso' ),
1018
+	__('Inactive', 'event_espresso'),
1019 1019
 
1020 1020
 	// Reference: packages/dates/src/components/DateRangePicker/DateRangePickerLegend.tsx:13
1021
-	__( 'day in range', 'event_espresso' ),
1021
+	__('day in range', 'event_espresso'),
1022 1022
 
1023 1023
 	// Reference: packages/dates/src/components/DateRangePicker/DateRangePickerLegend.tsx:17
1024 1024
 	// Reference: packages/dates/src/components/DateRangePicker/index.tsx:79
1025
-	__( 'end date', 'event_espresso' ),
1025
+	__('end date', 'event_espresso'),
1026 1026
 
1027 1027
 	// Reference: packages/dates/src/components/DateTimePicker.tsx:13
1028 1028
 	// Reference: packages/dates/src/components/TimePicker.tsx:14
1029
-	__( 'time', 'event_espresso' ),
1029
+	__('time', 'event_espresso'),
1030 1030
 
1031 1031
 	// Reference: packages/dates/src/constants.ts:5
1032
-	__( 'End Date & Time must be set later than the Start Date & Time', 'event_espresso' ),
1032
+	__('End Date & Time must be set later than the Start Date & Time', 'event_espresso'),
1033 1033
 
1034 1034
 	// Reference: packages/dates/src/constants.ts:7
1035
-	__( 'Start Date & Time must be set before the End Date & Time', 'event_espresso' ),
1035
+	__('Start Date & Time must be set before the End Date & Time', 'event_espresso'),
1036 1036
 
1037 1037
 	// Reference: packages/dates/src/utils/misc.ts:15
1038
-	__( 'month(s)', 'event_espresso' ),
1038
+	__('month(s)', 'event_espresso'),
1039 1039
 
1040 1040
 	// Reference: packages/dates/src/utils/misc.ts:16
1041
-	__( 'week(s)', 'event_espresso' ),
1041
+	__('week(s)', 'event_espresso'),
1042 1042
 
1043 1043
 	// Reference: packages/dates/src/utils/misc.ts:17
1044
-	__( 'day(s)', 'event_espresso' ),
1044
+	__('day(s)', 'event_espresso'),
1045 1045
 
1046 1046
 	// Reference: packages/dates/src/utils/misc.ts:18
1047
-	__( 'hour(s)', 'event_espresso' ),
1047
+	__('hour(s)', 'event_espresso'),
1048 1048
 
1049 1049
 	// Reference: packages/dates/src/utils/misc.ts:19
1050
-	__( 'minute(s)', 'event_espresso' ),
1050
+	__('minute(s)', 'event_espresso'),
1051 1051
 
1052 1052
 	// Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:105
1053
-	__( 'datetimes initialized', 'event_espresso' ),
1053
+	__('datetimes initialized', 'event_espresso'),
1054 1054
 
1055 1055
 	// Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:115
1056
-	__( 'tickets initialized', 'event_espresso' ),
1056
+	__('tickets initialized', 'event_espresso'),
1057 1057
 
1058 1058
 	// Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:125
1059
-	__( 'prices initialized', 'event_espresso' ),
1059
+	__('prices initialized', 'event_espresso'),
1060 1060
 
1061 1061
 	// Reference: packages/edtr-services/src/apollo/initialization/useCacheRehydration.ts:95
1062
-	__( 'price types initialized', 'event_espresso' ),
1062
+	__('price types initialized', 'event_espresso'),
1063 1063
 
1064 1064
 	// Reference: packages/edtr-services/src/apollo/mutations/useReorderEntities.ts:72
1065
-	__( 'reordering has been applied', 'event_espresso' ),
1065
+	__('reordering has been applied', 'event_espresso'),
1066 1066
 
1067 1067
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:38
1068 1068
 	// Reference: packages/ui-components/src/EditDateRangeButton/EditDateRangeButton.tsx:39
1069
-	__( 'End date has been adjusted', 'event_espresso' ),
1069
+	__('End date has been adjusted', 'event_espresso'),
1070 1070
 
1071 1071
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:59
1072
-	__( 'Required', 'event_espresso' ),
1072
+	__('Required', 'event_espresso'),
1073 1073
 
1074 1074
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:64
1075
-	__( 'Start Date is required', 'event_espresso' ),
1075
+	__('Start Date is required', 'event_espresso'),
1076 1076
 
1077 1077
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:68
1078
-	__( 'End Date is required', 'event_espresso' ),
1078
+	__('End Date is required', 'event_espresso'),
1079 1079
 
1080 1080
 	// Reference: packages/ee-components/src/EntityList/EntityList.tsx:31
1081
-	__( 'no results found', 'event_espresso' ),
1081
+	__('no results found', 'event_espresso'),
1082 1082
 
1083 1083
 	// Reference: packages/ee-components/src/EntityList/EntityList.tsx:32
1084
-	__( 'try changing filter settings', 'event_espresso' ),
1084
+	__('try changing filter settings', 'event_espresso'),
1085 1085
 
1086 1086
 	// Reference: packages/ee-components/src/SimpleTicketCard/SimpleTicketCard.tsx:27
1087 1087
 	// Reference: packages/ui-components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:34
1088
-	__( 'starts', 'event_espresso' ),
1088
+	__('starts', 'event_espresso'),
1089 1089
 
1090 1090
 	// Reference: packages/ee-components/src/SimpleTicketCard/SimpleTicketCard.tsx:34
1091 1091
 	// Reference: packages/ui-components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:47
1092
-	__( 'ends', 'event_espresso' ),
1092
+	__('ends', 'event_espresso'),
1093 1093
 
1094 1094
 	// Reference: packages/ee-components/src/bulkEdit/ActionCheckbox.tsx:38
1095 1095
 	/* translators: %d entity id */
1096
-	__( 'select entity with id %d', 'event_espresso' ),
1096
+	__('select entity with id %d', 'event_espresso'),
1097 1097
 
1098 1098
 	// Reference: packages/ee-components/src/bulkEdit/ActionCheckbox.tsx:41
1099
-	__( 'select all entities', 'event_espresso' ),
1099
+	__('select all entities', 'event_espresso'),
1100 1100
 
1101 1101
 	// Reference: packages/ee-components/src/bulkEdit/details/BulkEditDetails.tsx:20
1102
-	__( 'Note: ', 'event_espresso' ),
1102
+	__('Note: ', 'event_espresso'),
1103 1103
 
1104 1104
 	// Reference: packages/ee-components/src/bulkEdit/details/BulkEditDetails.tsx:20
1105
-	__( 'any changes will be applied to ALL of the selected entities.', 'event_espresso' ),
1105
+	__('any changes will be applied to ALL of the selected entities.', 'event_espresso'),
1106 1106
 
1107 1107
 	// Reference: packages/ee-components/src/bulkEdit/details/BulkEditDetails.tsx:26
1108
-	__( 'Bulk edit details', 'event_espresso' ),
1108
+	__('Bulk edit details', 'event_espresso'),
1109 1109
 
1110 1110
 	// Reference: packages/ee-components/src/bulkEdit/details/Submit.tsx:17
1111
-	__( 'Are you sure you want to bulk update the details?', 'event_espresso' ),
1111
+	__('Are you sure you want to bulk update the details?', 'event_espresso'),
1112 1112
 
1113 1113
 	// Reference: packages/ee-components/src/bulkEdit/details/Submit.tsx:18
1114
-	__( 'Bulk update details', 'event_espresso' ),
1114
+	__('Bulk update details', 'event_espresso'),
1115 1115
 
1116 1116
 	// Reference: packages/ee-components/src/filterBar/SortByControl/index.tsx:26
1117
-	__( 'reorder dates', 'event_espresso' ),
1117
+	__('reorder dates', 'event_espresso'),
1118 1118
 
1119 1119
 	// Reference: packages/ee-components/src/filterBar/SortByControl/index.tsx:26
1120
-	__( 'reorder tickets', 'event_espresso' ),
1120
+	__('reorder tickets', 'event_espresso'),
1121 1121
 
1122 1122
 	// Reference: packages/form-builder/src/FormElement/FormElementToolbar.tsx:32
1123
-	__( 'delete form element', 'event_espresso' ),
1123
+	__('delete form element', 'event_espresso'),
1124 1124
 
1125 1125
 	// Reference: packages/form-builder/src/FormElement/FormElementToolbar.tsx:49
1126
-	__( 'form element settings', 'event_espresso' ),
1126
+	__('form element settings', 'event_espresso'),
1127 1127
 
1128 1128
 	// Reference: packages/form-builder/src/FormElement/FormElementToolbar.tsx:59
1129
-	__( 'copy form element', 'event_espresso' ),
1129
+	__('copy form element', 'event_espresso'),
1130 1130
 
1131 1131
 	// Reference: packages/form-builder/src/FormElement/FormElementToolbar.tsx:69
1132
-	__( 'click, hold, and drag to reorder form element', 'event_espresso' ),
1132
+	__('click, hold, and drag to reorder form element', 'event_espresso'),
1133 1133
 
1134 1134
 	// Reference: packages/form-builder/src/FormElement/Tabs/FieldOption.tsx:20
1135
-	__( 'remove option', 'event_espresso' ),
1135
+	__('remove option', 'event_espresso'),
1136 1136
 
1137 1137
 	// Reference: packages/form-builder/src/FormElement/Tabs/FieldOption.tsx:42
1138
-	__( 'value', 'event_espresso' ),
1138
+	__('value', 'event_espresso'),
1139 1139
 
1140 1140
 	// Reference: packages/form-builder/src/FormElement/Tabs/FieldOption.tsx:52
1141
-	__( 'label', 'event_espresso' ),
1141
+	__('label', 'event_espresso'),
1142 1142
 
1143 1143
 	// Reference: packages/form-builder/src/FormElement/Tabs/FieldOption.tsx:63
1144
-	__( 'click, hold, and drag to reorder field option', 'event_espresso' ),
1144
+	__('click, hold, and drag to reorder field option', 'event_espresso'),
1145 1145
 
1146 1146
 	// Reference: packages/form-builder/src/FormElement/Tabs/FieldOptions.tsx:61
1147
-	__( 'Options are the choices you give people to select from.', 'event_espresso' ),
1147
+	__('Options are the choices you give people to select from.', 'event_espresso'),
1148 1148
 
1149 1149
 	// Reference: packages/form-builder/src/FormElement/Tabs/FieldOptions.tsx:63
1150
-	__( 'The value is a simple key that will be saved to the database and the label is what is shown to the user.', 'event_espresso' ),
1150
+	__('The value is a simple key that will be saved to the database and the label is what is shown to the user.', 'event_espresso'),
1151 1151
 
1152 1152
 	// Reference: packages/form-builder/src/FormElement/Tabs/FieldOptions.tsx:96
1153
-	__( 'add new option', 'event_espresso' ),
1153
+	__('add new option', 'event_espresso'),
1154 1154
 
1155 1155
 	// Reference: packages/form-builder/src/FormElement/Tabs/FormElementTabs.tsx:22
1156 1156
 	// Reference: packages/form-builder/src/FormSection/Tabs/FormSectionTabs.tsx:21
1157
-	__( 'Settings', 'event_espresso' ),
1157
+	__('Settings', 'event_espresso'),
1158 1158
 
1159 1159
 	// Reference: packages/form-builder/src/FormElement/Tabs/FormElementTabs.tsx:26
1160 1160
 	// Reference: packages/form-builder/src/FormSection/Tabs/FormSectionTabs.tsx:25
1161
-	__( 'Styles', 'event_espresso' ),
1161
+	__('Styles', 'event_espresso'),
1162 1162
 
1163 1163
 	// Reference: packages/form-builder/src/FormElement/Tabs/FormElementTabs.tsx:30
1164
-	__( 'Validation', 'event_espresso' ),
1164
+	__('Validation', 'event_espresso'),
1165 1165
 
1166 1166
 	// Reference: packages/form-builder/src/FormElement/Tabs/FormElementTabs.tsx:34
1167 1167
 	// Reference: packages/form-builder/src/FormSection/Tabs/FormSectionTabs.tsx:29
1168
-	__( 'Rules', 'event_espresso' ),
1168
+	__('Rules', 'event_espresso'),
1169 1169
 
1170 1170
 	// Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:18
1171 1171
 	// Reference: packages/form-builder/src/FormSection/Tabs/Settings.tsx:19
1172
-	__( 'admin label', 'event_espresso' ),
1172
+	__('admin label', 'event_espresso'),
1173 1173
 
1174 1174
 	// Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:23
1175
-	__( 'admin only', 'event_espresso' ),
1175
+	__('admin only', 'event_espresso'),
1176 1176
 
1177 1177
 	// Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:30
1178
-	__( 'content', 'event_espresso' ),
1178
+	__('content', 'event_espresso'),
1179 1179
 
1180 1180
 	// Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:39
1181 1181
 	// Reference: packages/form-builder/src/FormSection/Tabs/Settings.tsx:14
1182
-	__( 'public label', 'event_espresso' ),
1182
+	__('public label', 'event_espresso'),
1183 1183
 
1184 1184
 	// Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:44
1185
-	__( 'options', 'event_espresso' ),
1185
+	__('options', 'event_espresso'),
1186 1186
 
1187 1187
 	// Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:47
1188
-	__( 'placeholder', 'event_espresso' ),
1188
+	__('placeholder', 'event_espresso'),
1189 1189
 
1190 1190
 	// Reference: packages/form-builder/src/FormElement/Tabs/Settings.tsx:52
1191
-	__( 'help text', 'event_espresso' ),
1191
+	__('help text', 'event_espresso'),
1192 1192
 
1193 1193
 	// Reference: packages/form-builder/src/FormElement/Tabs/Styles.tsx:14
1194
-	__( 'label css class', 'event_espresso' ),
1194
+	__('label css class', 'event_espresso'),
1195 1195
 
1196 1196
 	// Reference: packages/form-builder/src/FormElement/Tabs/Styles.tsx:19
1197
-	__( 'input css class', 'event_espresso' ),
1197
+	__('input css class', 'event_espresso'),
1198 1198
 
1199 1199
 	// Reference: packages/form-builder/src/FormElement/Tabs/Styles.tsx:24
1200
-	__( 'help text css class', 'event_espresso' ),
1200
+	__('help text css class', 'event_espresso'),
1201 1201
 
1202 1202
 	// Reference: packages/form-builder/src/FormElement/Tabs/Styles.tsx:29
1203
-	__( 'custom css', 'event_espresso' ),
1203
+	__('custom css', 'event_espresso'),
1204 1204
 
1205 1205
 	// Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:16
1206
-	__( 'required', 'event_espresso' ),
1206
+	__('required', 'event_espresso'),
1207 1207
 
1208 1208
 	// Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:21
1209
-	__( 'required text', 'event_espresso' ),
1209
+	__('required text', 'event_espresso'),
1210 1210
 
1211 1211
 	// Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:27
1212
-	__( 'min', 'event_espresso' ),
1212
+	__('min', 'event_espresso'),
1213 1213
 
1214 1214
 	// Reference: packages/form-builder/src/FormElement/Tabs/Validation.tsx:28
1215
-	__( 'max', 'event_espresso' ),
1215
+	__('max', 'event_espresso'),
1216 1216
 
1217 1217
 	// Reference: packages/form-builder/src/FormSection/AddFormElementPopover.tsx:113
1218
-	__( 'add new form element', 'event_espresso' ),
1218
+	__('add new form element', 'event_espresso'),
1219 1219
 
1220 1220
 	// Reference: packages/form-builder/src/FormSection/AddFormElementPopover.tsx:120
1221 1221
 	// Reference: packages/form/src/renderers/RepeatableRenderer.tsx:52
1222 1222
 	// Reference: packages/ui-components/src/SimpleEntityList/EntityTemplate.tsx:27
1223
-	__( 'Add', 'event_espresso' ),
1223
+	__('Add', 'event_espresso'),
1224 1224
 
1225 1225
 	// Reference: packages/form-builder/src/FormSection/AddFormElementPopover.tsx:80
1226
-	__( 'Add Form Element', 'event_espresso' ),
1226
+	__('Add Form Element', 'event_espresso'),
1227 1227
 
1228 1228
 	// Reference: packages/form-builder/src/FormSection/AddFormElementPopover.tsx:89
1229
-	__( 'form element order can be changed after adding by using the drag handles in the form element toolbar', 'event_espresso' ),
1229
+	__('form element order can be changed after adding by using the drag handles in the form element toolbar', 'event_espresso'),
1230 1230
 
1231 1231
 	// Reference: packages/form-builder/src/FormSection/AddFormElementPopover.tsx:96
1232
-	__( 'load existing form section', 'event_espresso' ),
1232
+	__('load existing form section', 'event_espresso'),
1233 1233
 
1234 1234
 	// Reference: packages/form-builder/src/FormSection/FormSectionToolbar.tsx:32
1235
-	__( 'delete form section', 'event_espresso' ),
1235
+	__('delete form section', 'event_espresso'),
1236 1236
 
1237 1237
 	// Reference: packages/form-builder/src/FormSection/FormSectionToolbar.tsx:48
1238
-	__( 'form section settings', 'event_espresso' ),
1238
+	__('form section settings', 'event_espresso'),
1239 1239
 
1240 1240
 	// Reference: packages/form-builder/src/FormSection/FormSectionToolbar.tsx:58
1241
-	__( 'copy form section', 'event_espresso' ),
1241
+	__('copy form section', 'event_espresso'),
1242 1242
 
1243 1243
 	// Reference: packages/form-builder/src/FormSection/FormSectionToolbar.tsx:69
1244
-	__( 'click, hold, and drag to reorder form section', 'event_espresso' ),
1244
+	__('click, hold, and drag to reorder form section', 'event_espresso'),
1245 1245
 
1246 1246
 	// Reference: packages/form-builder/src/FormSection/SaveSection.tsx:43
1247
-	__( 'save form section for use in other forms', 'event_espresso' ),
1247
+	__('save form section for use in other forms', 'event_espresso'),
1248 1248
 
1249 1249
 	// Reference: packages/form-builder/src/FormSection/SaveSection.tsx:47
1250
-	__( 'save as', 'event_espresso' ),
1250
+	__('save as', 'event_espresso'),
1251 1251
 
1252 1252
 	// Reference: packages/form-builder/src/FormSection/SaveSection.tsx:51
1253
-	__( 'default', 'event_espresso' ),
1253
+	__('default', 'event_espresso'),
1254 1254
 
1255 1255
 	// Reference: packages/form-builder/src/FormSection/SaveSection.tsx:54
1256
-	__( ' a copy of this form section will be automatically added to ALL new events', 'event_espresso' ),
1256
+	__(' a copy of this form section will be automatically added to ALL new events', 'event_espresso'),
1257 1257
 
1258 1258
 	// Reference: packages/form-builder/src/FormSection/SaveSection.tsx:57
1259
-	__( 'shared', 'event_espresso' ),
1259
+	__('shared', 'event_espresso'),
1260 1260
 
1261 1261
 	// Reference: packages/form-builder/src/FormSection/SaveSection.tsx:60
1262
-	__( 'a copy of this form section will be saved for use in other events but not loaded by default', 'event_espresso' ),
1262
+	__('a copy of this form section will be saved for use in other events but not loaded by default', 'event_espresso'),
1263 1263
 
1264 1264
 	// Reference: packages/form-builder/src/FormSection/Tabs/Settings.tsx:24
1265
-	__( 'show label', 'event_espresso' ),
1265
+	__('show label', 'event_espresso'),
1266 1266
 
1267 1267
 	// Reference: packages/form-builder/src/FormSection/Tabs/Styles.tsx:13
1268
-	__( 'css class', 'event_espresso' ),
1268
+	__('css class', 'event_espresso'),
1269 1269
 
1270 1270
 	// Reference: packages/form-builder/src/constants.ts:100
1271
-	__( 'adds a text input that allows users to enter a week and year directly via keyboard or a datepicker', 'event_espresso' ),
1271
+	__('adds a text input that allows users to enter a week and year directly via keyboard or a datepicker', 'event_espresso'),
1272 1272
 
1273 1273
 	// Reference: packages/form-builder/src/constants.ts:103
1274
-	__( 'Day Selector', 'event_espresso' ),
1274
+	__('Day Selector', 'event_espresso'),
1275 1275
 
1276 1276
 	// Reference: packages/form-builder/src/constants.ts:105
1277
-	__( 'adds a dropdown selector that allows users to select the day of the month (01 to 31)', 'event_espresso' ),
1277
+	__('adds a dropdown selector that allows users to select the day of the month (01 to 31)', 'event_espresso'),
1278 1278
 
1279 1279
 	// Reference: packages/form-builder/src/constants.ts:108
1280
-	__( 'Month Selector', 'event_espresso' ),
1280
+	__('Month Selector', 'event_espresso'),
1281 1281
 
1282 1282
 	// Reference: packages/form-builder/src/constants.ts:110
1283
-	__( 'adds a dropdown selector that allows users to select the month of the year (01 to 12)', 'event_espresso' ),
1283
+	__('adds a dropdown selector that allows users to select the month of the year (01 to 12)', 'event_espresso'),
1284 1284
 
1285 1285
 	// Reference: packages/form-builder/src/constants.ts:113
1286
-	__( 'Year Selector', 'event_espresso' ),
1286
+	__('Year Selector', 'event_espresso'),
1287 1287
 
1288 1288
 	// Reference: packages/form-builder/src/constants.ts:115
1289
-	__( 'adds a dropdown selector that allows users to select the year from a configurable range', 'event_espresso' ),
1289
+	__('adds a dropdown selector that allows users to select the year from a configurable range', 'event_espresso'),
1290 1290
 
1291 1291
 	// Reference: packages/form-builder/src/constants.ts:118
1292
-	__( 'Radio Buttons', 'event_espresso' ),
1292
+	__('Radio Buttons', 'event_espresso'),
1293 1293
 
1294 1294
 	// Reference: packages/form-builder/src/constants.ts:120
1295
-	__( 'adds one or more radio buttons that allow users to only select one option from those provided', 'event_espresso' ),
1295
+	__('adds one or more radio buttons that allow users to only select one option from those provided', 'event_espresso'),
1296 1296
 
1297 1297
 	// Reference: packages/form-builder/src/constants.ts:123
1298
-	__( 'Decimal Number', 'event_espresso' ),
1298
+	__('Decimal Number', 'event_espresso'),
1299 1299
 
1300 1300
 	// Reference: packages/form-builder/src/constants.ts:125
1301
-	__( 'adds a text input that only accepts numbers whose value is a decimal (float)', 'event_espresso' ),
1301
+	__('adds a text input that only accepts numbers whose value is a decimal (float)', 'event_espresso'),
1302 1302
 
1303 1303
 	// Reference: packages/form-builder/src/constants.ts:128
1304
-	__( 'Whole Number', 'event_espresso' ),
1304
+	__('Whole Number', 'event_espresso'),
1305 1305
 
1306 1306
 	// Reference: packages/form-builder/src/constants.ts:130
1307
-	__( 'adds a text input that only accepts numbers whose value is an integer (whole number)', 'event_espresso' ),
1307
+	__('adds a text input that only accepts numbers whose value is an integer (whole number)', 'event_espresso'),
1308 1308
 
1309 1309
 	// Reference: packages/form-builder/src/constants.ts:133
1310
-	__( 'Number Range', 'event_espresso' ),
1310
+	__('Number Range', 'event_espresso'),
1311 1311
 
1312 1312
 	// Reference: packages/form-builder/src/constants.ts:138
1313
-	__( 'Phone Number', 'event_espresso' ),
1313
+	__('Phone Number', 'event_espresso'),
1314 1314
 
1315 1315
 	// Reference: packages/form-builder/src/constants.ts:143
1316
-	__( 'Dropdown', 'event_espresso' ),
1316
+	__('Dropdown', 'event_espresso'),
1317 1317
 
1318 1318
 	// Reference: packages/form-builder/src/constants.ts:145
1319
-	__( 'adds a dropdown selector that accepts a single value', 'event_espresso' ),
1319
+	__('adds a dropdown selector that accepts a single value', 'event_espresso'),
1320 1320
 
1321 1321
 	// Reference: packages/form-builder/src/constants.ts:148
1322
-	__( 'Multi Select', 'event_espresso' ),
1322
+	__('Multi Select', 'event_espresso'),
1323 1323
 
1324 1324
 	// Reference: packages/form-builder/src/constants.ts:150
1325
-	__( 'adds a dropdown selector that accepts multiple values', 'event_espresso' ),
1325
+	__('adds a dropdown selector that accepts multiple values', 'event_espresso'),
1326 1326
 
1327 1327
 	// Reference: packages/form-builder/src/constants.ts:153
1328
-	__( 'Toggle/Switch', 'event_espresso' ),
1328
+	__('Toggle/Switch', 'event_espresso'),
1329 1329
 
1330 1330
 	// Reference: packages/form-builder/src/constants.ts:155
1331
-	__( 'adds a toggle or a switch to accept true or false value', 'event_espresso' ),
1331
+	__('adds a toggle or a switch to accept true or false value', 'event_espresso'),
1332 1332
 
1333 1333
 	// Reference: packages/form-builder/src/constants.ts:158
1334
-	__( 'Multi Checkbox', 'event_espresso' ),
1334
+	__('Multi Checkbox', 'event_espresso'),
1335 1335
 
1336 1336
 	// Reference: packages/form-builder/src/constants.ts:160
1337
-	__( 'adds checkboxes that allow users to select zero or more options from those provided', 'event_espresso' ),
1337
+	__('adds checkboxes that allow users to select zero or more options from those provided', 'event_espresso'),
1338 1338
 
1339 1339
 	// Reference: packages/form-builder/src/constants.ts:163
1340
-	__( 'Country Selector', 'event_espresso' ),
1340
+	__('Country Selector', 'event_espresso'),
1341 1341
 
1342 1342
 	// Reference: packages/form-builder/src/constants.ts:165
1343
-	__( 'adds a dropdown selector populated with names of countries that are enabled for the site', 'event_espresso' ),
1343
+	__('adds a dropdown selector populated with names of countries that are enabled for the site', 'event_espresso'),
1344 1344
 
1345 1345
 	// Reference: packages/form-builder/src/constants.ts:168
1346
-	__( 'State Selector', 'event_espresso' ),
1346
+	__('State Selector', 'event_espresso'),
1347 1347
 
1348 1348
 	// Reference: packages/form-builder/src/constants.ts:173
1349
-	__( 'Button', 'event_espresso' ),
1349
+	__('Button', 'event_espresso'),
1350 1350
 
1351 1351
 	// Reference: packages/form-builder/src/constants.ts:175
1352
-	__( 'adds a button to the form that can be used for triggering fucntionality (requires custom coding)', 'event_espresso' ),
1352
+	__('adds a button to the form that can be used for triggering fucntionality (requires custom coding)', 'event_espresso'),
1353 1353
 
1354 1354
 	// Reference: packages/form-builder/src/constants.ts:178
1355
-	__( 'Reset Button', 'event_espresso' ),
1355
+	__('Reset Button', 'event_espresso'),
1356 1356
 
1357 1357
 	// Reference: packages/form-builder/src/constants.ts:180
1358
-	__( 'adds a button that will reset the form back to its orginial state.', 'event_espresso' ),
1358
+	__('adds a button that will reset the form back to its orginial state.', 'event_espresso'),
1359 1359
 
1360 1360
 	// Reference: packages/form-builder/src/constants.ts:31
1361
-	__( 'Form Section', 'event_espresso' ),
1361
+	__('Form Section', 'event_espresso'),
1362 1362
 
1363 1363
 	// Reference: packages/form-builder/src/constants.ts:33
1364
-	__( 'Used for creating logical groupings for questions and form elements. Need to add a heading or description? Use the HTML form element.', 'event_espresso' ),
1364
+	__('Used for creating logical groupings for questions and form elements. Need to add a heading or description? Use the HTML form element.', 'event_espresso'),
1365 1365
 
1366 1366
 	// Reference: packages/form-builder/src/constants.ts:38
1367
-	__( 'HTML Block', 'event_espresso' ),
1367
+	__('HTML Block', 'event_espresso'),
1368 1368
 
1369 1369
 	// Reference: packages/form-builder/src/constants.ts:40
1370
-	__( 'allows you to add HTML like headings or text paragraphs to your form', 'event_espresso' ),
1370
+	__('allows you to add HTML like headings or text paragraphs to your form', 'event_espresso'),
1371 1371
 
1372 1372
 	// Reference: packages/form-builder/src/constants.ts:43
1373
-	__( 'Text Input', 'event_espresso' ),
1373
+	__('Text Input', 'event_espresso'),
1374 1374
 
1375 1375
 	// Reference: packages/form-builder/src/constants.ts:45
1376
-	__( 'adds a text input that only accepts plain text', 'event_espresso' ),
1376
+	__('adds a text input that only accepts plain text', 'event_espresso'),
1377 1377
 
1378 1378
 	// Reference: packages/form-builder/src/constants.ts:48
1379
-	__( 'Plain Text Area', 'event_espresso' ),
1379
+	__('Plain Text Area', 'event_espresso'),
1380 1380
 
1381 1381
 	// Reference: packages/form-builder/src/constants.ts:50
1382
-	__( 'adds a textarea block that only accepts plain text', 'event_espresso' ),
1382
+	__('adds a textarea block that only accepts plain text', 'event_espresso'),
1383 1383
 
1384 1384
 	// Reference: packages/form-builder/src/constants.ts:53
1385
-	__( 'HTML Text Area', 'event_espresso' ),
1385
+	__('HTML Text Area', 'event_espresso'),
1386 1386
 
1387 1387
 	// Reference: packages/form-builder/src/constants.ts:55
1388
-	__( 'adds a textarea block that accepts text including simple HTML markup', 'event_espresso' ),
1388
+	__('adds a textarea block that accepts text including simple HTML markup', 'event_espresso'),
1389 1389
 
1390 1390
 	// Reference: packages/form-builder/src/constants.ts:58
1391
-	__( 'Email Address', 'event_espresso' ),
1391
+	__('Email Address', 'event_espresso'),
1392 1392
 
1393 1393
 	// Reference: packages/form-builder/src/constants.ts:60
1394
-	__( 'adds a text input that only accets a valid email address', 'event_espresso' ),
1394
+	__('adds a text input that only accets a valid email address', 'event_espresso'),
1395 1395
 
1396 1396
 	// Reference: packages/form-builder/src/constants.ts:63
1397
-	__( 'Email Confirmation', 'event_espresso' ),
1397
+	__('Email Confirmation', 'event_espresso'),
1398 1398
 
1399 1399
 	// Reference: packages/form-builder/src/constants.ts:68
1400
-	__( 'Password', 'event_espresso' ),
1400
+	__('Password', 'event_espresso'),
1401 1401
 
1402 1402
 	// Reference: packages/form-builder/src/constants.ts:70
1403
-	__( 'adds a text input that accepts text but masks what the user enters', 'event_espresso' ),
1403
+	__('adds a text input that accepts text but masks what the user enters', 'event_espresso'),
1404 1404
 
1405 1405
 	// Reference: packages/form-builder/src/constants.ts:73
1406
-	__( 'URL', 'event_espresso' ),
1406
+	__('URL', 'event_espresso'),
1407 1407
 
1408 1408
 	// Reference: packages/form-builder/src/constants.ts:75
1409
-	__( 'adds a text input for entering a URL address', 'event_espresso' ),
1409
+	__('adds a text input for entering a URL address', 'event_espresso'),
1410 1410
 
1411 1411
 	// Reference: packages/form-builder/src/constants.ts:78
1412
-	__( 'Date', 'event_espresso' ),
1412
+	__('Date', 'event_espresso'),
1413 1413
 
1414 1414
 	// Reference: packages/form-builder/src/constants.ts:80
1415
-	__( 'adds a text input that allows users to enter a date directly via keyboard or a datepicker', 'event_espresso' ),
1415
+	__('adds a text input that allows users to enter a date directly via keyboard or a datepicker', 'event_espresso'),
1416 1416
 
1417 1417
 	// Reference: packages/form-builder/src/constants.ts:83
1418
-	__( 'Local Date', 'event_espresso' ),
1418
+	__('Local Date', 'event_espresso'),
1419 1419
 
1420 1420
 	// Reference: packages/form-builder/src/constants.ts:88
1421
-	__( 'Month', 'event_espresso' ),
1421
+	__('Month', 'event_espresso'),
1422 1422
 
1423 1423
 	// Reference: packages/form-builder/src/constants.ts:90
1424
-	__( 'adds a text input that allows users to enter a month and year directly via keyboard or a datepicker', 'event_espresso' ),
1424
+	__('adds a text input that allows users to enter a month and year directly via keyboard or a datepicker', 'event_espresso'),
1425 1425
 
1426 1426
 	// Reference: packages/form-builder/src/constants.ts:93
1427
-	__( 'Time', 'event_espresso' ),
1427
+	__('Time', 'event_espresso'),
1428 1428
 
1429 1429
 	// Reference: packages/form-builder/src/constants.ts:95
1430
-	__( 'adds a text input that allows users to enter a time directly via keyboard or a timepicker', 'event_espresso' ),
1430
+	__('adds a text input that allows users to enter a time directly via keyboard or a timepicker', 'event_espresso'),
1431 1431
 
1432 1432
 	// Reference: packages/form-builder/src/constants.ts:98
1433
-	__( 'Week', 'event_espresso' ),
1433
+	__('Week', 'event_espresso'),
1434 1434
 
1435 1435
 	// Reference: packages/form/src/adapters/WPMediaImage.tsx:12
1436
-	__( 'Select Image', 'event_espresso' ),
1436
+	__('Select Image', 'event_espresso'),
1437 1437
 
1438 1438
 	// Reference: packages/form/src/adapters/WPMediaImage.tsx:44
1439 1439
 	// Reference: packages/rich-text-editor/src/components/AdvancedTextEditor/toolbarButtons/WPMedia.tsx:11
1440 1440
 	// Reference: packages/rich-text-editor/src/rte-old/components/toolbarButtons/WPMedia.tsx:12
1441
-	__( 'Select', 'event_espresso' ),
1441
+	__('Select', 'event_espresso'),
1442 1442
 
1443 1443
 	// Reference: packages/form/src/renderers/RepeatableRenderer.tsx:36
1444 1444
 	/* translators: %d the entry number */
1445
-	__( 'Entry %d', 'event_espresso' ),
1445
+	__('Entry %d', 'event_espresso'),
1446 1446
 
1447 1447
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:11
1448 1448
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:17
1449
-	__( 'sold out', 'event_espresso' ),
1449
+	__('sold out', 'event_espresso'),
1450 1450
 
1451 1451
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:14
1452 1452
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:14
1453
-	__( 'expired', 'event_espresso' ),
1453
+	__('expired', 'event_espresso'),
1454 1454
 
1455 1455
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:17
1456
-	__( 'upcoming', 'event_espresso' ),
1456
+	__('upcoming', 'event_espresso'),
1457 1457
 
1458 1458
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:20
1459
-	__( 'active', 'event_espresso' ),
1459
+	__('active', 'event_espresso'),
1460 1460
 
1461 1461
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:23
1462 1462
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:11
1463
-	__( 'trashed', 'event_espresso' ),
1463
+	__('trashed', 'event_espresso'),
1464 1464
 
1465 1465
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:26
1466
-	__( 'cancelled', 'event_espresso' ),
1466
+	__('cancelled', 'event_espresso'),
1467 1467
 
1468 1468
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:29
1469
-	__( 'postponed', 'event_espresso' ),
1469
+	__('postponed', 'event_espresso'),
1470 1470
 
1471 1471
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:33
1472
-	__( 'inactive', 'event_espresso' ),
1472
+	__('inactive', 'event_espresso'),
1473 1473
 
1474 1474
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:20
1475
-	__( 'pending', 'event_espresso' ),
1475
+	__('pending', 'event_espresso'),
1476 1476
 
1477 1477
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:23
1478
-	__( 'on sale', 'event_espresso' ),
1478
+	__('on sale', 'event_espresso'),
1479 1479
 
1480 1480
 	// Reference: packages/predicates/src/registration/statusOptions.ts:14
1481
-	__( 'Declined', 'event_espresso' ),
1481
+	__('Declined', 'event_espresso'),
1482 1482
 
1483 1483
 	// Reference: packages/predicates/src/registration/statusOptions.ts:18
1484
-	__( 'Incomplete', 'event_espresso' ),
1484
+	__('Incomplete', 'event_espresso'),
1485 1485
 
1486 1486
 	// Reference: packages/predicates/src/registration/statusOptions.ts:22
1487
-	__( 'Not Approved', 'event_espresso' ),
1487
+	__('Not Approved', 'event_espresso'),
1488 1488
 
1489 1489
 	// Reference: packages/predicates/src/registration/statusOptions.ts:26
1490
-	__( 'Pending Payment', 'event_espresso' ),
1490
+	__('Pending Payment', 'event_espresso'),
1491 1491
 
1492 1492
 	// Reference: packages/predicates/src/registration/statusOptions.ts:30
1493
-	__( 'Wait List', 'event_espresso' ),
1493
+	__('Wait List', 'event_espresso'),
1494 1494
 
1495 1495
 	// Reference: packages/predicates/src/registration/statusOptions.ts:6
1496
-	__( 'Approved', 'event_espresso' ),
1496
+	__('Approved', 'event_espresso'),
1497 1497
 
1498 1498
 	// Reference: packages/rich-text-editor/src/components/AdvancedTextEditor/toolbarButtons/WPMedia.tsx:9
1499 1499
 	// Reference: packages/rich-text-editor/src/rte-old/components/toolbarButtons/WPMedia.tsx:10
1500
-	__( 'Select media', 'event_espresso' ),
1500
+	__('Select media', 'event_espresso'),
1501 1501
 
1502 1502
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/RichTextEditor.tsx:84
1503
-	__( 'Write something…', 'event_espresso' ),
1503
+	__('Write something…', 'event_espresso'),
1504 1504
 
1505 1505
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/Toolbar.tsx:20
1506
-	__( 'RTE Toolbar', 'event_espresso' ),
1506
+	__('RTE Toolbar', 'event_espresso'),
1507 1507
 
1508 1508
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:11
1509
-	__( 'Normal', 'event_espresso' ),
1509
+	__('Normal', 'event_espresso'),
1510 1510
 
1511 1511
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:12
1512
-	__( 'H1', 'event_espresso' ),
1512
+	__('H1', 'event_espresso'),
1513 1513
 
1514 1514
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:13
1515
-	__( 'H2', 'event_espresso' ),
1515
+	__('H2', 'event_espresso'),
1516 1516
 
1517 1517
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:14
1518
-	__( 'H3', 'event_espresso' ),
1518
+	__('H3', 'event_espresso'),
1519 1519
 
1520 1520
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:15
1521
-	__( 'H4', 'event_espresso' ),
1521
+	__('H4', 'event_espresso'),
1522 1522
 
1523 1523
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:16
1524
-	__( 'H5', 'event_espresso' ),
1524
+	__('H5', 'event_espresso'),
1525 1525
 
1526 1526
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:17
1527
-	__( 'H6', 'event_espresso' ),
1527
+	__('H6', 'event_espresso'),
1528 1528
 
1529 1529
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:18
1530
-	__( 'Block quote', 'event_espresso' ),
1530
+	__('Block quote', 'event_espresso'),
1531 1531
 
1532 1532
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/blockType/Component.tsx:19
1533
-	__( 'Code', 'event_espresso' ),
1533
+	__('Code', 'event_espresso'),
1534 1534
 
1535 1535
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/colorPicker/Component.tsx:36
1536
-	__( 'Set color', 'event_espresso' ),
1536
+	__('Set color', 'event_espresso'),
1537 1537
 
1538 1538
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/colorPicker/Component.tsx:45
1539
-	__( 'Text color', 'event_espresso' ),
1539
+	__('Text color', 'event_espresso'),
1540 1540
 
1541 1541
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/colorPicker/Component.tsx:47
1542
-	__( 'Background color', 'event_espresso' ),
1542
+	__('Background color', 'event_espresso'),
1543 1543
 
1544 1544
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:39
1545
-	__( 'Add image', 'event_espresso' ),
1545
+	__('Add image', 'event_espresso'),
1546 1546
 
1547 1547
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:51
1548
-	__( 'Image URL', 'event_espresso' ),
1548
+	__('Image URL', 'event_espresso'),
1549 1549
 
1550 1550
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:55
1551
-	__( 'Alt text', 'event_espresso' ),
1551
+	__('Alt text', 'event_espresso'),
1552 1552
 
1553 1553
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:56
1554
-	__( 'Width', 'event_espresso' ),
1554
+	__('Width', 'event_espresso'),
1555 1555
 
1556 1556
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/image/Component.tsx:60
1557
-	__( 'Height', 'event_espresso' ),
1557
+	__('Height', 'event_espresso'),
1558 1558
 
1559 1559
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/link/Component.tsx:54
1560
-	__( 'Edit link', 'event_espresso' ),
1560
+	__('Edit link', 'event_espresso'),
1561 1561
 
1562 1562
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/link/Component.tsx:64
1563
-	__( 'URL title', 'event_espresso' ),
1563
+	__('URL title', 'event_espresso'),
1564 1564
 
1565 1565
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:11
1566
-	__( 'Unordered list', 'event_espresso' ),
1566
+	__('Unordered list', 'event_espresso'),
1567 1567
 
1568 1568
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:12
1569
-	__( 'Ordered list', 'event_espresso' ),
1569
+	__('Ordered list', 'event_espresso'),
1570 1570
 
1571 1571
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:13
1572 1572
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:13
1573
-	__( 'Indent', 'event_espresso' ),
1573
+	__('Indent', 'event_espresso'),
1574 1574
 
1575 1575
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/list/Component.tsx:14
1576 1576
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:14
1577
-	__( 'Outdent', 'event_espresso' ),
1577
+	__('Outdent', 'event_espresso'),
1578 1578
 
1579 1579
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:11
1580
-	__( 'Unordered textalign', 'event_espresso' ),
1580
+	__('Unordered textalign', 'event_espresso'),
1581 1581
 
1582 1582
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/Toolbar/controls/textAlign/Component.tsx:12
1583
-	__( 'Ordered textalign', 'event_espresso' ),
1583
+	__('Ordered textalign', 'event_espresso'),
1584 1584
 
1585 1585
 	// Reference: packages/rich-text-editor/src/components/RichTextEditor/render/Image/Toolbar.tsx:32
1586
-	__( 'Image toolbar', 'event_espresso' ),
1586
+	__('Image toolbar', 'event_espresso'),
1587 1587
 
1588 1588
 	// Reference: packages/rich-text-editor/src/components/WithEditMode/WithEditMode.tsx:62
1589 1589
 	// Reference: packages/rich-text-editor/src/rte-old/components/RTEWithEditMode/RTEWithEditMode.tsx:35
1590
-	__( 'Visual editor', 'event_espresso' ),
1590
+	__('Visual editor', 'event_espresso'),
1591 1591
 
1592 1592
 	// Reference: packages/rich-text-editor/src/components/WithEditMode/WithEditMode.tsx:66
1593 1593
 	// Reference: packages/rich-text-editor/src/rte-old/components/RTEWithEditMode/RTEWithEditMode.tsx:39
1594
-	__( 'HTML editor', 'event_espresso' ),
1594
+	__('HTML editor', 'event_espresso'),
1595 1595
 
1596 1596
 	// Reference: packages/rich-text-editor/src/rte-old/components/toolbarButtons/WPMedia.tsx:68
1597
-	__( 'Add Media', 'event_espresso' ),
1597
+	__('Add Media', 'event_espresso'),
1598 1598
 
1599 1599
 	// Reference: packages/tpc/src/buttons/AddPriceModifierButton.tsx:14
1600
-	__( 'add new price modifier after this row', 'event_espresso' ),
1600
+	__('add new price modifier after this row', 'event_espresso'),
1601 1601
 
1602 1602
 	// Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:14
1603
-	__( 'Delete all prices', 'event_espresso' ),
1603
+	__('Delete all prices', 'event_espresso'),
1604 1604
 
1605 1605
 	// Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:27
1606
-	__( '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' ),
1606
+	__('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'),
1607 1607
 
1608 1608
 	// Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:31
1609
-	__( 'Delete all prices?', 'event_espresso' ),
1609
+	__('Delete all prices?', 'event_espresso'),
1610 1610
 
1611 1611
 	// Reference: packages/tpc/src/buttons/DeletePriceModifierButton.tsx:12
1612
-	__( 'delete price modifier', 'event_espresso' ),
1612
+	__('delete price modifier', 'event_espresso'),
1613 1613
 
1614 1614
 	// Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:14
1615
-	__( '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' ),
1615
+	__('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'),
1616 1616
 
1617 1617
 	// Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:17
1618
-	__( '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' ),
1618
+	__('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'),
1619 1619
 
1620 1620
 	// Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:21
1621
-	__( 'Disable reverse calculate', 'event_espresso' ),
1621
+	__('Disable reverse calculate', 'event_espresso'),
1622 1622
 
1623 1623
 	// Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:21
1624
-	__( 'Enable reverse calculate', 'event_espresso' ),
1624
+	__('Enable reverse calculate', 'event_espresso'),
1625 1625
 
1626 1626
 	// Reference: packages/tpc/src/buttons/TicketPriceCalculatorButton.tsx:28
1627
-	__( 'ticket price calculator', 'event_espresso' ),
1627
+	__('ticket price calculator', 'event_espresso'),
1628 1628
 
1629 1629
 	// Reference: packages/tpc/src/buttons/taxes/AddDefaultTaxesButton.tsx:9
1630
-	__( 'Add default taxes', 'event_espresso' ),
1630
+	__('Add default taxes', 'event_espresso'),
1631 1631
 
1632 1632
 	// Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:10
1633
-	__( 'Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso' ),
1633
+	__('Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso'),
1634 1634
 
1635 1635
 	// Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:14
1636
-	__( 'Remove all taxes?', 'event_espresso' ),
1636
+	__('Remove all taxes?', 'event_espresso'),
1637 1637
 
1638 1638
 	// Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:7
1639
-	__( 'Remove taxes', 'event_espresso' ),
1639
+	__('Remove taxes', 'event_espresso'),
1640 1640
 
1641 1641
 	// Reference: packages/tpc/src/components/DefaultPricesInfo.tsx:29
1642
-	__( 'Modify default prices.', 'event_espresso' ),
1642
+	__('Modify default prices.', 'event_espresso'),
1643 1643
 
1644 1644
 	// Reference: packages/tpc/src/components/DefaultTaxesInfo.tsx:29
1645
-	__( 'New default taxes are available. Click the - Add default taxes - button to add them now.', 'event_espresso' ),
1645
+	__('New default taxes are available. Click the - Add default taxes - button to add them now.', 'event_espresso'),
1646 1646
 
1647 1647
 	// Reference: packages/tpc/src/components/LockedTicketsBanner.tsx:12
1648
-	__( 'Editing of prices is disabled', 'event_espresso' ),
1648
+	__('Editing of prices is disabled', 'event_espresso'),
1649 1649
 
1650 1650
 	// Reference: packages/tpc/src/components/NoPricesBanner/AddDefaultPricesButton.tsx:9
1651
-	__( 'Add default prices', 'event_espresso' ),
1651
+	__('Add default prices', 'event_espresso'),
1652 1652
 
1653 1653
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:13
1654
-	__( 'This Ticket is Currently Free', 'event_espresso' ),
1654
+	__('This Ticket is Currently Free', 'event_espresso'),
1655 1655
 
1656 1656
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:21
1657 1657
 	/* translators: %s default prices */
1658
-	__( 'Click the button below to load your %s into the calculator.', 'event_espresso' ),
1658
+	__('Click the button below to load your %s into the calculator.', 'event_espresso'),
1659 1659
 
1660 1660
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:22
1661
-	__( 'default prices', 'event_espresso' ),
1661
+	__('default prices', 'event_espresso'),
1662 1662
 
1663 1663
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:29
1664
-	__( 'Additional ticket price modifiers can be added or removed.', 'event_espresso' ),
1664
+	__('Additional ticket price modifiers can be added or removed.', 'event_espresso'),
1665 1665
 
1666 1666
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:32
1667
-	__( 'Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso' ),
1667
+	__('Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso'),
1668 1668
 
1669 1669
 	// Reference: packages/tpc/src/components/TicketPriceCalculatorModal.tsx:32
1670 1670
 	/* translators: %s ticket name */
1671
-	__( 'Price Calculator for Ticket: %s', 'event_espresso' ),
1671
+	__('Price Calculator for Ticket: %s', 'event_espresso'),
1672 1672
 
1673 1673
 	// Reference: packages/tpc/src/components/table/useFooterRowGenerator.tsx:48
1674
-	__( 'Total', 'event_espresso' ),
1674
+	__('Total', 'event_espresso'),
1675 1675
 
1676 1676
 	// Reference: packages/tpc/src/components/table/useFooterRowGenerator.tsx:57
1677
-	__( 'ticket total', 'event_espresso' ),
1677
+	__('ticket total', 'event_espresso'),
1678 1678
 
1679 1679
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:29
1680
-	__( 'Order', 'event_espresso' ),
1680
+	__('Order', 'event_espresso'),
1681 1681
 
1682 1682
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:35
1683
-	__( 'Price Type', 'event_espresso' ),
1683
+	__('Price Type', 'event_espresso'),
1684 1684
 
1685 1685
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:41
1686
-	__( 'Label', 'event_espresso' ),
1686
+	__('Label', 'event_espresso'),
1687 1687
 
1688 1688
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:53
1689
-	__( 'Amount', 'event_espresso' ),
1689
+	__('Amount', 'event_espresso'),
1690 1690
 
1691 1691
 	// Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:22
1692
-	__( 'Copy ticket', 'event_espresso' ),
1692
+	__('Copy ticket', 'event_espresso'),
1693 1693
 
1694 1694
 	// Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:26
1695
-	__( 'Copy and archive this ticket', 'event_espresso' ),
1695
+	__('Copy and archive this ticket', 'event_espresso'),
1696 1696
 
1697 1697
 	// Reference: packages/tpc/src/hooks/useLockedTicketAction.ts:29
1698
-	__( 'OK', 'event_espresso' ),
1698
+	__('OK', 'event_espresso'),
1699 1699
 
1700 1700
 	// Reference: packages/tpc/src/inputs/PriceAmountInput.tsx:32
1701
-	__( 'amount', 'event_espresso' ),
1701
+	__('amount', 'event_espresso'),
1702 1702
 
1703 1703
 	// Reference: packages/tpc/src/inputs/PriceAmountInput.tsx:44
1704
-	__( 'amount…', 'event_espresso' ),
1704
+	__('amount…', 'event_espresso'),
1705 1705
 
1706 1706
 	// Reference: packages/tpc/src/inputs/PriceDescriptionInput.tsx:14
1707
-	__( 'description…', 'event_espresso' ),
1707
+	__('description…', 'event_espresso'),
1708 1708
 
1709 1709
 	// Reference: packages/tpc/src/inputs/PriceDescriptionInput.tsx:9
1710
-	__( 'price description', 'event_espresso' ),
1710
+	__('price description', 'event_espresso'),
1711 1711
 
1712 1712
 	// Reference: packages/tpc/src/inputs/PriceIdInput.tsx:5
1713
-	__( 'price id', 'event_espresso' ),
1713
+	__('price id', 'event_espresso'),
1714 1714
 
1715 1715
 	// Reference: packages/tpc/src/inputs/PriceNameInput.tsx:13
1716
-	__( 'label…', 'event_espresso' ),
1716
+	__('label…', 'event_espresso'),
1717 1717
 
1718 1718
 	// Reference: packages/tpc/src/inputs/PriceNameInput.tsx:8
1719
-	__( 'price name', 'event_espresso' ),
1719
+	__('price name', 'event_espresso'),
1720 1720
 
1721 1721
 	// Reference: packages/tpc/src/inputs/PriceOrderInput.tsx:14
1722
-	__( 'price order', 'event_espresso' ),
1722
+	__('price order', 'event_espresso'),
1723 1723
 
1724 1724
 	// Reference: packages/tpc/src/inputs/PriceTypeInput.tsx:19
1725
-	__( 'price type', 'event_espresso' ),
1725
+	__('price type', 'event_espresso'),
1726 1726
 
1727 1727
 	// Reference: packages/tpc/src/utils/constants.ts:8
1728
-	__( 'Ticket price modifications are blocked for Tickets that have already been sold to registrants, because doing so would negatively affect internal accounting for the event. If you still need to modify ticket prices, then create a copy of those tickets, edit the prices for the new tickets, and then trash the old tickets.', 'event_espresso' ),
1728
+	__('Ticket price modifications are blocked for Tickets that have already been sold to registrants, because doing so would negatively affect internal accounting for the event. If you still need to modify ticket prices, then create a copy of those tickets, edit the prices for the new tickets, and then trash the old tickets.', 'event_espresso'),
1729 1729
 
1730 1730
 	// Reference: packages/ui-components/src/ActiveFilters/ActiveFilters.tsx:8
1731
-	__( 'active filters:', 'event_espresso' ),
1731
+	__('active filters:', 'event_espresso'),
1732 1732
 
1733 1733
 	// Reference: packages/ui-components/src/ActiveFilters/FilterTag/index.tsx:15
1734 1734
 	/* translators: %s filter name */
1735
-	__( 'remove filter - %s', 'event_espresso' ),
1735
+	__('remove filter - %s', 'event_espresso'),
1736 1736
 
1737 1737
 	// Reference: packages/ui-components/src/CalendarDateRange/CalendarDateRange.tsx:37
1738
-	__( 'to', 'event_espresso' ),
1738
+	__('to', 'event_espresso'),
1739 1739
 
1740 1740
 	// Reference: packages/ui-components/src/CalendarPageDate/CalendarPageDate.tsx:54
1741
-	__( 'TO', 'event_espresso' ),
1741
+	__('TO', 'event_espresso'),
1742 1742
 
1743 1743
 	// Reference: packages/ui-components/src/ColorPicker/ColorPicker.tsx:60
1744
-	__( 'Custom color', 'event_espresso' ),
1744
+	__('Custom color', 'event_espresso'),
1745 1745
 
1746 1746
 	// Reference: packages/ui-components/src/ColorPicker/Swatch.tsx:23
1747 1747
 	/* translators: color name */
1748
-	__( 'Color: %s', 'event_espresso' ),
1748
+	__('Color: %s', 'event_espresso'),
1749 1749
 
1750 1750
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:13
1751
-	__( 'Cyan bluish gray', 'event_espresso' ),
1751
+	__('Cyan bluish gray', 'event_espresso'),
1752 1752
 
1753 1753
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:17
1754
-	__( 'White', 'event_espresso' ),
1754
+	__('White', 'event_espresso'),
1755 1755
 
1756 1756
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:21
1757
-	__( 'Pale pink', 'event_espresso' ),
1757
+	__('Pale pink', 'event_espresso'),
1758 1758
 
1759 1759
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:25
1760
-	__( 'Vivid red', 'event_espresso' ),
1760
+	__('Vivid red', 'event_espresso'),
1761 1761
 
1762 1762
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:29
1763
-	__( 'Luminous vivid orange', 'event_espresso' ),
1763
+	__('Luminous vivid orange', 'event_espresso'),
1764 1764
 
1765 1765
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:33
1766
-	__( 'Luminous vivid amber', 'event_espresso' ),
1766
+	__('Luminous vivid amber', 'event_espresso'),
1767 1767
 
1768 1768
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:37
1769
-	__( 'Light green cyan', 'event_espresso' ),
1769
+	__('Light green cyan', 'event_espresso'),
1770 1770
 
1771 1771
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:41
1772
-	__( 'Vivid green cyan', 'event_espresso' ),
1772
+	__('Vivid green cyan', 'event_espresso'),
1773 1773
 
1774 1774
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:45
1775
-	__( 'Pale cyan blue', 'event_espresso' ),
1775
+	__('Pale cyan blue', 'event_espresso'),
1776 1776
 
1777 1777
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:49
1778
-	__( 'Vivid cyan blue', 'event_espresso' ),
1778
+	__('Vivid cyan blue', 'event_espresso'),
1779 1779
 
1780 1780
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:53
1781
-	__( 'Vivid purple', 'event_espresso' ),
1781
+	__('Vivid purple', 'event_espresso'),
1782 1782
 
1783 1783
 	// Reference: packages/ui-components/src/ColorPicker/constants.ts:9
1784
-	__( 'Black', 'event_espresso' ),
1784
+	__('Black', 'event_espresso'),
1785 1785
 
1786 1786
 	// Reference: packages/ui-components/src/Confirm/ConfirmClose.tsx:7
1787 1787
 	// Reference: packages/ui-components/src/Modal/ModalWithAlert.tsx:22
1788
-	__( 'Are you sure you want to close this?', 'event_espresso' ),
1788
+	__('Are you sure you want to close this?', 'event_espresso'),
1789 1789
 
1790 1790
 	// Reference: packages/ui-components/src/Confirm/ConfirmDelete.tsx:7
1791
-	__( 'Are you sure you want to delete this?', 'event_espresso' ),
1791
+	__('Are you sure you want to delete this?', 'event_espresso'),
1792 1792
 
1793 1793
 	// Reference: packages/ui-components/src/Confirm/useConfirmWithButton.tsx:10
1794
-	__( 'Please confirm this action.', 'event_espresso' ),
1794
+	__('Please confirm this action.', 'event_espresso'),
1795 1795
 
1796 1796
 	// Reference: packages/ui-components/src/Confirm/useConfirmationDialog.tsx:32
1797
-	__( 'No', 'event_espresso' ),
1797
+	__('No', 'event_espresso'),
1798 1798
 
1799 1799
 	// Reference: packages/ui-components/src/Confirm/useConfirmationDialog.tsx:33
1800
-	__( 'Yes', 'event_espresso' ),
1800
+	__('Yes', 'event_espresso'),
1801 1801
 
1802 1802
 	// Reference: packages/ui-components/src/CurrencyDisplay/CurrencyDisplay.tsx:34
1803
-	__( 'free', 'event_espresso' ),
1803
+	__('free', 'event_espresso'),
1804 1804
 
1805 1805
 	// Reference: packages/ui-components/src/DateTimeRangePicker/DateTimeRangePicker.tsx:117
1806 1806
 	// Reference: packages/ui-components/src/Popover/PopoverForm/PopoverForm.tsx:44
1807
-	__( 'save', 'event_espresso' ),
1807
+	__('save', 'event_espresso'),
1808 1808
 
1809 1809
 	// Reference: packages/ui-components/src/DebugInfo/DebugInfo.tsx:36
1810
-	__( 'Hide Debug Info', 'event_espresso' ),
1810
+	__('Hide Debug Info', 'event_espresso'),
1811 1811
 
1812 1812
 	// Reference: packages/ui-components/src/DebugInfo/DebugInfo.tsx:36
1813
-	__( 'Show Debug Info', 'event_espresso' ),
1813
+	__('Show Debug Info', 'event_espresso'),
1814 1814
 
1815 1815
 	// Reference: packages/ui-components/src/EditDateRangeButton/EditDateRangeButton.tsx:49
1816
-	__( 'Edit Start and End Dates and Times', 'event_espresso' ),
1816
+	__('Edit Start and End Dates and Times', 'event_espresso'),
1817 1817
 
1818 1818
 	// Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Copy.tsx:8
1819
-	__( 'copy', 'event_espresso' ),
1819
+	__('copy', 'event_espresso'),
1820 1820
 
1821 1821
 	// Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Edit.tsx:8
1822
-	__( 'edit', 'event_espresso' ),
1822
+	__('edit', 'event_espresso'),
1823 1823
 
1824 1824
 	// Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Trash.tsx:8
1825
-	__( 'trash', 'event_espresso' ),
1825
+	__('trash', 'event_espresso'),
1826 1826
 
1827 1827
 	// Reference: packages/ui-components/src/EntityActionsMenu/entityMenuItems/Untrash.tsx:8
1828
-	__( 'untrash', 'event_espresso' ),
1828
+	__('untrash', 'event_espresso'),
1829 1829
 
1830 1830
 	// Reference: packages/ui-components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:37
1831
-	__( 'view approved registrations for this date.', 'event_espresso' ),
1831
+	__('view approved registrations for this date.', 'event_espresso'),
1832 1832
 
1833 1833
 	// Reference: packages/ui-components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:38
1834
-	__( 'view approved registrations for this ticket.', 'event_espresso' ),
1834
+	__('view approved registrations for this ticket.', 'event_espresso'),
1835 1835
 
1836 1836
 	// Reference: packages/ui-components/src/EntityList/filterBar/buttons/CardViewFilterButton.tsx:21
1837
-	__( 'card view', 'event_espresso' ),
1837
+	__('card view', 'event_espresso'),
1838 1838
 
1839 1839
 	// Reference: packages/ui-components/src/EntityList/filterBar/buttons/TableViewFilterButton.tsx:20
1840
-	__( 'table view', 'event_espresso' ),
1840
+	__('table view', 'event_espresso'),
1841 1841
 
1842 1842
 	// Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleBulkActionsButton.tsx:8
1843
-	__( 'hide bulk actions', 'event_espresso' ),
1843
+	__('hide bulk actions', 'event_espresso'),
1844 1844
 
1845 1845
 	// Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleBulkActionsButton.tsx:8
1846
-	__( 'show bulk actions', 'event_espresso' ),
1846
+	__('show bulk actions', 'event_espresso'),
1847 1847
 
1848 1848
 	// Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:9
1849
-	__( 'hide filters', 'event_espresso' ),
1849
+	__('hide filters', 'event_espresso'),
1850 1850
 
1851 1851
 	// Reference: packages/ui-components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:9
1852
-	__( 'show filters', 'event_espresso' ),
1852
+	__('show filters', 'event_espresso'),
1853 1853
 
1854 1854
 	// Reference: packages/ui-components/src/Legend/ToggleLegendButton.tsx:26
1855
-	__( 'hide legend', 'event_espresso' ),
1855
+	__('hide legend', 'event_espresso'),
1856 1856
 
1857 1857
 	// Reference: packages/ui-components/src/Legend/ToggleLegendButton.tsx:26
1858
-	__( 'show legend', 'event_espresso' ),
1858
+	__('show legend', 'event_espresso'),
1859 1859
 
1860 1860
 	// Reference: packages/ui-components/src/LoadingNotice/LoadingNotice.tsx:11
1861
-	__( 'loading…', 'event_espresso' ),
1861
+	__('loading…', 'event_espresso'),
1862 1862
 
1863 1863
 	// Reference: packages/ui-components/src/Modal/Modal.tsx:58
1864
-	__( 'close modal', 'event_espresso' ),
1864
+	__('close modal', 'event_espresso'),
1865 1865
 
1866 1866
 	// Reference: packages/ui-components/src/Pagination/ItemRender.tsx:10
1867
-	__( 'jump to previous', 'event_espresso' ),
1867
+	__('jump to previous', 'event_espresso'),
1868 1868
 
1869 1869
 	// Reference: packages/ui-components/src/Pagination/ItemRender.tsx:11
1870
-	__( 'jump to next', 'event_espresso' ),
1870
+	__('jump to next', 'event_espresso'),
1871 1871
 
1872 1872
 	// Reference: packages/ui-components/src/Pagination/ItemRender.tsx:12
1873
-	__( 'page', 'event_espresso' ),
1873
+	__('page', 'event_espresso'),
1874 1874
 
1875 1875
 	// Reference: packages/ui-components/src/Pagination/ItemRender.tsx:8
1876
-	__( 'previous', 'event_espresso' ),
1876
+	__('previous', 'event_espresso'),
1877 1877
 
1878 1878
 	// Reference: packages/ui-components/src/Pagination/ItemRender.tsx:9
1879
-	__( 'next', 'event_espresso' ),
1879
+	__('next', 'event_espresso'),
1880 1880
 
1881 1881
 	// Reference: packages/ui-components/src/Pagination/PerPage.tsx:37
1882
-	__( 'items per page', 'event_espresso' ),
1882
+	__('items per page', 'event_espresso'),
1883 1883
 
1884 1884
 	// Reference: packages/ui-components/src/Pagination/constants.ts:10
1885 1885
 	/* translators: %s is per page value */
1886
-	__( '%s / page', 'event_espresso' ),
1886
+	__('%s / page', 'event_espresso'),
1887 1887
 
1888 1888
 	// Reference: packages/ui-components/src/Pagination/constants.ts:13
1889
-	__( 'Next Page', 'event_espresso' ),
1889
+	__('Next Page', 'event_espresso'),
1890 1890
 
1891 1891
 	// Reference: packages/ui-components/src/Pagination/constants.ts:14
1892
-	__( 'Previous Page', 'event_espresso' ),
1892
+	__('Previous Page', 'event_espresso'),
1893 1893
 
1894 1894
 	// Reference: packages/ui-components/src/PercentSign/index.tsx:10
1895
-	__( '%', 'event_espresso' ),
1895
+	__('%', 'event_espresso'),
1896 1896
 
1897 1897
 	// Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:23
1898
-	__( 'Select an existing one to use as a template.', 'event_espresso' ),
1898
+	__('Select an existing one to use as a template.', 'event_espresso'),
1899 1899
 
1900 1900
 	// Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:27
1901
-	__( 'or', 'event_espresso' ),
1901
+	__('or', 'event_espresso'),
1902 1902
 
1903 1903
 	// Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:30
1904
-	__( 'Add new and insert details manually', 'event_espresso' ),
1904
+	__('Add new and insert details manually', 'event_espresso'),
1905 1905
 
1906 1906
 	// Reference: packages/ui-components/src/SimpleEntityList/EntityOptionsRow/index.tsx:34
1907
-	__( 'Add New', 'event_espresso' ),
1907
+	__('Add New', 'event_espresso'),
1908 1908
 
1909 1909
 	// Reference: packages/ui-components/src/Stepper/buttons/Next.tsx:8
1910
-	__( 'Next', 'event_espresso' ),
1910
+	__('Next', 'event_espresso'),
1911 1911
 
1912 1912
 	// Reference: packages/ui-components/src/Stepper/buttons/Previous.tsx:8
1913
-	__( 'Previous', 'event_espresso' ),
1913
+	__('Previous', 'event_espresso'),
1914 1914
 
1915 1915
 	// Reference: packages/ui-components/src/Steps/Steps.tsx:31
1916
-	__( 'Steps', 'event_espresso' ),
1916
+	__('Steps', 'event_espresso'),
1917 1917
 
1918 1918
 	// Reference: packages/ui-components/src/TabbableText/index.tsx:19
1919
-	__( 'Click to edit…', 'event_espresso' ),
1919
+	__('Click to edit…', 'event_espresso'),
1920 1920
 
1921 1921
 	// Reference: packages/ui-components/src/TimezoneTimeInfo/Content.tsx:14
1922
-	__( 'The Website\'s Time Zone', 'event_espresso' ),
1922
+	__('The Website\'s Time Zone', 'event_espresso'),
1923 1923
 
1924 1924
 	// Reference: packages/ui-components/src/TimezoneTimeInfo/Content.tsx:19
1925
-	__( 'UTC (Greenwich Mean Time)', 'event_espresso' ),
1925
+	__('UTC (Greenwich Mean Time)', 'event_espresso'),
1926 1926
 
1927 1927
 	// Reference: packages/ui-components/src/TimezoneTimeInfo/Content.tsx:9
1928
-	__( 'Your Local Time Zone', 'event_espresso' ),
1928
+	__('Your Local Time Zone', 'event_espresso'),
1929 1929
 
1930 1930
 	// Reference: packages/ui-components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:27
1931
-	__( 'click for timezone information', 'event_espresso' ),
1931
+	__('click for timezone information', 'event_espresso'),
1932 1932
 
1933 1933
 	// Reference: packages/ui-components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:32
1934
-	__( 'This Date Converted To:', 'event_espresso' ),
1934
+	__('This Date Converted To:', 'event_espresso'),
1935 1935
 
1936 1936
 	// Reference: packages/ui-components/src/bulkEdit/BulkActions.tsx:51
1937
-	__( 'select all', 'event_espresso' ),
1937
+	__('select all', 'event_espresso'),
1938 1938
 
1939 1939
 	// Reference: packages/ui-components/src/bulkEdit/BulkActions.tsx:54
1940
-	__( 'apply', 'event_espresso' )
1940
+	__('apply', 'event_espresso')
1941 1941
 );
1942 1942
 /* THIS IS THE END OF THE GENERATED FILE */
Please login to merge, or discard this patch.
core/db_models/EEM_Form_Section.model.php 2 patches
Indentation   +211 added lines, -211 removed lines patch added patch discarded remove patch
@@ -21,237 +21,237 @@
 block discarded – undo
21 21
  */
22 22
 class EEM_Form_Section extends EEM_Form_Element
23 23
 {
24
-    public const APPLIES_TO_ALL         = 'all';
24
+	public const APPLIES_TO_ALL         = 'all';
25 25
 
26
-    public const APPLIES_TO_PRIMARY     = 'primary';
26
+	public const APPLIES_TO_PRIMARY     = 'primary';
27 27
 
28
-    public const APPLIES_TO_PURCHASER   = 'purchaser';
28
+	public const APPLIES_TO_PURCHASER   = 'purchaser';
29 29
 
30
-    public const APPLIES_TO_REGISTRANTS = 'registrants';
30
+	public const APPLIES_TO_REGISTRANTS = 'registrants';
31 31
 
32
-    /**
33
-     * @var EEM_Form_Section
34
-     */
35
-    protected static $_instance;
32
+	/**
33
+	 * @var EEM_Form_Section
34
+	 */
35
+	protected static $_instance;
36 36
 
37
-    /**
38
-     * @var RequestInterface
39
-     */
40
-    private $request;
37
+	/**
38
+	 * @var RequestInterface
39
+	 */
40
+	private $request;
41 41
 
42
-    /**
43
-     * @var array
44
-     */
45
-    private $valid_applies_to_options;
42
+	/**
43
+	 * @var array
44
+	 */
45
+	private $valid_applies_to_options;
46 46
 
47 47
 
48
-    protected function __construct(Element $element, $timezone = null)
49
-    {
50
-        $this->valid_applies_to_options = apply_filters(
51
-            'FHEE__EEM_Form_Section__valid_applies_to_options',
52
-            [
53
-                EEM_Form_Section::APPLIES_TO_ALL         => esc_html__('All Registrants', 'event_espresso'),
54
-                EEM_Form_Section::APPLIES_TO_PRIMARY     => esc_html__('Primary Registrant Only', 'event_espresso'),
55
-                EEM_Form_Section::APPLIES_TO_PURCHASER   => esc_html__('Purchasing Agent', 'event_espresso'),
56
-                EEM_Form_Section::APPLIES_TO_REGISTRANTS => esc_html__('Additional Registrants', 'event_espresso'),
57
-            ]
58
-        );
48
+	protected function __construct(Element $element, $timezone = null)
49
+	{
50
+		$this->valid_applies_to_options = apply_filters(
51
+			'FHEE__EEM_Form_Section__valid_applies_to_options',
52
+			[
53
+				EEM_Form_Section::APPLIES_TO_ALL         => esc_html__('All Registrants', 'event_espresso'),
54
+				EEM_Form_Section::APPLIES_TO_PRIMARY     => esc_html__('Primary Registrant Only', 'event_espresso'),
55
+				EEM_Form_Section::APPLIES_TO_PURCHASER   => esc_html__('Purchasing Agent', 'event_espresso'),
56
+				EEM_Form_Section::APPLIES_TO_REGISTRANTS => esc_html__('Additional Registrants', 'event_espresso'),
57
+			]
58
+		);
59 59
 
60
-        $this->singular_item = esc_html__('Form Section', 'event_espresso');
61
-        $this->plural_item   = esc_html__('Form Sections', 'event_espresso');
60
+		$this->singular_item = esc_html__('Form Section', 'event_espresso');
61
+		$this->plural_item   = esc_html__('Form Sections', 'event_espresso');
62 62
 
63
-        $this->_tables          = [
64
-            'Form_Section' => new EE_Primary_Table('esp_form_section', 'FSC_UUID'),
65
-        ];
66
-        $this->_fields          = [
67
-            'Form_Section' => [
68
-                'FSC_UUID'      => new EE_Primary_Key_String_Field(
69
-                    'FSC_UUID',
70
-                    esc_html__('Form Section UUID (universally unique identifier)', 'event_espresso')
71
-                ),
72
-                'FSC_adminLabel' => new EE_Plain_Text_Field(
73
-                    'FSC_adminLabel',
74
-                    esc_html__(
75
-                        'Form Section label displayed in the admin to help differentiate it from others.',
76
-                        'event_espresso'
77
-                    ),
78
-                    true,
79
-                    null
80
-                ),
81
-                'FSC_appliesTo' => new EE_Enum_Text_Field(
82
-                    'FSC_appliesTo',
83
-                    esc_html(
84
-                        sprintf(
85
-                            /* translators: 1 class name */
86
-                            __(
87
-                                'Form user type that this form section should be presented to. Values correspond to the %s constants.',
88
-                                'event_espresso'
89
-                            ),
90
-                            'EEM_Form_Section::APPLIES_TO_*'
91
-                        )
92
-                    ),
93
-                    false,
94
-                    EEM_Form_Section::APPLIES_TO_ALL,
95
-                    $this->valid_applies_to_options
96
-                ),
97
-                'FSC_belongsTo' => new EE_Plain_Text_Field(
98
-                    'FSC_belongsTo',
99
-                    esc_html__('UUID of parent form section that this one belongs to.', 'event_espresso'),
100
-                    true,
101
-                    null
102
-                ),
103
-                'FSC_htmlClass' => new EE_Plain_Text_Field(
104
-                    'FSC_htmlClass',
105
-                    esc_html__('HTML classes to be applied to this form section\'s container.', 'event_espresso'),
106
-                    true,
107
-                    null
108
-                ),
109
-                'FSC_order'     => new EE_Integer_Field(
110
-                    'FSC_order',
111
-                    esc_html__('Order in which form section appears in a form.', 'event_espresso'),
112
-                    false,
113
-                    0
114
-                ),
115
-                'FSC_publicLabel' => new EE_Plain_Text_Field(
116
-                    'FSC_publicLabel',
117
-                    esc_html__('Form Section label displayed on public forms as a heading.', 'event_espresso'),
118
-                    true,
119
-                    null
120
-                ),
121
-                'FSC_showLabel' => new EE_Boolean_Field(
122
-                    'FSC_showLabel',
123
-                    esc_html__(
124
-                        'Whether or not to display the Form Section name (Public Label) on public forms.',
125
-                        'event_espresso'
126
-                    ),
127
-                    false,
128
-                    true
129
-                ),
130
-                'FSC_status'    => new EE_Enum_Text_Field(
131
-                    'FSC_status',
132
-                    esc_html(
133
-                        sprintf(
134
-                            /* translators: 1 class name */
135
-                            __(
136
-                                'Whether form section is active, archived, shared, trashed, or used as a default on new forms. Values correspond to the %s constants.',
137
-                                'event_espresso'
138
-                            ),
139
-                            'EEM_Form_Section::STATUS_TO_'
140
-                        )
141
-                    ),
142
-                    false,
143
-                    Element::STATUS_ACTIVE,
144
-                    $element->validStatusOptions()
145
-                ),
146
-                'FSC_wpUser'    => new EE_WP_User_Field(
147
-                    'FSC_wpUser',
148
-                    esc_html__('ID of the WP User that created this form section.', 'event_espresso'),
149
-                    false
150
-                ),
151
-            ],
152
-        ];
153
-        $this->_model_relations = [
154
-            'Form_Input' => new EE_Has_Many_Relation(),
155
-            'Form_Submission' => new EE_Has_Many_Relation(),
156
-            'WP_User'    => new EE_Belongs_To_Relation(),
157
-        ];
158
-        // this model is generally available for reading
159
-        $restrictions                              = [];
160
-        $restrictions[ EEM_Base::caps_read ]       = new EE_Restriction_Generator_Public();
161
-        $restrictions[ EEM_Base::caps_read_admin ] = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
162
-        $restrictions[ EEM_Base::caps_edit ]       = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
163
-        $restrictions[ EEM_Base::caps_delete ]     = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
164
-        $this->_cap_restriction_generators         = $restrictions;
165
-        parent::__construct($element, $timezone);
166
-        $this->request = $this->getLoader()->getShared('EventEspresso\core\services\request\RequestInterface');
167
-    }
63
+		$this->_tables          = [
64
+			'Form_Section' => new EE_Primary_Table('esp_form_section', 'FSC_UUID'),
65
+		];
66
+		$this->_fields          = [
67
+			'Form_Section' => [
68
+				'FSC_UUID'      => new EE_Primary_Key_String_Field(
69
+					'FSC_UUID',
70
+					esc_html__('Form Section UUID (universally unique identifier)', 'event_espresso')
71
+				),
72
+				'FSC_adminLabel' => new EE_Plain_Text_Field(
73
+					'FSC_adminLabel',
74
+					esc_html__(
75
+						'Form Section label displayed in the admin to help differentiate it from others.',
76
+						'event_espresso'
77
+					),
78
+					true,
79
+					null
80
+				),
81
+				'FSC_appliesTo' => new EE_Enum_Text_Field(
82
+					'FSC_appliesTo',
83
+					esc_html(
84
+						sprintf(
85
+							/* translators: 1 class name */
86
+							__(
87
+								'Form user type that this form section should be presented to. Values correspond to the %s constants.',
88
+								'event_espresso'
89
+							),
90
+							'EEM_Form_Section::APPLIES_TO_*'
91
+						)
92
+					),
93
+					false,
94
+					EEM_Form_Section::APPLIES_TO_ALL,
95
+					$this->valid_applies_to_options
96
+				),
97
+				'FSC_belongsTo' => new EE_Plain_Text_Field(
98
+					'FSC_belongsTo',
99
+					esc_html__('UUID of parent form section that this one belongs to.', 'event_espresso'),
100
+					true,
101
+					null
102
+				),
103
+				'FSC_htmlClass' => new EE_Plain_Text_Field(
104
+					'FSC_htmlClass',
105
+					esc_html__('HTML classes to be applied to this form section\'s container.', 'event_espresso'),
106
+					true,
107
+					null
108
+				),
109
+				'FSC_order'     => new EE_Integer_Field(
110
+					'FSC_order',
111
+					esc_html__('Order in which form section appears in a form.', 'event_espresso'),
112
+					false,
113
+					0
114
+				),
115
+				'FSC_publicLabel' => new EE_Plain_Text_Field(
116
+					'FSC_publicLabel',
117
+					esc_html__('Form Section label displayed on public forms as a heading.', 'event_espresso'),
118
+					true,
119
+					null
120
+				),
121
+				'FSC_showLabel' => new EE_Boolean_Field(
122
+					'FSC_showLabel',
123
+					esc_html__(
124
+						'Whether or not to display the Form Section name (Public Label) on public forms.',
125
+						'event_espresso'
126
+					),
127
+					false,
128
+					true
129
+				),
130
+				'FSC_status'    => new EE_Enum_Text_Field(
131
+					'FSC_status',
132
+					esc_html(
133
+						sprintf(
134
+							/* translators: 1 class name */
135
+							__(
136
+								'Whether form section is active, archived, shared, trashed, or used as a default on new forms. Values correspond to the %s constants.',
137
+								'event_espresso'
138
+							),
139
+							'EEM_Form_Section::STATUS_TO_'
140
+						)
141
+					),
142
+					false,
143
+					Element::STATUS_ACTIVE,
144
+					$element->validStatusOptions()
145
+				),
146
+				'FSC_wpUser'    => new EE_WP_User_Field(
147
+					'FSC_wpUser',
148
+					esc_html__('ID of the WP User that created this form section.', 'event_espresso'),
149
+					false
150
+				),
151
+			],
152
+		];
153
+		$this->_model_relations = [
154
+			'Form_Input' => new EE_Has_Many_Relation(),
155
+			'Form_Submission' => new EE_Has_Many_Relation(),
156
+			'WP_User'    => new EE_Belongs_To_Relation(),
157
+		];
158
+		// this model is generally available for reading
159
+		$restrictions                              = [];
160
+		$restrictions[ EEM_Base::caps_read ]       = new EE_Restriction_Generator_Public();
161
+		$restrictions[ EEM_Base::caps_read_admin ] = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
162
+		$restrictions[ EEM_Base::caps_edit ]       = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
163
+		$restrictions[ EEM_Base::caps_delete ]     = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
164
+		$this->_cap_restriction_generators         = $restrictions;
165
+		parent::__construct($element, $timezone);
166
+		$this->request = $this->getLoader()->getShared('EventEspresso\core\services\request\RequestInterface');
167
+	}
168 168
 
169 169
 
170
-    /**
171
-     * @param array $query_params
172
-     * @return array
173
-     */
174
-    private function addDefaultWhereConditions(array $query_params): array
175
-    {
176
-        // might need to add a way to identify GQL requests for admin domains
177
-        $admin_request                            = $this->request->isAdmin() || $this->request->isAdminAjax();
178
-        $query_params['default_where_conditions'] = $admin_request
179
-            ? EEM_Base::default_where_conditions_none
180
-            : EEM_Base::default_where_conditions_all;
181
-        return $query_params;
182
-    }
170
+	/**
171
+	 * @param array $query_params
172
+	 * @return array
173
+	 */
174
+	private function addDefaultWhereConditions(array $query_params): array
175
+	{
176
+		// might need to add a way to identify GQL requests for admin domains
177
+		$admin_request                            = $this->request->isAdmin() || $this->request->isAdminAjax();
178
+		$query_params['default_where_conditions'] = $admin_request
179
+			? EEM_Base::default_where_conditions_none
180
+			: EEM_Base::default_where_conditions_all;
181
+		return $query_params;
182
+	}
183 183
 
184 184
 
185
-    /**
186
-     * form sections should always be sorted in ascending order via the FSC_order field
187
-     *
188
-     * @param array $query_params
189
-     * @return array
190
-     */
191
-    private function addOrderByQueryParams(array $query_params): array
192
-    {
193
-        $query_params['order_by'] = ['FSC_order' => 'ASC'];
194
-        return $query_params;
195
-    }
185
+	/**
186
+	 * form sections should always be sorted in ascending order via the FSC_order field
187
+	 *
188
+	 * @param array $query_params
189
+	 * @return array
190
+	 */
191
+	private function addOrderByQueryParams(array $query_params): array
192
+	{
193
+		$query_params['order_by'] = ['FSC_order' => 'ASC'];
194
+		return $query_params;
195
+	}
196 196
 
197 197
 
198
-    /**
199
-     * returns an array of Form Sections for the specified parent Form Section
200
-     *
201
-     * @param string $FSC_UUID
202
-     * @return EE_Form_Section[]
203
-     * @throws EE_Error
204
-     */
205
-    public function getChildFormSections(string $FSC_UUID): array
206
-    {
207
-        return $this->getFormSections(['FSC_belongsTo' => $FSC_UUID]);
208
-    }
198
+	/**
199
+	 * returns an array of Form Sections for the specified parent Form Section
200
+	 *
201
+	 * @param string $FSC_UUID
202
+	 * @return EE_Form_Section[]
203
+	 * @throws EE_Error
204
+	 */
205
+	public function getChildFormSections(string $FSC_UUID): array
206
+	{
207
+		return $this->getFormSections(['FSC_belongsTo' => $FSC_UUID]);
208
+	}
209 209
 
210 210
 
211
-    /**
212
-     * @return EE_Form_Section[]
213
-     * @throws EE_Error
214
-     */
215
-    private function getFormSections(array $where_params): array
216
-    {
217
-        $query_params = $this->addDefaultWhereConditions([$where_params]);
218
-        $query_params = $this->addOrderByQueryParams($query_params);
219
-        return $this->get_all($query_params);
220
-    }
211
+	/**
212
+	 * @return EE_Form_Section[]
213
+	 * @throws EE_Error
214
+	 */
215
+	private function getFormSections(array $where_params): array
216
+	{
217
+		$query_params = $this->addDefaultWhereConditions([$where_params]);
218
+		$query_params = $this->addOrderByQueryParams($query_params);
219
+		return $this->get_all($query_params);
220
+	}
221 221
 
222 222
 
223
-    /**
224
-     * returns an array of Form Sections for the specified Event
225
-     *
226
-     * @param EE_Event $event
227
-     * @return EE_Form_Section[]
228
-     * @throws EE_Error
229
-     * @throws ReflectionException
230
-     */
231
-    public function getFormSectionsForEvent(EE_Event $event): array
232
-    {
233
-        $FSC_UUID = $event->registrationFormUuid();
234
-        return ! empty($FSC_UUID)
235
-            ? $this->getFormSections(
236
-                [
237
-                    'OR' => [
238
-                        'FSC_UUID'      => $FSC_UUID, // top level form
239
-                        'FSC_belongsTo' => $FSC_UUID, // child form sections
240
-                    ]
241
-                ]
242
-            )
243
-            : [];
244
-    }
223
+	/**
224
+	 * returns an array of Form Sections for the specified Event
225
+	 *
226
+	 * @param EE_Event $event
227
+	 * @return EE_Form_Section[]
228
+	 * @throws EE_Error
229
+	 * @throws ReflectionException
230
+	 */
231
+	public function getFormSectionsForEvent(EE_Event $event): array
232
+	{
233
+		$FSC_UUID = $event->registrationFormUuid();
234
+		return ! empty($FSC_UUID)
235
+			? $this->getFormSections(
236
+				[
237
+					'OR' => [
238
+						'FSC_UUID'      => $FSC_UUID, // top level form
239
+						'FSC_belongsTo' => $FSC_UUID, // child form sections
240
+					]
241
+				]
242
+			)
243
+			: [];
244
+	}
245 245
 
246 246
 
247
-    /**
248
-     * @param bool $constants_only
249
-     * @return array
250
-     */
251
-    public function validAppliesToOptions(bool $constants_only = false): array
252
-    {
253
-        return $constants_only
254
-            ? array_keys($this->valid_applies_to_options)
255
-            : $this->valid_applies_to_options;
256
-    }
247
+	/**
248
+	 * @param bool $constants_only
249
+	 * @return array
250
+	 */
251
+	public function validAppliesToOptions(bool $constants_only = false): array
252
+	{
253
+		return $constants_only
254
+			? array_keys($this->valid_applies_to_options)
255
+			: $this->valid_applies_to_options;
256
+	}
257 257
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -157,10 +157,10 @@
 block discarded – undo
157 157
         ];
158 158
         // this model is generally available for reading
159 159
         $restrictions                              = [];
160
-        $restrictions[ EEM_Base::caps_read ]       = new EE_Restriction_Generator_Public();
161
-        $restrictions[ EEM_Base::caps_read_admin ] = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
162
-        $restrictions[ EEM_Base::caps_edit ]       = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
163
-        $restrictions[ EEM_Base::caps_delete ]     = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
160
+        $restrictions[EEM_Base::caps_read]       = new EE_Restriction_Generator_Public();
161
+        $restrictions[EEM_Base::caps_read_admin] = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
162
+        $restrictions[EEM_Base::caps_edit]       = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
163
+        $restrictions[EEM_Base::caps_delete]     = new EE_Restriction_Generator_Reg_Form('FSC_applies_to');
164 164
         $this->_cap_restriction_generators         = $restrictions;
165 165
         parent::__construct($element, $timezone);
166 166
         $this->request = $this->getLoader()->getShared('EventEspresso\core\services\request\RequestInterface');
Please login to merge, or discard this patch.
core/db_models/fields/EE_JSON_Field.php 1 patch
Indentation   +64 added lines, -64 removed lines patch added patch discarded remove patch
@@ -5,76 +5,76 @@
 block discarded – undo
5 5
 class EE_JSON_Field extends EE_Model_Field_Base
6 6
 {
7 7
 
8
-    /**
9
-     * @var JsonDataHandler
10
-     */
11
-    private $json_data_handler;
8
+	/**
9
+	 * @var JsonDataHandler
10
+	 */
11
+	private $json_data_handler;
12 12
 
13 13
 
14
-    /**
15
-     * @param string $table_column
16
-     * @param string $nicename
17
-     * @param bool   $nullable
18
-     * @param null   $default_value
19
-     */
20
-    public function __construct(
21
-        $table_column,
22
-        $nicename,
23
-        $nullable,
24
-        $default_value = null
25
-    ) {
26
-        $this->json_data_handler = new JsonDataHandler();
27
-        $this->json_data_handler->configure(
28
-            JsonDataHandler::DATA_TYPE_OBJECT
29
-        );
30
-        parent::__construct($table_column, $nicename, $nullable, $default_value);
31
-    }
14
+	/**
15
+	 * @param string $table_column
16
+	 * @param string $nicename
17
+	 * @param bool   $nullable
18
+	 * @param null   $default_value
19
+	 */
20
+	public function __construct(
21
+		$table_column,
22
+		$nicename,
23
+		$nullable,
24
+		$default_value = null
25
+	) {
26
+		$this->json_data_handler = new JsonDataHandler();
27
+		$this->json_data_handler->configure(
28
+			JsonDataHandler::DATA_TYPE_OBJECT
29
+		);
30
+		parent::__construct($table_column, $nicename, $nullable, $default_value);
31
+	}
32 32
 
33 33
 
34
-    // /**
35
-    //  * When get() is called on a model object (eg EE_Event), before returning its value,
36
-    //  * call this function on it, allowing us to customize the returned value based on
37
-    //  * the field's type. Eg, we may want to unserialize it, strip tags, etc. By default,
38
-    //  * we simply return it.
39
-    //  *
40
-    //  * @param mixed $value_of_field_on_model_object
41
-    //  * @return mixed
42
-    //  */
43
-    // public function prepare_for_get($value_of_field_on_model_object)
44
-    // {
45
-    //     // return $this->json_data_handler->decodeJson($value_of_field_on_model_object);
46
-    //     return $value_of_field_on_model_object;
47
-    // }
34
+	// /**
35
+	//  * When get() is called on a model object (eg EE_Event), before returning its value,
36
+	//  * call this function on it, allowing us to customize the returned value based on
37
+	//  * the field's type. Eg, we may want to unserialize it, strip tags, etc. By default,
38
+	//  * we simply return it.
39
+	//  *
40
+	//  * @param mixed $value_of_field_on_model_object
41
+	//  * @return mixed
42
+	//  */
43
+	// public function prepare_for_get($value_of_field_on_model_object)
44
+	// {
45
+	//     // return $this->json_data_handler->decodeJson($value_of_field_on_model_object);
46
+	//     return $value_of_field_on_model_object;
47
+	// }
48 48
 
49 49
 
50
-    /**
51
-     * When creating a brand-new model object, or setting a particular value for one of its fields, this function
52
-     * is called before setting it on the model object. We may want to strip slashes, unserialize the value, etc.
53
-     * By default, we do nothing.
54
-     *
55
-     * If the model field is going to perform any validation on the input, this is where it should be done
56
-     * (once the value is on the model object, it may be used in other ways besides putting it into the DB
57
-     * so it's best to validate it right away).
58
-     *
59
-     * @param mixed $value_inputted_for_field_on_model_object
60
-     * @return false|string
61
-     */
62
-    public function prepare_for_set($value_inputted_for_field_on_model_object)
63
-    {
64
-        return $this->json_data_handler->encodeData($value_inputted_for_field_on_model_object);
65
-    }
50
+	/**
51
+	 * When creating a brand-new model object, or setting a particular value for one of its fields, this function
52
+	 * is called before setting it on the model object. We may want to strip slashes, unserialize the value, etc.
53
+	 * By default, we do nothing.
54
+	 *
55
+	 * If the model field is going to perform any validation on the input, this is where it should be done
56
+	 * (once the value is on the model object, it may be used in other ways besides putting it into the DB
57
+	 * so it's best to validate it right away).
58
+	 *
59
+	 * @param mixed $value_inputted_for_field_on_model_object
60
+	 * @return false|string
61
+	 */
62
+	public function prepare_for_set($value_inputted_for_field_on_model_object)
63
+	{
64
+		return $this->json_data_handler->encodeData($value_inputted_for_field_on_model_object);
65
+	}
66 66
 
67 67
 
68
-    /**
69
-     * When inserting or updating a field on a model object, run this function on each
70
-     * value to prepare it for insertion into the db. Generally this converts
71
-     * the validated input on the model object into the format used in the DB.
72
-     *
73
-     * @param mixed $value_of_field_on_model_object
74
-     * @return false|string
75
-     */
76
-    public function prepare_for_use_in_db($value_of_field_on_model_object)
77
-    {
78
-        return $this->json_data_handler->encodeData($value_of_field_on_model_object);
79
-    }
68
+	/**
69
+	 * When inserting or updating a field on a model object, run this function on each
70
+	 * value to prepare it for insertion into the db. Generally this converts
71
+	 * the validated input on the model object into the format used in the DB.
72
+	 *
73
+	 * @param mixed $value_of_field_on_model_object
74
+	 * @return false|string
75
+	 */
76
+	public function prepare_for_use_in_db($value_of_field_on_model_object)
77
+	{
78
+		return $this->json_data_handler->encodeData($value_of_field_on_model_object);
79
+	}
80 80
 }
81 81
\ No newline at end of file
Please login to merge, or discard this patch.
core/db_models/EEM_Form_Input.model.php 1 patch
Indentation   +262 added lines, -262 removed lines patch added patch discarded remove patch
@@ -34,282 +34,282 @@
 block discarded – undo
34 34
 class EEM_Form_Input extends EEM_Form_Element
35 35
 {
36 36
 
37
-    /**
38
-     * @var EEM_Form_Input
39
-     */
40
-    protected static $_instance;
37
+	/**
38
+	 * @var EEM_Form_Input
39
+	 */
40
+	protected static $_instance;
41 41
 
42
-    /**
43
-     * @var RequestInterface
44
-     */
45
-    private $request;
42
+	/**
43
+	 * @var RequestInterface
44
+	 */
45
+	private $request;
46 46
 
47
-    /**
48
-     * @var InputTypes
49
-     */
50
-    private $input_types;
47
+	/**
48
+	 * @var InputTypes
49
+	 */
50
+	private $input_types;
51 51
 
52 52
 
53
-    protected function __construct(Element $element, InputTypes $input_types, $timezone = null)
54
-    {
55
-        $this->input_types = $input_types;
56
-        $this->singular_item = esc_html__('Form Input', 'event_espresso');
57
-        $this->plural_item   = esc_html__('Form Inputs', 'event_espresso');
53
+	protected function __construct(Element $element, InputTypes $input_types, $timezone = null)
54
+	{
55
+		$this->input_types = $input_types;
56
+		$this->singular_item = esc_html__('Form Input', 'event_espresso');
57
+		$this->plural_item   = esc_html__('Form Inputs', 'event_espresso');
58 58
 
59
-        $this->_tables          = [
60
-            'Form_Input' => new EE_Primary_Table('esp_form_input', 'FIN_UUID'),
61
-        ];
62
-        $this->_fields          = [
63
-            'Form_Input' => [
64
-                'FIN_UUID'      => new EE_Primary_Key_String_Field(
65
-                    'FIN_UUID',
66
-                    esc_html__('Form Input UUID (universally unique identifier)', 'event_espresso')
67
-                ),
68
-                'FSC_UUID' => new EE_Foreign_Key_String_Field(
69
-                    'FSC_UUID',
70
-                    esc_html__('UUID of parent form section this form input belongs to.', 'event_espresso'),
71
-                    false,
72
-                    null,
73
-                    ['Form_Section']
74
-                ),
75
-                'FIN_adminLabel' => new EE_Plain_Text_Field(
76
-                    'FIN_adminLabel',
77
-                    esc_html__(
78
-                        'Input label displayed in the admin to help differentiate input from others.',
79
-                        'event_espresso'
80
-                    ),
81
-                    true,
82
-                    null
83
-                ),
84
-                'FIN_adminOnly' => new EE_Boolean_Field(
85
-                    'FIN_adminOnly',
86
-                    esc_html__(
87
-                        'Whether or not input is only displayed in the admin. If false, input will appear in public forms',
88
-                        'event_espresso'
89
-                    ),
90
-                    false,
91
-                    false
92
-                ),
93
-                'FIN_helpClass' => new EE_Plain_Text_Field(
94
-                    'FIN_helpClass',
95
-                    esc_html__('Custom HTML classes to be applied to this form input\'s help text.', 'event_espresso'),
96
-                    true,
97
-                    null
98
-                ),
99
-                'FIN_helpText' => new EE_Plain_Text_Field(
100
-                    'FIN_helpText',
101
-                    esc_html__(
102
-                        'Additional text displayed alongside a form input to assist users with completing the form.',
103
-                        'event_espresso'
104
-                    ),
105
-                    true,
106
-                    null
107
-                ),
108
-                'FIN_htmlClass' => new EE_Plain_Text_Field(
109
-                    'FIN_htmlClass',
110
-                    esc_html__('HTML classes to be applied to this form input\'s container.', 'event_espresso'),
111
-                    true,
112
-                    null
113
-                ),
114
-                'FIN_mapsTo'     => new EE_Plain_Text_Field(
115
-                    'FIN_mapsTo',
116
-                    esc_html__(
117
-                        'Model and Fields name that this input maps to; ex: Attendee.email',
118
-                        'event_espresso'
119
-                    ),
120
-                    true,
121
-                    null
122
-                ),
123
-                'FIN_max'     => new EE_Integer_Field(
124
-                    'FIN_max',
125
-                    esc_html__(
126
-                        'Maximum numeric value or maximum characters allowed for form input answer.',
127
-                        'event_espresso'
128
-                    ),
129
-                    false,
130
-                    EE_INF
131
-                ),
132
-                'FIN_min'     => new EE_Integer_Field(
133
-                    'FIN_min',
134
-                    esc_html__(
135
-                        'Minimum numeric value or minimum characters allowed for form input answer.',
136
-                        'event_espresso'
137
-                    ),
138
-                    true,
139
-                    null
140
-                ),
141
-                'FIN_options'     => new EE_JSON_Field(
142
-                    'FIN_options',
143
-                    esc_html__(
144
-                        'JSON string of options for ENUM type inputs like checkboxes, radio buttons, select inputs, etc.',
145
-                        'event_espresso'
146
-                    ),
147
-                    true,
148
-                    null
149
-                ),
150
-                'FIN_order'     => new EE_Integer_Field(
151
-                    'FIN_order',
152
-                    esc_html__('Order in which form input appears in a form.', 'event_espresso'),
153
-                    false,
154
-                    0
155
-                ),
156
-                'FIN_placeholder' => new EE_Plain_Text_Field(
157
-                    'FIN_placeholder',
158
-                    esc_html__(
159
-                        'Example text displayed within an input to assist users with completing the form.',
160
-                        'event_espresso'
161
-                    ),
162
-                    true,
163
-                    null
164
-                ),
165
-                'FIN_publicLabel' => new EE_Plain_Text_Field(
166
-                    'FIN_publicLabel',
167
-                    esc_html__('Input label displayed on public forms, ie: the actual question text.', 'event_espresso'),
168
-                    true,
169
-                    null
170
-                ),
171
-                'FIN_required' => new EE_Boolean_Field(
172
-                    'FIN_required',
173
-                    esc_html__(
174
-                        'Whether or not the input must be supplied with a value in order to complete the form.',
175
-                        'event_espresso'
176
-                    ),
177
-                    false,
178
-                    false
179
-                ),
180
-                'FIN_requiredText' => new EE_Plain_Text_Field(
181
-                    'FIN_requiredText',
182
-                    esc_html__(
183
-                        'Custom validation text displayed alongside a required form input to assist users with completing the form.',
184
-                        'event_espresso'
185
-                    ),
186
-                    true,
187
-                    null
188
-                ),
189
-                'FIN_status'    => new EE_Enum_Text_Field(
190
-                    'FIN_status',
191
-                    esc_html(
192
-                        sprintf(
193
-                            /* translators: 1 class name */
194
-                            __(
195
-                                'Whether form input is active, archived, trashed, or used as a default on new forms. Values correspond to the %s constants.',
196
-                                'event_espresso'
197
-                            ),
198
-                            'EEM_Form_Input::STATUS_*'
199
-                        )
200
-                    ),
201
-                    false,
202
-                    Element::STATUS_ACTIVE,
203
-                    $element->validStatusOptions()
204
-                ),
205
-                'FIN_type'    => new EE_Enum_Text_Field(
206
-                    'FIN_type',
207
-                    esc_html(
208
-                        sprintf(
209
-                            /* translators: 1 class name */
210
-                            __(
211
-                                'Form input type. Values correspond to the %s constants.',
212
-                                'event_espresso'
213
-                            ),
214
-                            'EventEspresso\core\domain\entities\form\Input::TYPE_*'
215
-                        )
216
-                    ),
217
-                    false,
218
-                    Text::TYPE_TEXT,
219
-                    $this->validTypeOptions()
220
-                ),
221
-                'FIN_wpUser'    => new EE_WP_User_Field(
222
-                    'FIN_wpUser',
223
-                    esc_html__('ID of the WP User that created this form input.', 'event_espresso'),
224
-                    false
225
-                ),
226
-            ],
227
-        ];
59
+		$this->_tables          = [
60
+			'Form_Input' => new EE_Primary_Table('esp_form_input', 'FIN_UUID'),
61
+		];
62
+		$this->_fields          = [
63
+			'Form_Input' => [
64
+				'FIN_UUID'      => new EE_Primary_Key_String_Field(
65
+					'FIN_UUID',
66
+					esc_html__('Form Input UUID (universally unique identifier)', 'event_espresso')
67
+				),
68
+				'FSC_UUID' => new EE_Foreign_Key_String_Field(
69
+					'FSC_UUID',
70
+					esc_html__('UUID of parent form section this form input belongs to.', 'event_espresso'),
71
+					false,
72
+					null,
73
+					['Form_Section']
74
+				),
75
+				'FIN_adminLabel' => new EE_Plain_Text_Field(
76
+					'FIN_adminLabel',
77
+					esc_html__(
78
+						'Input label displayed in the admin to help differentiate input from others.',
79
+						'event_espresso'
80
+					),
81
+					true,
82
+					null
83
+				),
84
+				'FIN_adminOnly' => new EE_Boolean_Field(
85
+					'FIN_adminOnly',
86
+					esc_html__(
87
+						'Whether or not input is only displayed in the admin. If false, input will appear in public forms',
88
+						'event_espresso'
89
+					),
90
+					false,
91
+					false
92
+				),
93
+				'FIN_helpClass' => new EE_Plain_Text_Field(
94
+					'FIN_helpClass',
95
+					esc_html__('Custom HTML classes to be applied to this form input\'s help text.', 'event_espresso'),
96
+					true,
97
+					null
98
+				),
99
+				'FIN_helpText' => new EE_Plain_Text_Field(
100
+					'FIN_helpText',
101
+					esc_html__(
102
+						'Additional text displayed alongside a form input to assist users with completing the form.',
103
+						'event_espresso'
104
+					),
105
+					true,
106
+					null
107
+				),
108
+				'FIN_htmlClass' => new EE_Plain_Text_Field(
109
+					'FIN_htmlClass',
110
+					esc_html__('HTML classes to be applied to this form input\'s container.', 'event_espresso'),
111
+					true,
112
+					null
113
+				),
114
+				'FIN_mapsTo'     => new EE_Plain_Text_Field(
115
+					'FIN_mapsTo',
116
+					esc_html__(
117
+						'Model and Fields name that this input maps to; ex: Attendee.email',
118
+						'event_espresso'
119
+					),
120
+					true,
121
+					null
122
+				),
123
+				'FIN_max'     => new EE_Integer_Field(
124
+					'FIN_max',
125
+					esc_html__(
126
+						'Maximum numeric value or maximum characters allowed for form input answer.',
127
+						'event_espresso'
128
+					),
129
+					false,
130
+					EE_INF
131
+				),
132
+				'FIN_min'     => new EE_Integer_Field(
133
+					'FIN_min',
134
+					esc_html__(
135
+						'Minimum numeric value or minimum characters allowed for form input answer.',
136
+						'event_espresso'
137
+					),
138
+					true,
139
+					null
140
+				),
141
+				'FIN_options'     => new EE_JSON_Field(
142
+					'FIN_options',
143
+					esc_html__(
144
+						'JSON string of options for ENUM type inputs like checkboxes, radio buttons, select inputs, etc.',
145
+						'event_espresso'
146
+					),
147
+					true,
148
+					null
149
+				),
150
+				'FIN_order'     => new EE_Integer_Field(
151
+					'FIN_order',
152
+					esc_html__('Order in which form input appears in a form.', 'event_espresso'),
153
+					false,
154
+					0
155
+				),
156
+				'FIN_placeholder' => new EE_Plain_Text_Field(
157
+					'FIN_placeholder',
158
+					esc_html__(
159
+						'Example text displayed within an input to assist users with completing the form.',
160
+						'event_espresso'
161
+					),
162
+					true,
163
+					null
164
+				),
165
+				'FIN_publicLabel' => new EE_Plain_Text_Field(
166
+					'FIN_publicLabel',
167
+					esc_html__('Input label displayed on public forms, ie: the actual question text.', 'event_espresso'),
168
+					true,
169
+					null
170
+				),
171
+				'FIN_required' => new EE_Boolean_Field(
172
+					'FIN_required',
173
+					esc_html__(
174
+						'Whether or not the input must be supplied with a value in order to complete the form.',
175
+						'event_espresso'
176
+					),
177
+					false,
178
+					false
179
+				),
180
+				'FIN_requiredText' => new EE_Plain_Text_Field(
181
+					'FIN_requiredText',
182
+					esc_html__(
183
+						'Custom validation text displayed alongside a required form input to assist users with completing the form.',
184
+						'event_espresso'
185
+					),
186
+					true,
187
+					null
188
+				),
189
+				'FIN_status'    => new EE_Enum_Text_Field(
190
+					'FIN_status',
191
+					esc_html(
192
+						sprintf(
193
+							/* translators: 1 class name */
194
+							__(
195
+								'Whether form input is active, archived, trashed, or used as a default on new forms. Values correspond to the %s constants.',
196
+								'event_espresso'
197
+							),
198
+							'EEM_Form_Input::STATUS_*'
199
+						)
200
+					),
201
+					false,
202
+					Element::STATUS_ACTIVE,
203
+					$element->validStatusOptions()
204
+				),
205
+				'FIN_type'    => new EE_Enum_Text_Field(
206
+					'FIN_type',
207
+					esc_html(
208
+						sprintf(
209
+							/* translators: 1 class name */
210
+							__(
211
+								'Form input type. Values correspond to the %s constants.',
212
+								'event_espresso'
213
+							),
214
+							'EventEspresso\core\domain\entities\form\Input::TYPE_*'
215
+						)
216
+					),
217
+					false,
218
+					Text::TYPE_TEXT,
219
+					$this->validTypeOptions()
220
+				),
221
+				'FIN_wpUser'    => new EE_WP_User_Field(
222
+					'FIN_wpUser',
223
+					esc_html__('ID of the WP User that created this form input.', 'event_espresso'),
224
+					false
225
+				),
226
+			],
227
+		];
228 228
 
229
-        $this->_model_relations = [
230
-            'Form_Section' => new EE_Belongs_To_Relation(),
231
-            'WP_User'      => new EE_Belongs_To_Relation(),
232
-        ];
233
-        // this model is generally available for reading
234
-        $this->_cap_restriction_generators = [
235
-            EEM_Base::caps_read       => new EE_Restriction_Generator_Public(),
236
-            EEM_Base::caps_read_admin => new EE_Restriction_Generator_Reg_Form('FIN_applies_to'),
237
-            EEM_Base::caps_edit       => new EE_Restriction_Generator_Reg_Form('FIN_applies_to'),
238
-            EEM_Base::caps_delete     => new EE_Restriction_Generator_Reg_Form('FIN_applies_to'),
239
-        ];
240
-        parent::__construct($element, $timezone);
241
-        $this->request = $this->getLoader()->getShared('EventEspresso\core\services\request\RequestInterface');
242
-    }
229
+		$this->_model_relations = [
230
+			'Form_Section' => new EE_Belongs_To_Relation(),
231
+			'WP_User'      => new EE_Belongs_To_Relation(),
232
+		];
233
+		// this model is generally available for reading
234
+		$this->_cap_restriction_generators = [
235
+			EEM_Base::caps_read       => new EE_Restriction_Generator_Public(),
236
+			EEM_Base::caps_read_admin => new EE_Restriction_Generator_Reg_Form('FIN_applies_to'),
237
+			EEM_Base::caps_edit       => new EE_Restriction_Generator_Reg_Form('FIN_applies_to'),
238
+			EEM_Base::caps_delete     => new EE_Restriction_Generator_Reg_Form('FIN_applies_to'),
239
+		];
240
+		parent::__construct($element, $timezone);
241
+		$this->request = $this->getLoader()->getShared('EventEspresso\core\services\request\RequestInterface');
242
+	}
243 243
 
244 244
 
245
-    /**
246
-     * @param array $query_params
247
-     * @return array
248
-     */
249
-    private function addDefaultWhereConditions(array $query_params): array
250
-    {
251
-        // might need to add a way to identify GQL requests for admin domains
252
-        $admin_request                            = $this->request->isAdmin() || $this->request->isAdminAjax();
253
-        $query_params['default_where_conditions'] = $admin_request
254
-            ? EEM_Base::default_where_conditions_none
255
-            : EEM_Base::default_where_conditions_all;
256
-        return $query_params;
257
-    }
245
+	/**
246
+	 * @param array $query_params
247
+	 * @return array
248
+	 */
249
+	private function addDefaultWhereConditions(array $query_params): array
250
+	{
251
+		// might need to add a way to identify GQL requests for admin domains
252
+		$admin_request                            = $this->request->isAdmin() || $this->request->isAdminAjax();
253
+		$query_params['default_where_conditions'] = $admin_request
254
+			? EEM_Base::default_where_conditions_none
255
+			: EEM_Base::default_where_conditions_all;
256
+		return $query_params;
257
+	}
258 258
 
259 259
 
260
-    /**
261
-     * form inputs should always be sorted in ascending order via the FIN_order field
262
-     *
263
-     * @param array $query_params
264
-     * @return array
265
-     */
266
-    private function addOrderByQueryParams(array $query_params): array
267
-    {
268
-        $query_params['order_by'] = ['FIN_order' => 'ASC'];
269
-        return $query_params;
270
-    }
260
+	/**
261
+	 * form inputs should always be sorted in ascending order via the FIN_order field
262
+	 *
263
+	 * @param array $query_params
264
+	 * @return array
265
+	 */
266
+	private function addOrderByQueryParams(array $query_params): array
267
+	{
268
+		$query_params['order_by'] = ['FIN_order' => 'ASC'];
269
+		return $query_params;
270
+	}
271 271
 
272 272
 
273
-    /**
274
-     * @param EE_Form_Section $form_section
275
-     * @param EE_Form_Input[] $all_form_inputs
276
-     * @return EE_Form_Input[]
277
-     * @throws EE_Error
278
-     * @throws ReflectionException
279
-     */
280
-    public function filterFormInputsForFormSection(EE_Form_Section $form_section, array $all_form_inputs): array
281
-    {
282
-        return array_filter($all_form_inputs, $form_section->formInputFilter());
283
-    }
273
+	/**
274
+	 * @param EE_Form_Section $form_section
275
+	 * @param EE_Form_Input[] $all_form_inputs
276
+	 * @return EE_Form_Input[]
277
+	 * @throws EE_Error
278
+	 * @throws ReflectionException
279
+	 */
280
+	public function filterFormInputsForFormSection(EE_Form_Section $form_section, array $all_form_inputs): array
281
+	{
282
+		return array_filter($all_form_inputs, $form_section->formInputFilter());
283
+	}
284 284
 
285 285
 
286
-    /**
287
-     * @param EE_Form_Section[] $form_sections
288
-     * @return EE_Form_Input[]
289
-     * @throws EE_Error
290
-     * @throws ReflectionException
291
-     */
292
-    public function getAllFormInputsForFormSections(array $form_sections): array
293
-    {
294
-        $FSC_UUIDs = [];
295
-        foreach ($form_sections as $form_section) {
296
-            if ($form_section instanceof EE_Form_Section) {
297
-                $FSC_UUIDs[] = $form_section->UUID();
298
-            }
299
-        }
300
-        $where_params = ['FSC_UUID' => ['IN', $FSC_UUIDs]];
301
-        $query_params = $this->addDefaultWhereConditions([$where_params]);
302
-        $query_params = $this->addOrderByQueryParams($query_params);
303
-        return $this->get_all($query_params);
304
-    }
286
+	/**
287
+	 * @param EE_Form_Section[] $form_sections
288
+	 * @return EE_Form_Input[]
289
+	 * @throws EE_Error
290
+	 * @throws ReflectionException
291
+	 */
292
+	public function getAllFormInputsForFormSections(array $form_sections): array
293
+	{
294
+		$FSC_UUIDs = [];
295
+		foreach ($form_sections as $form_section) {
296
+			if ($form_section instanceof EE_Form_Section) {
297
+				$FSC_UUIDs[] = $form_section->UUID();
298
+			}
299
+		}
300
+		$where_params = ['FSC_UUID' => ['IN', $FSC_UUIDs]];
301
+		$query_params = $this->addDefaultWhereConditions([$where_params]);
302
+		$query_params = $this->addOrderByQueryParams($query_params);
303
+		return $this->get_all($query_params);
304
+	}
305 305
 
306 306
 
307
-    /**
308
-     * @param bool $constants_only
309
-     * @return array
310
-     */
311
-    public function validTypeOptions(bool $constants_only = false): array
312
-    {
313
-        return $this->input_types->validTypeOptions($constants_only);
314
-    }
307
+	/**
308
+	 * @param bool $constants_only
309
+	 * @return array
310
+	 */
311
+	public function validTypeOptions(bool $constants_only = false): array
312
+	{
313
+		return $this->input_types->validTypeOptions($constants_only);
314
+	}
315 315
 }
Please login to merge, or discard this patch.