Completed
Branch gql-search-support (da87e5)
by
unknown
65:32 queued 56:59
created
core/domain/entities/routing/data_nodes/core/CurrentUser.php 2 patches
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -16,52 +16,52 @@
 block discarded – undo
16 16
  */
17 17
 class CurrentUser extends JsonDataNode
18 18
 {
19
-    const NODE_NAME = 'currentUser';
19
+	const NODE_NAME = 'currentUser';
20 20
 
21
-    /**
22
-     * @var Capabilities $capabilities
23
-     */
24
-    private $capabilities;
21
+	/**
22
+	 * @var Capabilities $capabilities
23
+	 */
24
+	private $capabilities;
25 25
 
26
-    /**
27
-     * @param Capabilities $capabilities
28
-     * @param JsonDataNodeValidator $validator
29
-     */
30
-    public function __construct(Capabilities $capabilities, JsonDataNodeValidator $validator)
31
-    {
32
-        if (! class_exists('WPGraphQL')) {
33
-            require_once EE_THIRD_PARTY . 'wp-graphql/wp-graphql.php';
34
-        }
35
-        parent::__construct($validator);
36
-        $this->capabilities = $capabilities;
37
-        $this->setNodeName(CurrentUser::NODE_NAME);
38
-    }
26
+	/**
27
+	 * @param Capabilities $capabilities
28
+	 * @param JsonDataNodeValidator $validator
29
+	 */
30
+	public function __construct(Capabilities $capabilities, JsonDataNodeValidator $validator)
31
+	{
32
+		if (! class_exists('WPGraphQL')) {
33
+			require_once EE_THIRD_PARTY . 'wp-graphql/wp-graphql.php';
34
+		}
35
+		parent::__construct($validator);
36
+		$this->capabilities = $capabilities;
37
+		$this->setNodeName(CurrentUser::NODE_NAME);
38
+	}
39 39
 
40
-    /**
41
-     * @inheritDoc
42
-     */
43
-    public function initialize()
44
-    {
45
-        $current_user = wp_get_current_user();
46
-        if (! $current_user instanceof WP_User) {
47
-            $current_user = new WP_User();
48
-        }
40
+	/**
41
+	 * @inheritDoc
42
+	 */
43
+	public function initialize()
44
+	{
45
+		$current_user = wp_get_current_user();
46
+		if (! $current_user instanceof WP_User) {
47
+			$current_user = new WP_User();
48
+		}
49 49
 
50
-        if (class_exists(Relay::class)) {
51
-            $this->addData('id', Relay::toGlobalId('user', $current_user->ID));
52
-        }
53
-        $this->addData('databaseId', $current_user->ID);
54
-        $this->addData('description', $current_user->description);
55
-        $this->addData('email', $current_user->user_email);
56
-        $this->addData('firstName', $current_user->first_name);
57
-        $this->addData('lastName', $current_user->last_name);
58
-        $this->addData('locale', get_user_locale($current_user->ID));
59
-        $this->addData('name', $current_user->display_name);
60
-        $this->addData('nicename', $current_user->user_nicename);
61
-        $this->addData('nickname', $current_user->nickname);
62
-        $this->addData('username', $current_user->user_login);
63
-        $this->addData('__typename', 'User');
64
-        $this->addDataNode($this->capabilities);
65
-        $this->setInitialized(true);
66
-    }
50
+		if (class_exists(Relay::class)) {
51
+			$this->addData('id', Relay::toGlobalId('user', $current_user->ID));
52
+		}
53
+		$this->addData('databaseId', $current_user->ID);
54
+		$this->addData('description', $current_user->description);
55
+		$this->addData('email', $current_user->user_email);
56
+		$this->addData('firstName', $current_user->first_name);
57
+		$this->addData('lastName', $current_user->last_name);
58
+		$this->addData('locale', get_user_locale($current_user->ID));
59
+		$this->addData('name', $current_user->display_name);
60
+		$this->addData('nicename', $current_user->user_nicename);
61
+		$this->addData('nickname', $current_user->nickname);
62
+		$this->addData('username', $current_user->user_login);
63
+		$this->addData('__typename', 'User');
64
+		$this->addDataNode($this->capabilities);
65
+		$this->setInitialized(true);
66
+	}
67 67
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function __construct(Capabilities $capabilities, JsonDataNodeValidator $validator)
31 31
     {
32
-        if (! class_exists('WPGraphQL')) {
33
-            require_once EE_THIRD_PARTY . 'wp-graphql/wp-graphql.php';
32
+        if ( ! class_exists('WPGraphQL')) {
33
+            require_once EE_THIRD_PARTY.'wp-graphql/wp-graphql.php';
34 34
         }
35 35
         parent::__construct($validator);
36 36
         $this->capabilities = $capabilities;
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     public function initialize()
44 44
     {
45 45
         $current_user = wp_get_current_user();
46
-        if (! $current_user instanceof WP_User) {
46
+        if ( ! $current_user instanceof WP_User) {
47 47
             $current_user = new WP_User();
48 48
         }
49 49
 
Please login to merge, or discard this patch.
core/domain/services/graphql/connections/DatetimeTicketsConnection.php 1 patch
Indentation   +85 added lines, -85 removed lines patch added patch discarded remove patch
@@ -20,95 +20,95 @@
 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
-        $this->model = $model;
31
-    }
23
+	/**
24
+	 * DatetimeConnection constructor.
25
+	 *
26
+	 * @param EEM_Ticket $model
27
+	 */
28
+	public function __construct(EEM_Ticket $model)
29
+	{
30
+		$this->model = $model;
31
+	}
32 32
 
33 33
 
34
-    /**
35
-     * @return array
36
-     * @since $VID:$
37
-     */
38
-    public function config()
39
-    {
40
-        return [
41
-            'fromType'           => $this->namespace . 'Datetime',
42
-            'toType'             => $this->namespace . 'Ticket',
43
-            'fromFieldName'      => 'tickets',
44
-            'connectionTypeName' => "{$this->namespace}DatetimeTicketsConnection",
45
-            'connectionArgs'     => self::get_connection_args(),
46
-            'resolve'            => [$this, 'resolveConnection'],
47
-        ];
48
-    }
34
+	/**
35
+	 * @return array
36
+	 * @since $VID:$
37
+	 */
38
+	public function config()
39
+	{
40
+		return [
41
+			'fromType'           => $this->namespace . 'Datetime',
42
+			'toType'             => $this->namespace . 'Ticket',
43
+			'fromFieldName'      => 'tickets',
44
+			'connectionTypeName' => "{$this->namespace}DatetimeTicketsConnection",
45
+			'connectionArgs'     => self::get_connection_args(),
46
+			'resolve'            => [$this, 'resolveConnection'],
47
+		];
48
+	}
49 49
 
50 50
 
51
-    /**
52
-     * @param $entity
53
-     * @param $args
54
-     * @param $context
55
-     * @param $info
56
-     * @return array
57
-     * @throws Exception
58
-     * @since $VID:$
59
-     */
60
-    public function resolveConnection($entity, $args, $context, $info)
61
-    {
62
-        $resolver = new TicketConnectionResolver($entity, $args, $context, $info);
63
-        return $resolver->get_connection();
64
-    }
51
+	/**
52
+	 * @param $entity
53
+	 * @param $args
54
+	 * @param $context
55
+	 * @param $info
56
+	 * @return array
57
+	 * @throws Exception
58
+	 * @since $VID:$
59
+	 */
60
+	public function resolveConnection($entity, $args, $context, $info)
61
+	{
62
+		$resolver = new TicketConnectionResolver($entity, $args, $context, $info);
63
+		return $resolver->get_connection();
64
+	}
65 65
 
66
-    /**
67
-     * Given an optional array of args, this returns the args to be used in the connection
68
-     *
69
-     * @access public
70
-     * @param array $args The args to modify the defaults
71
-     *
72
-     * @return array
73
-     */
74
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
75
-    public static function get_connection_args($args = [])
76
-    {
77
-        $newArgs = [
78
-            'orderby'      => [
79
-                'type'        => ['list_of' => 'EspressoTicketsConnectionOrderbyInput'],
80
-                'description' => esc_html__('What parameter to use to order the objects by.', 'event_espresso'),
81
-            ],
82
-            'datetime' => [
83
-                'type'        => 'ID',
84
-                'description' => esc_html__('Globally unique datetime ID to get the tickets for.', 'event_espresso'),
85
-            ],
86
-            'datetimeIn' => [
87
-                'type'        => ['list_of' => 'ID'],
88
-                'description' => esc_html__('Globally unique datetime IDs to get the tickets for.', 'event_espresso'),
89
-            ],
90
-            'datetimeId' => [
91
-                'type'        => 'Int',
92
-                'description' => esc_html__('Datetime ID to get the tickets for.', 'event_espresso'),
93
-            ],
94
-            'datetimeIdIn' => [
95
-                'type'        => ['list_of' => 'Int'],
96
-                'description' => esc_html__('Datetime IDs to get the tickets for.', 'event_espresso'),
97
-            ],
98
-            'search' => [
99
-                'type'        => 'String',
100
-                'description' => esc_html__('The search keywords', 'event_espresso'),
101
-            ],
102
-        ];
66
+	/**
67
+	 * Given an optional array of args, this returns the args to be used in the connection
68
+	 *
69
+	 * @access public
70
+	 * @param array $args The args to modify the defaults
71
+	 *
72
+	 * @return array
73
+	 */
74
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
75
+	public static function get_connection_args($args = [])
76
+	{
77
+		$newArgs = [
78
+			'orderby'      => [
79
+				'type'        => ['list_of' => 'EspressoTicketsConnectionOrderbyInput'],
80
+				'description' => esc_html__('What parameter to use to order the objects by.', 'event_espresso'),
81
+			],
82
+			'datetime' => [
83
+				'type'        => 'ID',
84
+				'description' => esc_html__('Globally unique datetime ID to get the tickets for.', 'event_espresso'),
85
+			],
86
+			'datetimeIn' => [
87
+				'type'        => ['list_of' => 'ID'],
88
+				'description' => esc_html__('Globally unique datetime IDs to get the tickets for.', 'event_espresso'),
89
+			],
90
+			'datetimeId' => [
91
+				'type'        => 'Int',
92
+				'description' => esc_html__('Datetime ID to get the tickets for.', 'event_espresso'),
93
+			],
94
+			'datetimeIdIn' => [
95
+				'type'        => ['list_of' => 'Int'],
96
+				'description' => esc_html__('Datetime IDs to get the tickets for.', 'event_espresso'),
97
+			],
98
+			'search' => [
99
+				'type'        => 'String',
100
+				'description' => esc_html__('The search keywords', 'event_espresso'),
101
+			],
102
+		];
103 103
 
104
-        $newArgs = apply_filters(
105
-            'FHEE__EventEspresso_core_domain_services_graphql_connections__ticket_args',
106
-            $newArgs,
107
-            $args
108
-        );
109
-        return array_merge(
110
-            $newArgs,
111
-            $args
112
-        );
113
-    }
104
+		$newArgs = apply_filters(
105
+			'FHEE__EventEspresso_core_domain_services_graphql_connections__ticket_args',
106
+			$newArgs,
107
+			$args
108
+		);
109
+		return array_merge(
110
+			$newArgs,
111
+			$args
112
+		);
113
+	}
114 114
 }
Please login to merge, or discard this patch.
core/domain/services/graphql/connections/EventDatetimesConnection.php 1 patch
Indentation   +113 added lines, -113 removed lines patch added patch discarded remove patch
@@ -21,123 +21,123 @@
 block discarded – undo
21 21
 {
22 22
 
23 23
 
24
-    /**
25
-     * DatetimeConnection constructor.
26
-     *
27
-     * @param EEM_Datetime               $model
28
-     */
29
-    public function __construct(EEM_Datetime $model)
30
-    {
31
-        $this->model = $model;
32
-    }
24
+	/**
25
+	 * DatetimeConnection constructor.
26
+	 *
27
+	 * @param EEM_Datetime               $model
28
+	 */
29
+	public function __construct(EEM_Datetime $model)
30
+	{
31
+		$this->model = $model;
32
+	}
33 33
 
34 34
 
35
-    /**
36
-     * @return array
37
-     * @since $VID:$
38
-     */
39
-    public function config()
40
-    {
41
-        return [
42
-            'fromType'           => $this->namespace . 'Event',
43
-            'toType'             => $this->namespace . 'Datetime',
44
-            'fromFieldName'      => 'datetimes',
45
-            'connectionTypeName' => "{$this->namespace}EventDatetimesConnection",
46
-            'connectionArgs'     => self::get_connection_args(),
47
-            'resolve'            => [$this, 'resolveConnection'],
48
-        ];
49
-    }
35
+	/**
36
+	 * @return array
37
+	 * @since $VID:$
38
+	 */
39
+	public function config()
40
+	{
41
+		return [
42
+			'fromType'           => $this->namespace . 'Event',
43
+			'toType'             => $this->namespace . 'Datetime',
44
+			'fromFieldName'      => 'datetimes',
45
+			'connectionTypeName' => "{$this->namespace}EventDatetimesConnection",
46
+			'connectionArgs'     => self::get_connection_args(),
47
+			'resolve'            => [$this, 'resolveConnection'],
48
+		];
49
+	}
50 50
 
51 51
 
52
-    /**
53
-     * @param $entity
54
-     * @param $args
55
-     * @param $context
56
-     * @param $info
57
-     * @return array
58
-     * @throws Exception
59
-     * @since $VID:$
60
-     */
61
-    public function resolveConnection($entity, $args, $context, $info)
62
-    {
63
-        $resolver = new DatetimeConnectionResolver($entity, $args, $context, $info);
64
-        return $resolver->get_connection();
65
-    }
52
+	/**
53
+	 * @param $entity
54
+	 * @param $args
55
+	 * @param $context
56
+	 * @param $info
57
+	 * @return array
58
+	 * @throws Exception
59
+	 * @since $VID:$
60
+	 */
61
+	public function resolveConnection($entity, $args, $context, $info)
62
+	{
63
+		$resolver = new DatetimeConnectionResolver($entity, $args, $context, $info);
64
+		return $resolver->get_connection();
65
+	}
66 66
 
67
-    /**
68
-     * Given an optional array of args, this returns the args to be used in the connection
69
-     *
70
-     * @access public
71
-     * @param array $args The args to modify the defaults
72
-     *
73
-     * @return array
74
-     */
75
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
76
-    public static function get_connection_args($args = [])
77
-    {
78
-        $newArgs = [
79
-            'orderby'      => [
80
-                'type'        => ['list_of' => 'EspressoDatetimesConnectionOrderbyInput'],
81
-                'description' => esc_html__('What parameter to use to order the objects by.', 'event_espresso'),
82
-            ],
83
-            'event'  => [
84
-                'type'        => 'ID',
85
-                'description' => esc_html__('Globally unique event ID to get the datetimes for.', 'event_espresso'),
86
-            ],
87
-            'eventIn'  => [
88
-                'type'        => ['list_of' => 'ID'],
89
-                'description' => esc_html__('Globally unique event IDs to get the datetimes for.', 'event_espresso'),
90
-            ],
91
-            'eventId'  => [
92
-                'type'        => 'Int',
93
-                'description' => esc_html__('Event ID to get the datetimes for.', 'event_espresso'),
94
-            ],
95
-            'eventIdIn'  => [
96
-                'type'        => ['list_of' => 'Int'],
97
-                'description' => esc_html__('Event IDs to get the datetimes for.', 'event_espresso'),
98
-            ],
99
-            'ticket' => [
100
-                'type'        => 'ID',
101
-                'description' => esc_html__('Globally unique ticket ID to get the datetimes for.', 'event_espresso'),
102
-            ],
103
-            'ticketIn' => [
104
-                'type'        => ['list_of' => 'ID'],
105
-                'description' => esc_html__('Globally unique ticket IDs to get the datetimes for.', 'event_espresso'),
106
-            ],
107
-            'ticketId' => [
108
-                'type'        => 'Int',
109
-                'description' => esc_html__('Ticket ID to get the datetimes for.', 'event_espresso'),
110
-            ],
111
-            'ticketIdIn' => [
112
-                'type'        => ['list_of' => 'Int'],
113
-                'description' => esc_html__('Ticket IDs to get the datetimes for.', 'event_espresso'),
114
-            ],
115
-            'upcoming' => [
116
-                'type'        => 'Boolean',
117
-                'description' => esc_html__('Datetimes which are upcoming.', 'event_espresso'),
118
-            ],
119
-            'active'   => [
120
-                'type'        => 'Boolean',
121
-                'description' => esc_html__('Datetimes which are active.', 'event_espresso'),
122
-            ],
123
-            'expired'  => [
124
-                'type'        => 'Boolean',
125
-                'description' => esc_html__('Datetimes which are expired.', 'event_espresso'),
126
-            ],
127
-            'search' => [
128
-                'type'        => 'String',
129
-                'description' => esc_html__('The search keywords', 'event_espresso'),
130
-            ],
131
-        ];
67
+	/**
68
+	 * Given an optional array of args, this returns the args to be used in the connection
69
+	 *
70
+	 * @access public
71
+	 * @param array $args The args to modify the defaults
72
+	 *
73
+	 * @return array
74
+	 */
75
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
76
+	public static function get_connection_args($args = [])
77
+	{
78
+		$newArgs = [
79
+			'orderby'      => [
80
+				'type'        => ['list_of' => 'EspressoDatetimesConnectionOrderbyInput'],
81
+				'description' => esc_html__('What parameter to use to order the objects by.', 'event_espresso'),
82
+			],
83
+			'event'  => [
84
+				'type'        => 'ID',
85
+				'description' => esc_html__('Globally unique event ID to get the datetimes for.', 'event_espresso'),
86
+			],
87
+			'eventIn'  => [
88
+				'type'        => ['list_of' => 'ID'],
89
+				'description' => esc_html__('Globally unique event IDs to get the datetimes for.', 'event_espresso'),
90
+			],
91
+			'eventId'  => [
92
+				'type'        => 'Int',
93
+				'description' => esc_html__('Event ID to get the datetimes for.', 'event_espresso'),
94
+			],
95
+			'eventIdIn'  => [
96
+				'type'        => ['list_of' => 'Int'],
97
+				'description' => esc_html__('Event IDs to get the datetimes for.', 'event_espresso'),
98
+			],
99
+			'ticket' => [
100
+				'type'        => 'ID',
101
+				'description' => esc_html__('Globally unique ticket ID to get the datetimes for.', 'event_espresso'),
102
+			],
103
+			'ticketIn' => [
104
+				'type'        => ['list_of' => 'ID'],
105
+				'description' => esc_html__('Globally unique ticket IDs to get the datetimes for.', 'event_espresso'),
106
+			],
107
+			'ticketId' => [
108
+				'type'        => 'Int',
109
+				'description' => esc_html__('Ticket ID to get the datetimes for.', 'event_espresso'),
110
+			],
111
+			'ticketIdIn' => [
112
+				'type'        => ['list_of' => 'Int'],
113
+				'description' => esc_html__('Ticket IDs to get the datetimes for.', 'event_espresso'),
114
+			],
115
+			'upcoming' => [
116
+				'type'        => 'Boolean',
117
+				'description' => esc_html__('Datetimes which are upcoming.', 'event_espresso'),
118
+			],
119
+			'active'   => [
120
+				'type'        => 'Boolean',
121
+				'description' => esc_html__('Datetimes which are active.', 'event_espresso'),
122
+			],
123
+			'expired'  => [
124
+				'type'        => 'Boolean',
125
+				'description' => esc_html__('Datetimes which are expired.', 'event_espresso'),
126
+			],
127
+			'search' => [
128
+				'type'        => 'String',
129
+				'description' => esc_html__('The search keywords', 'event_espresso'),
130
+			],
131
+		];
132 132
 
133
-        $newArgs = apply_filters(
134
-            'FHEE__EventEspresso_core_domain_services_graphql_connections__datetime_args',
135
-            $newArgs,
136
-            $args
137
-        );
138
-        return array_merge(
139
-            $newArgs,
140
-            $args
141
-        );
142
-    }
133
+		$newArgs = apply_filters(
134
+			'FHEE__EventEspresso_core_domain_services_graphql_connections__datetime_args',
135
+			$newArgs,
136
+			$args
137
+		);
138
+		return array_merge(
139
+			$newArgs,
140
+			$args
141
+		);
142
+	}
143 143
 }
Please login to merge, or discard this patch.
core/domain/services/graphql/connections/RootQueryAttendeesConnection.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -19,132 +19,132 @@
 block discarded – undo
19 19
 {
20 20
 
21 21
 
22
-    /**
23
-     * AttendeeConnection constructor.
24
-     *
25
-     * @param EEM_Attendee               $model
26
-     */
27
-    public function __construct(EEM_Attendee $model)
28
-    {
29
-        $this->model = $model;
30
-    }
22
+	/**
23
+	 * AttendeeConnection constructor.
24
+	 *
25
+	 * @param EEM_Attendee               $model
26
+	 */
27
+	public function __construct(EEM_Attendee $model)
28
+	{
29
+		$this->model = $model;
30
+	}
31 31
 
32 32
 
33
-    /**
34
-     * @return array
35
-     * @since $VID:$
36
-     */
37
-    public function config()
38
-    {
39
-        return [
40
-            'fromType'           => 'RootQuery',
41
-            'toType'             => $this->namespace . 'Attendee',
42
-            'fromFieldName'      => lcfirst($this->namespace) . 'Attendees',
43
-            'connectionTypeName' => "{$this->namespace}RootQueryAttendeesConnection",
44
-            'connectionArgs'     => self::get_connection_args(),
45
-            'resolve'            => [$this, 'resolveConnection'],
46
-        ];
47
-    }
33
+	/**
34
+	 * @return array
35
+	 * @since $VID:$
36
+	 */
37
+	public function config()
38
+	{
39
+		return [
40
+			'fromType'           => 'RootQuery',
41
+			'toType'             => $this->namespace . 'Attendee',
42
+			'fromFieldName'      => lcfirst($this->namespace) . 'Attendees',
43
+			'connectionTypeName' => "{$this->namespace}RootQueryAttendeesConnection",
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 AttendeeConnectionResolver
56
-     * @throws Exception
57
-     * @since $VID:$
58
-     */
59
-    public function getConnectionResolver($entity, $args, $context, $info)
60
-    {
61
-        return new AttendeeConnectionResolver($entity, $args, $context, $info);
62
-    }
50
+	/**
51
+	 * @param $entity
52
+	 * @param $args
53
+	 * @param $context
54
+	 * @param $info
55
+	 * @return AttendeeConnectionResolver
56
+	 * @throws Exception
57
+	 * @since $VID:$
58
+	 */
59
+	public function getConnectionResolver($entity, $args, $context, $info)
60
+	{
61
+		return new AttendeeConnectionResolver($entity, $args, $context, $info);
62
+	}
63 63
 
64
-    /**
65
-     * Given an optional array of args, this returns the args to be used in the connection
66
-     *
67
-     * @access public
68
-     * @param array $args The args to modify the defaults
69
-     *
70
-     * @return array
71
-     */
72
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
73
-    public static function get_connection_args($args = [])
74
-    {
75
-        $newArgs = [
76
-            'datetime' => [
77
-                'type'        => 'ID',
78
-                'description' => esc_html__(
79
-                    'Globally unique datetime ID to get the attendees for.',
80
-                    'event_espresso'
81
-                ),
82
-            ],
83
-            'datetimeIn' => [
84
-                'type'        => ['list_of' => 'ID'],
85
-                'description' => esc_html__(
86
-                    'Globally unique datetime IDs to get the attendees for.',
87
-                    'event_espresso'
88
-                ),
89
-            ],
90
-            'event' => [
91
-                'type'        => 'ID',
92
-                'description' => esc_html__(
93
-                    'Globally unique event ID to get the attendees for.',
94
-                    'event_espresso'
95
-                ),
96
-            ],
97
-            'eventIn' => [
98
-                'type'        => ['list_of' => 'ID'],
99
-                'description' => esc_html__(
100
-                    'Globally unique event IDs to get the attendees for.',
101
-                    'event_espresso'
102
-                ),
103
-            ],
104
-            'orderby'      => [
105
-                'type'        => ['list_of' => 'EspressoAttendeesConnectionOrderbyInput'],
106
-                'description' => esc_html__('What parameter to use to order the objects by.', 'event_espresso'),
107
-            ],
108
-            'regTicket' => [
109
-                'type'        => 'ID',
110
-                'description' => esc_html__(
111
-                    'Globally unique registration ticket ID to get the attendees for.',
112
-                    'event_espresso'
113
-                ),
114
-            ],
115
-            'regTicketIn' => [
116
-                'type'        => ['list_of' => 'ID'],
117
-                'description' => esc_html__(
118
-                    'Globally unique registration ticket IDs to get the attendees for.',
119
-                    'event_espresso'
120
-                ),
121
-            ],
122
-            'regTicketId' => [
123
-                'type'        => 'Int',
124
-                'description' => esc_html__('Registration ticket ID to get the attendees for.', 'event_espresso'),
125
-            ],
126
-            'regTicketIdIn' => [
127
-                'type'        => ['list_of' => 'Int'],
128
-                'description' => esc_html__('Registration ticket IDs to get the attendees for.', 'event_espresso'),
129
-            ],
130
-            'regStatus' => [
131
-                'type'        => 'EspressoRegistrationStatusEnum',
132
-                'description' => esc_html__('Limit attendees to registration status.', 'event_espresso'),
133
-            ],
134
-            'search' => [
135
-                'type'        => 'String',
136
-                'description' => esc_html__('The search keywords', 'event_espresso'),
137
-            ],
138
-        ];
64
+	/**
65
+	 * Given an optional array of args, this returns the args to be used in the connection
66
+	 *
67
+	 * @access public
68
+	 * @param array $args The args to modify the defaults
69
+	 *
70
+	 * @return array
71
+	 */
72
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
73
+	public static function get_connection_args($args = [])
74
+	{
75
+		$newArgs = [
76
+			'datetime' => [
77
+				'type'        => 'ID',
78
+				'description' => esc_html__(
79
+					'Globally unique datetime ID to get the attendees for.',
80
+					'event_espresso'
81
+				),
82
+			],
83
+			'datetimeIn' => [
84
+				'type'        => ['list_of' => 'ID'],
85
+				'description' => esc_html__(
86
+					'Globally unique datetime IDs to get the attendees for.',
87
+					'event_espresso'
88
+				),
89
+			],
90
+			'event' => [
91
+				'type'        => 'ID',
92
+				'description' => esc_html__(
93
+					'Globally unique event ID to get the attendees for.',
94
+					'event_espresso'
95
+				),
96
+			],
97
+			'eventIn' => [
98
+				'type'        => ['list_of' => 'ID'],
99
+				'description' => esc_html__(
100
+					'Globally unique event IDs to get the attendees for.',
101
+					'event_espresso'
102
+				),
103
+			],
104
+			'orderby'      => [
105
+				'type'        => ['list_of' => 'EspressoAttendeesConnectionOrderbyInput'],
106
+				'description' => esc_html__('What parameter to use to order the objects by.', 'event_espresso'),
107
+			],
108
+			'regTicket' => [
109
+				'type'        => 'ID',
110
+				'description' => esc_html__(
111
+					'Globally unique registration ticket ID to get the attendees for.',
112
+					'event_espresso'
113
+				),
114
+			],
115
+			'regTicketIn' => [
116
+				'type'        => ['list_of' => 'ID'],
117
+				'description' => esc_html__(
118
+					'Globally unique registration ticket IDs to get the attendees for.',
119
+					'event_espresso'
120
+				),
121
+			],
122
+			'regTicketId' => [
123
+				'type'        => 'Int',
124
+				'description' => esc_html__('Registration ticket ID to get the attendees for.', 'event_espresso'),
125
+			],
126
+			'regTicketIdIn' => [
127
+				'type'        => ['list_of' => 'Int'],
128
+				'description' => esc_html__('Registration ticket IDs to get the attendees for.', 'event_espresso'),
129
+			],
130
+			'regStatus' => [
131
+				'type'        => 'EspressoRegistrationStatusEnum',
132
+				'description' => esc_html__('Limit attendees to registration status.', 'event_espresso'),
133
+			],
134
+			'search' => [
135
+				'type'        => 'String',
136
+				'description' => esc_html__('The search keywords', 'event_espresso'),
137
+			],
138
+		];
139 139
 
140
-        $newArgs = apply_filters(
141
-            'FHEE__EventEspresso_core_domain_services_graphql_connections__attendee_args',
142
-            $newArgs,
143
-            $args
144
-        );
145
-        return array_merge(
146
-            $newArgs,
147
-            $args
148
-        );
149
-    }
140
+		$newArgs = apply_filters(
141
+			'FHEE__EventEspresso_core_domain_services_graphql_connections__attendee_args',
142
+			$newArgs,
143
+			$args
144
+		);
145
+		return array_merge(
146
+			$newArgs,
147
+			$args
148
+		);
149
+	}
150 150
 }
Please login to merge, or discard this patch.
domain/services/graphql/connection_resolvers/AbstractConnectionResolver.php 2 patches
Indentation   +164 added lines, -164 removed lines patch added patch discarded remove patch
@@ -20,169 +20,169 @@
 block discarded – undo
20 20
 {
21 21
 
22 22
 
23
-    /**
24
-     * @var Utilities
25
-     */
26
-    private $utilities;
27
-
28
-
29
-    /**
30
-     * @return Utilities
31
-     */
32
-    public function getUtilities()
33
-    {
34
-        if (! $this->utilities instanceof Utilities) {
35
-            $this->utilities = LoaderFactory::getLoader()->getShared(Utilities::class);
36
-        }
37
-        return $this->utilities;
38
-    }
39
-
40
-    /**
41
-     * Determine whether the Query should execute. If it's determined that the query should
42
-     * not be run based on context such as, but not limited to, who the user is, where in the
43
-     * ResolveTree the Query is, the relation to the node the Query is connected to, etc
44
-     * Return false to prevent the query from executing.
45
-     *
46
-     * @return bool
47
-     */
48
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
49
-    public function should_execute()
50
-    {
51
-        return $this->should_execute;
52
-    }
53
-
54
-    /**
55
-     * Set limit the highest value of first and last, with a (filterable) max of 100
56
-     *
57
-     * @return array
58
-     */
59
-    protected function getLimit()
60
-    {
61
-        $first = ! empty($this->args['first']) ? absint($this->args['first']) : null;
62
-        $last  = ! empty($this->args['last']) ? absint($this->args['last']) : null;
63
-
64
-        $limit = min(
65
-            max($first, $last, 100),
66
-            $this->query_amount
67
-        );
68
-        $limit++;
69
-        return $limit;
70
-    }
71
-
72
-    /**
73
-     * Get_amount_requested
74
-     *
75
-     * This checks the $args to determine the amount requested
76
-     *
77
-     * @return int|null
78
-     * @throws Exception
79
-     */
80
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
81
-    public function get_amount_requested()
82
-    {
83
-        $amount_requested = parent::get_amount_requested();
84
-
85
-        /**
86
-         * If both first & last are used in the input args, throw an exception as that won't
87
-         * work properly
88
-         */
89
-        if (empty($this->args['first']) && empty($this->args['last']) && $amount_requested === 10) {
90
-            return 100; // default.
91
-        }
92
-
93
-        return $amount_requested;
94
-    }
95
-
96
-    /**
97
-     * Determine whether or not the the offset is valid, i.e the entity corresponding to the
98
-     * offset exists. Offset is equivalent to entity ID. So this function is equivalent to
99
-     * checking if the entity with the given ID exists.
100
-     *
101
-     * @access public
102
-     *
103
-     * @param int $offset The ID of the node used for the cursor offset
104
-     *
105
-     * @return bool
106
-     */
107
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
108
-    public function is_valid_offset($offset)
109
-    {
110
-        $entity = $this->get_query()->get_one_by_ID($offset);
23
+	/**
24
+	 * @var Utilities
25
+	 */
26
+	private $utilities;
27
+
28
+
29
+	/**
30
+	 * @return Utilities
31
+	 */
32
+	public function getUtilities()
33
+	{
34
+		if (! $this->utilities instanceof Utilities) {
35
+			$this->utilities = LoaderFactory::getLoader()->getShared(Utilities::class);
36
+		}
37
+		return $this->utilities;
38
+	}
39
+
40
+	/**
41
+	 * Determine whether the Query should execute. If it's determined that the query should
42
+	 * not be run based on context such as, but not limited to, who the user is, where in the
43
+	 * ResolveTree the Query is, the relation to the node the Query is connected to, etc
44
+	 * Return false to prevent the query from executing.
45
+	 *
46
+	 * @return bool
47
+	 */
48
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
49
+	public function should_execute()
50
+	{
51
+		return $this->should_execute;
52
+	}
53
+
54
+	/**
55
+	 * Set limit the highest value of first and last, with a (filterable) max of 100
56
+	 *
57
+	 * @return array
58
+	 */
59
+	protected function getLimit()
60
+	{
61
+		$first = ! empty($this->args['first']) ? absint($this->args['first']) : null;
62
+		$last  = ! empty($this->args['last']) ? absint($this->args['last']) : null;
63
+
64
+		$limit = min(
65
+			max($first, $last, 100),
66
+			$this->query_amount
67
+		);
68
+		$limit++;
69
+		return $limit;
70
+	}
71
+
72
+	/**
73
+	 * Get_amount_requested
74
+	 *
75
+	 * This checks the $args to determine the amount requested
76
+	 *
77
+	 * @return int|null
78
+	 * @throws Exception
79
+	 */
80
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
81
+	public function get_amount_requested()
82
+	{
83
+		$amount_requested = parent::get_amount_requested();
84
+
85
+		/**
86
+		 * If both first & last are used in the input args, throw an exception as that won't
87
+		 * work properly
88
+		 */
89
+		if (empty($this->args['first']) && empty($this->args['last']) && $amount_requested === 10) {
90
+			return 100; // default.
91
+		}
92
+
93
+		return $amount_requested;
94
+	}
95
+
96
+	/**
97
+	 * Determine whether or not the the offset is valid, i.e the entity corresponding to the
98
+	 * offset exists. Offset is equivalent to entity ID. So this function is equivalent to
99
+	 * checking if the entity with the given ID exists.
100
+	 *
101
+	 * @access public
102
+	 *
103
+	 * @param int $offset The ID of the node used for the cursor offset
104
+	 *
105
+	 * @return bool
106
+	 */
107
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
108
+	public function is_valid_offset($offset)
109
+	{
110
+		$entity = $this->get_query()->get_one_by_ID($offset);
111 111
         
112
-        return $entity instanceof EE_Base_Class;
113
-    }
114
-
115
-    /**
116
-     * Validates Model.
117
-     *
118
-     * @param array $entity Entity node.
119
-     *
120
-     * @return bool
121
-     */
122
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
123
-    protected function is_valid_model($entity)
124
-    {
125
-        return $entity instanceof EE_Base_Class;
126
-    }
127
-
128
-
129
-    /**
130
-     * This sets up the "allowed" args, and translates the GraphQL-friendly keys to model
131
-     * friendly keys.
132
-     *
133
-     * @param array  $query_args
134
-     * @param array  $where_params
135
-     * @param string $primary_key
136
-     * @return array
137
-     */
138
-    protected function mapOrderbyInputArgs(array $query_args, array $where_params, $primary_key)
139
-    {
140
-        // ID of the current offset
141
-        $offset = $this->get_offset();
142
-        /**
143
-         * Map the orderby inputArgs to the WP_Query
144
-         */
145
-        if (! empty($this->args['where']['orderby']) && is_array($this->args['where']['orderby'])) {
146
-            $query_args['order_by'] = [];
147
-            foreach ($this->args['where']['orderby'] as $orderby_input) {
148
-                $query_args['order_by'][ $orderby_input['field'] ] = $orderby_input['order'];
149
-            }
150
-        } elseif ($offset) {
151
-            $compare                      = $this->args['last'] ? '<' : '>';
152
-            $where_params[ $primary_key ] = [ $compare, $offset ];
153
-        }
154
-        return [ $query_args, $where_params ];
155
-    }
156
-
157
-
158
-    /**
159
-     * This sets up the "allowed" args, and translates the GraphQL-friendly keys to model
160
-     * friendly keys.
161
-     *
162
-     * @param array $where_args
163
-     * @param array $arg_mapping
164
-     * @param array $id_fields   The fields to convert from global IDs to DB IDs.
165
-     * @return array
166
-     */
167
-    protected function sanitizeWhereArgsForInputFields(array $where_args, array $arg_mapping, array $id_fields)
168
-    {
169
-        $query_args = $this->getUtilities()->sanitizeWhereArgs($where_args, $arg_mapping, $id_fields);
170
-        return ! empty($query_args) && is_array($query_args) ? $query_args : [];
171
-    }
172
-
173
-
174
-    /**
175
-     * This returns the sanitized "search" keywords from where_args
176
-     *
177
-     * @param array $where_args
178
-     * @return string
179
-     */
180
-    protected function getSearchKeywords(array $where_args)
181
-    {
182
-        $search = '';
183
-        if (! empty($where_args['search'])) {
184
-            $search = sanitize_text_field($where_args['search']);
185
-        }
186
-        return esc_sql($search);
187
-    }
112
+		return $entity instanceof EE_Base_Class;
113
+	}
114
+
115
+	/**
116
+	 * Validates Model.
117
+	 *
118
+	 * @param array $entity Entity node.
119
+	 *
120
+	 * @return bool
121
+	 */
122
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
123
+	protected function is_valid_model($entity)
124
+	{
125
+		return $entity instanceof EE_Base_Class;
126
+	}
127
+
128
+
129
+	/**
130
+	 * This sets up the "allowed" args, and translates the GraphQL-friendly keys to model
131
+	 * friendly keys.
132
+	 *
133
+	 * @param array  $query_args
134
+	 * @param array  $where_params
135
+	 * @param string $primary_key
136
+	 * @return array
137
+	 */
138
+	protected function mapOrderbyInputArgs(array $query_args, array $where_params, $primary_key)
139
+	{
140
+		// ID of the current offset
141
+		$offset = $this->get_offset();
142
+		/**
143
+		 * Map the orderby inputArgs to the WP_Query
144
+		 */
145
+		if (! empty($this->args['where']['orderby']) && is_array($this->args['where']['orderby'])) {
146
+			$query_args['order_by'] = [];
147
+			foreach ($this->args['where']['orderby'] as $orderby_input) {
148
+				$query_args['order_by'][ $orderby_input['field'] ] = $orderby_input['order'];
149
+			}
150
+		} elseif ($offset) {
151
+			$compare                      = $this->args['last'] ? '<' : '>';
152
+			$where_params[ $primary_key ] = [ $compare, $offset ];
153
+		}
154
+		return [ $query_args, $where_params ];
155
+	}
156
+
157
+
158
+	/**
159
+	 * This sets up the "allowed" args, and translates the GraphQL-friendly keys to model
160
+	 * friendly keys.
161
+	 *
162
+	 * @param array $where_args
163
+	 * @param array $arg_mapping
164
+	 * @param array $id_fields   The fields to convert from global IDs to DB IDs.
165
+	 * @return array
166
+	 */
167
+	protected function sanitizeWhereArgsForInputFields(array $where_args, array $arg_mapping, array $id_fields)
168
+	{
169
+		$query_args = $this->getUtilities()->sanitizeWhereArgs($where_args, $arg_mapping, $id_fields);
170
+		return ! empty($query_args) && is_array($query_args) ? $query_args : [];
171
+	}
172
+
173
+
174
+	/**
175
+	 * This returns the sanitized "search" keywords from where_args
176
+	 *
177
+	 * @param array $where_args
178
+	 * @return string
179
+	 */
180
+	protected function getSearchKeywords(array $where_args)
181
+	{
182
+		$search = '';
183
+		if (! empty($where_args['search'])) {
184
+			$search = sanitize_text_field($where_args['search']);
185
+		}
186
+		return esc_sql($search);
187
+	}
188 188
 }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function getUtilities()
33 33
     {
34
-        if (! $this->utilities instanceof Utilities) {
34
+        if ( ! $this->utilities instanceof Utilities) {
35 35
             $this->utilities = LoaderFactory::getLoader()->getShared(Utilities::class);
36 36
         }
37 37
         return $this->utilities;
@@ -142,16 +142,16 @@  discard block
 block discarded – undo
142 142
         /**
143 143
          * Map the orderby inputArgs to the WP_Query
144 144
          */
145
-        if (! empty($this->args['where']['orderby']) && is_array($this->args['where']['orderby'])) {
145
+        if ( ! empty($this->args['where']['orderby']) && is_array($this->args['where']['orderby'])) {
146 146
             $query_args['order_by'] = [];
147 147
             foreach ($this->args['where']['orderby'] as $orderby_input) {
148
-                $query_args['order_by'][ $orderby_input['field'] ] = $orderby_input['order'];
148
+                $query_args['order_by'][$orderby_input['field']] = $orderby_input['order'];
149 149
             }
150 150
         } elseif ($offset) {
151 151
             $compare                      = $this->args['last'] ? '<' : '>';
152
-            $where_params[ $primary_key ] = [ $compare, $offset ];
152
+            $where_params[$primary_key] = [$compare, $offset];
153 153
         }
154
-        return [ $query_args, $where_params ];
154
+        return [$query_args, $where_params];
155 155
     }
156 156
 
157 157
 
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     protected function getSearchKeywords(array $where_args)
181 181
     {
182 182
         $search = '';
183
-        if (! empty($where_args['search'])) {
183
+        if ( ! empty($where_args['search'])) {
184 184
             $search = sanitize_text_field($where_args['search']);
185 185
         }
186 186
         return esc_sql($search);
Please login to merge, or discard this patch.
domain/services/graphql/connection_resolvers/AttendeeConnectionResolver.php 2 patches
Indentation   +174 added lines, -174 removed lines patch added patch discarded remove patch
@@ -16,178 +16,178 @@
 block discarded – undo
16 16
  */
17 17
 class AttendeeConnectionResolver extends AbstractConnectionResolver
18 18
 {
19
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
20
-    public function get_loader_name()
21
-    {
22
-        return 'espresso_attendee';
23
-    }
24
-
25
-    /**
26
-     * @return EEM_Attendee
27
-     * @throws EE_Error
28
-     * @throws InvalidArgumentException
29
-     * @throws InvalidDataTypeException
30
-     * @throws InvalidInterfaceException
31
-     */
32
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
33
-    public function get_query()
34
-    {
35
-        return EEM_Attendee::instance();
36
-    }
37
-
38
-
39
-    /**
40
-     * Return an array of item IDs from the query
41
-     *
42
-     * @return array
43
-     */
44
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
45
-    public function get_ids()
46
-    {
47
-        $results = $this->query->get_col($this->query_args);
48
-
49
-        return ! empty($results) ? $results : [];
50
-    }
51
-
52
-
53
-    /**
54
-     * Here, we map the args from the input, then we make sure that we're only querying
55
-     * for IDs. The IDs are then passed down the resolve tree, and deferred resolvers
56
-     * handle batch resolution of the posts.
57
-     *
58
-     * @return array
59
-     * @throws EE_Error
60
-     * @throws InvalidArgumentException
61
-     * @throws ReflectionException
62
-     * @throws InvalidDataTypeException
63
-     * @throws InvalidInterfaceException
64
-     */
65
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
66
-    public function get_query_args()
67
-    {
68
-        $where_params = [];
69
-        $query_args   = [];
70
-
71
-        $query_args['limit'] = $this->getLimit();
72
-
73
-        // Avoid multiple entries by join.
74
-        $query_args['group_by'] = 'ATT_ID';
75
-
76
-        $query_args['default_where_conditions'] = 'minimum';
77
-
78
-        /**
79
-         * Collect the input_fields and sanitize them to prepare them for sending to the Query
80
-         */
81
-        $input_fields = [];
82
-        if (! empty($this->args['where'])) {
83
-            $input_fields = $this->sanitizeInputFields($this->args['where']);
84
-
85
-            // Since we do not have any falsy values in query params
86
-            // Lets get rid of empty values
87
-            $input_fields = array_filter($input_fields);
88
-
89
-            // Use the proper operator.
90
-            if (! empty($input_fields['Registration.Event.EVT_ID']) && is_array($input_fields['Registration.Event.EVT_ID'])) {
91
-                $input_fields['Registration.Event.EVT_ID'] = ['IN', $input_fields['Registration.Event.EVT_ID']];
92
-            }
93
-            if (! empty($input_fields['Registration.Ticket.TKT_ID']) && is_array($input_fields['Registration.Ticket.TKT_ID'])) {
94
-                $input_fields['Registration.Ticket.TKT_ID'] = ['IN', $input_fields['Registration.Ticket.TKT_ID']];
95
-            }
96
-            // If Ticket param is passed, it will have preference over Datetime param
97
-            // So, use Datetime param only if a Ticket param is not passed
98
-            if (! empty($input_fields['Datetime.DTT_ID']) && empty($input_fields['Registration.Ticket.TKT_ID'])) {
99
-                $datetimeIds = $input_fields['Datetime.DTT_ID'];
100
-                // Make sure it's an array, ready for "IN" operator
101
-                $datetimeIds = is_array($datetimeIds) ? $datetimeIds : [$datetimeIds];
102
-
103
-                try {
104
-                    // Get related ticket IDs for the given dates
105
-                    $ticketIds = EEM_Ticket::instance()->get_col([
106
-                        [
107
-                            'Datetime.DTT_ID' => ['IN', $datetimeIds],
108
-                            'TKT_deleted'     => ['IN', [true, false]],
109
-                        ],
110
-                        'default_where_conditions' => 'minimum',
111
-                    ]);
112
-                } catch (Throwable $th) {
113
-                    $ticketIds = [];
114
-                }
115
-
116
-                if (!empty($ticketIds)) {
117
-                    $input_fields['Registration.Ticket.TKT_ID'] = ['IN', $ticketIds];
118
-                }
119
-            }
120
-            // Since there is no relation between Attendee and Datetime, we need to remove it
121
-            unset($input_fields['Datetime.DTT_ID']);
122
-        }
123
-
124
-        /**
125
-         * Merge the input_fields with the default query_args
126
-         */
127
-        if (! empty($input_fields)) {
128
-            $where_params = array_merge($where_params, $input_fields);
129
-        }
130
-
131
-        list($query_args, $where_params) = $this->mapOrderbyInputArgs($query_args, $where_params, 'ATT_ID');
132
-
133
-        $search = $this->getSearchKeywords($this->args['where']);
134
-
135
-        if (! empty($search)) {
136
-            // use OR operator to search in any of the fields
137
-            $where_params['OR'] = array(
138
-                'ATT_full_name' => array('LIKE', '%' . $search . '%'),
139
-                'ATT_bio'       => array('LIKE', '%' . $search . '%'),
140
-                'ATT_short_bio' => array('LIKE', '%' . $search . '%'),
141
-            );
142
-        }
143
-
144
-        $where_params = apply_filters(
145
-            'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__attendee_where_params',
146
-            $where_params,
147
-            $this->source,
148
-            $this->args
149
-        );
150
-
151
-        $query_args[] = $where_params;
152
-
153
-        /**
154
-         * Return the $query_args
155
-         */
156
-        return apply_filters(
157
-            'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__attendee_query_args',
158
-            $query_args,
159
-            $this->source,
160
-            $this->args
161
-        );
162
-    }
163
-
164
-
165
-    /**
166
-     * This sets up the "allowed" args, and translates the GraphQL-friendly keys to model
167
-     * friendly keys.
168
-     *
169
-     * @param array $where_args
170
-     * @return array
171
-     */
172
-    public function sanitizeInputFields(array $where_args)
173
-    {
174
-        $arg_mapping = [
175
-            // There is no direct relation between Attendee and Datetime
176
-            // But we will handle it via Tickets related to given dates
177
-            'datetime'      => 'Datetime.DTT_ID',
178
-            'datetimeIn'    => 'Datetime.DTT_ID',
179
-            'event'         => 'Registration.Event.EVT_ID',
180
-            'eventIn'       => 'Registration.Event.EVT_ID',
181
-            'regTicket'     => 'Registration.Ticket.TKT_ID',
182
-            'regTicketIn'   => 'Registration.Ticket.TKT_ID',
183
-            'regTicketIdIn' => 'Registration.Ticket.TKT_ID',
184
-            'regTicketId'   => 'Registration.Ticket.TKT_ID', // priority.
185
-            'regStatus'     => 'Registration.Status.STS_ID',
186
-        ];
187
-        return $this->sanitizeWhereArgsForInputFields(
188
-            $where_args,
189
-            $arg_mapping,
190
-            ['datetime', 'datetimeIn', 'event', 'eventIn', 'regTicket', 'regTicketIn']
191
-        );
192
-    }
19
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
20
+	public function get_loader_name()
21
+	{
22
+		return 'espresso_attendee';
23
+	}
24
+
25
+	/**
26
+	 * @return EEM_Attendee
27
+	 * @throws EE_Error
28
+	 * @throws InvalidArgumentException
29
+	 * @throws InvalidDataTypeException
30
+	 * @throws InvalidInterfaceException
31
+	 */
32
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
33
+	public function get_query()
34
+	{
35
+		return EEM_Attendee::instance();
36
+	}
37
+
38
+
39
+	/**
40
+	 * Return an array of item IDs from the query
41
+	 *
42
+	 * @return array
43
+	 */
44
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
45
+	public function get_ids()
46
+	{
47
+		$results = $this->query->get_col($this->query_args);
48
+
49
+		return ! empty($results) ? $results : [];
50
+	}
51
+
52
+
53
+	/**
54
+	 * Here, we map the args from the input, then we make sure that we're only querying
55
+	 * for IDs. The IDs are then passed down the resolve tree, and deferred resolvers
56
+	 * handle batch resolution of the posts.
57
+	 *
58
+	 * @return array
59
+	 * @throws EE_Error
60
+	 * @throws InvalidArgumentException
61
+	 * @throws ReflectionException
62
+	 * @throws InvalidDataTypeException
63
+	 * @throws InvalidInterfaceException
64
+	 */
65
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
66
+	public function get_query_args()
67
+	{
68
+		$where_params = [];
69
+		$query_args   = [];
70
+
71
+		$query_args['limit'] = $this->getLimit();
72
+
73
+		// Avoid multiple entries by join.
74
+		$query_args['group_by'] = 'ATT_ID';
75
+
76
+		$query_args['default_where_conditions'] = 'minimum';
77
+
78
+		/**
79
+		 * Collect the input_fields and sanitize them to prepare them for sending to the Query
80
+		 */
81
+		$input_fields = [];
82
+		if (! empty($this->args['where'])) {
83
+			$input_fields = $this->sanitizeInputFields($this->args['where']);
84
+
85
+			// Since we do not have any falsy values in query params
86
+			// Lets get rid of empty values
87
+			$input_fields = array_filter($input_fields);
88
+
89
+			// Use the proper operator.
90
+			if (! empty($input_fields['Registration.Event.EVT_ID']) && is_array($input_fields['Registration.Event.EVT_ID'])) {
91
+				$input_fields['Registration.Event.EVT_ID'] = ['IN', $input_fields['Registration.Event.EVT_ID']];
92
+			}
93
+			if (! empty($input_fields['Registration.Ticket.TKT_ID']) && is_array($input_fields['Registration.Ticket.TKT_ID'])) {
94
+				$input_fields['Registration.Ticket.TKT_ID'] = ['IN', $input_fields['Registration.Ticket.TKT_ID']];
95
+			}
96
+			// If Ticket param is passed, it will have preference over Datetime param
97
+			// So, use Datetime param only if a Ticket param is not passed
98
+			if (! empty($input_fields['Datetime.DTT_ID']) && empty($input_fields['Registration.Ticket.TKT_ID'])) {
99
+				$datetimeIds = $input_fields['Datetime.DTT_ID'];
100
+				// Make sure it's an array, ready for "IN" operator
101
+				$datetimeIds = is_array($datetimeIds) ? $datetimeIds : [$datetimeIds];
102
+
103
+				try {
104
+					// Get related ticket IDs for the given dates
105
+					$ticketIds = EEM_Ticket::instance()->get_col([
106
+						[
107
+							'Datetime.DTT_ID' => ['IN', $datetimeIds],
108
+							'TKT_deleted'     => ['IN', [true, false]],
109
+						],
110
+						'default_where_conditions' => 'minimum',
111
+					]);
112
+				} catch (Throwable $th) {
113
+					$ticketIds = [];
114
+				}
115
+
116
+				if (!empty($ticketIds)) {
117
+					$input_fields['Registration.Ticket.TKT_ID'] = ['IN', $ticketIds];
118
+				}
119
+			}
120
+			// Since there is no relation between Attendee and Datetime, we need to remove it
121
+			unset($input_fields['Datetime.DTT_ID']);
122
+		}
123
+
124
+		/**
125
+		 * Merge the input_fields with the default query_args
126
+		 */
127
+		if (! empty($input_fields)) {
128
+			$where_params = array_merge($where_params, $input_fields);
129
+		}
130
+
131
+		list($query_args, $where_params) = $this->mapOrderbyInputArgs($query_args, $where_params, 'ATT_ID');
132
+
133
+		$search = $this->getSearchKeywords($this->args['where']);
134
+
135
+		if (! empty($search)) {
136
+			// use OR operator to search in any of the fields
137
+			$where_params['OR'] = array(
138
+				'ATT_full_name' => array('LIKE', '%' . $search . '%'),
139
+				'ATT_bio'       => array('LIKE', '%' . $search . '%'),
140
+				'ATT_short_bio' => array('LIKE', '%' . $search . '%'),
141
+			);
142
+		}
143
+
144
+		$where_params = apply_filters(
145
+			'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__attendee_where_params',
146
+			$where_params,
147
+			$this->source,
148
+			$this->args
149
+		);
150
+
151
+		$query_args[] = $where_params;
152
+
153
+		/**
154
+		 * Return the $query_args
155
+		 */
156
+		return apply_filters(
157
+			'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__attendee_query_args',
158
+			$query_args,
159
+			$this->source,
160
+			$this->args
161
+		);
162
+	}
163
+
164
+
165
+	/**
166
+	 * This sets up the "allowed" args, and translates the GraphQL-friendly keys to model
167
+	 * friendly keys.
168
+	 *
169
+	 * @param array $where_args
170
+	 * @return array
171
+	 */
172
+	public function sanitizeInputFields(array $where_args)
173
+	{
174
+		$arg_mapping = [
175
+			// There is no direct relation between Attendee and Datetime
176
+			// But we will handle it via Tickets related to given dates
177
+			'datetime'      => 'Datetime.DTT_ID',
178
+			'datetimeIn'    => 'Datetime.DTT_ID',
179
+			'event'         => 'Registration.Event.EVT_ID',
180
+			'eventIn'       => 'Registration.Event.EVT_ID',
181
+			'regTicket'     => 'Registration.Ticket.TKT_ID',
182
+			'regTicketIn'   => 'Registration.Ticket.TKT_ID',
183
+			'regTicketIdIn' => 'Registration.Ticket.TKT_ID',
184
+			'regTicketId'   => 'Registration.Ticket.TKT_ID', // priority.
185
+			'regStatus'     => 'Registration.Status.STS_ID',
186
+		];
187
+		return $this->sanitizeWhereArgsForInputFields(
188
+			$where_args,
189
+			$arg_mapping,
190
+			['datetime', 'datetimeIn', 'event', 'eventIn', 'regTicket', 'regTicketIn']
191
+		);
192
+	}
193 193
 }
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
          * Collect the input_fields and sanitize them to prepare them for sending to the Query
80 80
          */
81 81
         $input_fields = [];
82
-        if (! empty($this->args['where'])) {
82
+        if ( ! empty($this->args['where'])) {
83 83
             $input_fields = $this->sanitizeInputFields($this->args['where']);
84 84
 
85 85
             // Since we do not have any falsy values in query params
@@ -87,15 +87,15 @@  discard block
 block discarded – undo
87 87
             $input_fields = array_filter($input_fields);
88 88
 
89 89
             // Use the proper operator.
90
-            if (! empty($input_fields['Registration.Event.EVT_ID']) && is_array($input_fields['Registration.Event.EVT_ID'])) {
90
+            if ( ! empty($input_fields['Registration.Event.EVT_ID']) && is_array($input_fields['Registration.Event.EVT_ID'])) {
91 91
                 $input_fields['Registration.Event.EVT_ID'] = ['IN', $input_fields['Registration.Event.EVT_ID']];
92 92
             }
93
-            if (! empty($input_fields['Registration.Ticket.TKT_ID']) && is_array($input_fields['Registration.Ticket.TKT_ID'])) {
93
+            if ( ! empty($input_fields['Registration.Ticket.TKT_ID']) && is_array($input_fields['Registration.Ticket.TKT_ID'])) {
94 94
                 $input_fields['Registration.Ticket.TKT_ID'] = ['IN', $input_fields['Registration.Ticket.TKT_ID']];
95 95
             }
96 96
             // If Ticket param is passed, it will have preference over Datetime param
97 97
             // So, use Datetime param only if a Ticket param is not passed
98
-            if (! empty($input_fields['Datetime.DTT_ID']) && empty($input_fields['Registration.Ticket.TKT_ID'])) {
98
+            if ( ! empty($input_fields['Datetime.DTT_ID']) && empty($input_fields['Registration.Ticket.TKT_ID'])) {
99 99
                 $datetimeIds = $input_fields['Datetime.DTT_ID'];
100 100
                 // Make sure it's an array, ready for "IN" operator
101 101
                 $datetimeIds = is_array($datetimeIds) ? $datetimeIds : [$datetimeIds];
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                     $ticketIds = [];
114 114
                 }
115 115
 
116
-                if (!empty($ticketIds)) {
116
+                if ( ! empty($ticketIds)) {
117 117
                     $input_fields['Registration.Ticket.TKT_ID'] = ['IN', $ticketIds];
118 118
                 }
119 119
             }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
         /**
125 125
          * Merge the input_fields with the default query_args
126 126
          */
127
-        if (! empty($input_fields)) {
127
+        if ( ! empty($input_fields)) {
128 128
             $where_params = array_merge($where_params, $input_fields);
129 129
         }
130 130
 
@@ -132,12 +132,12 @@  discard block
 block discarded – undo
132 132
 
133 133
         $search = $this->getSearchKeywords($this->args['where']);
134 134
 
135
-        if (! empty($search)) {
135
+        if ( ! empty($search)) {
136 136
             // use OR operator to search in any of the fields
137 137
             $where_params['OR'] = array(
138
-                'ATT_full_name' => array('LIKE', '%' . $search . '%'),
139
-                'ATT_bio'       => array('LIKE', '%' . $search . '%'),
140
-                'ATT_short_bio' => array('LIKE', '%' . $search . '%'),
138
+                'ATT_full_name' => array('LIKE', '%'.$search.'%'),
139
+                'ATT_bio'       => array('LIKE', '%'.$search.'%'),
140
+                'ATT_short_bio' => array('LIKE', '%'.$search.'%'),
141 141
             );
142 142
         }
143 143
 
Please login to merge, or discard this patch.
domain/services/graphql/connection_resolvers/TicketConnectionResolver.php 2 patches
Indentation   +140 added lines, -140 removed lines patch added patch discarded remove patch
@@ -15,144 +15,144 @@
 block discarded – undo
15 15
  */
16 16
 class TicketConnectionResolver extends AbstractConnectionResolver
17 17
 {
18
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
19
-    public function get_loader_name()
20
-    {
21
-        return 'espresso_ticket';
22
-    }
23
-
24
-    /**
25
-     * @return EEM_Ticket
26
-     * @throws EE_Error
27
-     * @throws InvalidArgumentException
28
-     * @throws InvalidDataTypeException
29
-     * @throws InvalidInterfaceException
30
-     */
31
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
32
-    public function get_query()
33
-    {
34
-        return EEM_Ticket::instance();
35
-    }
36
-
37
-
38
-    /**
39
-     * Return an array of item IDs from the query
40
-     *
41
-     * @return array
42
-     */
43
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
44
-    public function get_ids()
45
-    {
46
-        $results = $this->query->get_col($this->query_args);
47
-
48
-        return ! empty($results) ? $results : [];
49
-    }
50
-
51
-
52
-    /**
53
-     * Here, we map the args from the input, then we make sure that we're only querying
54
-     * for IDs. The IDs are then passed down the resolve tree, and deferred resolvers
55
-     * handle batch resolution of the posts.
56
-     *
57
-     * @return array
58
-     * @throws EE_Error
59
-     * @throws InvalidArgumentException
60
-     * @throws ReflectionException
61
-     * @throws InvalidDataTypeException
62
-     * @throws InvalidInterfaceException
63
-     */
64
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
65
-    public function get_query_args()
66
-    {
67
-        $where_params = ['TKT_deleted' => ['IN', [true, false]]];
68
-        $query_args   = [];
69
-
70
-        $query_args['limit'] = $this->getLimit();
71
-
72
-        // Avoid multiple entries by join.
73
-        $query_args['group_by'] = 'TKT_ID';
74
-
75
-        $query_args['default_where_conditions'] = 'minimum';
76
-
77
-        /**
78
-         * Collect the input_fields and sanitize them to prepare them for sending to the Query
79
-         */
80
-        $input_fields = [];
81
-        if (! empty($this->args['where'])) {
82
-            $input_fields = $this->sanitizeInputFields($this->args['where']);
83
-
84
-            // Use the proper operator.
85
-            if (! empty($input_fields['Datetime.DTT_ID']) && is_array($input_fields['Datetime.DTT_ID'])) {
86
-                $input_fields['Datetime.DTT_ID'] = ['in', $input_fields['Datetime.DTT_ID']];
87
-            }
88
-        }
89
-
90
-        /**
91
-         * Determine where we're at in the Graph and adjust the query context appropriately.
92
-         */
93
-        if ($this->source instanceof EE_Datetime) {
94
-            $where_params['Datetime.DTT_ID'] = $this->source->ID();
95
-        }
96
-
97
-        /**
98
-         * Merge the input_fields with the default query_args
99
-         */
100
-        if (! empty($input_fields)) {
101
-            $where_params = array_merge($where_params, $input_fields);
102
-        }
103
-
104
-        list($query_args, $where_params) = $this->mapOrderbyInputArgs($query_args, $where_params, 'TKT_ID');
105
-
106
-        $search = $this->getSearchKeywords($this->args['where']);
107
-
108
-        if (! empty($search)) {
109
-            // use OR operator to search in any of the fields
110
-            $where_params['OR'] = array(
111
-                'TKT_name'        => array('LIKE', '%' . $search . '%'),
112
-                'TKT_description' => array('LIKE', '%' . $search . '%'),
113
-            );
114
-        }
115
-
116
-        $where_params = apply_filters(
117
-            'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__ticket_where_params',
118
-            $where_params,
119
-            $this->source,
120
-            $this->args
121
-        );
122
-
123
-        $query_args[] = $where_params;
124
-
125
-        /**
126
-         * Return the $query_args
127
-         */
128
-        return apply_filters(
129
-            'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__ticket_query_args',
130
-            $query_args,
131
-            $this->source,
132
-            $this->args
133
-        );
134
-    }
135
-
136
-
137
-    /**
138
-     * This sets up the "allowed" args, and translates the GraphQL-friendly keys to model
139
-     * friendly keys.
140
-     *
141
-     * @param array $where_args
142
-     * @return array
143
-     */
144
-    public function sanitizeInputFields(array $where_args)
145
-    {
146
-        $arg_mapping = [
147
-            'datetime'     => 'Datetime.DTT_ID',
148
-            'datetimeIn'   => 'Datetime.DTT_ID',
149
-            'datetimeIdIn' => 'Datetime.DTT_ID',
150
-            'datetimeId'   => 'Datetime.DTT_ID', // priority.
151
-        ];
152
-        return $this->sanitizeWhereArgsForInputFields(
153
-            $where_args,
154
-            $arg_mapping,
155
-            ['datetime', 'datetimeIn']
156
-        );
157
-    }
18
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
19
+	public function get_loader_name()
20
+	{
21
+		return 'espresso_ticket';
22
+	}
23
+
24
+	/**
25
+	 * @return EEM_Ticket
26
+	 * @throws EE_Error
27
+	 * @throws InvalidArgumentException
28
+	 * @throws InvalidDataTypeException
29
+	 * @throws InvalidInterfaceException
30
+	 */
31
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
32
+	public function get_query()
33
+	{
34
+		return EEM_Ticket::instance();
35
+	}
36
+
37
+
38
+	/**
39
+	 * Return an array of item IDs from the query
40
+	 *
41
+	 * @return array
42
+	 */
43
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
44
+	public function get_ids()
45
+	{
46
+		$results = $this->query->get_col($this->query_args);
47
+
48
+		return ! empty($results) ? $results : [];
49
+	}
50
+
51
+
52
+	/**
53
+	 * Here, we map the args from the input, then we make sure that we're only querying
54
+	 * for IDs. The IDs are then passed down the resolve tree, and deferred resolvers
55
+	 * handle batch resolution of the posts.
56
+	 *
57
+	 * @return array
58
+	 * @throws EE_Error
59
+	 * @throws InvalidArgumentException
60
+	 * @throws ReflectionException
61
+	 * @throws InvalidDataTypeException
62
+	 * @throws InvalidInterfaceException
63
+	 */
64
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
65
+	public function get_query_args()
66
+	{
67
+		$where_params = ['TKT_deleted' => ['IN', [true, false]]];
68
+		$query_args   = [];
69
+
70
+		$query_args['limit'] = $this->getLimit();
71
+
72
+		// Avoid multiple entries by join.
73
+		$query_args['group_by'] = 'TKT_ID';
74
+
75
+		$query_args['default_where_conditions'] = 'minimum';
76
+
77
+		/**
78
+		 * Collect the input_fields and sanitize them to prepare them for sending to the Query
79
+		 */
80
+		$input_fields = [];
81
+		if (! empty($this->args['where'])) {
82
+			$input_fields = $this->sanitizeInputFields($this->args['where']);
83
+
84
+			// Use the proper operator.
85
+			if (! empty($input_fields['Datetime.DTT_ID']) && is_array($input_fields['Datetime.DTT_ID'])) {
86
+				$input_fields['Datetime.DTT_ID'] = ['in', $input_fields['Datetime.DTT_ID']];
87
+			}
88
+		}
89
+
90
+		/**
91
+		 * Determine where we're at in the Graph and adjust the query context appropriately.
92
+		 */
93
+		if ($this->source instanceof EE_Datetime) {
94
+			$where_params['Datetime.DTT_ID'] = $this->source->ID();
95
+		}
96
+
97
+		/**
98
+		 * Merge the input_fields with the default query_args
99
+		 */
100
+		if (! empty($input_fields)) {
101
+			$where_params = array_merge($where_params, $input_fields);
102
+		}
103
+
104
+		list($query_args, $where_params) = $this->mapOrderbyInputArgs($query_args, $where_params, 'TKT_ID');
105
+
106
+		$search = $this->getSearchKeywords($this->args['where']);
107
+
108
+		if (! empty($search)) {
109
+			// use OR operator to search in any of the fields
110
+			$where_params['OR'] = array(
111
+				'TKT_name'        => array('LIKE', '%' . $search . '%'),
112
+				'TKT_description' => array('LIKE', '%' . $search . '%'),
113
+			);
114
+		}
115
+
116
+		$where_params = apply_filters(
117
+			'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__ticket_where_params',
118
+			$where_params,
119
+			$this->source,
120
+			$this->args
121
+		);
122
+
123
+		$query_args[] = $where_params;
124
+
125
+		/**
126
+		 * Return the $query_args
127
+		 */
128
+		return apply_filters(
129
+			'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__ticket_query_args',
130
+			$query_args,
131
+			$this->source,
132
+			$this->args
133
+		);
134
+	}
135
+
136
+
137
+	/**
138
+	 * This sets up the "allowed" args, and translates the GraphQL-friendly keys to model
139
+	 * friendly keys.
140
+	 *
141
+	 * @param array $where_args
142
+	 * @return array
143
+	 */
144
+	public function sanitizeInputFields(array $where_args)
145
+	{
146
+		$arg_mapping = [
147
+			'datetime'     => 'Datetime.DTT_ID',
148
+			'datetimeIn'   => 'Datetime.DTT_ID',
149
+			'datetimeIdIn' => 'Datetime.DTT_ID',
150
+			'datetimeId'   => 'Datetime.DTT_ID', // priority.
151
+		];
152
+		return $this->sanitizeWhereArgsForInputFields(
153
+			$where_args,
154
+			$arg_mapping,
155
+			['datetime', 'datetimeIn']
156
+		);
157
+	}
158 158
 }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -78,11 +78,11 @@  discard block
 block discarded – undo
78 78
          * Collect the input_fields and sanitize them to prepare them for sending to the Query
79 79
          */
80 80
         $input_fields = [];
81
-        if (! empty($this->args['where'])) {
81
+        if ( ! empty($this->args['where'])) {
82 82
             $input_fields = $this->sanitizeInputFields($this->args['where']);
83 83
 
84 84
             // Use the proper operator.
85
-            if (! empty($input_fields['Datetime.DTT_ID']) && is_array($input_fields['Datetime.DTT_ID'])) {
85
+            if ( ! empty($input_fields['Datetime.DTT_ID']) && is_array($input_fields['Datetime.DTT_ID'])) {
86 86
                 $input_fields['Datetime.DTT_ID'] = ['in', $input_fields['Datetime.DTT_ID']];
87 87
             }
88 88
         }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         /**
98 98
          * Merge the input_fields with the default query_args
99 99
          */
100
-        if (! empty($input_fields)) {
100
+        if ( ! empty($input_fields)) {
101 101
             $where_params = array_merge($where_params, $input_fields);
102 102
         }
103 103
 
@@ -105,11 +105,11 @@  discard block
 block discarded – undo
105 105
 
106 106
         $search = $this->getSearchKeywords($this->args['where']);
107 107
 
108
-        if (! empty($search)) {
108
+        if ( ! empty($search)) {
109 109
             // use OR operator to search in any of the fields
110 110
             $where_params['OR'] = array(
111
-                'TKT_name'        => array('LIKE', '%' . $search . '%'),
112
-                'TKT_description' => array('LIKE', '%' . $search . '%'),
111
+                'TKT_name'        => array('LIKE', '%'.$search.'%'),
112
+                'TKT_description' => array('LIKE', '%'.$search.'%'),
113 113
             );
114 114
         }
115 115
 
Please login to merge, or discard this patch.
domain/services/graphql/connection_resolvers/DatetimeConnectionResolver.php 2 patches
Indentation   +187 added lines, -187 removed lines patch added patch discarded remove patch
@@ -18,191 +18,191 @@
 block discarded – undo
18 18
  */
19 19
 class DatetimeConnectionResolver extends AbstractConnectionResolver
20 20
 {
21
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
22
-    public function get_loader_name()
23
-    {
24
-        return 'espresso_datetime';
25
-    }
26
-
27
-    /**
28
-     * @return EEM_Datetime
29
-     * @throws EE_Error
30
-     * @throws InvalidArgumentException
31
-     * @throws InvalidDataTypeException
32
-     * @throws InvalidInterfaceException
33
-     */
34
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
35
-    public function get_query()
36
-    {
37
-        return EEM_Datetime::instance();
38
-    }
39
-
40
-    /**
41
-     * Return an array of item IDs from the query
42
-     *
43
-     * @return array
44
-     */
45
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
46
-    public function get_ids()
47
-    {
48
-        $results = $this->query->get_col($this->query_args);
49
-
50
-        return ! empty($results) ? $results : [];
51
-    }
52
-
53
-    /**
54
-     * Here, we map the args from the input, then we make sure that we're only querying
55
-     * for IDs. The IDs are then passed down the resolve tree, and deferred resolvers
56
-     * handle batch resolution of the posts.
57
-     *
58
-     * @return array
59
-     * @throws EE_Error
60
-     * @throws InvalidArgumentException
61
-     * @throws InvalidDataTypeException
62
-     * @throws InvalidInterfaceException
63
-     */
64
-    // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
65
-    public function get_query_args()
66
-    {
67
-        $where_params = ['DTT_deleted' => ['IN', [true, false]]];
68
-        $query_args   = [];
69
-
70
-        $query_args['limit'] = $this->getLimit();
71
-
72
-        // Avoid multiple entries by join.
73
-        $query_args['group_by'] = 'DTT_ID';
74
-
75
-        $query_args['default_where_conditions'] = 'minimum';
76
-
77
-        /**
78
-         * Collect the input_fields and sanitize them to prepare them for sending to the Query
79
-         */
80
-        $input_fields = [];
81
-        if (! empty($this->args['where'])) {
82
-            $input_fields = $this->sanitizeInputFields($this->args['where']);
83
-
84
-            // Use the proper operator.
85
-            if (! empty($input_fields['EVT_ID']) && is_array($input_fields['EVT_ID'])) {
86
-                $input_fields['EVT_ID'] = ['in', $input_fields['EVT_ID']];
87
-            }
88
-            if (! empty($input_fields['Ticket.TKT_ID']) && is_array($input_fields['Ticket.TKT_ID'])) {
89
-                $input_fields['Ticket.TKT_ID'] = ['in', $input_fields['Ticket.TKT_ID']];
90
-            }
91
-        }
92
-
93
-        /**
94
-         * Determine where we're at in the Graph and adjust the query context appropriately.
95
-         *
96
-         * For example, if we're querying for datetime as a field of event query, this will automatically
97
-         * set the query to pull datetimes that belong to that event.
98
-         * We can set more cases for other source types.
99
-         */
100
-        if (is_object($this->source)) {
101
-            switch (true) {
102
-                // It's surely an event
103
-                case $this->source instanceof Post:
104
-                    $where_params['EVT_ID'] = $this->source->ID;
105
-                    break;
106
-                case $this->source instanceof EE_Event:
107
-                    $where_params['EVT_ID'] = $this->source->ID();
108
-                    break;
109
-                case $this->source instanceof EE_Ticket:
110
-                    $where_params['Ticket.TKT_ID'] = $this->source->ID();
111
-                    break;
112
-                case $this->source instanceof EE_Checkin:
113
-                    $where_params['Checkin.CHK_ID'] = $this->source->ID();
114
-                    break;
115
-            }
116
-        }
117
-
118
-        /**
119
-         * Merge the input_fields with the default query_args
120
-         */
121
-        if (! empty($input_fields)) {
122
-            $where_params = array_merge($where_params, $input_fields);
123
-        }
124
-
125
-        list($query_args, $where_params) = $this->mapOrderbyInputArgs($query_args, $where_params, 'DTT_ID');
126
-
127
-        $search = $this->getSearchKeywords($this->args['where']);
128
-
129
-        if (! empty($search)) {
130
-            // use OR operator to search in any of the fields
131
-            $where_params['OR'] = array(
132
-                'DTT_name'        => array('LIKE', '%' . $search . '%'),
133
-                'DTT_description' => array('LIKE', '%' . $search . '%'),
134
-            );
135
-        }
136
-
137
-        if (! empty($this->args['where']['upcoming'])) {
138
-            $where_params['DTT_EVT_start'] = array(
139
-                '>',
140
-                EEM_Datetime::instance()->current_time_for_query('DTT_EVT_start')
141
-            );
142
-        }
143
-
144
-        if (! empty($this->args['where']['active'])) {
145
-            $where_params['DTT_EVT_start'] = array(
146
-                '<',
147
-                EEM_Datetime::instance()->current_time_for_query('DTT_EVT_start')
148
-            );
149
-            $where_params['DTT_EVT_end'] = array(
150
-                '>',
151
-                EEM_Datetime::instance()->current_time_for_query('DTT_EVT_end')
152
-            );
153
-        }
154
-
155
-        if (! empty($this->args['where']['expired'])) {
156
-            $where_params['DTT_EVT_end'] = array(
157
-                '<',
158
-                EEM_Datetime::instance()->current_time_for_query('DTT_EVT_end')
159
-            );
160
-        }
161
-
162
-        $where_params = apply_filters(
163
-            'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__datetime_where_params',
164
-            $where_params,
165
-            $this->source,
166
-            $this->args
167
-        );
168
-
169
-        $query_args[] = $where_params;
170
-
171
-        /**
172
-         * Return the $query_args
173
-         */
174
-        return apply_filters(
175
-            'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__datetime_query_args',
176
-            $query_args,
177
-            $this->source,
178
-            $this->args
179
-        );
180
-    }
181
-
182
-
183
-    /**
184
-     * This sets up the "allowed" args, and translates the GraphQL-friendly keys to model
185
-     * friendly keys.
186
-     *
187
-     * @param array $where_args
188
-     * @return array
189
-     */
190
-    public function sanitizeInputFields(array $where_args)
191
-    {
192
-        $arg_mapping = [
193
-            'event'      => 'EVT_ID',
194
-            'eventIn'    => 'EVT_ID',
195
-            'eventId'    => 'EVT_ID',
196
-            'eventIdIn'  => 'EVT_ID',
197
-            'ticket'     => 'Ticket.TKT_ID',
198
-            'ticketIn'   => 'Ticket.TKT_ID',
199
-            'ticketId'   => 'Ticket.TKT_ID',
200
-            'ticketIdIn' => 'Ticket.TKT_ID',
201
-        ];
202
-        return $this->sanitizeWhereArgsForInputFields(
203
-            $where_args,
204
-            $arg_mapping,
205
-            ['event', 'eventIn', 'ticket', 'ticketIn']
206
-        );
207
-    }
21
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
22
+	public function get_loader_name()
23
+	{
24
+		return 'espresso_datetime';
25
+	}
26
+
27
+	/**
28
+	 * @return EEM_Datetime
29
+	 * @throws EE_Error
30
+	 * @throws InvalidArgumentException
31
+	 * @throws InvalidDataTypeException
32
+	 * @throws InvalidInterfaceException
33
+	 */
34
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
35
+	public function get_query()
36
+	{
37
+		return EEM_Datetime::instance();
38
+	}
39
+
40
+	/**
41
+	 * Return an array of item IDs from the query
42
+	 *
43
+	 * @return array
44
+	 */
45
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
46
+	public function get_ids()
47
+	{
48
+		$results = $this->query->get_col($this->query_args);
49
+
50
+		return ! empty($results) ? $results : [];
51
+	}
52
+
53
+	/**
54
+	 * Here, we map the args from the input, then we make sure that we're only querying
55
+	 * for IDs. The IDs are then passed down the resolve tree, and deferred resolvers
56
+	 * handle batch resolution of the posts.
57
+	 *
58
+	 * @return array
59
+	 * @throws EE_Error
60
+	 * @throws InvalidArgumentException
61
+	 * @throws InvalidDataTypeException
62
+	 * @throws InvalidInterfaceException
63
+	 */
64
+	// phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps
65
+	public function get_query_args()
66
+	{
67
+		$where_params = ['DTT_deleted' => ['IN', [true, false]]];
68
+		$query_args   = [];
69
+
70
+		$query_args['limit'] = $this->getLimit();
71
+
72
+		// Avoid multiple entries by join.
73
+		$query_args['group_by'] = 'DTT_ID';
74
+
75
+		$query_args['default_where_conditions'] = 'minimum';
76
+
77
+		/**
78
+		 * Collect the input_fields and sanitize them to prepare them for sending to the Query
79
+		 */
80
+		$input_fields = [];
81
+		if (! empty($this->args['where'])) {
82
+			$input_fields = $this->sanitizeInputFields($this->args['where']);
83
+
84
+			// Use the proper operator.
85
+			if (! empty($input_fields['EVT_ID']) && is_array($input_fields['EVT_ID'])) {
86
+				$input_fields['EVT_ID'] = ['in', $input_fields['EVT_ID']];
87
+			}
88
+			if (! empty($input_fields['Ticket.TKT_ID']) && is_array($input_fields['Ticket.TKT_ID'])) {
89
+				$input_fields['Ticket.TKT_ID'] = ['in', $input_fields['Ticket.TKT_ID']];
90
+			}
91
+		}
92
+
93
+		/**
94
+		 * Determine where we're at in the Graph and adjust the query context appropriately.
95
+		 *
96
+		 * For example, if we're querying for datetime as a field of event query, this will automatically
97
+		 * set the query to pull datetimes that belong to that event.
98
+		 * We can set more cases for other source types.
99
+		 */
100
+		if (is_object($this->source)) {
101
+			switch (true) {
102
+				// It's surely an event
103
+				case $this->source instanceof Post:
104
+					$where_params['EVT_ID'] = $this->source->ID;
105
+					break;
106
+				case $this->source instanceof EE_Event:
107
+					$where_params['EVT_ID'] = $this->source->ID();
108
+					break;
109
+				case $this->source instanceof EE_Ticket:
110
+					$where_params['Ticket.TKT_ID'] = $this->source->ID();
111
+					break;
112
+				case $this->source instanceof EE_Checkin:
113
+					$where_params['Checkin.CHK_ID'] = $this->source->ID();
114
+					break;
115
+			}
116
+		}
117
+
118
+		/**
119
+		 * Merge the input_fields with the default query_args
120
+		 */
121
+		if (! empty($input_fields)) {
122
+			$where_params = array_merge($where_params, $input_fields);
123
+		}
124
+
125
+		list($query_args, $where_params) = $this->mapOrderbyInputArgs($query_args, $where_params, 'DTT_ID');
126
+
127
+		$search = $this->getSearchKeywords($this->args['where']);
128
+
129
+		if (! empty($search)) {
130
+			// use OR operator to search in any of the fields
131
+			$where_params['OR'] = array(
132
+				'DTT_name'        => array('LIKE', '%' . $search . '%'),
133
+				'DTT_description' => array('LIKE', '%' . $search . '%'),
134
+			);
135
+		}
136
+
137
+		if (! empty($this->args['where']['upcoming'])) {
138
+			$where_params['DTT_EVT_start'] = array(
139
+				'>',
140
+				EEM_Datetime::instance()->current_time_for_query('DTT_EVT_start')
141
+			);
142
+		}
143
+
144
+		if (! empty($this->args['where']['active'])) {
145
+			$where_params['DTT_EVT_start'] = array(
146
+				'<',
147
+				EEM_Datetime::instance()->current_time_for_query('DTT_EVT_start')
148
+			);
149
+			$where_params['DTT_EVT_end'] = array(
150
+				'>',
151
+				EEM_Datetime::instance()->current_time_for_query('DTT_EVT_end')
152
+			);
153
+		}
154
+
155
+		if (! empty($this->args['where']['expired'])) {
156
+			$where_params['DTT_EVT_end'] = array(
157
+				'<',
158
+				EEM_Datetime::instance()->current_time_for_query('DTT_EVT_end')
159
+			);
160
+		}
161
+
162
+		$where_params = apply_filters(
163
+			'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__datetime_where_params',
164
+			$where_params,
165
+			$this->source,
166
+			$this->args
167
+		);
168
+
169
+		$query_args[] = $where_params;
170
+
171
+		/**
172
+		 * Return the $query_args
173
+		 */
174
+		return apply_filters(
175
+			'FHEE__EventEspresso_core_domain_services_graphql_connection_resolvers__datetime_query_args',
176
+			$query_args,
177
+			$this->source,
178
+			$this->args
179
+		);
180
+	}
181
+
182
+
183
+	/**
184
+	 * This sets up the "allowed" args, and translates the GraphQL-friendly keys to model
185
+	 * friendly keys.
186
+	 *
187
+	 * @param array $where_args
188
+	 * @return array
189
+	 */
190
+	public function sanitizeInputFields(array $where_args)
191
+	{
192
+		$arg_mapping = [
193
+			'event'      => 'EVT_ID',
194
+			'eventIn'    => 'EVT_ID',
195
+			'eventId'    => 'EVT_ID',
196
+			'eventIdIn'  => 'EVT_ID',
197
+			'ticket'     => 'Ticket.TKT_ID',
198
+			'ticketIn'   => 'Ticket.TKT_ID',
199
+			'ticketId'   => 'Ticket.TKT_ID',
200
+			'ticketIdIn' => 'Ticket.TKT_ID',
201
+		];
202
+		return $this->sanitizeWhereArgsForInputFields(
203
+			$where_args,
204
+			$arg_mapping,
205
+			['event', 'eventIn', 'ticket', 'ticketIn']
206
+		);
207
+	}
208 208
 }
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -78,14 +78,14 @@  discard block
 block discarded – undo
78 78
          * Collect the input_fields and sanitize them to prepare them for sending to the Query
79 79
          */
80 80
         $input_fields = [];
81
-        if (! empty($this->args['where'])) {
81
+        if ( ! empty($this->args['where'])) {
82 82
             $input_fields = $this->sanitizeInputFields($this->args['where']);
83 83
 
84 84
             // Use the proper operator.
85
-            if (! empty($input_fields['EVT_ID']) && is_array($input_fields['EVT_ID'])) {
85
+            if ( ! empty($input_fields['EVT_ID']) && is_array($input_fields['EVT_ID'])) {
86 86
                 $input_fields['EVT_ID'] = ['in', $input_fields['EVT_ID']];
87 87
             }
88
-            if (! empty($input_fields['Ticket.TKT_ID']) && is_array($input_fields['Ticket.TKT_ID'])) {
88
+            if ( ! empty($input_fields['Ticket.TKT_ID']) && is_array($input_fields['Ticket.TKT_ID'])) {
89 89
                 $input_fields['Ticket.TKT_ID'] = ['in', $input_fields['Ticket.TKT_ID']];
90 90
             }
91 91
         }
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
         /**
119 119
          * Merge the input_fields with the default query_args
120 120
          */
121
-        if (! empty($input_fields)) {
121
+        if ( ! empty($input_fields)) {
122 122
             $where_params = array_merge($where_params, $input_fields);
123 123
         }
124 124
 
@@ -126,22 +126,22 @@  discard block
 block discarded – undo
126 126
 
127 127
         $search = $this->getSearchKeywords($this->args['where']);
128 128
 
129
-        if (! empty($search)) {
129
+        if ( ! empty($search)) {
130 130
             // use OR operator to search in any of the fields
131 131
             $where_params['OR'] = array(
132
-                'DTT_name'        => array('LIKE', '%' . $search . '%'),
133
-                'DTT_description' => array('LIKE', '%' . $search . '%'),
132
+                'DTT_name'        => array('LIKE', '%'.$search.'%'),
133
+                'DTT_description' => array('LIKE', '%'.$search.'%'),
134 134
             );
135 135
         }
136 136
 
137
-        if (! empty($this->args['where']['upcoming'])) {
137
+        if ( ! empty($this->args['where']['upcoming'])) {
138 138
             $where_params['DTT_EVT_start'] = array(
139 139
                 '>',
140 140
                 EEM_Datetime::instance()->current_time_for_query('DTT_EVT_start')
141 141
             );
142 142
         }
143 143
 
144
-        if (! empty($this->args['where']['active'])) {
144
+        if ( ! empty($this->args['where']['active'])) {
145 145
             $where_params['DTT_EVT_start'] = array(
146 146
                 '<',
147 147
                 EEM_Datetime::instance()->current_time_for_query('DTT_EVT_start')
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
             );
153 153
         }
154 154
 
155
-        if (! empty($this->args['where']['expired'])) {
155
+        if ( ! empty($this->args['where']['expired'])) {
156 156
             $where_params['DTT_EVT_end'] = array(
157 157
                 '<',
158 158
                 EEM_Datetime::instance()->current_time_for_query('DTT_EVT_end')
Please login to merge, or discard this patch.
languages/event_espresso-translations-js.php 1 patch
Spacing   +370 added lines, -370 removed lines patch added patch discarded remove patch
@@ -2,179 +2,179 @@  discard block
 block discarded – undo
2 2
 /* THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. */
3 3
 $generated_i18n_strings = array(
4 4
 	// Reference: domains/blocks/src/components/AvatarImage.tsx:27
5
-	__( 'contact avatar', 'event_espresso' ),
5
+	__('contact avatar', 'event_espresso'),
6 6
 
7 7
 	// Reference: domains/blocks/src/components/OrderByControl.tsx:13
8
-	__( 'Order by', 'event_espresso' ),
8
+	__('Order by', 'event_espresso'),
9 9
 
10 10
 	// Reference: domains/blocks/src/components/RegStatusControl.tsx:18
11 11
 	// Reference: domains/blocks/src/event-attendees/controls/SelectStatus.tsx:12
12
-	__( 'Select Registration Status', 'event_espresso' ),
12
+	__('Select Registration Status', 'event_espresso'),
13 13
 
14 14
 	// Reference: domains/blocks/src/components/SortOrderControl.tsx:15
15
-	__( 'Ascending', 'event_espresso' ),
15
+	__('Ascending', 'event_espresso'),
16 16
 
17 17
 	// Reference: domains/blocks/src/components/SortOrderControl.tsx:19
18
-	__( 'Descending', 'event_espresso' ),
18
+	__('Descending', 'event_espresso'),
19 19
 
20 20
 	// Reference: domains/blocks/src/components/SortOrderControl.tsx:25
21
-	__( 'Sort order:', 'event_espresso' ),
21
+	__('Sort order:', 'event_espresso'),
22 22
 
23 23
 	// Reference: domains/blocks/src/event-attendees/AttendeesDisplay.tsx:40
24
-	__( 'There was some error fetching attendees list', 'event_espresso' ),
24
+	__('There was some error fetching attendees list', 'event_espresso'),
25 25
 
26 26
 	// Reference: domains/blocks/src/event-attendees/AttendeesDisplay.tsx:46
27
-	__( 'To get started, select what event you want to show attendees from in the block settings.', 'event_espresso' ),
27
+	__('To get started, select what event you want to show attendees from in the block settings.', 'event_espresso'),
28 28
 
29 29
 	// Reference: domains/blocks/src/event-attendees/AttendeesDisplay.tsx:52
30
-	__( 'There are no attendees for selected options.', 'event_espresso' ),
30
+	__('There are no attendees for selected options.', 'event_espresso'),
31 31
 
32 32
 	// Reference: domains/blocks/src/event-attendees/controls/ArchiveSettings.tsx:11
33
-	__( 'Display on Archives', 'event_espresso' ),
33
+	__('Display on Archives', 'event_espresso'),
34 34
 
35 35
 	// Reference: domains/blocks/src/event-attendees/controls/ArchiveSettings.tsx:16
36
-	__( 'Attendees are shown whenever this post is listed in an archive view.', 'event_espresso' ),
36
+	__('Attendees are shown whenever this post is listed in an archive view.', 'event_espresso'),
37 37
 
38 38
 	// Reference: domains/blocks/src/event-attendees/controls/ArchiveSettings.tsx:17
39
-	__( 'Attendees are hidden whenever this post is listed in an archive view.', 'event_espresso' ),
39
+	__('Attendees are hidden whenever this post is listed in an archive view.', 'event_espresso'),
40 40
 
41 41
 	// Reference: domains/blocks/src/event-attendees/controls/AttendeeLimit.tsx:28
42
-	__( 'Number of Attendees to Display:', 'event_espresso' ),
42
+	__('Number of Attendees to Display:', 'event_espresso'),
43 43
 
44 44
 	// Reference: domains/blocks/src/event-attendees/controls/AttendeeLimit.tsx:32
45
-	_n_noop( 'Used to adjust the number of attendees displayed (There is %d total attendee for the current filter settings).', 'Used to adjust the number of attendees displayed (There are %d total attendees for the current filter settings).', 'event_espresso' ),
45
+	_n_noop('Used to adjust the number of attendees displayed (There is %d total attendee for the current filter settings).', 'Used to adjust the number of attendees displayed (There are %d total attendees for the current filter settings).', 'event_espresso'),
46 46
 
47 47
 	// Reference: domains/blocks/src/event-attendees/controls/GravatarSettings.tsx:26
48
-	__( 'Display Gravatar', 'event_espresso' ),
48
+	__('Display Gravatar', 'event_espresso'),
49 49
 
50 50
 	// Reference: domains/blocks/src/event-attendees/controls/GravatarSettings.tsx:31
51
-	__( 'Gravatar images are shown for each attendee.', 'event_espresso' ),
51
+	__('Gravatar images are shown for each attendee.', 'event_espresso'),
52 52
 
53 53
 	// Reference: domains/blocks/src/event-attendees/controls/GravatarSettings.tsx:32
54
-	__( 'No gravatar images are shown for each attendee.', 'event_espresso' ),
54
+	__('No gravatar images are shown for each attendee.', 'event_espresso'),
55 55
 
56 56
 	// Reference: domains/blocks/src/event-attendees/controls/GravatarSettings.tsx:37
57
-	__( 'Size of Gravatar', 'event_espresso' ),
57
+	__('Size of Gravatar', 'event_espresso'),
58 58
 
59 59
 	// Reference: domains/blocks/src/event-attendees/controls/SelectDatetime.tsx:21
60
-	__( 'Select Datetime', 'event_espresso' ),
60
+	__('Select Datetime', 'event_espresso'),
61 61
 
62 62
 	// Reference: domains/blocks/src/event-attendees/controls/SelectEvent.tsx:21
63
-	__( 'Select Event', 'event_espresso' ),
63
+	__('Select Event', 'event_espresso'),
64 64
 
65 65
 	// Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:10
66
-	__( 'Attendee id', 'event_espresso' ),
66
+	__('Attendee id', 'event_espresso'),
67 67
 
68 68
 	// Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:14
69
-	__( 'Last name only', 'event_espresso' ),
69
+	__('Last name only', 'event_espresso'),
70 70
 
71 71
 	// Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:18
72
-	__( 'First name only', 'event_espresso' ),
72
+	__('First name only', 'event_espresso'),
73 73
 
74 74
 	// Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:22
75
-	__( 'First, then Last name', 'event_espresso' ),
75
+	__('First, then Last name', 'event_espresso'),
76 76
 
77 77
 	// Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:26
78
-	__( 'Last, then First name', 'event_espresso' ),
78
+	__('Last, then First name', 'event_espresso'),
79 79
 
80 80
 	// Reference: domains/blocks/src/event-attendees/controls/SelectOrderBy.tsx:40
81
-	__( 'Order Attendees by:', 'event_espresso' ),
81
+	__('Order Attendees by:', 'event_espresso'),
82 82
 
83 83
 	// Reference: domains/blocks/src/event-attendees/controls/SelectTicket.tsx:21
84
-	__( 'Select Ticket', 'event_espresso' ),
84
+	__('Select Ticket', 'event_espresso'),
85 85
 
86 86
 	// Reference: domains/blocks/src/event-attendees/controls/index.tsx:22
87
-	__( 'Filter By Settings', 'event_espresso' ),
87
+	__('Filter By Settings', 'event_espresso'),
88 88
 
89 89
 	// Reference: domains/blocks/src/event-attendees/controls/index.tsx:37
90
-	__( 'Gravatar Setttings', 'event_espresso' ),
90
+	__('Gravatar Setttings', 'event_espresso'),
91 91
 
92 92
 	// Reference: domains/blocks/src/event-attendees/controls/index.tsx:40
93
-	__( 'Archive Settings', 'event_espresso' ),
93
+	__('Archive Settings', 'event_espresso'),
94 94
 
95 95
 	// Reference: domains/blocks/src/event-attendees/index.tsx:10
96
-	__( 'Event Attendees', 'event_espresso' ),
96
+	__('Event Attendees', 'event_espresso'),
97 97
 
98 98
 	// Reference: domains/blocks/src/event-attendees/index.tsx:11
99
-	__( 'Displays a list of people that have registered for the specified event', 'event_espresso' ),
99
+	__('Displays a list of people that have registered for the specified event', 'event_espresso'),
100 100
 
101 101
 	// Reference: domains/blocks/src/event-attendees/index.tsx:14
102
-	__( 'event', 'event_espresso' ),
102
+	__('event', 'event_espresso'),
103 103
 
104 104
 	// Reference: domains/blocks/src/event-attendees/index.tsx:14
105
-	__( 'attendees', 'event_espresso' ),
105
+	__('attendees', 'event_espresso'),
106 106
 
107 107
 	// Reference: domains/blocks/src/event-attendees/index.tsx:14
108
-	__( 'list', 'event_espresso' ),
108
+	__('list', 'event_espresso'),
109 109
 
110 110
 	// Reference: domains/blocks/src/services/utils.ts:11
111
-	__( 'Loading...', 'event_espresso' ),
111
+	__('Loading...', 'event_espresso'),
112 112
 
113 113
 	// Reference: domains/blocks/src/services/utils.ts:19
114 114
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:32
115
-	__( 'Error', 'event_espresso' ),
115
+	__('Error', 'event_espresso'),
116 116
 
117 117
 	// Reference: domains/blocks/src/services/utils.ts:26
118
-	__( 'Select...', 'event_espresso' ),
118
+	__('Select...', 'event_espresso'),
119 119
 
120 120
 	// Reference: domains/eventEditor/src/ui/datetimes/DateRegistrationsLink.tsx:30
121
-	__( 'view ALL registrations for this date.', 'event_espresso' ),
121
+	__('view ALL registrations for this date.', 'event_espresso'),
122 122
 
123 123
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/formValidation.ts:15
124 124
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/formValidation.ts:15
125
-	__( 'Name is required', 'event_espresso' ),
125
+	__('Name is required', 'event_espresso'),
126 126
 
127 127
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/formValidation.ts:16
128 128
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/formValidation.ts:12
129 129
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/formValidation.ts:16
130 130
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/formValidation.ts:12
131
-	__( 'Name must be at least three characters', 'event_espresso' ),
131
+	__('Name must be at least three characters', 'event_espresso'),
132 132
 
133 133
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/Container.tsx:17
134
-	__( 'Edit datetime %s', 'event_espresso' ),
134
+	__('Edit datetime %s', 'event_espresso'),
135 135
 
136 136
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/Container.tsx:17
137
-	__( 'New Datetime', 'event_espresso' ),
137
+	__('New Datetime', 'event_espresso'),
138 138
 
139 139
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/ContentBody.tsx:40
140
-	__( 'Save and assign tickets', 'event_espresso' ),
140
+	__('Save and assign tickets', 'event_espresso'),
141 141
 
142 142
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:11
143
-	__( 'primary information about the date', 'event_espresso' ),
143
+	__('primary information about the date', 'event_espresso'),
144 144
 
145 145
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:11
146
-	__( 'Date Details', 'event_espresso' ),
146
+	__('Date Details', 'event_espresso'),
147 147
 
148 148
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:12
149 149
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:17
150
-	__( 'relations between tickets and dates', 'event_espresso' ),
150
+	__('relations between tickets and dates', 'event_espresso'),
151 151
 
152 152
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/multiStep/DateFormSteps.tsx:12
153
-	__( 'Assign Tickets', 'event_espresso' ),
153
+	__('Assign Tickets', 'event_espresso'),
154 154
 
155 155
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:107
156 156
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:108
157 157
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:119
158 158
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:108
159
-	__( 'Details', 'event_espresso' ),
159
+	__('Details', 'event_espresso'),
160 160
 
161 161
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:111
162 162
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:112
163 163
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:74
164
-	__( 'Capacity', 'event_espresso' ),
164
+	__('Capacity', 'event_espresso'),
165 165
 
166 166
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:116
167
-	__( 'The maximum number of registrants that can attend the event at this particular date.%sSet to 0 to close registration or leave blank for no limit.', 'event_espresso' ),
167
+	__('The maximum number of registrants that can attend the event at this particular date.%sSet to 0 to close registration or leave blank for no limit.', 'event_espresso'),
168 168
 
169 169
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:125
170 170
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:194
171
-	__( 'Trash', 'event_espresso' ),
171
+	__('Trash', 'event_espresso'),
172 172
 
173 173
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:69
174 174
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:45
175 175
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:81
176 176
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:45
177
-	__( 'Basics', 'event_espresso' ),
177
+	__('Basics', 'event_espresso'),
178 178
 
179 179
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:73
180 180
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:49
@@ -182,215 +182,215 @@  discard block
 block discarded – undo
182 182
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:85
183 183
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:49
184 184
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:42
185
-	__( 'Name', 'event_espresso' ),
185
+	__('Name', 'event_espresso'),
186 186
 
187 187
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:80
188 188
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:55
189 189
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:92
190 190
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:55
191 191
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:40
192
-	__( 'Description', 'event_espresso' ),
192
+	__('Description', 'event_espresso'),
193 193
 
194 194
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:88
195 195
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:63
196 196
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:63
197
-	__( 'Dates', 'event_espresso' ),
197
+	__('Dates', 'event_espresso'),
198 198
 
199 199
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:92
200 200
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:51
201 201
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:104
202
-	__( 'Start Date', 'event_espresso' ),
202
+	__('Start Date', 'event_espresso'),
203 203
 
204 204
 	// Reference: domains/eventEditor/src/ui/datetimes/dateForm/useDateFormConfig.ts:98
205 205
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:62
206 206
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:110
207
-	__( 'End Date', 'event_espresso' ),
207
+	__('End Date', 'event_espresso'),
208 208
 
209 209
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/DatesList.tsx:30
210 210
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/TableView.tsx:36
211
-	__( 'Event Dates', 'event_espresso' ),
211
+	__('Event Dates', 'event_espresso'),
212 212
 
213 213
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/DatesList.tsx:33
214
-	__( 'loading event dates...', 'event_espresso' ),
214
+	__('loading event dates...', 'event_espresso'),
215 215
 
216 216
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/DatesListButtons.tsx:22
217
-	__( 'Ticket Assignments', 'event_espresso' ),
217
+	__('Ticket Assignments', 'event_espresso'),
218 218
 
219 219
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:27
220
-	__( 'Number of related tickets', 'event_espresso' ),
220
+	__('Number of related tickets', 'event_espresso'),
221 221
 
222 222
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:28
223
-	__( 'There are no tickets assigned to this datetime. Please click the ticket icon to update the assignments.', 'event_espresso' ),
223
+	__('There are no tickets assigned to this datetime. Please click the ticket icon to update the assignments.', 'event_espresso'),
224 224
 
225 225
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/AssignTicketsButton.tsx:42
226
-	__( 'assign tickets', 'event_espresso' ),
226
+	__('assign tickets', 'event_espresso'),
227 227
 
228 228
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:18
229
-	__( 'Permanently delete Datetime?', 'event_espresso' ),
229
+	__('Permanently delete Datetime?', 'event_espresso'),
230 230
 
231 231
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:18
232
-	__( 'Move Datetime to Trash?', 'event_espresso' ),
232
+	__('Move Datetime to Trash?', 'event_espresso'),
233 233
 
234 234
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:20
235
-	__( 'Are you sure you want to permanently delete this datetime? This action is permanent and can not be undone.', 'event_espresso' ),
235
+	__('Are you sure you want to permanently delete this datetime? This action is permanent and can not be undone.', 'event_espresso'),
236 236
 
237 237
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:23
238
-	__( 'Are you sure you want to move this datetime to the trash? You can "untrash" this datetime later if you need to.', 'event_espresso' ),
238
+	__('Are you sure you want to move this datetime to the trash? You can "untrash" this datetime later if you need to.', 'event_espresso'),
239 239
 
240 240
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:33
241
-	__( 'event date main menu', 'event_espresso' ),
241
+	__('event date main menu', 'event_espresso'),
242 242
 
243 243
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:37
244 244
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:33
245
-	__( 'delete permanently', 'event_espresso' ),
245
+	__('delete permanently', 'event_espresso'),
246 246
 
247 247
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:37
248
-	__( 'trash datetime', 'event_espresso' ),
248
+	__('trash datetime', 'event_espresso'),
249 249
 
250 250
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:46
251
-	__( 'edit datetime', 'event_espresso' ),
251
+	__('edit datetime', 'event_espresso'),
252 252
 
253 253
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/actionsMenu/dropdown/DateMainMenu.tsx:47
254
-	__( 'copy datetime', 'event_espresso' ),
254
+	__('copy datetime', 'event_espresso'),
255 255
 
256 256
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:29
257
-	__( 'edit datetime details', 'event_espresso' ),
257
+	__('edit datetime details', 'event_espresso'),
258 258
 
259 259
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:33
260
-	__( 'delete datetimes', 'event_espresso' ),
260
+	__('delete datetimes', 'event_espresso'),
261 261
 
262 262
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/actions/Actions.tsx:33
263
-	__( 'trash datetimes', 'event_espresso' ),
263
+	__('trash datetimes', 'event_espresso'),
264 264
 
265 265
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:13
266
-	__( 'Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso' ),
266
+	__('Are you sure you want to permanently delete these datetimes? This action can NOT be undone!', 'event_espresso'),
267 267
 
268 268
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:14
269
-	__( 'Are you sure you want to trash these datetimes?', 'event_espresso' ),
269
+	__('Are you sure you want to trash these datetimes?', 'event_espresso'),
270 270
 
271 271
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:15
272
-	__( 'Delete datetimes permanently', 'event_espresso' ),
272
+	__('Delete datetimes permanently', 'event_espresso'),
273 273
 
274 274
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/delete/Delete.tsx:15
275
-	__( 'Trash datetimes', 'event_espresso' ),
275
+	__('Trash datetimes', 'event_espresso'),
276 276
 
277 277
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:22
278
-	__( 'Bulk edit date details', 'event_espresso' ),
278
+	__('Bulk edit date details', 'event_espresso'),
279 279
 
280 280
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/EditDetails.tsx:23
281
-	__( 'any changes will be applied to ALL of the selected dates.', 'event_espresso' ),
281
+	__('any changes will be applied to ALL of the selected dates.', 'event_espresso'),
282 282
 
283 283
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:67
284 284
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:67
285
-	__( 'Shift dates', 'event_espresso' ),
285
+	__('Shift dates', 'event_espresso'),
286 286
 
287 287
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:92
288 288
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:92
289
-	__( 'earlier', 'event_espresso' ),
289
+	__('earlier', 'event_espresso'),
290 290
 
291 291
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/bulkEdit/details/useBulkEditFormConfig.ts:96
292 292
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:96
293
-	__( 'later', 'event_espresso' ),
293
+	__('later', 'event_espresso'),
294 294
 
295 295
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateCapacity.tsx:35
296
-	__( 'edit capacity (registration limit)...', 'event_espresso' ),
296
+	__('edit capacity (registration limit)...', 'event_espresso'),
297 297
 
298 298
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:38
299
-	__( 'Edit Event Date', 'event_espresso' ),
299
+	__('Edit Event Date', 'event_espresso'),
300 300
 
301 301
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateCardSidebar.tsx:41
302
-	__( 'edit start and end dates', 'event_espresso' ),
302
+	__('edit start and end dates', 'event_espresso'),
303 303
 
304 304
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:14
305 305
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:14
306
-	__( 'sold', 'event_espresso' ),
306
+	__('sold', 'event_espresso'),
307 307
 
308 308
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:27
309
-	__( 'capacity', 'event_espresso' ),
309
+	__('capacity', 'event_espresso'),
310 310
 
311 311
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/DateDetailsPanel.tsx:33
312 312
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:32
313
-	__( 'reg list', 'event_espresso' ),
313
+	__('reg list', 'event_espresso'),
314 314
 
315 315
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:41
316 316
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:41
317
-	__( 'Edit description', 'event_espresso' ),
317
+	__('Edit description', 'event_espresso'),
318 318
 
319 319
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/cardView/Details.tsx:42
320 320
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/Details.tsx:42
321
-	__( 'edit description...', 'event_espresso' ),
321
+	__('edit description...', 'event_espresso'),
322 322
 
323 323
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:13
324
-	__( 'Active', 'event_espresso' ),
324
+	__('Active', 'event_espresso'),
325 325
 
326 326
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:14
327 327
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:13
328
-	__( 'Trashed', 'event_espresso' ),
328
+	__('Trashed', 'event_espresso'),
329 329
 
330 330
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:15
331 331
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:14
332
-	__( 'Expired', 'event_espresso' ),
332
+	__('Expired', 'event_espresso'),
333 333
 
334 334
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:16
335 335
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:16
336
-	__( 'Sold Out', 'event_espresso' ),
336
+	__('Sold Out', 'event_espresso'),
337 337
 
338 338
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/config.ts:17
339
-	__( 'Upcoming', 'event_espresso' ),
339
+	__('Upcoming', 'event_espresso'),
340 340
 
341 341
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/editable/EditableName.tsx:17
342 342
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/editable/EditableName.tsx:28
343
-	__( 'edit title...', 'event_espresso' ),
343
+	__('edit title...', 'event_espresso'),
344 344
 
345 345
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:10
346
-	__( 'start and end dates', 'event_espresso' ),
346
+	__('start and end dates', 'event_espresso'),
347 347
 
348 348
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:15
349
-	__( 'dates above 90% capacity', 'event_espresso' ),
349
+	__('dates above 90% capacity', 'event_espresso'),
350 350
 
351 351
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:16
352
-	__( 'dates above 75% capacity', 'event_espresso' ),
352
+	__('dates above 75% capacity', 'event_espresso'),
353 353
 
354 354
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:17
355
-	__( 'dates above 50% capacity', 'event_espresso' ),
355
+	__('dates above 50% capacity', 'event_espresso'),
356 356
 
357 357
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:18
358
-	__( 'dates below 50% capacity', 'event_espresso' ),
358
+	__('dates below 50% capacity', 'event_espresso'),
359 359
 
360 360
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:22
361
-	__( 'all dates', 'event_espresso' ),
361
+	__('all dates', 'event_espresso'),
362 362
 
363 363
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:23
364
-	__( 'all active and upcoming', 'event_espresso' ),
364
+	__('all active and upcoming', 'event_espresso'),
365 365
 
366 366
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:24
367
-	__( 'active dates only', 'event_espresso' ),
367
+	__('active dates only', 'event_espresso'),
368 368
 
369 369
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:25
370
-	__( 'upcoming dates only', 'event_espresso' ),
370
+	__('upcoming dates only', 'event_espresso'),
371 371
 
372 372
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:26
373
-	__( 'next active or upcoming only', 'event_espresso' ),
373
+	__('next active or upcoming only', 'event_espresso'),
374 374
 
375 375
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:27
376
-	__( 'sold out dates only', 'event_espresso' ),
376
+	__('sold out dates only', 'event_espresso'),
377 377
 
378 378
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:28
379
-	__( 'recently expired dates', 'event_espresso' ),
379
+	__('recently expired dates', 'event_espresso'),
380 380
 
381 381
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:29
382
-	__( 'all expired dates', 'event_espresso' ),
382
+	__('all expired dates', 'event_espresso'),
383 383
 
384 384
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:30
385
-	__( 'trashed dates only', 'event_espresso' ),
385
+	__('trashed dates only', 'event_espresso'),
386 386
 
387 387
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:34
388 388
 	// Reference: packages/dates/src/DateRangePicker.tsx:52
389 389
 	// Reference: packages/dates/src/DateRangePickerLegend.tsx:10
390
-	__( 'start date', 'event_espresso' ),
390
+	__('start date', 'event_espresso'),
391 391
 
392 392
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:35
393
-	__( 'name', 'event_espresso' ),
393
+	__('name', 'event_espresso'),
394 394
 
395 395
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:36
396 396
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:37
@@ -398,95 +398,95 @@  discard block
 block discarded – undo
398 398
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/table/HeaderCell.tsx:21
399 399
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:36
400 400
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:22
401
-	__( 'ID', 'event_espresso' ),
401
+	__('ID', 'event_espresso'),
402 402
 
403 403
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:37
404 404
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:46
405
-	__( 'custom order', 'event_espresso' ),
405
+	__('custom order', 'event_espresso'),
406 406
 
407 407
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:41
408 408
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:51
409
-	__( 'display', 'event_espresso' ),
409
+	__('display', 'event_espresso'),
410 410
 
411 411
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:42
412 412
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:53
413
-	__( 'sales', 'event_espresso' ),
413
+	__('sales', 'event_espresso'),
414 414
 
415 415
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:43
416 416
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:55
417
-	__( 'sort by', 'event_espresso' ),
417
+	__('sort by', 'event_espresso'),
418 418
 
419 419
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:44
420 420
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:54
421 421
 	// Reference: packages/components/src/EntityList/filterBar/EntityListFilterBar.tsx:73
422
-	__( 'search', 'event_espresso' ),
422
+	__('search', 'event_espresso'),
423 423
 
424 424
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:45
425 425
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:56
426
-	__( 'status', 'event_espresso' ),
426
+	__('status', 'event_espresso'),
427 427
 
428 428
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:8
429
-	__( 'start dates only', 'event_espresso' ),
429
+	__('start dates only', 'event_espresso'),
430 430
 
431 431
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/filterBar/controls/options.ts:9
432
-	__( 'end dates only', 'event_espresso' ),
432
+	__('end dates only', 'event_espresso'),
433 433
 
434 434
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:20
435 435
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/OptionsPopover.tsx:14
436 436
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/OptionsPopoverButton.tsx:11
437
-	__( 'Add New Date', 'event_espresso' ),
437
+	__('Add New Date', 'event_espresso'),
438 438
 
439 439
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:20
440
-	__( 'Add Single Date', 'event_espresso' ),
440
+	__('Add Single Date', 'event_espresso'),
441 441
 
442 442
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:34
443
-	__( 'Add a single date
444
-that only occurs once', 'event_espresso' ),
443
+	__('Add a single date
444
+that only occurs once', 'event_espresso'),
445 445
 
446 446
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/newDateOptions/AddSingleDate.tsx:36
447
-	__( 'Single Date', 'event_espresso' ),
447
+	__('Single Date', 'event_espresso'),
448 448
 
449 449
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:104
450 450
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:103
451 451
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:52
452
-	__( 'Actions', 'event_espresso' ),
452
+	__('Actions', 'event_espresso'),
453 453
 
454 454
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:52
455
-	__( 'Start', 'event_espresso' ),
455
+	__('Start', 'event_espresso'),
456 456
 
457 457
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:63
458
-	__( 'End', 'event_espresso' ),
458
+	__('End', 'event_espresso'),
459 459
 
460 460
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:75
461
-	__( 'Cap', 'event_espresso' ),
461
+	__('Cap', 'event_espresso'),
462 462
 
463 463
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:83
464 464
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:85
465
-	__( 'Sold', 'event_espresso' ),
465
+	__('Sold', 'event_espresso'),
466 466
 
467 467
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:92
468
-	__( 'Reg list', 'event_espresso' ),
468
+	__('Reg list', 'event_espresso'),
469 469
 
470 470
 	// Reference: domains/eventEditor/src/ui/datetimes/datesList/tableView/useHeaderRowGenerator.tsx:93
471 471
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:95
472
-	__( 'Regs', 'event_espresso' ),
472
+	__('Regs', 'event_espresso'),
473 473
 
474 474
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:18
475
-	__( 'Tickets must always have at least one date assigned to them but one or more of the tickets below does not have any. Please correct the assignments for the highlighted cells.', 'event_espresso' ),
475
+	__('Tickets must always have at least one date assigned to them but one or more of the tickets below does not have any. Please correct the assignments for the highlighted cells.', 'event_espresso'),
476 476
 
477 477
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ErrorMessage.tsx:22
478
-	__( 'Event Dates must always have at least one Ticket assigned to them but one or more of the Event Dates below does not have any. Please correct the assignments for the highlighted cells.', 'event_espresso' ),
478
+	__('Event Dates must always have at least one Ticket assigned to them but one or more of the Event Dates below does not have any. Please correct the assignments for the highlighted cells.', 'event_espresso'),
479 479
 
480 480
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:20
481
-	__( 'Ticket Assignment Manager for Datetime: %s - %s', 'event_espresso' ),
481
+	__('Ticket Assignment Manager for Datetime: %s - %s', 'event_espresso'),
482 482
 
483 483
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/ModalContainer.tsx:22
484
-	__( 'Ticket Assignment Manager for Ticket: %s - %s', 'event_espresso' ),
484
+	__('Ticket Assignment Manager for Ticket: %s - %s', 'event_espresso'),
485 485
 
486 486
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal/buttons/useCancelButtonProps.tsx:18
487 487
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:16
488 488
 	// Reference: packages/components/src/Modal/useCancelButtonProps.tsx:10
489
-	__( 'Cancel', 'event_espresso' ),
489
+	__('Cancel', 'event_espresso'),
490 490
 
491 491
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal/buttons/useSubmitButtonProps.tsx:25
492 492
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:17
@@ -495,707 +495,707 @@  discard block
 block discarded – undo
495 495
 	// Reference: packages/components/src/bulkEdit/details/Submit.tsx:38
496 496
 	// Reference: packages/form/src/Submit.tsx:26
497 497
 	// Reference: packages/tpc/src/buttons/useSubmitButtonProps.tsx:25
498
-	__( 'Submit', 'event_espresso' ),
498
+	__('Submit', 'event_espresso'),
499 499
 
500 500
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/TicketAssignmentsManagerModal/index.tsx:32
501 501
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/table/Table.tsx:14
502
-	__( 'Ticket Assignment Manager', 'event_espresso' ),
502
+	__('Ticket Assignment Manager', 'event_espresso'),
503 503
 
504 504
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/components/table/BodyCell.tsx:24
505
-	__( 'assign ticket', 'event_espresso' ),
505
+	__('assign ticket', 'event_espresso'),
506 506
 
507 507
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:19
508
-	__( 'All Dates', 'event_espresso' ),
508
+	__('All Dates', 'event_espresso'),
509 509
 
510 510
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/DatesByMonthControl.tsx:25
511
-	__( 'dates by month', 'event_espresso' ),
511
+	__('dates by month', 'event_espresso'),
512 512
 
513 513
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowExpiredTicketsControl.tsx:13
514
-	__( 'show expired tickets', 'event_espresso' ),
514
+	__('show expired tickets', 'event_espresso'),
515 515
 
516 516
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedDatesControl.tsx:13
517
-	__( 'show trashed dates', 'event_espresso' ),
517
+	__('show trashed dates', 'event_espresso'),
518 518
 
519 519
 	// Reference: domains/eventEditor/src/ui/ticketAssignmentsManager/filters/controls/ShowTrashedTicketsControl.tsx:13
520
-	__( 'show trashed tickets', 'event_espresso' ),
520
+	__('show trashed tickets', 'event_espresso'),
521 521
 
522 522
 	// Reference: domains/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:29
523
-	__( 'total registrations.', 'event_espresso' ),
523
+	__('total registrations.', 'event_espresso'),
524 524
 
525 525
 	// Reference: domains/eventEditor/src/ui/tickets/TicketRegistrationsLink.tsx:30
526
-	__( 'view ALL registrations for this ticket.', 'event_espresso' ),
526
+	__('view ALL registrations for this ticket.', 'event_espresso'),
527 527
 
528 528
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/Container.tsx:16
529
-	__( 'Edit ticket %s', 'event_espresso' ),
529
+	__('Edit ticket %s', 'event_espresso'),
530 530
 
531 531
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/Container.tsx:16
532
-	__( 'New Ticket Details', 'event_espresso' ),
532
+	__('New Ticket Details', 'event_espresso'),
533 533
 
534 534
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:44
535
-	__( 'Add ticket prices', 'event_espresso' ),
535
+	__('Add ticket prices', 'event_espresso'),
536 536
 
537 537
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:50
538
-	__( 'Skip prices - assign dates', 'event_espresso' ),
538
+	__('Skip prices - assign dates', 'event_espresso'),
539 539
 
540 540
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:66
541
-	__( 'Save and assign dates', 'event_espresso' ),
541
+	__('Save and assign dates', 'event_espresso'),
542 542
 
543 543
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/ContentBody.tsx:79
544
-	__( 'Ticket details', 'event_espresso' ),
544
+	__('Ticket details', 'event_espresso'),
545 545
 
546 546
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:11
547
-	__( 'primary information about the ticket', 'event_espresso' ),
547
+	__('primary information about the ticket', 'event_espresso'),
548 548
 
549 549
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:11
550
-	__( 'Ticket Details', 'event_espresso' ),
550
+	__('Ticket Details', 'event_espresso'),
551 551
 
552 552
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:13
553
-	__( 'apply ticket price modifiers and taxes', 'event_espresso' ),
553
+	__('apply ticket price modifiers and taxes', 'event_espresso'),
554 554
 
555 555
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:15
556
-	__( 'Price Calculator', 'event_espresso' ),
556
+	__('Price Calculator', 'event_espresso'),
557 557
 
558 558
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/multiStep/TicketFormSteps.tsx:17
559
-	__( 'Assign Dates', 'event_espresso' ),
559
+	__('Assign Dates', 'event_espresso'),
560 560
 
561 561
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:100
562
-	__( 'Ticket Sales', 'event_espresso' ),
562
+	__('Ticket Sales', 'event_espresso'),
563 563
 
564 564
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:123
565 565
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:112
566
-	__( 'Quantity For Sale', 'event_espresso' ),
566
+	__('Quantity For Sale', 'event_espresso'),
567 567
 
568 568
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:128
569
-	__( 'The maximum number of this ticket available for sale.%sSet to 0 to stop sales, or leave blank for no limit.', 'event_espresso' ),
569
+	__('The maximum number of this ticket available for sale.%sSet to 0 to stop sales, or leave blank for no limit.', 'event_espresso'),
570 570
 
571 571
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:137
572 572
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:120
573
-	__( 'Number of Uses', 'event_espresso' ),
573
+	__('Number of Uses', 'event_espresso'),
574 574
 
575 575
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:142
576
-	__( 'Controls the total number of times this ticket can be used, regardless of the number of dates it is assigned to.%sExample: A ticket might have access to 4 different dates, but setting this field to 2 would mean that the ticket could only be used twice. Leave blank for no limit.', 'event_espresso' ),
576
+	__('Controls the total number of times this ticket can be used, regardless of the number of dates it is assigned to.%sExample: A ticket might have access to 4 different dates, but setting this field to 2 would mean that the ticket could only be used twice. Leave blank for no limit.', 'event_espresso'),
577 577
 
578 578
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:151
579 579
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:128
580
-	__( 'Minimum Quantity', 'event_espresso' ),
580
+	__('Minimum Quantity', 'event_espresso'),
581 581
 
582 582
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:155
583
-	__( 'The minimum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.%sLeave blank for no minimum.', 'event_espresso' ),
583
+	__('The minimum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.%sLeave blank for no minimum.', 'event_espresso'),
584 584
 
585 585
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:164
586 586
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:135
587
-	__( 'Maximum Quantity', 'event_espresso' ),
587
+	__('Maximum Quantity', 'event_espresso'),
588 588
 
589 589
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:169
590
-	__( 'The maximum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.%sLeave blank for no maximum.', 'event_espresso' ),
590
+	__('The maximum quantity that can be selected for this ticket. Use this to create ticket bundles or graduated pricing.%sLeave blank for no maximum.', 'event_espresso'),
591 591
 
592 592
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:178
593 593
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/useBulkEditFormConfig.ts:143
594
-	__( 'Required Ticket', 'event_espresso' ),
594
+	__('Required Ticket', 'event_espresso'),
595 595
 
596 596
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:180
597
-	__( 'If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso' ),
597
+	__('If enabled, the ticket must be selected and will appear first in frontend ticket lists.', 'event_espresso'),
598 598
 
599 599
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:187
600
-	__( 'Default Ticket', 'event_espresso' ),
600
+	__('Default Ticket', 'event_espresso'),
601 601
 
602 602
 	// Reference: domains/eventEditor/src/ui/tickets/ticketForm/useTicketFormConfig.tsx:189
603
-	__( 'If enabled, the ticket will appear on all new events.', 'event_espresso' ),
603
+	__('If enabled, the ticket will appear on all new events.', 'event_espresso'),
604 604
 
605 605
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:30
606
-	__( 'Available Tickets', 'event_espresso' ),
606
+	__('Available Tickets', 'event_espresso'),
607 607
 
608 608
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/TicketsList.tsx:33
609
-	__( 'loading tickets...', 'event_espresso' ),
609
+	__('loading tickets...', 'event_espresso'),
610 610
 
611 611
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:27
612
-	__( 'Number of related dates', 'event_espresso' ),
612
+	__('Number of related dates', 'event_espresso'),
613 613
 
614 614
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:28
615
-	__( 'There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso' ),
615
+	__('There are no event dates assigned to this ticket. Please click the calendar icon to update the assignments.', 'event_espresso'),
616 616
 
617 617
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/AssignDatesButton.tsx:44
618
-	__( 'assign dates', 'event_espresso' ),
618
+	__('assign dates', 'event_espresso'),
619 619
 
620 620
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:17
621
-	__( 'Permanently delete Ticket?', 'event_espresso' ),
621
+	__('Permanently delete Ticket?', 'event_espresso'),
622 622
 
623 623
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:17
624
-	__( 'Move Ticket to Trash?', 'event_espresso' ),
624
+	__('Move Ticket to Trash?', 'event_espresso'),
625 625
 
626 626
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:19
627
-	__( 'Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso' ),
627
+	__('Are you sure you want to permanently delete this ticket? This action is permanent and can not be undone.', 'event_espresso'),
628 628
 
629 629
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:20
630
-	__( 'Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso' ),
630
+	__('Are you sure you want to move this ticket to the trash? You can "untrash" this ticket later if you need to.', 'event_espresso'),
631 631
 
632 632
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:29
633
-	__( 'ticket main menu', 'event_espresso' ),
633
+	__('ticket main menu', 'event_espresso'),
634 634
 
635 635
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:33
636
-	__( 'trash ticket', 'event_espresso' ),
636
+	__('trash ticket', 'event_espresso'),
637 637
 
638 638
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:42
639
-	__( 'edit ticket', 'event_espresso' ),
639
+	__('edit ticket', 'event_espresso'),
640 640
 
641 641
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/actionsMenu/dropdown/TicketMainMenu.tsx:43
642
-	__( 'copy ticket', 'event_espresso' ),
642
+	__('copy ticket', 'event_espresso'),
643 643
 
644 644
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:29
645 645
 	// Reference: packages/components/src/bulkEdit/BulkActions.tsx:43
646
-	__( 'bulk actions', 'event_espresso' ),
646
+	__('bulk actions', 'event_espresso'),
647 647
 
648 648
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:33
649
-	__( 'edit ticket details', 'event_espresso' ),
649
+	__('edit ticket details', 'event_espresso'),
650 650
 
651 651
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:37
652
-	__( 'delete tickets', 'event_espresso' ),
652
+	__('delete tickets', 'event_espresso'),
653 653
 
654 654
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:37
655
-	__( 'trash tickets', 'event_espresso' ),
655
+	__('trash tickets', 'event_espresso'),
656 656
 
657 657
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/actions/Actions.tsx:41
658
-	__( 'edit ticket prices', 'event_espresso' ),
658
+	__('edit ticket prices', 'event_espresso'),
659 659
 
660 660
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:13
661
-	__( 'Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso' ),
661
+	__('Are you sure you want to permanently delete these tickets? This action can NOT be undone!', 'event_espresso'),
662 662
 
663 663
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:14
664
-	__( 'Are you sure you want to trash these tickets?', 'event_espresso' ),
664
+	__('Are you sure you want to trash these tickets?', 'event_espresso'),
665 665
 
666 666
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:15
667
-	__( 'Delete tickets permanently', 'event_espresso' ),
667
+	__('Delete tickets permanently', 'event_espresso'),
668 668
 
669 669
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/delete/Delete.tsx:15
670
-	__( 'Trash tickets', 'event_espresso' ),
670
+	__('Trash tickets', 'event_espresso'),
671 671
 
672 672
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:22
673
-	__( 'Bulk edit ticket details', 'event_espresso' ),
673
+	__('Bulk edit ticket details', 'event_espresso'),
674 674
 
675 675
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/details/EditDetails.tsx:23
676
-	__( 'any changes will be applied to ALL of the selected tickets.', 'event_espresso' ),
676
+	__('any changes will be applied to ALL of the selected tickets.', 'event_espresso'),
677 677
 
678 678
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/EditPrices.tsx:18
679
-	__( 'Bulk edit ticket prices', 'event_espresso' ),
679
+	__('Bulk edit ticket prices', 'event_espresso'),
680 680
 
681 681
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:18
682
-	__( 'Edit all prices together', 'event_espresso' ),
682
+	__('Edit all prices together', 'event_espresso'),
683 683
 
684 684
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:19
685
-	__( 'Edit all the selected ticket prices dynamically', 'event_espresso' ),
685
+	__('Edit all the selected ticket prices dynamically', 'event_espresso'),
686 686
 
687 687
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:23
688
-	__( 'Edit prices individually', 'event_espresso' ),
688
+	__('Edit prices individually', 'event_espresso'),
689 689
 
690 690
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/EditModeButtons.tsx:24
691
-	__( 'Edit prices for each ticket individually', 'event_espresso' ),
691
+	__('Edit prices for each ticket individually', 'event_espresso'),
692 692
 
693 693
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/buttons/FooterButtons.tsx:15
694 694
 	// Reference: packages/components/src/bulkEdit/details/Submit.tsx:45
695 695
 	// Reference: packages/form/src/ResetButton.tsx:17
696 696
 	// Reference: packages/tpc/src/buttons/useResetButtonProps.tsx:12
697
-	__( 'Reset', 'event_espresso' ),
697
+	__('Reset', 'event_espresso'),
698 698
 
699 699
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/bulkEdit/prices/editSeparately/TPCInstance.tsx:22
700
-	__( 'Edit prices for Ticket: %s', 'event_espresso' ),
700
+	__('Edit prices for Ticket: %s', 'event_espresso'),
701 701
 
702 702
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:38
703
-	__( 'Edit Ticket Sale Dates', 'event_espresso' ),
703
+	__('Edit Ticket Sale Dates', 'event_espresso'),
704 704
 
705 705
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketCardSidebar.tsx:40
706
-	__( 'edit ticket sales start and end dates', 'event_espresso' ),
706
+	__('edit ticket sales start and end dates', 'event_espresso'),
707 707
 
708 708
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketDetailsPanel.tsx:27
709
-	__( 'quantity', 'event_espresso' ),
709
+	__('quantity', 'event_espresso'),
710 710
 
711 711
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/cardView/TicketQuantity.tsx:26
712
-	__( 'edit quantity of tickets available...', 'event_espresso' ),
712
+	__('edit quantity of tickets available...', 'event_espresso'),
713 713
 
714 714
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:15
715 715
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:51
716
-	__( 'On Sale', 'event_espresso' ),
716
+	__('On Sale', 'event_espresso'),
717 717
 
718 718
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/config.ts:17
719
-	__( 'Pending', 'event_espresso' ),
719
+	__('Pending', 'event_espresso'),
720 720
 
721 721
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:32
722
-	__( 'set price...', 'event_espresso' ),
722
+	__('set price...', 'event_espresso'),
723 723
 
724 724
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/editable/EditablePrice.tsx:36
725
-	__( 'edit ticket total...', 'event_espresso' ),
725
+	__('edit ticket total...', 'event_espresso'),
726 726
 
727 727
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/ActiveTicketsFilters.tsx:24
728
-	__( 'ON', 'event_espresso' ),
728
+	__('ON', 'event_espresso'),
729 729
 
730 730
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:24
731
-	__( 'tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso' ),
731
+	__('tickets list is linked to dates list and is showing tickets for above dates only', 'event_espresso'),
732 732
 
733 733
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/IsChainedButton.tsx:25
734
-	__( 'tickets list is unlinked and is showing tickets for all event dates', 'event_espresso' ),
734
+	__('tickets list is unlinked and is showing tickets for all event dates', 'event_espresso'),
735 735
 
736 736
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:10
737
-	__( 'ticket sales start and end dates', 'event_espresso' ),
737
+	__('ticket sales start and end dates', 'event_espresso'),
738 738
 
739 739
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:15
740
-	__( 'tickets with 90% or more sold', 'event_espresso' ),
740
+	__('tickets with 90% or more sold', 'event_espresso'),
741 741
 
742 742
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:16
743
-	__( 'tickets with 75% or more sold', 'event_espresso' ),
743
+	__('tickets with 75% or more sold', 'event_espresso'),
744 744
 
745 745
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:17
746
-	__( 'tickets with 50% or more sold', 'event_espresso' ),
746
+	__('tickets with 50% or more sold', 'event_espresso'),
747 747
 
748 748
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:18
749
-	__( 'tickets with less than 50% sold', 'event_espresso' ),
749
+	__('tickets with less than 50% sold', 'event_espresso'),
750 750
 
751 751
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:27
752
-	__( 'all tickets for all dates', 'event_espresso' ),
752
+	__('all tickets for all dates', 'event_espresso'),
753 753
 
754 754
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:28
755
-	__( 'all on sale and sale pending', 'event_espresso' ),
755
+	__('all on sale and sale pending', 'event_espresso'),
756 756
 
757 757
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:29
758
-	__( 'on sale tickets only', 'event_espresso' ),
758
+	__('on sale tickets only', 'event_espresso'),
759 759
 
760 760
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:30
761
-	__( 'sale pending tickets only', 'event_espresso' ),
761
+	__('sale pending tickets only', 'event_espresso'),
762 762
 
763 763
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:31
764
-	__( 'next on sale or sale pending only', 'event_espresso' ),
764
+	__('next on sale or sale pending only', 'event_espresso'),
765 765
 
766 766
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:32
767
-	__( 'sold out tickets only', 'event_espresso' ),
767
+	__('sold out tickets only', 'event_espresso'),
768 768
 
769 769
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:33
770
-	__( 'expired tickets only', 'event_espresso' ),
770
+	__('expired tickets only', 'event_espresso'),
771 771
 
772 772
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:34
773
-	__( 'trashed tickets only', 'event_espresso' ),
773
+	__('trashed tickets only', 'event_espresso'),
774 774
 
775 775
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:39
776
-	__( 'all tickets for above dates', 'event_espresso' ),
776
+	__('all tickets for above dates', 'event_espresso'),
777 777
 
778 778
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:43
779
-	__( 'ticket sale date', 'event_espresso' ),
779
+	__('ticket sale date', 'event_espresso'),
780 780
 
781 781
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:44
782
-	__( 'ticket name', 'event_espresso' ),
782
+	__('ticket name', 'event_espresso'),
783 783
 
784 784
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:45
785
-	__( 'ticket ID', 'event_espresso' ),
785
+	__('ticket ID', 'event_espresso'),
786 786
 
787 787
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:52
788
-	__( 'link', 'event_espresso' ),
788
+	__('link', 'event_espresso'),
789 789
 
790 790
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:8
791
-	__( 'ticket sales start date only', 'event_espresso' ),
791
+	__('ticket sales start date only', 'event_espresso'),
792 792
 
793 793
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/filterBar/controls/options.ts:9
794
-	__( 'ticket sales end date only', 'event_espresso' ),
794
+	__('ticket sales end date only', 'event_espresso'),
795 795
 
796 796
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:19
797
-	__( 'Add New Ticket', 'event_espresso' ),
797
+	__('Add New Ticket', 'event_espresso'),
798 798
 
799 799
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:31
800
-	__( 'Single Ticket', 'event_espresso' ),
800
+	__('Single Ticket', 'event_espresso'),
801 801
 
802 802
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/newTicketOptions/AddSingleTicket.tsx:33
803
-	__( 'Add a single ticket and assign the dates to it', 'event_espresso' ),
803
+	__('Add a single ticket and assign the dates to it', 'event_espresso'),
804 804
 
805 805
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/TableView.tsx:34
806
-	__( 'Tickets', 'event_espresso' ),
806
+	__('Tickets', 'event_espresso'),
807 807
 
808 808
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:50
809
-	__( 'Goes on Sale', 'event_espresso' ),
809
+	__('Goes on Sale', 'event_espresso'),
810 810
 
811 811
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:61
812
-	__( 'Sale Ends', 'event_espresso' ),
812
+	__('Sale Ends', 'event_espresso'),
813 813
 
814 814
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:62
815
-	__( 'Ends', 'event_espresso' ),
815
+	__('Ends', 'event_espresso'),
816 816
 
817 817
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:71
818
-	__( 'Price', 'event_espresso' ),
818
+	__('Price', 'event_espresso'),
819 819
 
820 820
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:78
821
-	__( 'Quantity', 'event_espresso' ),
821
+	__('Quantity', 'event_espresso'),
822 822
 
823 823
 	// Reference: domains/eventEditor/src/ui/tickets/ticketsList/tableView/useHeaderRowGenerator.tsx:94
824
-	__( 'Registrations', 'event_espresso' ),
824
+	__('Registrations', 'event_espresso'),
825 825
 
826 826
 	// Reference: domains/wpPluginsPage/src/exitSurvey/Popup.tsx:28
827
-	__( 'Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso' ),
827
+	__('Do you have a moment to share why you are deactivating Event Espresso?', 'event_espresso'),
828 828
 
829 829
 	// Reference: domains/wpPluginsPage/src/exitSurvey/Popup.tsx:39
830
-	__( 'Skip', 'event_espresso' ),
830
+	__('Skip', 'event_espresso'),
831 831
 
832 832
 	// Reference: domains/wpPluginsPage/src/exitSurvey/Popup.tsx:41
833
-	__( 'Sure I\'ll help', 'event_espresso' ),
833
+	__('Sure I\'ll help', 'event_espresso'),
834 834
 
835 835
 	// Reference: packages/adapters/src/Steps/Steps.tsx:30
836
-	__( 'Steps', 'event_espresso' ),
836
+	__('Steps', 'event_espresso'),
837 837
 
838 838
 	// Reference: packages/components/src/ActiveFilters/ActiveFilters.tsx:8
839
-	__( 'active filters:', 'event_espresso' ),
839
+	__('active filters:', 'event_espresso'),
840 840
 
841 841
 	// Reference: packages/components/src/ActiveFilters/FilterTag.tsx:12
842
-	__( 'remove filter', 'event_espresso' ),
842
+	__('remove filter', 'event_espresso'),
843 843
 
844 844
 	// Reference: packages/components/src/CalendarDateRange/CalendarDateRange.tsx:39
845
-	__( 'to', 'event_espresso' ),
845
+	__('to', 'event_espresso'),
846 846
 
847 847
 	// Reference: packages/components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:29
848
-	__( 'starts', 'event_espresso' ),
848
+	__('starts', 'event_espresso'),
849 849
 
850 850
 	// Reference: packages/components/src/CalendarDateSwitcher/CalendarDateSwitcher.tsx:41
851
-	__( 'ends', 'event_espresso' ),
851
+	__('ends', 'event_espresso'),
852 852
 
853 853
 	// Reference: packages/components/src/CalendarPageDate/CalendarPageDate.tsx:57
854
-	__( 'TO', 'event_espresso' ),
854
+	__('TO', 'event_espresso'),
855 855
 
856 856
 	// Reference: packages/components/src/Confirm/ConfirmClose.tsx:8
857 857
 	// Reference: packages/components/src/Modal/ModalWithAlert.tsx:23
858
-	__( 'Are you sure you want to close this?', 'event_espresso' ),
858
+	__('Are you sure you want to close this?', 'event_espresso'),
859 859
 
860 860
 	// Reference: packages/components/src/Confirm/ConfirmDelete.tsx:8
861
-	__( 'Are you sure you want to delete this?', 'event_espresso' ),
861
+	__('Are you sure you want to delete this?', 'event_espresso'),
862 862
 
863 863
 	// Reference: packages/components/src/Confirm/useConfirmWithButton.tsx:11
864
-	__( 'Please confirm this action.', 'event_espresso' ),
864
+	__('Please confirm this action.', 'event_espresso'),
865 865
 
866 866
 	// Reference: packages/components/src/Confirm/useConfirmationDialog.tsx:35
867
-	__( 'No', 'event_espresso' ),
867
+	__('No', 'event_espresso'),
868 868
 
869 869
 	// Reference: packages/components/src/Confirm/useConfirmationDialog.tsx:36
870
-	__( 'Yes', 'event_espresso' ),
870
+	__('Yes', 'event_espresso'),
871 871
 
872 872
 	// Reference: packages/components/src/DateTimeRangePicker/index.tsx:33
873
-	__( 'save', 'event_espresso' ),
873
+	__('save', 'event_espresso'),
874 874
 
875 875
 	// Reference: packages/components/src/DebugInfo/DebugInfo.tsx:36
876
-	__( 'Hide Debug Info', 'event_espresso' ),
876
+	__('Hide Debug Info', 'event_espresso'),
877 877
 
878 878
 	// Reference: packages/components/src/DebugInfo/DebugInfo.tsx:36
879
-	__( 'Show Debug Info', 'event_espresso' ),
879
+	__('Show Debug Info', 'event_espresso'),
880 880
 
881 881
 	// Reference: packages/components/src/EditDateRangeButton/index.tsx:41
882
-	__( 'Edit Start and End Dates and Times', 'event_espresso' ),
882
+	__('Edit Start and End Dates and Times', 'event_espresso'),
883 883
 
884 884
 	// Reference: packages/components/src/EntityActionsMenu/entityMenuItems/Copy.tsx:9
885
-	__( 'copy', 'event_espresso' ),
885
+	__('copy', 'event_espresso'),
886 886
 
887 887
 	// Reference: packages/components/src/EntityActionsMenu/entityMenuItems/Edit.tsx:9
888
-	__( 'edit', 'event_espresso' ),
888
+	__('edit', 'event_espresso'),
889 889
 
890 890
 	// Reference: packages/components/src/EntityActionsMenu/entityMenuItems/Trash.tsx:9
891
-	__( 'trash', 'event_espresso' ),
891
+	__('trash', 'event_espresso'),
892 892
 
893 893
 	// Reference: packages/components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:31
894
-	__( 'view approved registrations for this date.', 'event_espresso' ),
894
+	__('view approved registrations for this date.', 'event_espresso'),
895 895
 
896 896
 	// Reference: packages/components/src/EntityDetailsPanel/EntityDetailsPanelSold.tsx:32
897
-	__( 'view approved registrations for this ticket.', 'event_espresso' ),
897
+	__('view approved registrations for this ticket.', 'event_espresso'),
898 898
 
899 899
 	// Reference: packages/components/src/EntityList/EntityList.tsx:39
900
-	__( 'no results found', 'event_espresso' ),
900
+	__('no results found', 'event_espresso'),
901 901
 
902 902
 	// Reference: packages/components/src/EntityList/EntityList.tsx:40
903
-	__( 'try changing filter settings', 'event_espresso' ),
903
+	__('try changing filter settings', 'event_espresso'),
904 904
 
905 905
 	// Reference: packages/components/src/EntityList/filterBar/buttons/CardViewFilterButton.tsx:23
906
-	__( 'card view', 'event_espresso' ),
906
+	__('card view', 'event_espresso'),
907 907
 
908 908
 	// Reference: packages/components/src/EntityList/filterBar/buttons/TableViewFilterButton.tsx:24
909
-	__( 'table view', 'event_espresso' ),
909
+	__('table view', 'event_espresso'),
910 910
 
911 911
 	// Reference: packages/components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:12
912
-	__( 'hide filters', 'event_espresso' ),
912
+	__('hide filters', 'event_espresso'),
913 913
 
914 914
 	// Reference: packages/components/src/EntityList/filterBar/buttons/ToggleFiltersButton.tsx:12
915
-	__( 'show filters', 'event_espresso' ),
915
+	__('show filters', 'event_espresso'),
916 916
 
917 917
 	// Reference: packages/components/src/EntityList/filterBar/buttons/ToggleSortingButton.tsx:29
918
-	__( 'disable sorting', 'event_espresso' ),
918
+	__('disable sorting', 'event_espresso'),
919 919
 
920 920
 	// Reference: packages/components/src/EntityList/filterBar/buttons/ToggleSortingButton.tsx:29
921
-	__( 'enable sorting', 'event_espresso' ),
921
+	__('enable sorting', 'event_espresso'),
922 922
 
923 923
 	// Reference: packages/components/src/Legend/ToggleLegendButton.tsx:28
924
-	__( 'hide legend', 'event_espresso' ),
924
+	__('hide legend', 'event_espresso'),
925 925
 
926 926
 	// Reference: packages/components/src/Legend/ToggleLegendButton.tsx:28
927
-	__( 'show legend', 'event_espresso' ),
927
+	__('show legend', 'event_espresso'),
928 928
 
929 929
 	// Reference: packages/components/src/LoadingIndicator/LoadingIndicator.tsx:7
930
-	__( 'loading ...', 'event_espresso' ),
930
+	__('loading ...', 'event_espresso'),
931 931
 
932 932
 	// Reference: packages/components/src/PriceTypeSign/PercentSign.tsx:11
933
-	__( '%', 'event_espresso' ),
933
+	__('%', 'event_espresso'),
934 934
 
935 935
 	// Reference: packages/components/src/Stepper/buttons/Next.tsx:12
936
-	__( 'Next', 'event_espresso' ),
936
+	__('Next', 'event_espresso'),
937 937
 
938 938
 	// Reference: packages/components/src/Stepper/buttons/Previous.tsx:12
939
-	__( 'Previous', 'event_espresso' ),
939
+	__('Previous', 'event_espresso'),
940 940
 
941 941
 	// Reference: packages/components/src/TabbableText/index.tsx:12
942
-	__( 'Click to edit...', 'event_espresso' ),
942
+	__('Click to edit...', 'event_espresso'),
943 943
 
944 944
 	// Reference: packages/components/src/TimezoneTimeInfo/Content.tsx:16
945
-	__( 'Your Local Time Zone', 'event_espresso' ),
945
+	__('Your Local Time Zone', 'event_espresso'),
946 946
 
947 947
 	// Reference: packages/components/src/TimezoneTimeInfo/Content.tsx:21
948
-	__( 'The Website\'s Time Zone', 'event_espresso' ),
948
+	__('The Website\'s Time Zone', 'event_espresso'),
949 949
 
950 950
 	// Reference: packages/components/src/TimezoneTimeInfo/Content.tsx:26
951
-	__( 'UTC (Greenwich Mean Time)', 'event_espresso' ),
951
+	__('UTC (Greenwich Mean Time)', 'event_espresso'),
952 952
 
953 953
 	// Reference: packages/components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:23
954
-	__( 'This Date Converted To:', 'event_espresso' ),
954
+	__('This Date Converted To:', 'event_espresso'),
955 955
 
956 956
 	// Reference: packages/components/src/TimezoneTimeInfo/TimezoneTimeInfo.tsx:24
957
-	__( 'click for timezone
958
-information', 'event_espresso' ),
957
+	__('click for timezone
958
+information', 'event_espresso'),
959 959
 
960 960
 	// Reference: packages/components/src/bulkEdit/ActionCheckbox.tsx:40
961
-	__( 'select entity', 'event_espresso' ),
961
+	__('select entity', 'event_espresso'),
962 962
 
963 963
 	// Reference: packages/components/src/bulkEdit/BulkActions.tsx:51
964
-	__( 'select all', 'event_espresso' ),
964
+	__('select all', 'event_espresso'),
965 965
 
966 966
 	// Reference: packages/components/src/bulkEdit/BulkActions.tsx:53
967
-	__( 'apply', 'event_espresso' ),
967
+	__('apply', 'event_espresso'),
968 968
 
969 969
 	// Reference: packages/components/src/bulkEdit/details/BulkEditDetailsProps.tsx:22
970
-	__( 'Note: ', 'event_espresso' ),
970
+	__('Note: ', 'event_espresso'),
971 971
 
972 972
 	// Reference: packages/components/src/bulkEdit/details/BulkEditDetailsProps.tsx:22
973
-	__( 'any changes will be applied to ALL of the selected entities.', 'event_espresso' ),
973
+	__('any changes will be applied to ALL of the selected entities.', 'event_espresso'),
974 974
 
975 975
 	// Reference: packages/components/src/bulkEdit/details/BulkEditDetailsProps.tsx:28
976
-	__( 'Bulk edit details', 'event_espresso' ),
976
+	__('Bulk edit details', 'event_espresso'),
977 977
 
978 978
 	// Reference: packages/components/src/bulkEdit/details/Submit.tsx:28
979
-	__( 'Are you sure you want to bulk update the details?', 'event_espresso' ),
979
+	__('Are you sure you want to bulk update the details?', 'event_espresso'),
980 980
 
981 981
 	// Reference: packages/components/src/bulkEdit/details/Submit.tsx:29
982
-	__( 'Bulk update details', 'event_espresso' ),
982
+	__('Bulk update details', 'event_espresso'),
983 983
 
984 984
 	// Reference: packages/dates/src/DateRangePicker.tsx:66
985 985
 	// Reference: packages/dates/src/DateRangePickerLegend.tsx:18
986
-	__( 'end date', 'event_espresso' ),
986
+	__('end date', 'event_espresso'),
987 987
 
988 988
 	// Reference: packages/dates/src/DateRangePickerLegend.tsx:14
989
-	__( 'day in range', 'event_espresso' ),
989
+	__('day in range', 'event_espresso'),
990 990
 
991 991
 	// Reference: packages/dates/src/DateTimePicker.tsx:9
992 992
 	// Reference: packages/dates/src/TimePicker.tsx:13
993
-	__( 'time', 'event_espresso' ),
993
+	__('time', 'event_espresso'),
994 994
 
995 995
 	// Reference: packages/dates/src/utils/misc.ts:13
996
-	__( 'month(s)', 'event_espresso' ),
996
+	__('month(s)', 'event_espresso'),
997 997
 
998 998
 	// Reference: packages/dates/src/utils/misc.ts:14
999
-	__( 'week(s)', 'event_espresso' ),
999
+	__('week(s)', 'event_espresso'),
1000 1000
 
1001 1001
 	// Reference: packages/dates/src/utils/misc.ts:15
1002
-	__( 'day(s)', 'event_espresso' ),
1002
+	__('day(s)', 'event_espresso'),
1003 1003
 
1004 1004
 	// Reference: packages/dates/src/utils/misc.ts:16
1005
-	__( 'hour(s)', 'event_espresso' ),
1005
+	__('hour(s)', 'event_espresso'),
1006 1006
 
1007 1007
 	// Reference: packages/dates/src/utils/misc.ts:17
1008
-	__( 'minute(s)', 'event_espresso' ),
1008
+	__('minute(s)', 'event_espresso'),
1009 1009
 
1010 1010
 	// Reference: packages/edtr-services/src/apollo/queries/datetimes/useFetchDatetimes.ts:25
1011
-	__( 'datetimes initialized', 'event_espresso' ),
1011
+	__('datetimes initialized', 'event_espresso'),
1012 1012
 
1013 1013
 	// Reference: packages/edtr-services/src/apollo/queries/datetimes/useFetchDatetimes.ts:37
1014
-	__( 'initializing datetimes', 'event_espresso' ),
1014
+	__('initializing datetimes', 'event_espresso'),
1015 1015
 
1016 1016
 	// Reference: packages/edtr-services/src/apollo/queries/priceTypes/useFetchPriceTypes.ts:25
1017
-	__( 'price types initialized', 'event_espresso' ),
1017
+	__('price types initialized', 'event_espresso'),
1018 1018
 
1019 1019
 	// Reference: packages/edtr-services/src/apollo/queries/priceTypes/useFetchPriceTypes.ts:36
1020
-	__( 'initializing  price types', 'event_espresso' ),
1020
+	__('initializing  price types', 'event_espresso'),
1021 1021
 
1022 1022
 	// Reference: packages/edtr-services/src/apollo/queries/prices/useFetchPrices.ts:35
1023
-	__( 'prices initialized', 'event_espresso' ),
1023
+	__('prices initialized', 'event_espresso'),
1024 1024
 
1025 1025
 	// Reference: packages/edtr-services/src/apollo/queries/prices/useFetchPrices.ts:65
1026
-	__( 'initializing prices', 'event_espresso' ),
1026
+	__('initializing prices', 'event_espresso'),
1027 1027
 
1028 1028
 	// Reference: packages/edtr-services/src/apollo/queries/tickets/useFetchTickets.ts:31
1029
-	__( 'tickets initialized', 'event_espresso' ),
1029
+	__('tickets initialized', 'event_espresso'),
1030 1030
 
1031 1031
 	// Reference: packages/edtr-services/src/apollo/queries/tickets/useFetchTickets.ts:42
1032
-	__( 'initializing tickets', 'event_espresso' ),
1032
+	__('initializing tickets', 'event_espresso'),
1033 1033
 
1034 1034
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:11
1035
-	__( 'Start Date is required', 'event_espresso' ),
1035
+	__('Start Date is required', 'event_espresso'),
1036 1036
 
1037 1037
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:15
1038
-	__( 'End Date is required', 'event_espresso' ),
1038
+	__('End Date is required', 'event_espresso'),
1039 1039
 
1040 1040
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:5
1041
-	__( 'End Date & Time must be set later than the Start Date & Time', 'event_espresso' ),
1041
+	__('End Date & Time must be set later than the Start Date & Time', 'event_espresso'),
1042 1042
 
1043 1043
 	// Reference: packages/edtr-services/src/utils/dateAndTime.ts:6
1044
-	__( 'Required', 'event_espresso' ),
1044
+	__('Required', 'event_espresso'),
1045 1045
 
1046 1046
 	// Reference: packages/form/src/renderers/RepeatableRenderer.tsx:33
1047
-	__( 'Entry %d', 'event_espresso' ),
1047
+	__('Entry %d', 'event_espresso'),
1048 1048
 
1049 1049
 	// Reference: packages/form/src/renderers/RepeatableRenderer.tsx:47
1050
-	__( 'Add', 'event_espresso' ),
1050
+	__('Add', 'event_espresso'),
1051 1051
 
1052 1052
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:11
1053 1053
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:17
1054
-	__( 'sold out', 'event_espresso' ),
1054
+	__('sold out', 'event_espresso'),
1055 1055
 
1056 1056
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:14
1057 1057
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:14
1058
-	__( 'expired', 'event_espresso' ),
1058
+	__('expired', 'event_espresso'),
1059 1059
 
1060 1060
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:17
1061
-	__( 'upcoming', 'event_espresso' ),
1061
+	__('upcoming', 'event_espresso'),
1062 1062
 
1063 1063
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:20
1064
-	__( 'active', 'event_espresso' ),
1064
+	__('active', 'event_espresso'),
1065 1065
 
1066 1066
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:23
1067 1067
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:11
1068
-	__( 'trashed', 'event_espresso' ),
1068
+	__('trashed', 'event_espresso'),
1069 1069
 
1070 1070
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:26
1071
-	__( 'cancelled', 'event_espresso' ),
1071
+	__('cancelled', 'event_espresso'),
1072 1072
 
1073 1073
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:29
1074
-	__( 'postponed', 'event_espresso' ),
1074
+	__('postponed', 'event_espresso'),
1075 1075
 
1076 1076
 	// Reference: packages/helpers/src/datetimes/getStatusTextLabel.ts:33
1077
-	__( 'inactive', 'event_espresso' ),
1077
+	__('inactive', 'event_espresso'),
1078 1078
 
1079 1079
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:20
1080
-	__( 'pending', 'event_espresso' ),
1080
+	__('pending', 'event_espresso'),
1081 1081
 
1082 1082
 	// Reference: packages/helpers/src/tickets/getStatusTextLabel.ts:23
1083
-	__( 'on sale', 'event_espresso' ),
1083
+	__('on sale', 'event_espresso'),
1084 1084
 
1085 1085
 	// Reference: packages/predicates/src/registration/statusOptions.ts:10
1086
-	__( 'Cancelled', 'event_espresso' ),
1086
+	__('Cancelled', 'event_espresso'),
1087 1087
 
1088 1088
 	// Reference: packages/predicates/src/registration/statusOptions.ts:14
1089
-	__( 'Declined', 'event_espresso' ),
1089
+	__('Declined', 'event_espresso'),
1090 1090
 
1091 1091
 	// Reference: packages/predicates/src/registration/statusOptions.ts:18
1092
-	__( 'Incomplete', 'event_espresso' ),
1092
+	__('Incomplete', 'event_espresso'),
1093 1093
 
1094 1094
 	// Reference: packages/predicates/src/registration/statusOptions.ts:22
1095
-	__( 'Not Approved', 'event_espresso' ),
1095
+	__('Not Approved', 'event_espresso'),
1096 1096
 
1097 1097
 	// Reference: packages/predicates/src/registration/statusOptions.ts:26
1098
-	__( 'Pending Payment', 'event_espresso' ),
1098
+	__('Pending Payment', 'event_espresso'),
1099 1099
 
1100 1100
 	// Reference: packages/predicates/src/registration/statusOptions.ts:30
1101
-	__( 'Wait List', 'event_espresso' ),
1101
+	__('Wait List', 'event_espresso'),
1102 1102
 
1103 1103
 	// Reference: packages/predicates/src/registration/statusOptions.ts:6
1104
-	__( 'Approved', 'event_espresso' ),
1104
+	__('Approved', 'event_espresso'),
1105 1105
 
1106 1106
 	// Reference: packages/rich-text-editor/src/components/ToolbarControls/HeadingControls.tsx:23
1107
-	__( 'heading selector', 'event_espresso' ),
1107
+	__('heading selector', 'event_espresso'),
1108 1108
 
1109 1109
 	// Reference: packages/tpc/src/buttons/AddPriceModifierButton.tsx:15
1110
-	__( 'add new price modifier after this row', 'event_espresso' ),
1110
+	__('add new price modifier after this row', 'event_espresso'),
1111 1111
 
1112 1112
 	// Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:13
1113
-	__( 'Delete all prices', 'event_espresso' ),
1113
+	__('Delete all prices', 'event_espresso'),
1114 1114
 
1115 1115
 	// Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:26
1116
-	__( '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' ),
1116
+	__('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'),
1117 1117
 
1118 1118
 	// Reference: packages/tpc/src/buttons/DeleteAllPricesButton.tsx:30
1119
-	__( 'Delete all prices?', 'event_espresso' ),
1119
+	__('Delete all prices?', 'event_espresso'),
1120 1120
 
1121 1121
 	// Reference: packages/tpc/src/buttons/DeletePriceModifierButton.tsx:12
1122
-	__( 'delete price modifier', 'event_espresso' ),
1122
+	__('delete price modifier', 'event_espresso'),
1123 1123
 
1124 1124
 	// Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:15
1125
-	__( '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' ),
1125
+	__('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'),
1126 1126
 
1127 1127
 	// Reference: packages/tpc/src/buttons/ReverseCalculateButton.tsx:18
1128
-	__( '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' ),
1128
+	__('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'),
1129 1129
 
1130 1130
 	// Reference: packages/tpc/src/buttons/TicketPriceCalculatorButton.tsx:30
1131
-	__( 'ticket price calculator', 'event_espresso' ),
1131
+	__('ticket price calculator', 'event_espresso'),
1132 1132
 
1133 1133
 	// Reference: packages/tpc/src/buttons/taxes/AddDefaultTaxesButton.tsx:10
1134 1134
 	// Reference: packages/tpc/src/components/DefaultTaxesInfo.tsx:30
1135
-	__( 'Add default taxes', 'event_espresso' ),
1135
+	__('Add default taxes', 'event_espresso'),
1136 1136
 
1137 1137
 	// Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:11
1138
-	__( 'Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso' ),
1138
+	__('Are you sure you want to remove all of this ticket\'s taxes?', 'event_espresso'),
1139 1139
 
1140 1140
 	// Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:15
1141
-	__( 'Remove all taxes?', 'event_espresso' ),
1141
+	__('Remove all taxes?', 'event_espresso'),
1142 1142
 
1143 1143
 	// Reference: packages/tpc/src/buttons/taxes/RemoveTaxesButton.tsx:8
1144
-	__( 'Remove taxes', 'event_espresso' ),
1144
+	__('Remove taxes', 'event_espresso'),
1145 1145
 
1146 1146
 	// Reference: packages/tpc/src/components/DefaultPricesInfo.tsx:28
1147
-	__( 'Modify default prices.', 'event_espresso' ),
1147
+	__('Modify default prices.', 'event_espresso'),
1148 1148
 
1149 1149
 	// Reference: packages/tpc/src/components/DefaultTaxesInfo.tsx:29
1150
-	__( 'New default taxes are available. Click the "%s" button to add them now.', 'event_espresso' ),
1150
+	__('New default taxes are available. Click the "%s" button to add them now.', 'event_espresso'),
1151 1151
 
1152 1152
 	// Reference: packages/tpc/src/components/NoPricesBanner/AddDefaultPricesButton.tsx:10
1153
-	__( 'Add default prices', 'event_espresso' ),
1153
+	__('Add default prices', 'event_espresso'),
1154 1154
 
1155 1155
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:14
1156
-	__( 'This Ticket is Currently Free', 'event_espresso' ),
1156
+	__('This Ticket is Currently Free', 'event_espresso'),
1157 1157
 
1158 1158
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:22
1159 1159
 	/* translators: %s default prices */
1160
-	__( 'Click the button below to load your %s into the calculator.', 'event_espresso' ),
1160
+	__('Click the button below to load your %s into the calculator.', 'event_espresso'),
1161 1161
 
1162 1162
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:23
1163
-	__( 'default prices', 'event_espresso' ),
1163
+	__('default prices', 'event_espresso'),
1164 1164
 
1165 1165
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:30
1166
-	__( 'Additional ticket price modifiers can be added or removed.', 'event_espresso' ),
1166
+	__('Additional ticket price modifiers can be added or removed.', 'event_espresso'),
1167 1167
 
1168 1168
 	// Reference: packages/tpc/src/components/NoPricesBanner/index.tsx:33
1169
-	__( 'Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso' ),
1169
+	__('Click the save button below to assign which dates this ticket will be available for purchase on.', 'event_espresso'),
1170 1170
 
1171 1171
 	// Reference: packages/tpc/src/components/TicketPriceCalculatorModal.tsx:31
1172
-	__( 'Price Calculator for Ticket: %s', 'event_espresso' ),
1172
+	__('Price Calculator for Ticket: %s', 'event_espresso'),
1173 1173
 
1174 1174
 	// Reference: packages/tpc/src/components/table/Table.tsx:44
1175
-	__( 'Ticket Price Calculator', 'event_espresso' ),
1175
+	__('Ticket Price Calculator', 'event_espresso'),
1176 1176
 
1177 1177
 	// Reference: packages/tpc/src/components/table/useFooterRowGenerator.tsx:42
1178
-	__( 'Total', 'event_espresso' ),
1178
+	__('Total', 'event_espresso'),
1179 1179
 
1180 1180
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:28
1181
-	__( 'Price Type', 'event_espresso' ),
1181
+	__('Price Type', 'event_espresso'),
1182 1182
 
1183 1183
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:34
1184
-	__( 'Label', 'event_espresso' ),
1184
+	__('Label', 'event_espresso'),
1185 1185
 
1186 1186
 	// Reference: packages/tpc/src/components/table/useHeaderRowGenerator.ts:46
1187
-	__( 'Amount', 'event_espresso' ),
1187
+	__('Amount', 'event_espresso'),
1188 1188
 
1189 1189
 	// Reference: packages/tpc/src/inputs/PriceAmountInput.tsx:44
1190
-	__( 'amount...', 'event_espresso' ),
1190
+	__('amount...', 'event_espresso'),
1191 1191
 
1192 1192
 	// Reference: packages/tpc/src/inputs/PriceDescriptionInput.tsx:14
1193
-	__( 'description...', 'event_espresso' ),
1193
+	__('description...', 'event_espresso'),
1194 1194
 
1195 1195
 	// Reference: packages/tpc/src/inputs/PriceNameInput.tsx:14
1196
-	__( 'label...', 'event_espresso' ),
1196
+	__('label...', 'event_espresso'),
1197 1197
 
1198 1198
 	// Reference: packages/components/src/LoadingNotice/LoadingNotice.tsx:17
1199
-	_x( 'loading%s', 'loading...', 'event_espresso' )
1199
+	_x('loading%s', 'loading...', 'event_espresso')
1200 1200
 );
1201 1201
 /* THIS IS THE END OF THE GENERATED FILE */
Please login to merge, or discard this patch.