Changeset 3831477
- Timestamp:
- 11/28/2026 01:22:59 PM (17 hours ago)
- Location:
- evenzo-events-manager/trunk
- Files:
-
- 9 added
- 30 edited
-
assets/css/emwc-my-account.css (modified) (1 diff)
-
assets/js/admin.js (modified) (1 diff)
-
assets/js/emwc-my-account.js (modified) (1 diff)
-
evenzo-events-manager.php (modified) (2 diffs)
-
includes/admin/class-emwc-admin-attendees.php (modified) (6 diffs)
-
includes/admin/class-emwc-admin-meta-boxes.php (modified) (4 diffs)
-
includes/admin/class-emwc-admin-settings.php (modified) (3 diffs)
-
includes/admin/class-emwc-admin.php (modified) (2 diffs)
-
includes/api/class-emwc-rest-attendees-controller.php (modified) (1 diff)
-
includes/class-emwc-deactivator.php (modified) (1 diff)
-
includes/class-emwc-schema.php (modified) (1 diff)
-
includes/class-emwc.php (modified) (2 diffs)
-
includes/core/class-emwc-ticket-cancellation.php (added)
-
includes/core/class-emwc-ticket-transfer.php (added)
-
includes/emails/class-emwc-email-admin-ticket-cancelled.php (added)
-
includes/emails/class-emwc-email-event-update.php (modified) (2 diffs)
-
includes/emails/class-emwc-email-ticket-cancelled.php (added)
-
includes/emails/class-emwc-emails.php (modified) (8 diffs)
-
includes/import/tec/class-emwc-tec-importer.php (modified) (1 diff)
-
includes/pdf/class-emwc-pdf-ticket.php (modified) (1 diff)
-
includes/waitlist/class-emwc-pricing.php (modified) (6 diffs)
-
includes/waitlist/class-emwc-waitlist.php (modified) (4 diffs)
-
includes/woocommerce/class-emwc-guest-claim.php (added)
-
includes/woocommerce/class-emwc-recurring-tickets.php (modified) (10 diffs)
-
includes/woocommerce/class-emwc-wc-integration.php (modified) (23 diffs)
-
includes/woocommerce/class-emwc-wc-my-account.php (modified) (7 diffs)
-
includes/woocommerce/class-emwc-wc-order.php (modified) (3 diffs)
-
languages/evenzo-events-manager.pot (modified) (128 diffs)
-
readme.txt (modified) (4 diffs)
-
templates/emails/admin-ticket-cancelled.php (added)
-
templates/emails/plain/admin-ticket-cancelled.php (added)
-
templates/emails/plain/registration-confirmation.php (modified) (1 diff)
-
templates/emails/plain/ticket-cancelled.php (added)
-
templates/emails/plain/ticket-delivery.php (modified) (1 diff)
-
templates/emails/registration-confirmation.php (modified) (1 diff)
-
templates/emails/ticket-cancelled.php (added)
-
templates/emails/ticket-delivery.php (modified) (1 diff)
-
templates/single-emwc_event.php (modified) (5 diffs)
-
uninstall.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
evenzo-events-manager/trunk/assets/css/emwc-my-account.css
r3520666 r3831477 16 16 padding: 5px 10px; 17 17 font-size: 12px; 18 } 19 20 .emwc-transfer-ticket { 21 display: flex; 22 flex-direction: column; 23 gap: 6px; 24 align-items: flex-start; 25 } 26 27 .emwc-transfer-ticket-form[hidden] { 28 display: none; 29 } 30 31 .emwc-transfer-ticket-form p { 32 margin: 0 0 8px; 33 } 34 35 .emwc-transfer-ticket-form label { 36 display: block; 37 font-size: 12px; 38 margin-bottom: 2px; 39 } 40 41 .emwc-transfer-ticket-form input[type="text"], 42 .emwc-transfer-ticket-form input[type="email"] { 43 width: 100%; 44 min-width: 180px; 18 45 } 19 46 -
evenzo-events-manager/trunk/assets/js/admin.js
r3807738 r3831477 403 403 $( '#emwc_event_data .emwc-sales-end-fields' ).toggle( ! isSeries ); 404 404 $( '#emwc_event_data .emwc-series-sales-note' ).prop( 'hidden', ! isSeries ); 405 } ); 406 407 // Fixed dates or a window relative to the event start. 408 $( document ).on( 'change', '#_emwc_sales_window', function() { 409 const relative = 'relative' === $( this ).val(); 410 $( '#emwc_event_data .emwc-sales-fixed-fields' ).prop( 'hidden', relative ); 411 $( '#emwc_event_data .emwc-sales-relative-fields' ).prop( 'hidden', ! relative ); 412 } ); 413 414 // The same choice on each variation. 415 $( document ).on( 'change', '.emwc-var-sales-window', function() { 416 const relative = 'relative' === $( this ).val(); 417 const $box = $( this ).closest( '.emwc-var-ticket-fields' ); 418 $box.find( '.emwc-var-sales-fixed' ).prop( 'hidden', relative ); 419 $box.find( '.emwc-var-sales-relative' ).prop( 'hidden', ! relative ); 405 420 } ); 406 421 -
evenzo-events-manager/trunk/assets/js/emwc-my-account.js
r3520666 r3831477 1 (function() { 2 document.querySelectorAll('.emwc-cancel-ticket-form, .emwc-transfer-ticket-form').forEach(function(form) { 3 form.addEventListener('submit', function(e) { 4 if (!window.confirm(form.dataset.confirm)) { 5 e.preventDefault(); 6 } 7 }); 8 }); 9 10 document.querySelectorAll('.emwc-transfer-toggle').forEach(function(button) { 11 button.addEventListener('click', function() { 12 var form = document.getElementById(button.getAttribute('aria-controls')); 13 if (!form) return; 14 var open = form.hidden; 15 form.hidden = !open; 16 button.setAttribute('aria-expanded', open ? 'true' : 'false'); 17 if (open) { 18 var first = form.querySelector('input'); 19 if (first) first.focus(); 20 } 21 }); 22 }); 23 })(); 24 1 25 (function() { 2 26 var modal = document.getElementById('emwc-qr-modal'); -
evenzo-events-manager/trunk/evenzo-events-manager.php
r3829439 r3831477 4 4 * Plugin URI: https://themology.com/products/event-tickets-for-woocommerce/ 5 5 * Description: Create and manage events with WooCommerce. Sell tickets, manage attendees, scan QR codes at check-in, print PDF tickets, and display events with calendar views and blocks. 6 * Version: 1. 1.76 * Version: 1.2.0 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 7.4 … … 31 31 * @since 1.0.0 32 32 */ 33 define( 'EMWC_VERSION', '1. 1.7' );33 define( 'EMWC_VERSION', '1.2.0' ); 34 34 35 35 /** -
evenzo-events-manager/trunk/includes/admin/class-emwc-admin-attendees.php
r3815280 r3831477 291 291 'emwc_seat_invalid' => __( 'Not moved: that seat is not part of the seating chart.', 'evenzo-events-manager' ), 292 292 'emwc_reactivate_full' => __( 'Not reactivated: the event is full. Places held by orders waiting for payment count too. Free a place or raise the capacity, then try again.', 'evenzo-events-manager' ), 293 'emwc_reactivate_changed' => __( 'Not reactivated: the ticket changed in the meantime. Reload the page and try again.', 'evenzo-events-manager' ), 293 294 ); 294 295 return isset( $messages[ $code ] ) ? $messages[ $code ] : __( 'Something went wrong. Try again.', 'evenzo-events-manager' ); … … 337 338 338 339 $ids = array_filter( array_map( 'absint', wp_unslash( $_GET['attendee'] ) ) ); 339 $count = 0; 340 $count = self::run_bulk_action( $action, $ids ); 341 342 $redirect = add_query_arg( 343 array( 344 'page' => 'emwc-attendees', 345 'bulk_action' => $action, 346 'bulk_count' => $count, 347 'event_id' => isset( $_GET['event_id'] ) ? absint( $_GET['event_id'] ) : 0, 348 ), 349 admin_url( 'admin.php' ) 350 ); 351 wp_safe_redirect( $redirect ); 352 exit; 353 } 354 355 /** 356 * Run one bulk action on attendees. 357 * 358 * A bulk delete is silent: it sends no cancellation email. A bulk cancel doesn't email inside the 359 * request either; the emails are queued and go out in batches. 360 * 361 * @since 1.2.0 362 * 363 * @param string $action checkin, checkout, cancel or delete. 364 * @param int[] $ids Attendee IDs. 365 * @return int Attendees the action applied to. 366 */ 367 public static function run_bulk_action( $action, array $ids ) { 368 $count = 0; 369 $cancelled = array(); 340 370 341 371 foreach ( $ids as $attendee_id ) { … … 357 387 break; 358 388 case 'cancel': 359 if ( self::cancel_attendee( $attendee ) ) { 389 if ( self::cancel_attendee( $attendee, array( 'skip_emails' => true ) ) ) { 390 $cancelled[] = $attendee->get_id(); 360 391 ++$count; 361 392 } 362 393 break; 363 394 case 'delete': 364 self::cancel_attendee( $attendee );395 self::cancel_attendee( $attendee, array( 'skip_emails' => true ) ); 365 396 $attendee->delete(); 366 397 ++$count; … … 369 400 } 370 401 371 $redirect = add_query_arg( 372 array( 373 'page' => 'emwc-attendees', 374 'bulk_action' => $action, 375 'bulk_count' => $count, 376 'event_id' => isset( $_GET['event_id'] ) ? absint( $_GET['event_id'] ) : 0, 377 ), 378 admin_url( 'admin.php' ) 379 ); 380 wp_safe_redirect( $redirect ); 381 exit; 402 if ( $cancelled && class_exists( 'EMWC_Emails' ) ) { 403 EMWC_Emails::queue_ticket_cancelled_emails( $cancelled ); 404 } 405 406 return $count; 382 407 } 383 408 … … 388 413 * 389 414 * @param EMWC_Attendee $attendee Attendee object. 415 * @param array $context Extra cancel context, such as `skip_emails`. 390 416 * @return bool True when the ticket was cancelled. 391 417 */ 392 public static function cancel_attendee( $attendee ) { 393 if ( ! $attendee->get_id() || 'cancelled' === $attendee->get( 'status' ) ) { 394 return false; 395 } 396 397 $attendee_id = $attendee->get_id(); 398 $attendee->set( 'status', 'cancelled' ); 399 $attendee->save(); 400 401 if ( 'yes' === get_option( 'emwc_enable_seating_charts', 'no' ) && class_exists( 'EMWC_Seating' ) ) { 402 EMWC_Seating::release_attendee_seat( $attendee_id ); 403 } 404 405 do_action( 'emwc_ticket_cancelled', $attendee_id, $attendee ); 406 407 return true; 418 public static function cancel_attendee( $attendee, array $context = array() ) { 419 return true === EMWC_Ticket_Cancellation::cancel( $attendee, array_merge( $context, array( 'by' => 'admin' ) ) ); 408 420 } 409 421 … … 1102 1114 $attendee = new EMWC_Attendee( $attendee_id ); 1103 1115 if ( $attendee->get_id() && 'cancelled' === $attendee->get( 'status' ) ) { 1104 // The freed place may have gone to someone else, so a full event keeps the ticket cancelled.1105 if ( class_exists( 'EMWC_WC_Integration' ) && EMWC_WC_Integration::is_event_at_capacity( absint( $attendee->get( 'event_id' ) )) ) {1106 wp_safe_redirect( admin_url( 'admin.php?page=emwc-attendees&attendee_id=' . $attendee_id . '&emwc_error= emwc_reactivate_full') );1116 $result = EMWC_Ticket_Cancellation::reactivate( $attendee ); 1117 if ( is_wp_error( $result ) ) { 1118 wp_safe_redirect( admin_url( 'admin.php?page=emwc-attendees&attendee_id=' . $attendee_id . '&emwc_error=' . rawurlencode( $result->get_error_code() ) ) ); 1107 1119 exit; 1108 1120 } 1109 1110 $attendee->set( 'status', 'active' );1111 $attendee->save();1112 1113 do_action( 'emwc_ticket_reactivated', $attendee_id, $attendee );1114 1121 1115 1122 wp_safe_redirect( admin_url( 'admin.php?page=emwc-attendees&attendee_id=' . $attendee_id . '&reactivated=1' ) ); -
evenzo-events-manager/trunk/includes/admin/class-emwc-admin-meta-boxes.php
r3716241 r3831477 64 64 // Ticket configuration meta box (only if WooCommerce is active). 65 65 if ( class_exists( 'WooCommerce' ) ) { 66 add_meta_box( 67 'emwc-event-notify', 68 __( 'Notify ticket holders', 'evenzo-events-manager' ), 69 array( __CLASS__, 'render_event_notify_meta_box' ), 70 'emwc_event', 71 'side', 72 'default' 73 ); 74 66 75 add_meta_box( 67 76 'emwc-event-tickets', … … 982 991 $old_copied_meta = EMWC_Recurrence::get_parent_snapshot( $post_id ); 983 992 993 $old_schedule = self::get_schedule_snapshot( $post_id ); 994 $old_series = ! empty( $_POST['emwc_notify_holders'] ) ? self::get_series_snapshots( $post_id ) : array(); // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce checked at the top of this method. 995 984 996 $event->save( $data ); 997 998 self::maybe_notify_ticket_holders( $post_id, $post, $old_schedule ); 985 999 986 1000 // The recurrence is saved further down, so on the first save as a series is_parent() is still false: … … 1184 1198 } 1185 1199 1200 // phpcs:disable WordPress.Security.NonceVerification.Missing -- Nonce checked at the top of this method. 1201 if ( ! empty( $changed_ids ) && ! empty( $_POST['emwc_notify_holders'] ) && 'publish' === $post->post_status && class_exists( 'EMWC_Emails' ) ) { 1202 $series_message = isset( $_POST['emwc_update_message'] ) ? substr( sanitize_textarea_field( wp_unslash( $_POST['emwc_update_message'] ) ), 0, 1000 ) : ''; 1203 self::notify_series_dates( $post_id, $changed_ids, $old_series, $series_message ); 1204 } 1205 // phpcs:enable WordPress.Security.NonceVerification.Missing 1206 1186 1207 if ( ! empty( $changed_ids ) ) { 1187 1208 set_transient( … … 1195 1216 ); 1196 1217 } 1218 } 1219 } 1220 1221 /** 1222 * Render the notify ticket holders meta box. 1223 * 1224 * @since 1.2.0 1225 * 1226 * @param WP_Post $post Post object. 1227 * @return void 1228 */ 1229 public static function render_event_notify_meta_box( $post ) { 1230 ?> 1231 <p> 1232 <label for="emwc_notify_holders"> 1233 <input type="checkbox" id="emwc_notify_holders" name="emwc_notify_holders" value="1" checked="checked" /> 1234 <?php esc_html_e( 'Email ticket holders about date, time or venue changes', 'evenzo-events-manager' ); ?> 1235 </label> 1236 </p> 1237 <p> 1238 <label for="emwc_update_message"><?php esc_html_e( 'Message to ticket holders (optional)', 'evenzo-events-manager' ); ?></label> 1239 <textarea id="emwc_update_message" name="emwc_update_message" rows="3" class="widefat" maxlength="1000"></textarea> 1240 </p> 1241 <p class="description"> 1242 <?php esc_html_e( 'Sent when you update a published event whose date, time or venue changed. Cancelled tickets are skipped.', 'evenzo-events-manager' ); ?> 1243 </p> 1244 <?php 1245 } 1246 1247 /** 1248 * Ticket holders queued for the update email in this request, by post the notice belongs to. 1249 * 1250 * @var int[] 1251 */ 1252 private static $queued_for_notice = array(); 1253 1254 /** 1255 * Read what ticket holders care about: when and where. 1256 * 1257 * Values are normalized, so how a time is written (19:00, 19:00:00, 7:00 PM) or an empty 1258 * venue against 0 doesn't count as a change: start and end are timestamps, the venue an integer. 1259 * 1260 * @since 1.2.0 1261 * 1262 * @param int $post_id Event ID. 1263 * @return array Normalized when and where. 1264 */ 1265 private static function get_schedule_snapshot( $post_id ) { 1266 $snapshot = array( 1267 'venue' => absint( get_post_meta( $post_id, '_emwc_venue_id', true ) ), 1268 ); 1269 $start_date = trim( (string) get_post_meta( $post_id, '_emwc_start_date', true ) ); 1270 foreach ( array( 'start', 'end' ) as $part ) { 1271 $date = trim( (string) get_post_meta( $post_id, '_emwc_' . $part . '_date', true ) ); 1272 $time = trim( (string) get_post_meta( $post_id, '_emwc_' . $part . '_time', true ) ); 1273 if ( '' === $date && '' !== $time ) { 1274 // An end time without an end date ends on the start date. 1275 $date = $start_date; 1276 } 1277 $ts = EMWC_Recurring_Tickets::get_timestamp( $post_id, $date, $time ); 1278 1279 // A value that doesn't parse still counts as a change when its text changes. 1280 $snapshot[ $part ] = $ts ? $ts : $date . ' ' . $time; 1281 } 1282 return $snapshot; 1283 } 1284 1285 /** 1286 * Queue the update email when a published event's date, time or venue changed on save. 1287 * 1288 * @since 1.2.0 1289 * 1290 * @param int $post_id Event ID. 1291 * @param WP_Post $post Post object. 1292 * @param array $old_schedule Schedule before the save. 1293 * @return void 1294 */ 1295 private static function maybe_notify_ticket_holders( $post_id, $post, $old_schedule ) { 1296 // phpcs:disable WordPress.Security.NonceVerification.Missing -- Nonce checked in save_event_meta(). 1297 if ( empty( $_POST['emwc_notify_holders'] ) || 'publish' !== $post->post_status || ! class_exists( 'EMWC_Emails' ) ) { 1298 return; 1299 } 1300 $message = isset( $_POST['emwc_update_message'] ) ? substr( sanitize_textarea_field( wp_unslash( $_POST['emwc_update_message'] ) ), 0, 1000 ) : ''; 1301 // phpcs:enable WordPress.Security.NonceVerification.Missing 1302 1303 if ( self::get_schedule_snapshot( $post_id ) === $old_schedule ) { 1304 return; 1305 } 1306 1307 self::queue_update_email( $post_id, $message ); 1308 } 1309 1310 /** 1311 * Queue the update email for one event or series date, unless it has ended, and add to the notice. 1312 * 1313 * @since 1.2.0 1314 * 1315 * @param int $event_id Event or series date ID. 1316 * @param string $message Message for the email. 1317 * @param int $notice Post the save notice belongs to; the event itself when 0. 1318 * @return int Ticket holders queued. 1319 */ 1320 private static function queue_update_email( $event_id, $message, $notice = 0 ) { 1321 $ends = EMWC_Booking::get_end( $event_id ); 1322 if ( $ends && $ends < time() ) { 1323 return 0; 1324 } 1325 1326 $queued = EMWC_Emails::queue_event_update( $event_id, $message ); 1327 if ( $queued > 0 ) { 1328 $notice_post = $notice ? $notice : $event_id; 1329 $key = 'emwc_update_email_notice_' . $notice_post; 1330 self::$queued_for_notice[ $notice_post ] = ( isset( self::$queued_for_notice[ $notice_post ] ) ? self::$queued_for_notice[ $notice_post ] : 0 ) + $queued; 1331 set_transient( 1332 $key, 1333 sprintf( 1334 /* translators: %d: number of ticket holders */ 1335 _n( 'Update email queued for %d ticket holder.', 'Update email queued for %d ticket holders.', self::$queued_for_notice[ $notice_post ], 'evenzo-events-manager' ), 1336 self::$queued_for_notice[ $notice_post ] 1337 ), 1338 120 1339 ); 1340 } 1341 return $queued; 1342 } 1343 1344 /** 1345 * Read the schedule of each date of a series, to see which ones a series save changed. 1346 * 1347 * @since 1.2.0 1348 * 1349 * @param int $parent_id Series parent ID. 1350 * @return array[] Snapshots by date ID. 1351 */ 1352 private static function get_series_snapshots( $parent_id ) { 1353 $snapshots = array(); 1354 $ids = EMWC_Recurrence::get_instances( 1355 $parent_id, 1356 array( 1357 'post_status' => EMWC_Recurrence::LIVE_STATUSES, 1358 'fields' => 'ids', 1359 ) 1360 ); 1361 foreach ( (array) $ids as $id ) { 1362 $snapshots[ (int) $id ] = self::get_schedule_snapshot( (int) $id ); 1363 } 1364 return $snapshots; 1365 } 1366 1367 /** 1368 * Queue the update email for each date of a series whose date, time or venue a series save changed. 1369 * 1370 * The parent holds no tickets of its own (except orders from before 1.1.0), so the holders to tell 1371 * are those of the dates. 1372 * 1373 * @since 1.2.0 1374 * 1375 * @param int $parent_id Series parent ID. 1376 * @param int[] $changed_ids Dates the save changed. 1377 * @param array[] $old Snapshots from before the save, by date ID. 1378 * @param string $message Message for the email. 1379 * @return void 1380 */ 1381 private static function notify_series_dates( $parent_id, $changed_ids, $old, $message ) { 1382 foreach ( array_unique( array_map( 'intval', (array) $changed_ids ) ) as $date_id ) { 1383 if ( ! isset( $old[ $date_id ] ) || self::get_schedule_snapshot( $date_id ) === $old[ $date_id ] ) { 1384 continue; 1385 } 1386 self::queue_update_email( $date_id, $message, $parent_id ); 1197 1387 } 1198 1388 } -
evenzo-events-manager/trunk/includes/admin/class-emwc-admin-settings.php
r3826082 r3831477 144 144 register_setting( 'emwc_tickets_settings', 'emwc_collect_attendee_info', array( 'sanitize_callback' => array( __CLASS__, 'sanitize_checkbox' ) ) ); 145 145 register_setting( 'emwc_tickets_settings', 'emwc_allow_mixed_cart', array( 'sanitize_callback' => array( __CLASS__, 'sanitize_checkbox' ) ) ); 146 register_setting( 'emwc_tickets_settings', 'emwc_customer_cancel', array( 'sanitize_callback' => array( __CLASS__, 'sanitize_checkbox' ) ) ); 147 register_setting( 'emwc_tickets_settings', 'emwc_customer_cancel_hours', array( 'sanitize_callback' => 'absint' ) ); 148 register_setting( 'emwc_tickets_settings', 'emwc_customer_transfer', array( 'sanitize_callback' => array( __CLASS__, 'sanitize_checkbox' ) ) ); 149 register_setting( 'emwc_tickets_settings', 'emwc_customer_transfer_hours', array( 'sanitize_callback' => 'absint' ) ); 146 150 register_setting( 'emwc_tickets_settings', 'emwc_min_tickets_default', array( 'sanitize_callback' => 'absint' ) ); 147 151 register_setting( 'emwc_tickets_settings', 'emwc_max_tickets_default', array( 'sanitize_callback' => 'absint' ) ); … … 573 577 $ticket_code_prefix = get_option( 'emwc_ticket_code_prefix', 'EMWC' ); 574 578 $ticket_code_length = get_option( 'emwc_ticket_code_length', 8 ); 579 $customer_cancel = get_option( 'emwc_customer_cancel', 'no' ); 580 $customer_cancel_hours = get_option( 'emwc_customer_cancel_hours', 24 ); 581 $customer_transfer = get_option( 'emwc_customer_transfer', 'no' ); 582 $customer_transfer_hours = get_option( 'emwc_customer_transfer_hours', 24 ); 575 583 ?> 576 584 <h2><?php esc_html_e( 'Ticket Options', 'evenzo-events-manager' ); ?></h2> … … 648 656 <input type="number" id="emwc_persons_per_ticket_default" name="emwc_persons_per_ticket_default" value="<?php echo esc_attr( $persons_per_ticket ); ?>" min="1" class="small-text" /> 649 657 <span class="description"><?php esc_html_e( 'persons per ticket', 'evenzo-events-manager' ); ?></span> 658 </td> 659 </tr> 660 </table> 661 662 <h2><?php esc_html_e( 'Changes by customers', 'evenzo-events-manager' ); ?></h2> 663 <table class="form-table"> 664 <tr> 665 <th scope="row" class="titledesc"><?php esc_html_e( 'Cancellations', 'evenzo-events-manager' ); ?></th> 666 <td class="forminp forminp-checkbox"> 667 <fieldset> 668 <label for="emwc_customer_cancel"> 669 <input type="checkbox" id="emwc_customer_cancel" name="emwc_customer_cancel" value="yes" <?php checked( $customer_cancel, 'yes' ); ?> /> 670 <?php esc_html_e( 'Let customers cancel tickets from My Account', 'evenzo-events-manager' ); ?> 671 </label> 672 <p class="description"><?php esc_html_e( 'Each ticket gets a Cancel button under My Account > My Tickets. Cancelling frees the place and tells the waitlist. Refunds are not made automatically.', 'evenzo-events-manager' ); ?></p> 673 </fieldset> 674 </td> 675 </tr> 676 <tr> 677 <th scope="row" class="titledesc"> 678 <label for="emwc_customer_cancel_hours"><?php esc_html_e( 'Cancellation deadline', 'evenzo-events-manager' ); ?></label> 679 </th> 680 <td class="forminp"> 681 <input type="number" id="emwc_customer_cancel_hours" name="emwc_customer_cancel_hours" value="<?php echo esc_attr( $customer_cancel_hours ); ?>" min="0" class="small-text" /> 682 <span class="description"><?php esc_html_e( 'hours before the event starts', 'evenzo-events-manager' ); ?></span> 683 <p class="description"><?php esc_html_e( 'Set 0 to allow cancelling until the event starts.', 'evenzo-events-manager' ); ?></p> 684 </td> 685 </tr> 686 <tr> 687 <th scope="row" class="titledesc"><?php esc_html_e( 'Transfers', 'evenzo-events-manager' ); ?></th> 688 <td class="forminp forminp-checkbox"> 689 <fieldset> 690 <label for="emwc_customer_transfer"> 691 <input type="checkbox" id="emwc_customer_transfer" name="emwc_customer_transfer" value="yes" <?php checked( $customer_transfer, 'yes' ); ?> /> 692 <?php esc_html_e( 'Let customers transfer tickets to another person', 'evenzo-events-manager' ); ?> 693 </label> 694 <p class="description"><?php esc_html_e( 'Each ticket gets a Transfer button under My Account > My Tickets. The ticket gets a new code, so the old QR code and PDF stop working, and the new holder receives it by email. The seat stays the same. The buyer still sees and manages the ticket under My Tickets after a transfer.', 'evenzo-events-manager' ); ?></p> 695 </fieldset> 696 </td> 697 </tr> 698 <tr> 699 <th scope="row" class="titledesc"> 700 <label for="emwc_customer_transfer_hours"><?php esc_html_e( 'Transfer deadline', 'evenzo-events-manager' ); ?></label> 701 </th> 702 <td class="forminp"> 703 <input type="number" id="emwc_customer_transfer_hours" name="emwc_customer_transfer_hours" value="<?php echo esc_attr( $customer_transfer_hours ); ?>" min="0" class="small-text" /> 704 <span class="description"><?php esc_html_e( 'hours before the event starts', 'evenzo-events-manager' ); ?></span> 705 <p class="description"><?php esc_html_e( 'Set 0 to allow transfers until the event starts.', 'evenzo-events-manager' ); ?></p> 650 706 </td> 651 707 </tr> -
evenzo-events-manager/trunk/includes/admin/class-emwc-admin.php
r3807738 r3831477 32 32 add_action( 'admin_notices', array( $this, 'display_capacity_sync_warnings' ) ); 33 33 add_action( 'admin_notices', array( $this, 'display_dates_sync_notice' ) ); 34 add_action( 'admin_notices', array( $this, 'display_update_email_notice' ) ); 34 35 add_action( 'admin_notices', array( $this, 'display_recurrence_kept_notice' ) ); 35 36 add_action( 'admin_notices', array( $this, 'display_closed_sales_notice' ) ); … … 101 102 102 103 delete_transient( 'emwc_dates_sync_notice_' . $post->ID ); 104 ?> 105 <div class="notice notice-success is-dismissible"> 106 <p><?php echo esc_html( $message ); ?></p> 107 </div> 108 <?php 109 } 110 111 /** 112 * Tell the editor an update email was queued for ticket holders. 113 * 114 * @since 1.2.0 115 * 116 * @return void 117 */ 118 public function display_update_email_notice() { 119 $screen = get_current_screen(); 120 if ( ! $screen || 'emwc_event' !== $screen->post_type ) { 121 return; 122 } 123 124 global $post; 125 if ( ! $post || ! isset( $post->ID ) ) { 126 return; 127 } 128 129 $message = get_transient( 'emwc_update_email_notice_' . $post->ID ); 130 if ( empty( $message ) ) { 131 return; 132 } 133 134 delete_transient( 'emwc_update_email_notice_' . $post->ID ); 103 135 ?> 104 136 <div class="notice notice-success is-dismissible"> -
evenzo-events-manager/trunk/includes/api/class-emwc-rest-attendees-controller.php
r3716241 r3831477 305 305 'status' => '%s', 306 306 ); 307 308 // Cancelling goes through the cancellation core, so stock, the order note and the emails follow. 309 if ( $request->has_param( 'status' ) && 'cancelled' === sanitize_text_field( $request->get_param( 'status' ) ) ) { 310 unset( $fields['status'] ); 311 if ( 'cancelled' !== $attendee['status'] ) { 312 $cancelled = EMWC_Ticket_Cancellation::cancel( new EMWC_Attendee( absint( $attendee['attendee_id'] ) ), array( 'by' => 'admin' ) ); 313 if ( is_wp_error( $cancelled ) ) { 314 if ( ! is_array( $cancelled->get_error_data() ) || empty( $cancelled->get_error_data()['status'] ) ) { 315 $cancelled->add_data( array( 'status' => 400 ) ); 316 } 317 return $cancelled; 318 } 319 } 320 } 307 321 308 322 foreach ( $fields as $field => $fmt ) { -
evenzo-events-manager/trunk/includes/class-emwc-deactivator.php
r3660972 r3831477 36 36 wp_clear_scheduled_hook( 'emwc_waitlist_expiration_check' ); 37 37 wp_clear_scheduled_hook( 'emwc_release_expired_seats' ); 38 wp_clear_scheduled_hook( 'emwc_cleanup_update_jobs' ); 38 39 39 40 // Flush rewrite rules to remove custom post type rules. -
evenzo-events-manager/trunk/includes/class-emwc-schema.php
r3716241 r3831477 520 520 if ( class_exists( 'EMWC_Recurring_Tickets' ) && EMWC_Recurring_Tickets::is_series_product( $product ) ) { 521 521 // A series ticket's stock is not its capacity; each date has its own. 522 // A date outside this ticket's sales window is not offered. 523 if ( 'open' !== EMWC_WC_Integration::get_sales_window_state( $product, $event_id ) ) { 524 continue; 525 } 522 526 $status = '' !== $date_status ? $date_status : EMWC_Recurring_Tickets::get_date_status( $event_id, false ); 523 527 $sellable = 'available' === $status; -
evenzo-events-manager/trunk/includes/class-emwc.php
r3814747 r3831477 98 98 require_once EMWC_PLUGIN_DIR . 'includes/core/class-emwc-attendee-fields.php'; 99 99 require_once EMWC_PLUGIN_DIR . 'includes/core/class-emwc-attendee-query.php'; 100 require_once EMWC_PLUGIN_DIR . 'includes/core/class-emwc-ticket-cancellation.php'; 101 require_once EMWC_PLUGIN_DIR . 'includes/core/class-emwc-ticket-transfer.php'; 100 102 require_once EMWC_PLUGIN_DIR . 'includes/lib/qrcode/qrcode.php'; 101 103 require_once EMWC_PLUGIN_DIR . 'includes/core/class-emwc-qr-code.php'; … … 166 168 require_once EMWC_PLUGIN_DIR . 'includes/woocommerce/class-emwc-attendee-details.php'; 167 169 170 // Guests claim their tickets into an account. 171 require_once EMWC_PLUGIN_DIR . 'includes/woocommerce/class-emwc-guest-claim.php'; 172 168 173 // Checkout attendee fields. 169 174 require_once EMWC_PLUGIN_DIR . 'includes/woocommerce/class-emwc-wc-checkout.php'; -
evenzo-events-manager/trunk/includes/emails/class-emwc-email-event-update.php
r3520666 r3831477 53 53 * @param int $event_id Event ID. 54 54 * @param string $update_message Update message. 55 * @param array $recipients Optional. People to mail, each with email, first_name and last_name. Empty means every active attendee. 55 56 */ 56 public function trigger( $event_id, $update_message = '' ) {57 public function trigger( $event_id, $update_message = '', $recipients = array() ) { 57 58 if ( ! $event_id ) { 58 59 return; … … 67 68 $this->placeholders['{event_venue}'] = $this->get_event_venue_string(); 68 69 69 $attendees = $this->get_event_attendees( $event_id ); 70 $attendees = $recipients ? array_map( 71 function ( $recipient ) { 72 return (object) $recipient; 73 }, 74 $recipients 75 ) : $this->get_event_attendees( $event_id ); 70 76 71 77 foreach ( $attendees as $attendee ) { -
evenzo-events-manager/trunk/includes/emails/class-emwc-emails.php
r3829439 r3831477 25 25 26 26 /** 27 * Action Scheduler hook that sends one batch of event update emails. 28 * 29 * @since 1.2.0 30 */ 31 const UPDATE_BATCH_HOOK = 'emwc_send_event_update_batch'; 32 33 /** 34 * Ticket holders mailed per batch. 35 * 36 * @since 1.2.0 37 */ 38 const UPDATE_BATCH_SIZE = 50; 39 40 /** 41 * Daily sweep of event update jobs that never finished. 42 * 43 * @since 1.2.0 44 * @var string 45 */ 46 const JOB_CLEANUP_HOOK = 'emwc_cleanup_update_jobs'; 47 48 /** 49 * Action Scheduler hook that sends one batch of ticket cancelled emails. 50 * 51 * @since 1.2.0 52 */ 53 const CANCEL_BATCH_HOOK = 'emwc_send_ticket_cancelled_batch'; 54 55 /** 56 * Ticket cancelled emails sent per batch. 57 * 58 * @since 1.2.0 59 */ 60 const CANCEL_BATCH_SIZE = 20; 61 62 /** 27 63 * Initialize emails. 28 64 */ … … 30 66 add_filter( 'woocommerce_email_classes', array( __CLASS__, 'register_emails' ) ); 31 67 add_action( 'emwc_attendee_created', array( __CLASS__, 'send_registration_emails' ), 10, 4 ); 68 add_action( 'emwc_ticket_cancelled', array( __CLASS__, 'send_ticket_cancelled_emails' ), 10, 3 ); 32 69 add_action( 'emwc_event_status_changed', array( __CLASS__, 'handle_event_status_change' ), 10, 3 ); 33 70 add_action( 'emwc_send_event_reminders', array( __CLASS__, 'send_event_reminders' ) ); 71 add_action( self::UPDATE_BATCH_HOOK, array( __CLASS__, 'send_event_update_batch' ), 10, 3 ); 72 add_action( self::CANCEL_BATCH_HOOK, array( __CLASS__, 'send_ticket_cancelled_batch' ) ); 34 73 add_filter( 'woocommerce_email_preview_get_content', array( __CLASS__, 'handle_email_preview' ), 10, 2 ); 35 74 36 75 add_action( 'init', array( __CLASS__, 'schedule_cron' ) ); 76 add_action( self::JOB_CLEANUP_HOOK, array( __CLASS__, 'cleanup_update_jobs' ) ); 37 77 } 38 78 … … 115 155 if ( ! wp_next_scheduled( 'emwc_send_event_reminders' ) ) { 116 156 wp_schedule_event( time(), 'daily', 'emwc_send_event_reminders' ); 157 } 158 if ( ! wp_next_scheduled( self::JOB_CLEANUP_HOOK ) ) { 159 wp_schedule_event( time() + HOUR_IN_SECONDS, 'daily', 'emwc_cleanup_update_jobs' ); 117 160 } 118 161 } … … 152 195 require_once $email_dir . 'class-emwc-email-event-cancellation.php'; 153 196 require_once $email_dir . 'class-emwc-email-admin-new-registration.php'; 197 require_once $email_dir . 'class-emwc-email-ticket-cancelled.php'; 198 require_once $email_dir . 'class-emwc-email-admin-ticket-cancelled.php'; 154 199 155 200 $emails['EMWC_Email_Registration_Confirmation'] = new EMWC_Email_Registration_Confirmation(); … … 159 204 $emails['EMWC_Email_Event_Cancellation'] = new EMWC_Email_Event_Cancellation(); 160 205 $emails['EMWC_Email_Admin_New_Registration'] = new EMWC_Email_Admin_New_Registration(); 206 $emails['EMWC_Email_Ticket_Cancelled'] = new EMWC_Email_Ticket_Cancelled(); 207 $emails['EMWC_Email_Admin_Ticket_Cancelled'] = new EMWC_Email_Admin_Ticket_Cancelled(); 161 208 162 209 self::$emails = $emails; … … 208 255 if ( isset( $emails['EMWC_Email_Admin_New_Registration'] ) ) { 209 256 $emails['EMWC_Email_Admin_New_Registration']->trigger( $attendee_id, $attendee_data, $event_id, $order_id ); 257 } 258 } 259 260 /** 261 * Tell the buyer and the admin that a ticket was cancelled. 262 * 263 * @since 1.2.0 264 * 265 * @param int $attendee_id Attendee ID. 266 * @param EMWC_Attendee $attendee Attendee. 267 * @param array $context Who cancelled, and the order and item. 268 * @return void 269 */ 270 public static function send_ticket_cancelled_emails( $attendee_id, $attendee, $context = array() ) { 271 if ( ! function_exists( 'WC' ) || ! WC()->mailer() ) { 272 return; 273 } 274 275 // Cancelling a whole event has its own email. 276 if ( isset( $context['by'] ) && 'event' === $context['by'] ) { 277 return; 278 } 279 280 // A bulk delete is silent, and a bulk cancel queues its emails (queue_ticket_cancelled_emails()). 281 if ( ! empty( $context['skip_emails'] ) ) { 282 return; 283 } 284 285 $emails = WC()->mailer()->get_emails(); 286 287 if ( isset( $emails['EMWC_Email_Ticket_Cancelled'] ) ) { 288 $emails['EMWC_Email_Ticket_Cancelled']->trigger( $attendee_id, $attendee, $context ); 289 } 290 // The shop needs telling only when a customer cancels; a shop manager already knows. 291 if ( isset( $emails['EMWC_Email_Admin_Ticket_Cancelled'], $context['by'] ) && 'customer' === $context['by'] ) { 292 $emails['EMWC_Email_Admin_Ticket_Cancelled']->trigger( $attendee_id, $attendee, $context ); 293 } 294 } 295 296 /** 297 * Queue the ticket cancelled email for tickets an admin cancelled in bulk, in batches. 298 * 299 * A bulk action can cancel hundreds of tickets, so the emails go out through Action Scheduler 300 * instead of inside the admin request. 301 * 302 * @since 1.2.0 303 * 304 * @param int[] $attendee_ids Cancelled attendee IDs. 305 * @return int Emails queued. 306 */ 307 public static function queue_ticket_cancelled_emails( array $attendee_ids ) { 308 $attendee_ids = array_values( array_unique( array_filter( array_map( 'absint', $attendee_ids ) ) ) ); 309 310 foreach ( array_chunk( $attendee_ids, self::CANCEL_BATCH_SIZE ) as $chunk ) { 311 if ( function_exists( 'as_enqueue_async_action' ) ) { 312 as_enqueue_async_action( self::CANCEL_BATCH_HOOK, array( $chunk ), 'emwc' ); 313 } else { 314 wp_schedule_single_event( time(), self::CANCEL_BATCH_HOOK, array( $chunk ) ); 315 } 316 } 317 318 return count( $attendee_ids ); 319 } 320 321 /** 322 * Send one batch of ticket cancelled emails for tickets cancelled in bulk. 323 * 324 * Tickets that were reactivated or deleted since are skipped. 325 * 326 * @since 1.2.0 327 * 328 * @param int[] $attendee_ids Attendee IDs. 329 * @return void 330 */ 331 public static function send_ticket_cancelled_batch( $attendee_ids ) { 332 if ( ! is_array( $attendee_ids ) ) { 333 return; 334 } 335 foreach ( array_map( 'absint', $attendee_ids ) as $attendee_id ) { 336 $attendee = new EMWC_Attendee( $attendee_id ); 337 if ( ! $attendee->get_id() || 'cancelled' !== $attendee->get( 'status' ) ) { 338 continue; 339 } 340 $order = $attendee->get_order(); 341 self::send_ticket_cancelled_emails( 342 $attendee_id, 343 $attendee, 344 array( 345 'by' => 'admin', 346 'order' => $order instanceof WC_Order ? $order : null, 347 ) 348 ); 210 349 } 211 350 } … … 336 475 337 476 /** 477 * Get the people to tell when an event changes. 478 * 479 * Active and checked-in attendees plus the buyers of their orders, once per email address. 480 * Cancelled tickets are skipped. 481 * 482 * @since 1.2.0 483 * 484 * @param int $event_id Event or series date ID. 485 * @return array[] Each with email, first_name and last_name. 486 */ 487 public static function get_event_update_recipients( $event_id ) { 488 global $wpdb; 489 490 $table_name = $wpdb->prefix . 'emwc_attendees'; 491 492 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter -- Custom table, table name is safe. 493 $rows = $wpdb->get_results( 494 $wpdb->prepare( 495 "SELECT attendee_id, order_id, email, first_name, last_name FROM {$table_name} WHERE event_id = %d AND status IN ( 'active', 'checked_in' ) ORDER BY attendee_id", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared 496 $event_id 497 ) 498 ); 499 500 $recipients = array(); 501 $orders = array(); 502 foreach ( (array) $rows as $row ) { 503 $email = sanitize_email( $row->email ); 504 if ( is_email( $email ) && ! isset( $recipients[ strtolower( $email ) ] ) ) { 505 $recipients[ strtolower( $email ) ] = array( 506 'email' => $email, 507 'first_name' => $row->first_name, 508 'last_name' => $row->last_name, 509 ); 510 } 511 512 $order_id = (int) $row->order_id; 513 if ( $order_id && ! isset( $orders[ $order_id ] ) ) { 514 $orders[ $order_id ] = true; 515 $order = wc_get_order( $order_id ); 516 $buyer = $order ? sanitize_email( $order->get_billing_email() ) : ''; 517 if ( is_email( $buyer ) && ! isset( $recipients[ strtolower( $buyer ) ] ) ) { 518 $recipients[ strtolower( $buyer ) ] = array( 519 'email' => $buyer, 520 'first_name' => $order->get_billing_first_name(), 521 'last_name' => $order->get_billing_last_name(), 522 ); 523 } 524 } 525 } 526 527 /** 528 * Filter the people mailed when an event changes. 529 * 530 * @since 1.2.0 531 * 532 * @param array[] $recipients Each with email, first_name and last_name. 533 * @param int $event_id Event or series date ID. 534 */ 535 $recipients = apply_filters( 'emwc_event_update_recipients', array_values( $recipients ), $event_id ); 536 537 return is_array( $recipients ) ? array_values( $recipients ) : array(); 538 } 539 540 /** 541 * Queue the update email for an event's ticket holders, in batches. 542 * 543 * @since 1.2.0 544 * 545 * @param int $event_id Event or series date ID. 546 * @param string $update_message Message shown in the email. 547 * @return int Ticket holders queued. 548 */ 549 public static function queue_event_update( $event_id, $update_message = '' ) { 550 $recipients = self::get_event_update_recipients( $event_id ); 551 if ( ! $recipients ) { 552 return 0; 553 } 554 555 // The list stays out of the action's arguments, which Action Scheduler caps in size. 556 $batches = (int) ceil( count( $recipients ) / self::UPDATE_BATCH_SIZE ); 557 $job = strtolower( wp_generate_password( 12, false ) ); 558 update_option( 559 'emwc_update_job_' . $job, 560 array( 561 'recipients' => $recipients, 562 'message' => $update_message, 563 'batches' => $batches, 564 'created' => time(), 565 ), 566 false 567 ); 568 569 for ( $i = 0; $i < $batches; $i++ ) { 570 $args = array( (int) $event_id, $job, $i ); 571 if ( function_exists( 'as_enqueue_async_action' ) ) { 572 as_enqueue_async_action( self::UPDATE_BATCH_HOOK, $args, 'emwc' ); 573 } else { 574 wp_schedule_single_event( time() + $i, self::UPDATE_BATCH_HOOK, $args ); 575 } 576 } 577 578 return count( $recipients ); 579 } 580 581 /** 582 * Send one batch of an event update. 583 * 584 * @since 1.2.0 585 * 586 * @param int $event_id Event or series date ID. 587 * @param string $job Job key. 588 * @param int $batch Batch number, from 0. 589 */ 590 public static function send_event_update_batch( $event_id, $job, $batch ) { 591 $option = 'emwc_update_job_' . sanitize_key( $job ); 592 $data = get_option( $option ); 593 if ( ! is_array( $data ) || empty( $data['recipients'] ) || ! function_exists( 'WC' ) || ! WC()->mailer() ) { 594 return; 595 } 596 597 $emails = WC()->mailer()->get_emails(); 598 $people = array_slice( $data['recipients'], (int) $batch * self::UPDATE_BATCH_SIZE, self::UPDATE_BATCH_SIZE ); 599 if ( $people && isset( $emails['EMWC_Email_Event_Update'] ) ) { 600 $emails['EMWC_Email_Event_Update']->trigger( $event_id, $data['message'], $people ); 601 } 602 603 self::finish_update_batch( $option, $data, (int) $batch ); 604 } 605 606 /** 607 * Record that a batch ran, and drop the job after its last batch. 608 * 609 * Each batch writes its own marker option. add_option() fails when the 610 * marker exists, so a retried batch is counted once and no two batches 611 * race over a shared counter. 612 * 613 * @since 1.2.0 614 * 615 * @param string $option Job option name. 616 * @param array $data Job data. 617 * @param int $batch Batch number. 618 */ 619 private static function finish_update_batch( $option, $data, $batch ) { 620 global $wpdb; 621 622 add_option( $option . '_b' . $batch, time(), '', 'no' ); 623 624 $ran = (int) $wpdb->get_var( 625 $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->options} WHERE option_name LIKE %s", $wpdb->esc_like( $option . '_b' ) . '%' ) 626 ); 627 if ( $ran >= (int) $data['batches'] ) { 628 self::delete_update_job( $option ); 629 } 630 } 631 632 /** 633 * Delete a job option and its batch markers. 634 * 635 * @since 1.2.0 636 * 637 * @param string $option Job option name. 638 */ 639 private static function delete_update_job( $option ) { 640 global $wpdb; 641 642 $names = $wpdb->get_col( 643 $wpdb->prepare( "SELECT option_name FROM {$wpdb->options} WHERE option_name LIKE %s", $wpdb->esc_like( $option . '_b' ) . '%' ) 644 ); 645 foreach ( $names as $name ) { 646 delete_option( $name ); 647 } 648 delete_option( $option ); 649 } 650 651 /** 652 * Remove event update jobs older than two days. 653 * 654 * A job that lost its batches (a cleared queue, a failed deploy) would 655 * otherwise keep its recipient list in the options table for good. 656 * 657 * @since 1.2.0 658 */ 659 public static function cleanup_update_jobs() { 660 global $wpdb; 661 662 $names = $wpdb->get_col( 663 $wpdb->prepare( "SELECT option_name FROM {$wpdb->options} WHERE option_name LIKE %s", $wpdb->esc_like( 'emwc_update_job_' ) . '%' ) 664 ); 665 $limit = time() - 2 * DAY_IN_SECONDS; 666 foreach ( $names as $name ) { 667 if ( preg_match( '/_b\d+$/', $name ) ) { 668 continue; 669 } 670 $data = get_option( $name ); 671 if ( ! is_array( $data ) || empty( $data['created'] ) || (int) $data['created'] < $limit ) { 672 self::delete_update_job( $name ); 673 } 674 } 675 676 // Markers whose job is already gone. 677 foreach ( $names as $name ) { 678 if ( preg_match( '/^(emwc_update_job_[a-z0-9]+)_b\d+$/', $name, $m ) && false === get_option( $m[1] ) ) { 679 delete_option( $name ); 680 } 681 } 682 } 683 684 /** 338 685 * Send event cancellation notification. 339 686 * … … 378 725 public static function deactivate() { 379 726 wp_clear_scheduled_hook( 'emwc_send_event_reminders' ); 727 wp_clear_scheduled_hook( self::JOB_CLEANUP_HOOK ); 380 728 } 381 729 } -
evenzo-events-manager/trunk/includes/import/tec/class-emwc-tec-importer.php
r3716241 r3831477 202 202 'undo_kept_sales' => __( 'Kept: the event has Evenzo tickets the import did not create', 'evenzo-events-manager' ), 203 203 'undo_kept_edited' => __( 'Kept: its Evenzo ticket settings changed after the import', 'evenzo-events-manager' ), 204 'undo_kept_backup' => __( 'Kept: the undo backup on this product can not be read', 'evenzo-events-manager' ),204 'undo_kept_backup' => __( 'Kept: the undo backup on this product can\'t be read', 'evenzo-events-manager' ), 205 205 'undo_kept_product' => __( 'Kept: a ticket product that stays still sells this event', 'evenzo-events-manager' ), 206 206 'undo_kept_in_use' => __( 'Kept: still used by an event or category that stays', 'evenzo-events-manager' ), -
evenzo-events-manager/trunk/includes/pdf/class-emwc-pdf-ticket.php
r3520666 r3831477 80 80 */ 81 81 public function is_valid() { 82 return $this->attendee && $this->event ;82 return $this->attendee && $this->event && 'cancelled' !== $this->attendee->status; 83 83 } 84 84 -
evenzo-events-manager/trunk/includes/waitlist/class-emwc-pricing.php
r3716241 r3831477 26 26 27 27 /** 28 * Membership keys by user ID, for this request. 29 * 30 * @var array 31 */ 32 private static $member_levels = array(); 33 34 /** 28 35 * Initialize pricing functionality. 29 36 */ … … 40 47 add_filter( 'woocommerce_cart_item_price', array( __CLASS__, 'cart_item_price' ), 10, 3 ); 41 48 add_action( 'woocommerce_before_calculate_totals', array( __CLASS__, 'apply_cart_quantity_pricing' ), 20 ); 49 50 // A membership gained or lost mid-request must not be hidden by the per-request cache. 51 foreach ( array( 'wc_memberships_user_membership_saved', 'wc_memberships_user_membership_status_changed', 'wc_memberships_user_membership_deleted', 'pmpro_after_change_membership_level' ) as $emwc_hook ) { 52 add_action( $emwc_hook, array( __CLASS__, 'flush_member_levels' ), 1 ); 53 } 42 54 43 55 // Admin meta box. … … 214 226 <?php 215 227 228 self::render_member_pricing_fields( $post->ID ); 229 216 230 echo '</div>'; 231 } 232 233 /** 234 * Memberships a ticket can offer a member price for, from the active membership plugins. 235 * 236 * @since 1.2.0 237 * 238 * @return array<string, string> Typed key such as pmpro:3 or wcm:123 => label. 239 */ 240 public static function get_membership_options() { 241 $options = array(); 242 243 if ( function_exists( 'pmpro_getAllLevels' ) ) { 244 $levels = pmpro_getAllLevels( true, true ); 245 foreach ( is_array( $levels ) ? $levels : array() as $level ) { 246 /* translators: %s: membership level name */ 247 $options[ 'pmpro:' . absint( $level->id ) ] = sprintf( __( '%s (Paid Memberships Pro)', 'evenzo-events-manager' ), $level->name ); 248 } 249 } 250 251 if ( function_exists( 'wc_memberships_get_membership_plans' ) ) { 252 $plans = wc_memberships_get_membership_plans(); 253 foreach ( is_array( $plans ) ? $plans : array() as $plan ) { 254 /* translators: %s: membership plan name */ 255 $options[ 'wcm:' . absint( $plan->get_id() ) ] = sprintf( __( '%s (WooCommerce Memberships)', 'evenzo-events-manager' ), $plan->get_name() ); 256 } 257 } 258 259 /** 260 * Filters the memberships offered in the Member prices panel. 261 * 262 * @since 1.2.0 263 * 264 * @param array<string, string> $options Typed key such as pmpro:3 or wcm:123 => label. 265 */ 266 $options = apply_filters( 'emwc_membership_options', $options ); 267 268 return is_array( $options ) ? $options : array(); 269 } 270 271 /** 272 * Typed membership keys a user holds right now, such as pmpro:3 and wcm:123. 273 * 274 * Both plugins report a membership as active only once its order is paid. 275 * 276 * @since 1.2.0 277 * 278 * @param int $user_id User ID. 279 * @return string[] 280 */ 281 public static function get_member_levels( $user_id ) { 282 $user_id = absint( $user_id ); 283 284 // The plugin lookups run once per user per request. The filter runs every time. 285 if ( ! isset( self::$member_levels[ $user_id ] ) ) { 286 self::$member_levels[ $user_id ] = self::lookup_member_levels( $user_id ); 287 } 288 $ids = self::$member_levels[ $user_id ]; 289 290 return $ids; 291 } 292 293 /** 294 * Forget the cached membership lookups. 295 * 296 * Runs on membership changes, so a price read after one sees it. 297 * 298 * @since 1.2.0 299 * 300 * @param int $user_id One user to forget. Everyone when empty or not a user ID. 301 */ 302 public static function flush_member_levels( $user_id = 0 ) { 303 $user_id = is_scalar( $user_id ) ? absint( $user_id ) : 0; 304 if ( $user_id ) { 305 unset( self::$member_levels[ $user_id ] ); 306 } else { 307 self::$member_levels = array(); 308 } 309 } 310 311 /** 312 * Ask the membership plugins what a user holds. 313 * 314 * @param int $user_id User ID. 315 * @return string[] 316 */ 317 private static function lookup_member_levels( $user_id ) { 318 $ids = array(); 319 320 if ( $user_id && function_exists( 'pmpro_getMembershipLevelsForUser' ) ) { 321 $levels = pmpro_getMembershipLevelsForUser( $user_id ); 322 foreach ( is_array( $levels ) ? $levels : array() as $level ) { 323 $ids[] = 'pmpro:' . absint( $level->id ); 324 } 325 } 326 327 if ( $user_id && function_exists( 'wc_memberships_get_user_active_memberships' ) ) { 328 $memberships = wc_memberships_get_user_active_memberships( $user_id ); 329 foreach ( is_array( $memberships ) ? $memberships : array() as $membership ) { 330 $ids[] = 'wcm:' . absint( $membership->get_plan_id() ); 331 } 332 } 333 334 /** 335 * Filters the memberships a user holds. 336 * 337 * @since 1.2.0 338 * 339 * @param string[] $ids Typed keys such as pmpro:3 or wcm:123. 340 * @param int $user_id User ID. 341 */ 342 $ids = apply_filters( 'emwc_user_membership_ids', $ids, $user_id ); 343 344 return is_array( $ids ) ? array_values( array_unique( array_map( 'strval', $ids ) ) ) : array(); 345 } 346 347 /** 348 * Output the Member prices fields. 349 * 350 * @since 1.2.0 351 * 352 * @param int $product_id Ticket product ID. 353 */ 354 private static function render_member_pricing_fields( $product_id ) { 355 $options = self::get_membership_options(); 356 if ( empty( $options ) ) { 357 return; 358 } 359 360 echo '<hr style="margin:10px 12px;">'; 361 362 woocommerce_wp_checkbox( 363 array( 364 'id' => '_emwc_enable_member_pricing', 365 'label' => __( 'Member prices', 'evenzo-events-manager' ), 366 'description' => __( 'Offer a price to logged-in members. A membership bought in the same order counts only after the order is paid. A fixed member price applies to every variation.', 'evenzo-events-manager' ), 367 ) 368 ); 369 370 $rules = get_post_meta( $product_id, '_emwc_member_discounts', true ); 371 if ( ! is_array( $rules ) ) { 372 $rules = array(); 373 } 374 ?> 375 <p class="form-field emwc_member_discounts_field"> 376 <label><?php esc_html_e( 'Member discounts', 'evenzo-events-manager' ); ?></label> 377 <span class="emwc-member-discounts"> 378 <?php foreach ( $options as $emwc_key => $emwc_label ) : ?> 379 <?php 380 $emwc_rule = isset( $rules[ $emwc_key ] ) && is_array( $rules[ $emwc_key ] ) ? $rules[ $emwc_key ] : array(); 381 $emwc_type = isset( $emwc_rule['type'] ) && 'fixed' === $emwc_rule['type'] ? 'fixed' : 'percent'; 382 ?> 383 <span class="emwc-member-row" style="display:block; margin-bottom:5px;"> 384 <input type="number" name="_emwc_member_discounts[<?php echo esc_attr( $emwc_key ); ?>][amount]" value="<?php echo esc_attr( isset( $emwc_rule['amount'] ) ? $emwc_rule['amount'] : '' ); ?>" style="width:80px;" step="0.01" min="0" /> 385 <select name="_emwc_member_discounts[<?php echo esc_attr( $emwc_key ); ?>][type]" style="width:auto;"> 386 <option value="percent" <?php selected( $emwc_type, 'percent' ); ?>><?php esc_html_e( '% off', 'evenzo-events-manager' ); ?></option> 387 <option value="fixed" <?php selected( $emwc_type, 'fixed' ); ?>><?php esc_html_e( 'Fixed price', 'evenzo-events-manager' ); ?></option> 388 </select> 389 <span><?php echo esc_html( $emwc_label ); ?></span> 390 </span> 391 <?php endforeach; ?> 392 </span> 393 <span class="description"><?php esc_html_e( '100% off or a fixed price of 0 makes the ticket free for that membership. When several rules apply, the lowest price wins.', 'evenzo-events-manager' ); ?></span> 394 </p> 395 <?php 217 396 } 218 397 … … 285 464 update_post_meta( $post_id, '_emwc_role_discounts', $role_discounts ); 286 465 } 466 467 // Member prices. 468 // The panel is absent when no membership plugin is active; then the saved setting is left alone. 469 // phpcs:ignore WordPress.Security.NonceVerification.Missing -- WooCommerce handles nonce. 470 if ( isset( $_POST['_emwc_enable_member_pricing'] ) ) { 471 update_post_meta( $post_id, '_emwc_enable_member_pricing', 'yes' ); 472 // phpcs:ignore WordPress.Security.NonceVerification.Missing -- WooCommerce handles nonce. 473 } elseif ( isset( $_POST['_emwc_member_discounts'] ) ) { 474 update_post_meta( $post_id, '_emwc_enable_member_pricing', 'no' ); 475 } 476 477 // phpcs:ignore WordPress.Security.NonceVerification.Missing -- WooCommerce handles nonce. 478 if ( isset( $_POST['_emwc_member_discounts'] ) && is_array( $_POST['_emwc_member_discounts'] ) ) { 479 $member_discounts = array(); 480 // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitized in loop below. 481 $member_raw = map_deep( wp_unslash( $_POST['_emwc_member_discounts'] ), 'sanitize_text_field' ); 482 foreach ( $member_raw as $key => $rule ) { 483 $key = (string) $key; 484 if ( ! preg_match( '/^(pmpro|wcm):\d+$/', $key ) || ! is_array( $rule ) || ! isset( $rule['amount'] ) || '' === $rule['amount'] ) { 485 continue; 486 } 487 $type = isset( $rule['type'] ) && 'fixed' === $rule['type'] ? 'fixed' : 'percent'; 488 $amount = max( 0.0, (float) $rule['amount'] ); 489 if ( 'percent' === $type ) { 490 $amount = min( 100.0, $amount ); 491 if ( $amount <= 0 ) { 492 continue; 493 } 494 } 495 $member_discounts[ $key ] = array( 496 'type' => $type, 497 'amount' => $amount, 498 ); 499 } 500 update_post_meta( $post_id, '_emwc_member_discounts', $member_discounts ); 501 } 287 502 } 288 503 … … 550 765 } 551 766 767 // Member discount. 768 if ( 'yes' === get_post_meta( $product_id, '_emwc_enable_member_pricing', true ) ) { 769 if ( null === $user ) { 770 $user = wp_get_current_user(); 771 } elseif ( ! $user instanceof WP_User ) { 772 $user = new WP_User( absint( $user ) ); 773 } 774 $member_discount = $user->exists() ? self::get_member_discount( $product, $product_id, (int) $user->ID ) : 0; 775 if ( $member_discount > $discount ) { 776 $discount = $member_discount; 777 } 778 } 779 552 780 return min( $discount, 100 ); // Cap at 100%. 781 } 782 783 /** 784 * The member discount for a user, as a percentage of the product's own price. 785 * 786 * Each matching membership rule gives a price; the lowest wins. A fixed price is turned into 787 * the equivalent percentage so it competes with the other discounts on the same scale. 788 * 789 * @since 1.2.0 790 * 791 * @param WC_Product $product Product or variation. 792 * @param int $product_id Ticket product ID (the parent for a variation). 793 * @param int $user_id User ID. 794 * @return float Discount percentage. 795 */ 796 private static function get_member_discount( $product, $product_id, $user_id ) { 797 $rules = get_post_meta( $product_id, '_emwc_member_discounts', true ); 798 $base = self::get_base_price( $product ); 799 $base = '' === $base ? 0.0 : (float) $base; 800 $held = self::get_member_levels( $user_id ); 801 $price = null; 802 $percent = 0.0; 803 804 foreach ( is_array( $rules ) ? $rules : array() as $key => $rule ) { 805 if ( ! in_array( (string) $key, $held, true ) || ! is_array( $rule ) || ! isset( $rule['amount'] ) ) { 806 continue; 807 } 808 $amount = (float) $rule['amount']; 809 if ( isset( $rule['type'] ) && 'fixed' === $rule['type'] ) { 810 if ( $base > 0 && ( null === $price || $amount < $price ) ) { 811 $price = $amount; 812 } 813 } elseif ( $amount > $percent ) { 814 $percent = min( $amount, 100.0 ); 815 } 816 } 817 818 if ( $base > 0 ) { 819 $percent_price = $percent > 0 ? $base * ( 1 - $percent / 100 ) : null; 820 if ( null !== $percent_price && ( null === $price || $percent_price < $price ) ) { 821 $price = $percent_price; 822 } 823 } 824 825 /** 826 * Filters the member price of a ticket. 827 * 828 * @since 1.2.0 829 * 830 * @param float|null $price Lowest price from the user's memberships, or null when none apply. 831 * @param WC_Product $product Product or variation. 832 * @param int $user_id User ID. 833 */ 834 $price = apply_filters( 'emwc_member_ticket_price', $price, $product, $user_id ); 835 836 if ( null === $price || false === $price || '' === $price ) { 837 return 0.0; 838 } 839 if ( $base <= 0 ) { 840 // No price to compare with: only a percentage rule can apply. 841 return $percent; 842 } 843 844 return max( 0.0, min( 100.0, ( 1 - max( 0.0, (float) $price ) / $base ) * 100 ) ); 553 845 } 554 846 … … 647 939 return __( 'Member Price', 'evenzo-events-manager' ); 648 940 } 941 } 942 } 943 } 944 945 // Member prices. 946 if ( 'yes' === get_post_meta( $product_id, '_emwc_enable_member_pricing', true ) && is_user_logged_in() ) { 947 $held = self::get_member_levels( get_current_user_id() ); 948 $rules = get_post_meta( $product_id, '_emwc_member_discounts', true ); 949 foreach ( is_array( $rules ) ? array_keys( $rules ) : array() as $key ) { 950 if ( in_array( (string) $key, $held, true ) ) { 951 return __( 'Member Price', 'evenzo-events-manager' ); 649 952 } 650 953 } -
evenzo-events-manager/trunk/includes/waitlist/class-emwc-waitlist.php
r3716241 r3831477 571 571 $valid = EMWC_Recurring_Tickets::validate_date( $product_id, $date_id ); 572 572 // Places the customer holds in their own cart don't make the date sold out for them. 573 if ( true === $valid || 'available' === EMWC_Recurring_Tickets::get_date_status( $date_id, false) ) {573 if ( true === $valid || ( 'emwc_date_sold_out' === $valid->get_error_code() && 'available' === EMWC_Recurring_Tickets::get_date_status( $date_id, false ) ) ) { 574 574 return new WP_Error( 575 575 'emwc_date_on_sale', … … 850 850 $notifications = 0; 851 851 852 // A place on a ticket whose sales window is not open can't be bought, so nobody is offered it. 853 if ( ! $product || 'open' !== EMWC_WC_Integration::get_sales_window_state( $product, $event_id ? $event_id : EMWC_WC_Integration::get_ticket_event_id( $product ) ) ) { 854 return 0; 855 } 856 852 857 foreach ( $entries as $entry ) { 853 858 self::notify_entry( $entry, $product ); … … 972 977 */ 973 978 public static function check_stock_change( $product ) { 979 // A ticket cancellation frees one place and notifies once itself; its stock give-back must not notify again. 980 if ( class_exists( 'EMWC_Ticket_Cancellation' ) && EMWC_Ticket_Cancellation::is_running() ) { 981 return; 982 } 983 974 984 if ( ! $product->is_in_stock() ) { 975 985 return; … … 1171 1181 $products = array(); 1172 1182 foreach ( EMWC_WC_Integration::get_ticket_products_for_event( EMWC_Recurring_Tickets::get_series_of( $date_id ) ) as $product ) { 1173 if ( EMWC_Recurring_Tickets::is_series_product( $product ) ) { 1183 // A ticket whose sales window is closed for this date can't sell the place, so its list isn't told. 1184 if ( EMWC_Recurring_Tickets::is_series_product( $product ) && 'open' === EMWC_WC_Integration::get_sales_window_state( $product, $date_id ) ) { 1174 1185 $products[ $product->get_id() ] = $product; 1175 1186 } -
evenzo-events-manager/trunk/includes/woocommerce/class-emwc-recurring-tickets.php
r3814747 r3831477 101 101 * 102 102 * @since 1.1.0 103 * 104 * @param int $parent_id Series parent ID. 105 * @param bool $include_cart Whether the current cart's quantities count against capacity. 106 * @return array[] Each with id, start (timestamp), label and status (available, sold_out or closed), sorted by start. 107 */ 108 public static function get_dates( $parent_id, $include_cart = true ) { 103 * @since 1.2.0 Added $tickets. 104 * 105 * @param int $parent_id Series parent ID. 106 * @param bool $include_cart Whether the current cart's quantities count against capacity. 107 * @param WC_Product[] $tickets Ticket products the dates are offered with. A date outside the sales window of 108 * all of them gets the status not_open or closed; none given keeps the plain status. 109 * @return array[] Each with id, start (timestamp), label and status (available, sold_out, not_open or closed), sorted by start. 110 */ 111 public static function get_dates( $parent_id, $include_cart = true, $tickets = array() ) { 109 112 $parent_id = absint( $parent_id ); 110 113 $cache_key = $parent_id . ( $include_cart ? ':cart' : ':nocart' ); 111 if ( isset( self::$dates_cache[ $cache_key ] ) ) { 112 return self::$dates_cache[ $cache_key ]; 113 } 114 115 $dates = self::query_dates( $parent_id, (bool) $include_cart ); 116 self::$dates_cache[ $cache_key ] = $dates; 114 if ( ! isset( self::$dates_cache[ $cache_key ] ) ) { 115 self::$dates_cache[ $cache_key ] = self::query_dates( $parent_id, (bool) $include_cart ); 116 } 117 118 $dates = self::$dates_cache[ $cache_key ]; 119 if ( empty( $tickets ) ) { 120 return $dates; 121 } 122 123 foreach ( $dates as $index => $date ) { 124 $dates[ $index ]['status'] = self::apply_window( $date['status'], $date['id'], $tickets ); 125 } 117 126 return $dates; 127 } 128 129 /** 130 * Apply the tickets' sales windows to a date's status. 131 * 132 * A date stays as it is when any of the tickets can sell it now. When none can, a date whose 133 * windows open later is not_open and one whose windows closed is closed. A date that was 134 * already closed stays closed. 135 * 136 * @since 1.2.0 137 * 138 * @param string $status Date status from get_date_status(). 139 * @param int $date_id Date ID. 140 * @param WC_Product|WC_Product[] $tickets Ticket products. 141 * @return string 142 */ 143 public static function apply_window( $status, $date_id, $tickets ) { 144 if ( ! in_array( $status, array( 'available', 'sold_out' ), true ) ) { 145 return $status; 146 } 147 148 $not_open = false; 149 $checked = false; 150 foreach ( is_array( $tickets ) ? $tickets : array( $tickets ) as $ticket ) { 151 if ( ! $ticket instanceof WC_Product || ! self::is_series_product( $ticket ) ) { 152 continue; 153 } 154 $checked = true; 155 $state = EMWC_WC_Integration::get_sales_window_state( $ticket, $date_id ); 156 if ( 'open' === $state ) { 157 return $status; 158 } 159 $not_open = $not_open || 'not_open' === $state; 160 } 161 162 if ( ! $checked ) { 163 return $status; 164 } 165 return $not_open ? 'not_open' : 'closed'; 118 166 } 119 167 … … 181 229 * @since 1.1.0 182 230 * 183 * @param int $parent_id Series parent ID. 231 * @param int $parent_id Series parent ID. 232 * @param WC_Product|null $ticket A ticket on a relative sales window also needs a date inside its window. 184 233 * @return bool 185 234 */ 186 public static function has_sellable_date( $parent_id ) {235 public static function has_sellable_date( $parent_id, $ticket = null ) { 187 236 $parent_id = absint( $parent_id ); 237 if ( $ticket instanceof WC_Product && EMWC_WC_Integration::has_relative_window( $ticket ) ) { 238 return self::has_sellable_date( $parent_id ) && in_array( 'available', wp_list_pluck( self::get_dates( $parent_id, false, array( $ticket ) ), 'status' ), true ); 239 } 188 240 if ( isset( self::$sellable_cache[ $parent_id ] ) ) { 189 241 return self::$sellable_cache[ $parent_id ]; … … 393 445 return new WP_Error( 'emwc_date_closed', __( 'Ticket sales for the chosen date are closed.', 'evenzo-events-manager' ) ); 394 446 } 447 448 // A relative sales window counts from this date's own start. Not yet open wins over sold out. 449 $ticket = is_numeric( $product ) ? wc_get_product( $product ) : $product; 450 if ( $ticket instanceof WC_Product ) { 451 $window_state = EMWC_WC_Integration::get_sales_window_state( $ticket, $date_id ); 452 if ( 'not_open' === $window_state ) { 453 return new WP_Error( 'emwc_date_not_open', __( 'Ticket sales for the chosen date have not started yet.', 'evenzo-events-manager' ) ); 454 } 455 if ( 'ended' === $window_state ) { 456 return new WP_Error( 'emwc_date_window_closed', __( 'Ticket sales for the chosen date have ended.', 'evenzo-events-manager' ) ); 457 } 458 } 395 459 if ( 'sold_out' === $status ) { 396 460 return new WP_Error( 'emwc_date_sold_out', __( 'The chosen date is sold out.', 'evenzo-events-manager' ) ); … … 423 487 } 424 488 425 foreach ( self::get_dates( $series_id ) as $date ) { 489 // A date whose sales window closed is passed over; one that has not opened yet still shows, as coming soon. 490 $first_not_open = 0; 491 foreach ( self::get_dates( $series_id, true, array( self::to_product( $product ) ) ) as $date ) { 426 492 if ( 'available' === $date['status'] ) { 427 493 return $date['id']; 428 494 } 429 } 430 431 return 0; 495 if ( ! $first_not_open && 'not_open' === $date['status'] ) { 496 $first_not_open = (int) $date['id']; 497 } 498 } 499 500 return $first_not_open; 432 501 } 433 502 … … 454 523 if ( $asked ) { 455 524 $valid = self::validate_date( $product, $asked ); 456 if ( true === $valid || 'emwc_date_sold_out' === $valid->get_error_code() ) {525 if ( true === $valid || in_array( $valid->get_error_code(), array( 'emwc_date_sold_out', 'emwc_date_not_open', 'emwc_date_window_closed' ), true ) ) { 457 526 return $asked; 458 527 } … … 460 529 461 530 $first_sold_out = 0; 462 foreach ( self::get_dates( $series_id ) as $date ) { 531 $first_not_open = 0; 532 foreach ( self::get_dates( $series_id, true, array( self::to_product( $product ) ) ) as $date ) { 463 533 if ( 'available' === $date['status'] ) { 464 534 return (int) $date['id']; … … 467 537 $first_sold_out = (int) $date['id']; 468 538 } 539 if ( ! $first_not_open && 'not_open' === $date['status'] ) { 540 $first_not_open = (int) $date['id']; 541 } 542 } 543 544 // A date that opens later shows as coming soon, ahead of a sold out date. 545 if ( $first_not_open ) { 546 return $first_not_open; 469 547 } 470 548 … … 544 622 * links replaces the select. 545 623 * 546 * @param int $parent_id Series parent ID. 547 * @param int $selected_id Selected date ID. 548 * @param bool $sold_out_selectable Whether sold out dates can be chosen, for their waitlist. 624 * @param int $parent_id Series parent ID. 625 * @param int $selected_id Selected date ID. 626 * @param bool $sold_out_selectable Whether sold out dates can be chosen, for their waitlist. 627 * @param WC_Product[] $tickets Tickets the page sells; dates outside their sales windows can't be chosen. Since 1.2.0. 549 628 * @return string Picker HTML, or an empty string when the series has no dates. 550 629 */ 551 public static function render_date_picker( $parent_id, $selected_id, $sold_out_selectable = false ) {552 $dates = self::get_dates( $parent_id );630 public static function render_date_picker( $parent_id, $selected_id, $sold_out_selectable = false, $tickets = array() ) { 631 $dates = self::get_dates( $parent_id, true, $tickets ); 553 632 if ( empty( $dates ) ) { 554 633 return ''; … … 661 740 662 741 /** 742 * A product object from an ID or object. 743 * 744 * @param int|WC_Product $product Product ID or object. 745 * @return WC_Product|null 746 */ 747 private static function to_product( $product ) { 748 $product = is_numeric( $product ) ? wc_get_product( $product ) : $product; 749 return $product instanceof WC_Product ? $product : null; 750 } 751 752 /** 663 753 * Get the series parent a date belongs to. 664 754 * … … 952 1042 if ( 'closed' === $date['status'] ) { 953 1043 return $date['label'] . ' ' . __( '(sales closed)', 'evenzo-events-manager' ); 1044 } 1045 if ( 'not_open' === $date['status'] ) { 1046 return $date['label'] . ' ' . __( '(not on sale yet)', 'evenzo-events-manager' ); 954 1047 } 955 1048 return $date['label']; -
evenzo-events-manager/trunk/includes/woocommerce/class-emwc-wc-integration.php
r3826082 r3831477 45 45 add_filter( 'woocommerce_is_purchasable', array( __CLASS__, 'check_purchasable' ), 10, 2 ); 46 46 add_filter( 'woocommerce_add_to_cart_validation', array( __CLASS__, 'prevent_mixed_cart' ), 10, 3 ); 47 add_filter( 'woocommerce_add_to_cart_validation', array( __CLASS__, 'validate_ticket_date' ), 10, 2);47 add_filter( 'woocommerce_add_to_cart_validation', array( __CLASS__, 'validate_ticket_date' ), 10, 4 ); 48 48 add_filter( 'woocommerce_add_to_cart_validation', array( __CLASS__, 'validate_seat_selection' ), 10, 5 ); 49 49 add_filter( 'woocommerce_add_to_cart_validation', array( __CLASS__, 'validate_event_capacity' ), 10, 5 ); … … 101 101 * @since 1.1.0 102 102 * 103 * @param bool $passed Whether validation passed. 104 * @param int $product_id Product ID being added. 103 * @param bool $passed Whether validation passed. 104 * @param int $product_id Product ID being added. 105 * @param int $quantity Quantity being added. 106 * @param int $variation_id Variation being added, or 0. 105 107 * @return bool 106 108 */ 107 public static function validate_ticket_date( $passed, $product_id ) {109 public static function validate_ticket_date( $passed, $product_id, $quantity = 1, $variation_id = 0 ) { 108 110 if ( ! $passed || ! EMWC_Recurring_Tickets::is_series_product( $product_id ) ) { 109 111 return $passed; … … 113 115 // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Add to cart validation doesn't use a nonce; the value is validated below. 114 116 $date_id = isset( $_POST['emwc_event_date'] ) ? absint( wp_unslash( $_POST['emwc_event_date'] ) ) : 0; 115 $result = EMWC_Recurring_Tickets::validate_date( $ product_id, $date_id );117 $result = EMWC_Recurring_Tickets::validate_date( $variation_id ? $variation_id : $product_id, $date_id ); 116 118 if ( is_wp_error( $result ) ) { 117 119 wc_add_notice( $result->get_error_message(), 'error' ); … … 228 230 229 231 if ( $is_ticket !== $cart_is_ticket ) { 230 wc_add_notice( __( 'Event tickets can not be purchased with other products. Please complete your current order first or empty your cart.', 'evenzo-events-manager' ), 'error' );232 wc_add_notice( __( 'Event tickets can\'t be purchased with other products. Please complete your current order first or empty your cart.', 'evenzo-events-manager' ), 'error' ); 231 233 return false; 232 234 } … … 408 410 sprintf( 409 411 /* translators: 1: persons to add, 2: remaining capacity */ 410 __( 'Can not add %1$d person(s) to your order. Only %2$d spot(s) remaining for this event.', 'evenzo-events-manager' ),412 __( 'Can\'t add %1$d person(s) to your order. Only %2$d spot(s) remaining for this event.', 'evenzo-events-manager' ), 411 413 $persons_to_add, 412 414 $remaining … … 566 568 $sales_end_date = get_post_meta( $product_id, '_emwc_sales_end_date', true ); 567 569 $sales_end_time = get_post_meta( $product_id, '_emwc_sales_end_time', true ); 570 $sales_window = 'relative' === get_post_meta( $product_id, '_emwc_sales_window', true ) ? 'relative' : 'fixed'; 571 $sales_open_days = get_post_meta( $product_id, '_emwc_sales_open_days', true ); 572 $sales_close_hrs = get_post_meta( $product_id, '_emwc_sales_close_hours', true ); 568 573 569 574 if ( ! $event_id ) { … … 699 704 700 705 <div class="options_group"> 706 <?php 707 woocommerce_wp_select( 708 array( 709 'id' => '_emwc_sales_window', 710 'label' => __( 'Sales window', 'evenzo-events-manager' ), 711 'desc_tip' => true, 712 'description' => __( 'Fixed dates use the dates below. A relative window opens and closes before the event starts, and a recurring event counts from each date.', 'evenzo-events-manager' ), 713 'options' => array( 714 'fixed' => __( 'Fixed dates', 'evenzo-events-manager' ), 715 'relative' => __( 'Relative to event start', 'evenzo-events-manager' ), 716 ), 717 'value' => $sales_window, 718 ) 719 ); 720 ?> 721 <div class="emwc-sales-fixed-fields"<?php echo 'relative' === $sales_window ? ' hidden' : ''; ?>> 701 722 <?php 702 723 woocommerce_wp_text_input( … … 758 779 endif; 759 780 ?> 781 </div> 782 <div class="emwc-sales-relative-fields"<?php echo 'relative' === $sales_window ? '' : ' hidden'; ?>> 783 <?php 784 woocommerce_wp_text_input( 785 array( 786 'id' => '_emwc_sales_open_days', 787 'label' => __( 'Open days before', 'evenzo-events-manager' ), 788 'desc_tip' => true, 789 'description' => __( 'Sales open this many days before the event starts. Leave empty to open now.', 'evenzo-events-manager' ), 790 'type' => 'number', 791 'value' => $sales_open_days, 792 'custom_attributes' => array( 793 'min' => '0', 794 'step' => '1', 795 ), 796 ) 797 ); 798 woocommerce_wp_text_input( 799 array( 800 'id' => '_emwc_sales_close_hours', 801 'label' => __( 'Close hours before', 'evenzo-events-manager' ), 802 'desc_tip' => true, 803 'description' => __( 'Sales close this many hours before the event starts. Use 0 to close when it starts.', 'evenzo-events-manager' ), 804 'type' => 'number', 805 'value' => $sales_close_hrs, 806 'custom_attributes' => array( 807 'min' => '0', 808 'step' => '1', 809 ), 810 ) 811 ); 812 ?> 813 </div> 760 814 </div> 761 815 … … 893 947 </p> 894 948 <p class="form-row form-row-last"> </p> 949 <?php $emwc_var_window = (string) get_post_meta( $variation_id, '_emwc_var_sales_window', true ); ?> 950 <p class="form-row form-row-full"> 951 <label for="emwc_var_sales_window_<?php echo esc_attr( $loop ); ?>"><?php esc_html_e( 'Sales window', 'evenzo-events-manager' ); ?></label> 952 <select id="emwc_var_sales_window_<?php echo esc_attr( $loop ); ?>" class="emwc-var-sales-window" name="_emwc_var_sales_window[<?php echo esc_attr( $loop ); ?>]"> 953 <option value="" <?php selected( $emwc_var_window, '' ); ?>><?php esc_html_e( 'Same as the ticket', 'evenzo-events-manager' ); ?></option> 954 <option value="fixed" <?php selected( $emwc_var_window, 'fixed' ); ?>><?php esc_html_e( 'Fixed dates', 'evenzo-events-manager' ); ?></option> 955 <option value="relative" <?php selected( $emwc_var_window, 'relative' ); ?>><?php esc_html_e( 'Relative to event start', 'evenzo-events-manager' ); ?></option> 956 </select> 957 </p> 958 <div class="emwc-var-sales-fixed"<?php echo 'relative' === $emwc_var_window ? ' hidden' : ''; ?>> 895 959 <p class="form-row form-row-first"> 896 960 <label><?php esc_html_e( 'Sales start date', 'evenzo-events-manager' ); ?></label> … … 916 980 </p> 917 981 <?php endif; ?> 982 </div> 983 <div class="emwc-var-sales-relative"<?php echo 'relative' === $emwc_var_window ? '' : ' hidden'; ?>> 984 <p class="form-row form-row-first"> 985 <label><?php esc_html_e( 'Open days before', 'evenzo-events-manager' ); ?> <?php echo wp_kses_post( wc_help_tip( __( 'Sales open this many days before the event starts. Leave empty to open now.', 'evenzo-events-manager' ) ) ); ?></label> 986 <input type="number" class="input-text emwc-input-full" name="_emwc_var_sales_open_days[<?php echo esc_attr( $loop ); ?>]" value="<?php echo esc_attr( get_post_meta( $variation_id, '_emwc_var_sales_open_days', true ) ); ?>" min="0" step="1"> 987 </p> 988 <p class="form-row form-row-last"> 989 <label><?php esc_html_e( 'Close hours before', 'evenzo-events-manager' ); ?> <?php echo wp_kses_post( wc_help_tip( __( 'Sales close this many hours before the event starts. Use 0 to close when it starts.', 'evenzo-events-manager' ) ) ); ?></label> 990 <input type="number" class="input-text emwc-input-full" name="_emwc_var_sales_close_hours[<?php echo esc_attr( $loop ); ?>]" value="<?php echo esc_attr( get_post_meta( $variation_id, '_emwc_var_sales_close_hours', true ) ); ?>" min="0" step="1"> 991 </p> 992 </div> 918 993 <div class="form-row form-row-full emwc-var-custom-row"> 919 994 <label> … … 978 1053 public static function save_variation_fields( $variation_id, $loop ) { 979 1054 // Nonce verification handled by WooCommerce. 980 $fields = array( '_emwc_var_min_tickets', '_emwc_var_max_tickets', '_emwc_var_persons', '_emwc_var_sales_start_date', '_emwc_var_sales_start_time', '_emwc_var_sales_end_date', '_emwc_var_sales_end_time' );1055 $fields = array( '_emwc_var_min_tickets', '_emwc_var_max_tickets', '_emwc_var_persons', '_emwc_var_sales_start_date', '_emwc_var_sales_start_time', '_emwc_var_sales_end_date', '_emwc_var_sales_end_time', '_emwc_var_sales_window', '_emwc_var_sales_open_days', '_emwc_var_sales_close_hours' ); 981 1056 // A series date's sales end when it starts; a posted Sales End is ignored. 982 1057 if ( EMWC_Recurring_Tickets::is_series_product( $variation_id ) ) { … … 987 1062 if ( isset( $_POST[ $key ][ $loop ] ) ) { 988 1063 // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.MissingUnslash 989 update_post_meta( $variation_id, $key, sanitize_text_field( wp_unslash( $_POST[ $key ][ $loop ] ) ) ); 1064 $value = sanitize_text_field( wp_unslash( $_POST[ $key ][ $loop ] ) ); 1065 if ( in_array( $key, array( '_emwc_var_sales_open_days', '_emwc_var_sales_close_hours' ), true ) ) { 1066 $value = '' === $value ? '' : absint( $value ); 1067 } 1068 update_post_meta( $variation_id, $key, $value ); 990 1069 } 991 1070 } … … 1147 1226 update_post_meta( $post_id, '_emwc_persons_per_ticket', isset( $_POST['_emwc_persons_per_ticket'] ) ? absint( $_POST['_emwc_persons_per_ticket'] ) : 1 ); 1148 1227 1228 // A save that doesn't post the window keeps the saved one. 1229 // phpcs:ignore WordPress.Security.NonceVerification.Missing 1230 if ( isset( $_POST['_emwc_sales_window'] ) ) { 1231 // phpcs:ignore WordPress.Security.NonceVerification.Missing 1232 $window_mode = sanitize_key( wp_unslash( $_POST['_emwc_sales_window'] ) ); 1233 update_post_meta( $post_id, '_emwc_sales_window', 'relative' === $window_mode ? 'relative' : 'fixed' ); 1234 } 1235 foreach ( array( '_emwc_sales_open_days', '_emwc_sales_close_hours' ) as $relative_key ) { 1236 // phpcs:ignore WordPress.Security.NonceVerification.Missing 1237 if ( isset( $_POST[ $relative_key ] ) ) { 1238 // phpcs:ignore WordPress.Security.NonceVerification.Missing 1239 $relative_value = sanitize_text_field( wp_unslash( $_POST[ $relative_key ] ) ); 1240 update_post_meta( $post_id, $relative_key, '' === $relative_value ? '' : absint( $relative_value ) ); 1241 } 1242 } 1149 1243 // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.MissingUnslash 1150 1244 update_post_meta( $post_id, '_emwc_sales_start_date', isset( $_POST['_emwc_sales_start_date'] ) ? sanitize_text_field( wp_unslash( $_POST['_emwc_sales_start_date'] ) ) : '' ); … … 1469 1563 // Any sellable date, not counting the cart, so the cart never drops an item it already holds. 1470 1564 // Each date's own limits are checked by validate_ticket_date() and validate_cart_dates(). 1471 if ( ! EMWC_Recurring_Tickets::has_sellable_date( $series_id ) ) {1565 if ( ! EMWC_Recurring_Tickets::has_sellable_date( $series_id, $product ) ) { 1472 1566 return false; 1473 1567 } … … 1498 1592 $timezone_source = $series_id ? $series_id : $event_id; 1499 1593 1500 // For variations, check variation-level sales dates first. 1501 $sales_start_date = ''; 1502 $sales_start_time = ''; 1503 $sales_end_date = ''; 1504 $sales_end_time = ''; 1505 1506 if ( $product->is_type( 'variation' ) ) { 1507 $sales_start_date = get_post_meta( $product_id, '_emwc_var_sales_start_date', true ); 1508 $sales_start_time = get_post_meta( $product_id, '_emwc_var_sales_start_time', true ); 1509 $sales_end_date = get_post_meta( $product_id, '_emwc_var_sales_end_date', true ); 1510 $sales_end_time = get_post_meta( $product_id, '_emwc_var_sales_end_time', true ); 1511 } 1512 1513 // Fallback to parent product sales dates. 1514 if ( empty( $sales_start_date ) ) { 1515 $sales_start_date = get_post_meta( $parent_id, '_emwc_sales_start_date', true ); 1516 $sales_start_time = get_post_meta( $parent_id, '_emwc_sales_start_time', true ); 1517 } 1518 if ( empty( $sales_end_date ) ) { 1519 $sales_end_date = get_post_meta( $parent_id, '_emwc_sales_end_date', true ); 1520 $sales_end_time = get_post_meta( $parent_id, '_emwc_sales_end_time', true ); 1521 } 1522 1523 // A series date's sales end when it starts. A product-level end is one event's window, 1524 // often the parent's start copied by 1.0.2, so it would close every date. A future sales 1525 // start still holds the series back until a launch date. 1526 if ( $series_id ) { 1527 $sales_end_date = ''; 1528 $sales_end_time = ''; 1529 } 1530 1531 // Check sales start date. 1532 if ( $sales_start_date ) { 1533 $sales_start = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $sales_start_date, $sales_start_time ? $sales_start_time : '00:00:00' ); 1534 if ( $sales_start > $now ) { 1594 $window = self::get_sales_window( $product, $event_id, $series_id, $timezone_source ); 1595 1596 // Check sales start. 1597 if ( null !== $window['start'] && $window['start'] > $now ) { 1598 return false; 1599 } 1600 1601 // Check sales end - this is the PRIMARY check for when sales should stop. 1602 if ( null !== $window['end'] ) { 1603 if ( $window['end'] < $now ) { 1535 1604 return false; 1536 1605 } 1537 } 1538 1539 // Check sales end date - this is the PRIMARY check for when sales should stop. 1540 if ( $sales_end_date ) { 1541 $sales_end = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $sales_end_date, $sales_end_time ? $sales_end_time : '23:59:59' ); 1542 if ( $sales_end < $now ) { 1543 return false; 1544 } 1545 // If sales end date is set and we're within range, tickets are available. 1606 // If sales end is set and we're within range, tickets are available. 1546 1607 return true; 1547 1608 } … … 1652 1713 // Sold out dates can be chosen: the page then offers their waitlist or says they are sold out. 1653 1714 echo wp_kses( 1654 EMWC_Recurring_Tickets::render_date_picker( $series_id, self::get_shown_date( $product ), true ),1715 EMWC_Recurring_Tickets::render_date_picker( $series_id, self::get_shown_date( $product ), true, array( $product ) ), 1655 1716 EMWC_Recurring_Tickets::get_date_picker_allowed_html() 1656 1717 ); … … 1746 1807 } 1747 1808 1748 echo wp_kses( EMWC_Recurring_Tickets::render_date_picker( $series_id, $date_id, true ), EMWC_Recurring_Tickets::get_date_picker_allowed_html() );1809 echo wp_kses( EMWC_Recurring_Tickets::render_date_picker( $series_id, $date_id, true, array( $product ) ), EMWC_Recurring_Tickets::get_date_picker_allowed_html() ); 1749 1810 if ( ! class_exists( 'EMWC_Waitlist' ) || ! EMWC_Waitlist::display_date_form( $product, $date_id ) ) { 1750 1811 echo '<p class="stock out-of-stock emwc-date-sold-out">' . esc_html( … … 1909 1970 1910 1971 /** 1972 * Read a ticket's sales window settings: a variation's own, else the ticket's. 1973 * 1974 * A variation set to a relative window uses its own; a variation with its own fixed dates keeps 1975 * them; otherwise the ticket's window applies, field by field for fixed dates. 1976 * 1977 * @since 1.2.0 1978 * 1979 * @param WC_Product $product Ticket or variation. 1980 * @return array mode (fixed or relative), start_date, start_time, end_date, end_time, open_days, close_hours. 1981 */ 1982 private static function get_sales_window_settings( $product ) { 1983 $product_id = $product->get_id(); 1984 $parent_id = $product->is_type( 'variation' ) ? $product->get_parent_id() : $product_id; 1985 1986 $settings = array( 1987 'mode' => 'fixed', 1988 'start_date' => '', 1989 'start_time' => '', 1990 'end_date' => '', 1991 'end_time' => '', 1992 'open_days' => '', 1993 'close_hours' => '', 1994 ); 1995 1996 $parent_mode = 'relative' === get_post_meta( $parent_id, '_emwc_sales_window', true ) ? 'relative' : 'fixed'; 1997 1998 if ( $product->is_type( 'variation' ) ) { 1999 $var_mode = (string) get_post_meta( $product_id, '_emwc_var_sales_window', true ); 2000 if ( 'relative' === $var_mode ) { 2001 $settings['mode'] = 'relative'; 2002 $settings['open_days'] = get_post_meta( $product_id, '_emwc_var_sales_open_days', true ); 2003 $settings['close_hours'] = get_post_meta( $product_id, '_emwc_var_sales_close_hours', true ); 2004 return $settings; 2005 } 2006 2007 $settings['start_date'] = get_post_meta( $product_id, '_emwc_var_sales_start_date', true ); 2008 $settings['start_time'] = get_post_meta( $product_id, '_emwc_var_sales_start_time', true ); 2009 $settings['end_date'] = get_post_meta( $product_id, '_emwc_var_sales_end_date', true ); 2010 $settings['end_time'] = get_post_meta( $product_id, '_emwc_var_sales_end_time', true ); 2011 2012 // Fixed dates on the variation (or "Fixed dates" chosen) keep the ticket's relative window out. 2013 if ( 'relative' === $parent_mode && '' === $var_mode && empty( $settings['start_date'] ) && empty( $settings['end_date'] ) ) { 2014 $settings['mode'] = 'relative'; 2015 $settings['open_days'] = get_post_meta( $parent_id, '_emwc_sales_open_days', true ); 2016 $settings['close_hours'] = get_post_meta( $parent_id, '_emwc_sales_close_hours', true ); 2017 return $settings; 2018 } 2019 } elseif ( 'relative' === $parent_mode ) { 2020 $settings['mode'] = 'relative'; 2021 $settings['open_days'] = get_post_meta( $parent_id, '_emwc_sales_open_days', true ); 2022 $settings['close_hours'] = get_post_meta( $parent_id, '_emwc_sales_close_hours', true ); 2023 return $settings; 2024 } 2025 2026 // Fixed dates fall back to the ticket's own, field by field; a relative ticket has none to give. 2027 if ( 'relative' === $parent_mode ) { 2028 return $settings; 2029 } 2030 if ( empty( $settings['start_date'] ) ) { 2031 $settings['start_date'] = get_post_meta( $parent_id, '_emwc_sales_start_date', true ); 2032 $settings['start_time'] = get_post_meta( $parent_id, '_emwc_sales_start_time', true ); 2033 } 2034 if ( empty( $settings['end_date'] ) ) { 2035 $settings['end_date'] = get_post_meta( $parent_id, '_emwc_sales_end_date', true ); 2036 $settings['end_time'] = get_post_meta( $parent_id, '_emwc_sales_end_time', true ); 2037 } 2038 2039 return $settings; 2040 } 2041 2042 /** 2043 * Whether a ticket's sales window is open for an event or series date. 2044 * 2045 * The one question every place that offers a date for sale asks: add to cart, date lists, 2046 * schema offers, waitlist offers and the shop level check. Dates outside the window are not offered. 2047 * 2048 * @since 1.2.0 2049 * 2050 * @param WC_Product $product Ticket or variation. 2051 * @param int $event_id Event, or the series date asked about. 2052 * @return string open, not_open (sales start later) or ended. 2053 */ 2054 public static function get_sales_window_state( $product, $event_id ) { 2055 $series_id = EMWC_Recurring_Tickets::get_series_id( $product ); 2056 $event_id = absint( $event_id ); 2057 $window = self::get_sales_window( $product, $event_id, $series_id, $series_id ? $series_id : $event_id ); 2058 $now = time(); 2059 2060 if ( null !== $window['start'] && $window['start'] > $now ) { 2061 return 'not_open'; 2062 } 2063 if ( null !== $window['end'] && $window['end'] < $now ) { 2064 return 'ended'; 2065 } 2066 return 'open'; 2067 } 2068 2069 /** 2070 * Whether a ticket's sales window counts back from each event's start. 2071 * 2072 * @since 1.2.0 2073 * 2074 * @param WC_Product $product Ticket or variation. 2075 * @return bool 2076 */ 2077 public static function has_relative_window( $product ) { 2078 $settings = self::get_sales_window_settings( $product ); 2079 return 'relative' === $settings['mode']; 2080 } 2081 2082 /** 2083 * Get when a ticket's sales open and close. 2084 * 2085 * Fixed dates are read in the event's time zone. A relative window counts back from the start of 2086 * the event, or of the series date asked for, so one series ticket sells each date on its own window. 2087 * 2088 * @since 1.2.0 2089 * 2090 * @param WC_Product $product Ticket or variation. 2091 * @param int $event_id Event or series date the window is read for; 0 when none is known. 2092 * @param int $series_id Series parent ID, or 0 when the ticket is not a series ticket. 2093 * @param int $timezone_source Event whose time zone fixed dates are written in. 2094 * @return array start and end timestamps, each null when there is no limit. 2095 */ 2096 public static function get_sales_window( $product, $event_id, $series_id, $timezone_source ) { 2097 $window = array( 2098 'start' => null, 2099 'end' => null, 2100 ); 2101 $settings = self::get_sales_window_settings( $product ); 2102 2103 if ( 'relative' === $settings['mode'] ) { 2104 if ( ! $event_id ) { 2105 return $window; 2106 } 2107 2108 $event_start = EMWC_Recurring_Tickets::get_timestamp( 2109 $event_id, 2110 get_post_meta( $event_id, '_emwc_start_date', true ), 2111 get_post_meta( $event_id, '_emwc_start_time', true ) ? get_post_meta( $event_id, '_emwc_start_time', true ) : '00:00:00' 2112 ); 2113 if ( ! $event_start ) { 2114 return $window; 2115 } 2116 2117 // An empty field means open now; the days are counted on the event's own calendar. 2118 if ( '' !== (string) $settings['open_days'] ) { 2119 $window['start'] = ( new DateTimeImmutable( '@' . $event_start ) ) 2120 ->setTimezone( EMWC_Recurring_Tickets::get_timezone( $event_id ) ) 2121 ->modify( '-' . absint( $settings['open_days'] ) . ' days' ) 2122 ->getTimestamp(); 2123 } 2124 $window['end'] = $event_start - absint( $settings['close_hours'] ) * HOUR_IN_SECONDS; 2125 2126 return $window; 2127 } 2128 2129 if ( $settings['start_date'] ) { 2130 $window['start'] = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $settings['start_date'], $settings['start_time'] ? $settings['start_time'] : '00:00:00' ); 2131 } 2132 2133 // A series date's sales end when it starts. A product-level end is one event's window, 2134 // often the parent's start copied by 1.0.2, so it would close every date. A future sales 2135 // start still holds the series back until a launch date. 2136 if ( $settings['end_date'] && ! $series_id ) { 2137 $window['end'] = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $settings['end_date'], $settings['end_time'] ? $settings['end_time'] : '23:59:59' ); 2138 } 2139 2140 return $window; 2141 } 2142 2143 /** 1911 2144 * Get ticket sales status. 1912 2145 * … … 1922 2155 $now = time(); 1923 2156 1924 // Get sales dates - variation first, then parent.1925 $sales_start_date = '';1926 $sales_start_time = '';1927 $sales_end_date = '';1928 $sales_end_time = '';1929 1930 if ( $product->is_type( 'variation' ) ) {1931 $sales_start_date = get_post_meta( $product_id, '_emwc_var_sales_start_date', true );1932 $sales_start_time = get_post_meta( $product_id, '_emwc_var_sales_start_time', true );1933 $sales_end_date = get_post_meta( $product_id, '_emwc_var_sales_end_date', true );1934 $sales_end_time = get_post_meta( $product_id, '_emwc_var_sales_end_time', true );1935 }1936 1937 if ( empty( $sales_start_date ) ) {1938 $sales_start_date = get_post_meta( $parent_id, '_emwc_sales_start_date', true );1939 $sales_start_time = get_post_meta( $parent_id, '_emwc_sales_start_time', true );1940 }1941 if ( empty( $sales_end_date ) ) {1942 $sales_end_date = get_post_meta( $parent_id, '_emwc_sales_end_date', true );1943 $sales_end_time = get_post_meta( $parent_id, '_emwc_sales_end_time', true );1944 }1945 1946 // A series date's sales end when it starts, so a product-level end never applies (see check_purchasable()).1947 2157 $series_id = EMWC_Recurring_Tickets::get_series_id( $product ); 1948 if ( $series_id ) {1949 $sales_end_date = '';1950 $sales_end_time = '';1951 }1952 2158 1953 2159 // Resolved early so the sales window is read in the right event's time zone. … … 1955 2161 $timezone_source = $series_id ? $series_id : $event_id; 1956 2162 2163 $window = self::get_sales_window( $product, $event_id, $series_id, $timezone_source ); 2164 1957 2165 // Check if sales haven't started yet. 1958 if ( $sales_start_date ) { 1959 $sales_start = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $sales_start_date, $sales_start_time ? $sales_start_time : '00:00:00' ); 1960 if ( $sales_start > $now ) { 1961 return array( 1962 'status' => 'coming_soon', 1963 'date' => $sales_start, 1964 'label' => __( 'Sales Start', 'evenzo-events-manager' ), 1965 ); 1966 } 2166 if ( null !== $window['start'] && $window['start'] > $now ) { 2167 return array( 2168 'status' => 'coming_soon', 2169 'date' => $window['start'], 2170 'label' => __( 'Sales Start', 'evenzo-events-manager' ), 2171 ); 1967 2172 } 1968 2173 1969 2174 // Check if sales have ended. 1970 if ( $sales_end_date ) {1971 $sales_end = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $sales_end_date, $sales_end_time ? $sales_end_time : '23:59:59' );1972 if ( $ sales_end< $now ) {2175 $sales_countdown = array(); 2176 if ( null !== $window['end'] ) { 2177 if ( $window['end'] < $now ) { 1973 2178 return array( 1974 2179 'status' => 'ended', 1975 'date' => $ sales_end,2180 'date' => $window['end'], 1976 2181 'label' => __( 'Sales Ended', 'evenzo-events-manager' ), 1977 2182 ); 1978 2183 } 1979 // Sales are ongoing - show countdown to end.1980 returnarray(2184 // Sales are ongoing; the countdown shows once the sold-out checks below have passed. 2185 $sales_countdown = array( 1981 2186 'status' => 'on_sale', 1982 'date' => $ sales_end,2187 'date' => $window['end'], 1983 2188 'label' => __( 'Sales End', 'evenzo-events-manager' ), 1984 2189 ); … … 1988 2193 if ( $series_id && ! $event_id ) { 1989 2194 // No date of the series can be sold. 1990 $statuses = wp_list_pluck( EMWC_Recurring_Tickets::get_dates( $series_id ), 'status' );2195 $statuses = wp_list_pluck( EMWC_Recurring_Tickets::get_dates( $series_id, true, array( $product ) ), 'status' ); 1991 2196 if ( in_array( 'sold_out', $statuses, true ) ) { 1992 2197 return array( … … 2020 2225 'label' => __( 'Sold Out', 'evenzo-events-manager' ), 2021 2226 ); 2227 } 2228 2229 // A product's sales end only counts down while places are left. 2230 if ( $sales_countdown ) { 2231 return $sales_countdown; 2022 2232 } 2023 2233 … … 2066 2276 } 2067 2277 } 2278 } 2279 2280 if ( $sales_countdown ) { 2281 return $sales_countdown; 2068 2282 } 2069 2283 -
evenzo-events-manager/trunk/includes/woocommerce/class-emwc-wc-my-account.php
r3716241 r3831477 151 151 <tr> 152 152 <th><?php esc_html_e( 'Event', 'evenzo-events-manager' ); ?></th> 153 <th><?php esc_html_e( 'Attendee', 'evenzo-events-manager' ); ?></th> 153 154 <th><?php esc_html_e( 'Date', 'evenzo-events-manager' ); ?></th> 154 155 <th><?php esc_html_e( 'Ticket Code', 'evenzo-events-manager' ); ?></th> … … 178 179 <?php endif; ?> 179 180 </td> 181 <td data-title="<?php esc_attr_e( 'Attendee', 'evenzo-events-manager' ); ?>"> 182 <?php echo esc_html( '' !== $ticket['attendee_name'] ? $ticket['attendee_name'] : $ticket['attendee_email'] ); ?> 183 </td> 180 184 <td data-title="<?php esc_attr_e( 'Date', 'evenzo-events-manager' ); ?>"> 181 185 <?php echo esc_html( $ticket['event_date_formatted'] ); ?> … … 196 200 <td data-title="<?php esc_attr_e( 'Actions', 'evenzo-events-manager' ); ?>"> 197 201 <div class="emwc-ticket-actions"> 202 <?php if ( 'cancelled' !== $ticket['status'] ) : ?> 198 203 <button type="button" class="woocommerce-button button emwc-show-qr" data-ticket="<?php echo esc_attr( $ticket['ticket_code'] ); ?>" data-event="<?php echo esc_attr( $ticket['event_name'] ); ?>" data-qr-url="<?php echo esc_url( EMWC_QR_Code::get_ticket_qr_url( $ticket['ticket_code'], 300 ) ); ?>"> 199 204 <?php esc_html_e( 'QR', 'evenzo-events-manager' ); ?> 200 205 </button> 201 <?php if ( class_exists( 'EMWC_PDF_Ticket' ) ) : ?> 202 <a href="<?php echo esc_url( EMWC_PDF_Ticket::get_download_url( $ticket['attendee_id'] ) ); ?>" class="woocommerce-button button" target="_blank"> 203 <?php esc_html_e( 'Print', 'evenzo-events-manager' ); ?> 204 </a> 205 <?php endif; ?> 206 <?php if ( class_exists( 'EMWC_PDF_Ticket' ) ) : ?> 207 <a href="<?php echo esc_url( EMWC_PDF_Ticket::get_download_url( $ticket['attendee_id'] ) ); ?>" class="woocommerce-button button" target="_blank"> 208 <?php esc_html_e( 'Print', 'evenzo-events-manager' ); ?> 209 </a> 210 <?php endif; ?> 211 <?php endif; ?> 206 212 <a href="<?php echo esc_url( get_permalink( $ticket['event_id'] ) ); ?>" class="woocommerce-button button"><?php esc_html_e( 'Event', 'evenzo-events-manager' ); ?></a> 207 213 <?php if ( $ticket['order_id'] ) : ?> 208 214 <a href="<?php echo esc_url( wc_get_endpoint_url( 'view-order', $ticket['order_id'], wc_get_page_permalink( 'myaccount' ) ) ); ?>" class="woocommerce-button button"><?php esc_html_e( 'Order', 'evenzo-events-manager' ); ?></a> 209 215 <?php endif; ?> 216 <?php self::render_cancel_form( $ticket, $customer_id ); ?> 217 <?php 218 /** 219 * Fires after the actions of a ticket in My Tickets, to add more buttons. 220 * 221 * @since 1.2.0 222 * 223 * @param array $ticket Ticket data, as listed in the table. 224 * @param int $customer_id Logged-in customer. 225 */ 226 do_action( 'emwc_my_tickets_ticket_actions', $ticket, $customer_id ); 227 ?> 210 228 </div> 211 229 </td> … … 238 256 239 257 /** 258 * Print the Cancel ticket button when the customer can still cancel the ticket. 259 * 260 * @since 1.2.0 261 * 262 * @param array $ticket Ticket data. 263 * @param int $customer_id Logged-in customer. 264 * @return void 265 */ 266 private static function render_cancel_form( $ticket, $customer_id ) { 267 $attendee_id = absint( $ticket['attendee_id'] ); 268 if ( 'active' !== $ticket['status'] || ! class_exists( 'EMWC_Ticket_Cancellation' ) ) { 269 return; 270 } 271 if ( true !== EMWC_Ticket_Cancellation::customer_can_cancel( new EMWC_Attendee( $attendee_id ), $customer_id ) ) { 272 return; 273 } 274 ?> 275 <form method="post" class="emwc-cancel-ticket-form" data-confirm="<?php echo esc_attr__( 'Cancel this ticket? This can\'t be undone.', 'evenzo-events-manager' ); ?>"> 276 <input type="hidden" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( 'emwc_cancel_ticket_' . $attendee_id ) ); ?>"> 277 <button type="submit" name="emwc_cancel_ticket" value="<?php echo esc_attr( $attendee_id ); ?>" class="woocommerce-button button emwc-cancel-ticket"> 278 <?php esc_html_e( 'Cancel ticket', 'evenzo-events-manager' ); ?> 279 </button> 280 </form> 281 <?php 282 } 283 284 /** 240 285 * Enqueue styles and scripts for the event-tickets endpoint. 241 286 * … … 288 333 $email = $user ? $user->user_email : ''; 289 334 290 if ( ! $ email) {335 if ( ! $customer_id ) { 291 336 return array(); 292 337 } … … 296 341 $results = $wpdb->get_results( 297 342 $wpdb->prepare( 298 "SELECT * FROM {$attendees_table} WHERE email = %s ORDER BY created_at DESC", 343 "SELECT * FROM {$attendees_table} WHERE user_id = %d OR ( %s <> '' AND email = %s ) ORDER BY created_at DESC, attendee_id DESC", 344 $customer_id, 345 $email, 299 346 $email 300 347 ), … … 363 410 'order_id' => $row['order_id'], 364 411 'seat_info' => $seat_info, 412 'attendee_name' => trim( $row['first_name'] . ' ' . $row['last_name'] ), 413 'attendee_email' => $row['email'], 414 'is_own' => '' !== $email && 0 === strcasecmp( (string) $row['email'], $email ), 365 415 ); 366 416 } -
evenzo-events-manager/trunk/includes/woocommerce/class-emwc-wc-order.php
r3829439 r3831477 521 521 522 522 $existing_count = count( $ticket_codes ); 523 $ seat_index= $existing_count;523 $active_count = $existing_count; 524 524 if ( $existing_count ) { 525 525 $has_existing = true; 526 526 } 527 528 // A ticket someone cancelled on its own (a customer, or an admin on the attendee screen) is 529 // not missing: regenerating must not bring it back, and its place and stock already went back. 530 // Tickets that went with a cancelled order are still rebuilt. 531 $existing_count += self::count_cancelled_tickets( $order_id, $item_id ); 532 $seat_index = $existing_count; 527 533 528 534 // Rows saved with an item key belong to this line; older orders read one running index across all lines. … … 668 674 } 669 675 670 if ( count( $ticket_codes ) > $ existing_count ) {676 if ( count( $ticket_codes ) > $active_count ) { 671 677 $item->update_meta_data( '_emwc_ticket_codes', $ticket_codes ); 672 678 $item->save(); … … 681 687 do_action( 'emwc_tickets_generated', $order_id, $order ); 682 688 } 689 } 690 691 /** 692 * Count an order item's tickets that were cancelled one at a time. 693 * 694 * @since 1.2.0 695 * 696 * @param int $order_id Order ID. 697 * @param int $item_id Order item ID. 698 * @return int 699 */ 700 private static function count_cancelled_tickets( $order_id, $item_id ) { 701 global $wpdb; 702 703 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Custom table. 704 $metas = $wpdb->get_col( 705 $wpdb->prepare( 706 "SELECT meta FROM {$wpdb->prefix}emwc_attendees WHERE order_id = %d AND order_item_id = %d AND status = 'cancelled'", 707 $order_id, 708 $item_id 709 ) 710 ); 711 712 $count = 0; 713 foreach ( $metas as $meta ) { 714 $meta = maybe_unserialize( $meta ); 715 if ( is_array( $meta ) && ! empty( $meta['cancelled_by'] ) ) { 716 ++$count; 717 } 718 } 719 return $count; 683 720 } 684 721 -
evenzo-events-manager/trunk/languages/evenzo-events-manager.pot
r3829439 r3831477 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Evenzo – Event Tickets, Calendar and Check-in for WooCommerce 1. 1.7\n"5 "Project-Id-Version: Evenzo – Event Tickets, Calendar and Check-in for WooCommerce 1.2.0\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/evenzo-events-manager\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-11-2 7T11:47:44+00:00\n"12 "POT-Creation-Date: 2026-11-28T12:35:38+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 53 53 54 54 #: evenzo-events-manager.php:217 55 #: includes/admin/class-emwc-admin.php:4 2256 #: includes/admin/class-emwc-admin.php:4 2355 #: includes/admin/class-emwc-admin.php:454 56 #: includes/admin/class-emwc-admin.php:455 57 57 #: assets/js/blocks-editor.js:209 58 58 msgid "Settings" … … 60 60 61 61 #: evenzo-events-manager.php:244 62 #: includes/admin/class-emwc-admin-settings.php:35 362 #: includes/admin/class-emwc-admin-settings.php:357 63 63 msgid "Documentation" 64 64 msgstr "" … … 101 101 102 102 #: includes/admin/class-emwc-admin-attendees.php:276 103 #: includes/admin/class-emwc-admin-attendees.php:5 79104 #: includes/admin/class-emwc-admin-attendees.php:11 78105 #: includes/admin/class-emwc-admin-attendees.php:122 1103 #: includes/admin/class-emwc-admin-attendees.php:591 104 #: includes/admin/class-emwc-admin-attendees.php:1185 105 #: includes/admin/class-emwc-admin-attendees.php:1228 106 106 #: includes/woocommerce/class-emwc-attendee-editor.php:37 107 107 #: includes/woocommerce/class-emwc-attendee-editor.php:173 … … 175 175 msgstr "" 176 176 177 #: includes/admin/class-emwc-admin-attendees.php:294 177 #: includes/admin/class-emwc-admin-attendees.php:293 178 msgid "Not reactivated: the ticket changed in the meantime. Reload the page and try again." 179 msgstr "" 180 181 #: includes/admin/class-emwc-admin-attendees.php:295 178 182 msgid "Something went wrong. Try again." 179 183 msgstr "" 180 184 181 #: includes/admin/class-emwc-admin-attendees.php:4 38185 #: includes/admin/class-emwc-admin-attendees.php:450 182 186 #: includes/admin/class-emwc-admin-booking.php:577 183 187 #: includes/admin/class-emwc-admin-list-table.php:73 184 #: includes/admin/class-emwc-admin.php:4 32185 #: includes/admin/class-emwc-admin.php:4 33186 #: includes/admin/class-emwc-admin.php:7 46187 #: includes/admin/class-emwc-admin.php: 787188 #: includes/admin/class-emwc-admin.php:464 189 #: includes/admin/class-emwc-admin.php:465 190 #: includes/admin/class-emwc-admin.php:778 191 #: includes/admin/class-emwc-admin.php:819 188 192 #: includes/import/tec/class-emwc-tec-import-admin.php:698 189 193 msgid "Attendees" … … 191 195 192 196 #. translators: %s: number of attendees in the file 193 #: includes/admin/class-emwc-admin-attendees.php:4 42197 #: includes/admin/class-emwc-admin-attendees.php:454 194 198 #, php-format 195 199 msgid "Export CSV (%s)" 196 200 msgstr "" 197 201 198 #: includes/admin/class-emwc-admin-attendees.php:4 47202 #: includes/admin/class-emwc-admin-attendees.php:459 199 203 #: includes/admin/class-emwc-admin-booking.php:132 200 #: includes/admin/class-emwc-admin-meta-boxes.php: 493204 #: includes/admin/class-emwc-admin-meta-boxes.php:502 201 205 msgid "Add booking" 202 206 msgstr "" 203 207 204 #: includes/admin/class-emwc-admin-attendees.php:4 52208 #: includes/admin/class-emwc-admin-attendees.php:464 205 209 msgid "← All Attendees" 206 210 msgstr "" 207 211 208 #: includes/admin/class-emwc-admin-attendees.php:4 68212 #: includes/admin/class-emwc-admin-attendees.php:480 209 213 msgid "checked in" 210 214 msgstr "" 211 215 212 #: includes/admin/class-emwc-admin-attendees.php:4 69216 #: includes/admin/class-emwc-admin-attendees.php:481 213 217 msgid "checked out" 214 218 msgstr "" 215 219 216 #: includes/admin/class-emwc-admin-attendees.php:4 70220 #: includes/admin/class-emwc-admin-attendees.php:482 217 221 msgid "cancelled" 218 222 msgstr "" 219 223 220 #: includes/admin/class-emwc-admin-attendees.php:4 71224 #: includes/admin/class-emwc-admin-attendees.php:483 221 225 msgid "deleted" 222 226 msgstr "" 223 227 224 228 #. translators: 1: number of attendees, 2: action performed (checked in, cancelled, ...) 225 #: includes/admin/class-emwc-admin-attendees.php:4 77229 #: includes/admin/class-emwc-admin-attendees.php:489 226 230 #, php-format 227 231 msgid "%1$d attendee %2$s." … … 230 234 msgstr[1] "" 231 235 232 #: includes/admin/class-emwc-admin-attendees.php:4 87236 #: includes/admin/class-emwc-admin-attendees.php:499 233 237 msgid "Search Attendees" 234 238 msgstr "" 235 239 236 240 #. translators: 1: order number, 2: tickets created, 3: order total 237 #: includes/admin/class-emwc-admin-attendees.php:5 20241 #: includes/admin/class-emwc-admin-attendees.php:532 238 242 #, php-format 239 243 msgid "Booking created: order #%1$s, %2$d ticket, total %3$s." … … 242 246 msgstr[1] "" 243 247 244 #: includes/admin/class-emwc-admin-attendees.php:5 26248 #: includes/admin/class-emwc-admin-attendees.php:538 245 249 msgid "View order" 246 250 msgstr "" 247 251 248 252 #. translators: %s: attendee name or ticket number 249 #: includes/admin/class-emwc-admin-attendees.php:5 34253 #: includes/admin/class-emwc-admin-attendees.php:546 250 254 #, php-format 251 255 msgid "Ticket PDF: %s" … … 253 257 254 258 #. translators: %s: email address 255 #: includes/admin/class-emwc-admin-attendees.php:5 42259 #: includes/admin/class-emwc-admin-attendees.php:554 256 260 #, php-format 257 261 msgid "An account uses %s. This guest booking isn't linked to it." 258 262 msgstr "" 259 263 260 #: includes/admin/class-emwc-admin-attendees.php: 592264 #: includes/admin/class-emwc-admin-attendees.php:604 261 265 msgid "Ticket has been cancelled." 262 266 msgstr "" 263 267 264 #: includes/admin/class-emwc-admin-attendees.php: 595268 #: includes/admin/class-emwc-admin-attendees.php:607 265 269 msgid "Process refund via Order →" 266 270 msgstr "" 267 271 268 #: includes/admin/class-emwc-admin-attendees.php:6 01272 #: includes/admin/class-emwc-admin-attendees.php:613 269 273 msgid "Ticket has been reactivated." 270 274 msgstr "" 271 275 272 #: includes/admin/class-emwc-admin-attendees.php:6 04276 #: includes/admin/class-emwc-admin-attendees.php:616 273 277 msgid "Attendee updated." 274 278 msgstr "" 275 279 276 #: includes/admin/class-emwc-admin-attendees.php:6 07280 #: includes/admin/class-emwc-admin-attendees.php:619 277 281 msgid "Attendee moved. The ticket code is the same, so the ticket they have works for the new date or seat." 278 282 msgstr "" 279 283 280 284 #. translators: %s: email address 281 #: includes/admin/class-emwc-admin-attendees.php:6 11285 #: includes/admin/class-emwc-admin-attendees.php:623 282 286 #: includes/woocommerce/class-emwc-attendee-editor.php:402 283 287 #, php-format … … 286 290 287 291 #. translators: %s: attendee name 288 #: includes/admin/class-emwc-admin-attendees.php:6 23292 #: includes/admin/class-emwc-admin-attendees.php:635 289 293 #, php-format 290 294 msgid "Attendee: %s" 291 295 msgstr "" 292 296 293 #: includes/admin/class-emwc-admin-attendees.php:6 30297 #: includes/admin/class-emwc-admin-attendees.php:642 294 298 msgid "← Back to Attendees" 295 299 msgstr "" 296 300 297 #: includes/admin/class-emwc-admin-attendees.php:6 39298 #: includes/admin/class-emwc-admin-settings.php:60 1301 #: includes/admin/class-emwc-admin-attendees.php:651 302 #: includes/admin/class-emwc-admin-settings.php:609 299 303 #: includes/woocommerce/class-emwc-wc-checkout.php:163 300 304 #: templates/emails/admin-new-registration.php:31 … … 303 307 msgstr "" 304 308 305 #: includes/admin/class-emwc-admin-attendees.php:6 43306 #: includes/admin/class-emwc-admin-attendees.php:13 74309 #: includes/admin/class-emwc-admin-attendees.php:655 310 #: includes/admin/class-emwc-admin-attendees.php:1381 307 311 #: includes/waitlist/class-emwc-admin-waitlist.php:250 308 312 #: includes/woocommerce/class-emwc-attendee-details.php:617 … … 311 315 msgstr "" 312 316 313 #: includes/admin/class-emwc-admin-attendees.php:6 47314 #: includes/admin/class-emwc-admin-attendees.php: 894315 #: includes/admin/class-emwc-admin-attendees.php:13 75317 #: includes/admin/class-emwc-admin-attendees.php:659 318 #: includes/admin/class-emwc-admin-attendees.php:906 319 #: includes/admin/class-emwc-admin-attendees.php:1382 316 320 #: includes/admin/class-emwc-admin-booking.php:585 317 321 #: includes/admin/class-emwc-admin-list-table.php:309 318 #: includes/admin/class-emwc-admin-meta-boxes.php:8 45319 #: includes/admin/class-emwc-admin-meta-boxes.php:8 87320 #: includes/admin/class-emwc-admin.php:6 16322 #: includes/admin/class-emwc-admin-meta-boxes.php:854 323 #: includes/admin/class-emwc-admin-meta-boxes.php:896 324 #: includes/admin/class-emwc-admin.php:648 321 325 #: includes/class-emwc-privacy.php:204 322 326 #: includes/core/class-emwc-attendee-fields.php:187 323 327 #: includes/core/class-emwc-attendee-fields.php:335 328 #: includes/core/class-emwc-ticket-transfer.php:545 324 329 #: includes/export/class-emwc-attendee-export.php:208 325 330 #: includes/speakers/class-emwc-speaker-post-type.php:158 … … 327 332 #: includes/woocommerce/class-emwc-attendee-details.php:618 328 333 #: includes/woocommerce/class-emwc-attendee-editor.php:738 329 #: includes/woocommerce/class-emwc-wc-integration.php: 596330 #: includes/woocommerce/class-emwc-wc-integration.php:6 07331 #: includes/woocommerce/class-emwc-wc-integration.php: 863332 #: includes/woocommerce/class-emwc-wc-integration.php: 873334 #: includes/woocommerce/class-emwc-wc-integration.php:601 335 #: includes/woocommerce/class-emwc-wc-integration.php:612 336 #: includes/woocommerce/class-emwc-wc-integration.php:917 337 #: includes/woocommerce/class-emwc-wc-integration.php:927 333 338 #: templates/emails/admin-new-registration.php:48 334 339 #: assets/js/emwc-block-checkout.js:120 … … 336 341 msgstr "" 337 342 338 #: includes/admin/class-emwc-admin-attendees.php:6 51339 #: includes/admin/class-emwc-admin-attendees.php: 898343 #: includes/admin/class-emwc-admin-attendees.php:663 344 #: includes/admin/class-emwc-admin-attendees.php:910 340 345 #: includes/admin/class-emwc-admin-booking.php:572 341 #: includes/admin/class-emwc-admin-meta-boxes.php:84 0342 #: includes/admin/class-emwc-admin-meta-boxes.php: 892343 #: includes/admin/class-emwc-admin.php:6 17346 #: includes/admin/class-emwc-admin-meta-boxes.php:849 347 #: includes/admin/class-emwc-admin-meta-boxes.php:901 348 #: includes/admin/class-emwc-admin.php:649 344 349 #: includes/class-emwc-privacy.php:208 345 350 #: includes/core/class-emwc-attendee-fields.php:337 … … 347 352 #: includes/speakers/class-emwc-speaker-post-type.php:162 348 353 #: includes/woocommerce/class-emwc-attendee-editor.php:739 349 #: includes/woocommerce/class-emwc-wc-integration.php:6 08350 #: includes/woocommerce/class-emwc-wc-integration.php: 874354 #: includes/woocommerce/class-emwc-wc-integration.php:613 355 #: includes/woocommerce/class-emwc-wc-integration.php:928 351 356 msgid "Phone" 352 357 msgstr "" 353 358 354 #: includes/admin/class-emwc-admin-attendees.php:6 55355 #: includes/admin/class-emwc-admin-attendees.php:13 77359 #: includes/admin/class-emwc-admin-attendees.php:667 360 #: includes/admin/class-emwc-admin-attendees.php:1384 356 361 #: includes/export/class-emwc-attendee-export.php:205 357 #: includes/woocommerce/class-emwc-wc-my-account.php:15 4358 #: includes/woocommerce/class-emwc-wc-my-account.php:18 3362 #: includes/woocommerce/class-emwc-wc-my-account.php:155 363 #: includes/woocommerce/class-emwc-wc-my-account.php:187 359 364 #: includes/woocommerce/class-emwc-wc-order.php:220 360 #: includes/woocommerce/class-emwc-wc-order.php:1 281365 #: includes/woocommerce/class-emwc-wc-order.php:1318 361 366 #: templates/emails/admin-new-registration.php:52 367 #: templates/emails/admin-ticket-cancelled.php:59 362 368 #: templates/emails/registration-confirmation.php:93 369 #: templates/emails/ticket-cancelled.php:66 363 370 msgid "Ticket Code" 364 371 msgstr "" 365 372 366 #: includes/admin/class-emwc-admin-attendees.php:6 60367 #: includes/admin/class-emwc-admin-attendees.php:13 78373 #: includes/admin/class-emwc-admin-attendees.php:672 374 #: includes/admin/class-emwc-admin-attendees.php:1385 368 375 #: includes/export/class-emwc-attendee-export.php:216 369 376 #: includes/pdf/class-emwc-pdf-ticket.php:241 370 #: includes/woocommerce/class-emwc-wc-my-account.php:15 5371 #: includes/woocommerce/class-emwc-wc-my-account.php:1 86377 #: includes/woocommerce/class-emwc-wc-my-account.php:156 378 #: includes/woocommerce/class-emwc-wc-my-account.php:190 372 379 #: includes/woocommerce/class-emwc-wc-order.php:222 373 380 #: templates/emails/ticket-delivery.php:122 … … 375 382 msgstr "" 376 383 377 #: includes/admin/class-emwc-admin-attendees.php:6 65378 #: includes/admin/class-emwc-admin-attendees.php:13 79384 #: includes/admin/class-emwc-admin-attendees.php:677 385 #: includes/admin/class-emwc-admin-attendees.php:1386 379 386 #: includes/admin/class-emwc-admin-list-table.php:72 380 #: includes/admin/class-emwc-admin-meta-boxes.php:4 24387 #: includes/admin/class-emwc-admin-meta-boxes.php:433 381 388 #: includes/class-emwc-privacy.php:212 382 389 #: includes/export/class-emwc-csv-export.php:155 383 390 #: includes/waitlist/class-emwc-admin-waitlist.php:255 384 #: includes/woocommerce/class-emwc-wc-my-account.php:15 6385 #: includes/woocommerce/class-emwc-wc-my-account.php:19 3391 #: includes/woocommerce/class-emwc-wc-my-account.php:157 392 #: includes/woocommerce/class-emwc-wc-my-account.php:197 386 393 #: includes/woocommerce/class-emwc-wc-order.php:224 387 394 #: templates/emails/admin-new-registration.php:100 … … 389 396 msgstr "" 390 397 391 #: includes/admin/class-emwc-admin-attendees.php:6 73398 #: includes/admin/class-emwc-admin-attendees.php:685 392 399 msgid "Check-in Status" 393 400 msgstr "" 394 401 395 #: includes/admin/class-emwc-admin-attendees.php:6 76396 #: includes/admin/class-emwc-admin-attendees.php:14 73402 #: includes/admin/class-emwc-admin-attendees.php:688 403 #: includes/admin/class-emwc-admin-attendees.php:1480 397 404 #: includes/admin/class-emwc-admin-checkin.php:84 398 405 #: includes/admin/class-emwc-admin-checkin.php:225 … … 400 407 #: includes/export/class-emwc-attendee-export.php:833 401 408 #: includes/export/class-emwc-csv-export.php:169 402 #: includes/woocommerce/class-emwc-wc-my-account.php: 384409 #: includes/woocommerce/class-emwc-wc-my-account.php:434 403 410 #: includes/woocommerce/class-emwc-wc-order.php:257 404 411 msgid "Checked In" 405 412 msgstr "" 406 413 407 #: includes/admin/class-emwc-admin-attendees.php:6 79414 #: includes/admin/class-emwc-admin-attendees.php:691 408 415 msgid "Not Checked In" 409 416 msgstr "" 410 417 411 #: includes/admin/class-emwc-admin-attendees.php:6 84412 #: includes/admin/class-emwc-admin-attendees.php:138 2418 #: includes/admin/class-emwc-admin-attendees.php:696 419 #: includes/admin/class-emwc-admin-attendees.php:1389 413 420 #: includes/export/class-emwc-attendee-export.php:229 414 421 #: includes/export/class-emwc-csv-export.php:168 … … 416 423 msgstr "" 417 424 418 #: includes/admin/class-emwc-admin-attendees.php: 693425 #: includes/admin/class-emwc-admin-attendees.php:705 419 426 msgid "Custom Fields" 420 427 msgstr "" 421 428 422 #: includes/admin/class-emwc-admin-attendees.php:7 13423 #: includes/admin/class-emwc-admin-attendees.php:13 76429 #: includes/admin/class-emwc-admin-attendees.php:725 430 #: includes/admin/class-emwc-admin-attendees.php:1383 424 431 #: includes/admin/class-emwc-admin-booking.php:350 425 #: includes/admin/class-emwc-admin.php: 785426 #: includes/admin/class-emwc-admin.php:8 14432 #: includes/admin/class-emwc-admin.php:817 433 #: includes/admin/class-emwc-admin.php:846 427 434 #: includes/class-emwc-privacy.php:192 428 435 #: includes/export/class-emwc-attendee-export.php:211 429 436 #: includes/waitlist/class-emwc-admin-waitlist.php:253 430 #: includes/woocommerce/class-emwc-wc-integration.php:6 27431 #: includes/woocommerce/class-emwc-wc-integration.php:1 273432 #: includes/woocommerce/class-emwc-wc-integration.php:16 08437 #: includes/woocommerce/class-emwc-wc-integration.php:632 438 #: includes/woocommerce/class-emwc-wc-integration.php:1367 439 #: includes/woocommerce/class-emwc-wc-integration.php:1669 433 440 #: includes/woocommerce/class-emwc-wc-my-account.php:152 434 #: includes/woocommerce/class-emwc-wc-my-account.php:17 0435 #: includes/woocommerce/class-emwc-wc-my-account.php:2 06441 #: includes/woocommerce/class-emwc-wc-my-account.php:171 442 #: includes/woocommerce/class-emwc-wc-my-account.php:212 436 443 #: includes/woocommerce/class-emwc-wc-order.php:165 437 #: includes/woocommerce/class-emwc-wc-order.php:11 37438 #: includes/woocommerce/class-emwc-wc-order.php:1 280444 #: includes/woocommerce/class-emwc-wc-order.php:1174 445 #: includes/woocommerce/class-emwc-wc-order.php:1317 439 446 #: templates/emails/admin-new-registration.php:63 447 #: templates/emails/admin-ticket-cancelled.php:47 440 448 #: templates/emails/event-cancellation.php:51 441 449 #: templates/emails/event-reminder.php:43 442 450 #: templates/emails/event-update.php:53 443 451 #: templates/emails/registration-confirmation.php:36 452 #: templates/emails/ticket-cancelled.php:54 444 453 msgid "Event" 445 454 msgstr "" 446 455 447 #: includes/admin/class-emwc-admin-attendees.php:7 31456 #: includes/admin/class-emwc-admin-attendees.php:743 448 457 #: includes/blocks/class-emwc-blocks.php:300 449 458 #: includes/core/class-emwc-post-types.php:68 … … 452 461 msgstr "" 453 462 454 #: includes/admin/class-emwc-admin-attendees.php:7 35463 #: includes/admin/class-emwc-admin-attendees.php:747 455 464 #: includes/blocks/event-card/render.php:59 456 465 #: includes/blocks/event-countdown/render.php:60 … … 460 469 msgstr "" 461 470 462 #: includes/admin/class-emwc-admin-attendees.php:7 42463 #: includes/admin/class-emwc-admin-attendees.php:138 1464 #: includes/woocommerce/class-emwc-wc-my-account.php:2 08471 #: includes/admin/class-emwc-admin-attendees.php:754 472 #: includes/admin/class-emwc-admin-attendees.php:1388 473 #: includes/woocommerce/class-emwc-wc-my-account.php:214 465 474 #: templates/emails/admin-new-registration.php:90 475 #: templates/emails/admin-ticket-cancelled.php:64 466 476 #: assets/js/blocks-editor.js:147 467 477 msgid "Order" … … 469 479 470 480 #. translators: %s: order number 471 #: includes/admin/class-emwc-admin-attendees.php:7 49481 #: includes/admin/class-emwc-admin-attendees.php:761 472 482 #: includes/pdf/class-emwc-pdf-ticket.php:270 473 483 #, php-format … … 475 485 msgstr "" 476 486 477 #: includes/admin/class-emwc-admin-attendees.php:7 59487 #: includes/admin/class-emwc-admin-attendees.php:771 478 488 msgid "View Order" 479 489 msgstr "" 480 490 481 #: includes/admin/class-emwc-admin-attendees.php:7 67482 #: includes/admin/class-emwc-admin-meta-boxes.php:4 25491 #: includes/admin/class-emwc-admin-attendees.php:779 492 #: includes/admin/class-emwc-admin-meta-boxes.php:434 483 493 #: includes/waitlist/class-emwc-admin-waitlist.php:258 484 #: includes/woocommerce/class-emwc-wc-my-account.php:15 7485 #: includes/woocommerce/class-emwc-wc-my-account.php: 196494 #: includes/woocommerce/class-emwc-wc-my-account.php:158 495 #: includes/woocommerce/class-emwc-wc-my-account.php:200 486 496 msgid "Actions" 487 497 msgstr "" 488 498 489 #: includes/admin/class-emwc-admin-attendees.php:7 72490 #: includes/admin/class-emwc-admin-attendees.php:141 1499 #: includes/admin/class-emwc-admin-attendees.php:784 500 #: includes/admin/class-emwc-admin-attendees.php:1418 491 501 #: includes/admin/class-emwc-admin-checkin.php:85 492 502 #: includes/admin/class-emwc-admin-checkin.php:167 … … 494 504 msgstr "" 495 505 496 #: includes/admin/class-emwc-admin-attendees.php:7 76497 #: includes/admin/class-emwc-admin-attendees.php:141 2506 #: includes/admin/class-emwc-admin-attendees.php:788 507 #: includes/admin/class-emwc-admin-attendees.php:1419 498 508 msgid "Check Out" 499 509 msgstr "" 500 510 501 #: includes/admin/class-emwc-admin-attendees.php:7 81511 #: includes/admin/class-emwc-admin-attendees.php:793 502 512 #: includes/pdf/class-emwc-pdf-ticket.php:208 503 513 msgid "Print Ticket" 504 514 msgstr "" 505 515 506 #: includes/admin/class-emwc-admin-attendees.php:7 86516 #: includes/admin/class-emwc-admin-attendees.php:798 507 517 msgid "Resend Ticket Email" 508 518 msgstr "" 509 519 510 #: includes/admin/class-emwc-admin-attendees.php: 792520 #: includes/admin/class-emwc-admin-attendees.php:804 511 521 msgid "Cancel this ticket? The seat will be released. You can process a refund separately from the order page." 512 522 msgstr "" 513 523 514 #: includes/admin/class-emwc-admin-attendees.php: 793524 #: includes/admin/class-emwc-admin-attendees.php:805 515 525 msgid "Cancel Ticket" 516 526 msgstr "" 517 527 518 #: includes/admin/class-emwc-admin-attendees.php: 797528 #: includes/admin/class-emwc-admin-attendees.php:809 519 529 #: includes/api/class-emwc-rest-checkin-controller.php:208 520 530 #: includes/api/class-emwc-rest-checkin-controller.php:475 … … 522 532 msgstr "" 523 533 524 #: includes/admin/class-emwc-admin-attendees.php:8 00534 #: includes/admin/class-emwc-admin-attendees.php:812 525 535 msgid "Reactivate Ticket" 526 536 msgstr "" 527 537 528 #: includes/admin/class-emwc-admin-attendees.php:8 78538 #: includes/admin/class-emwc-admin-attendees.php:890 529 539 msgid "Edit details" 530 540 msgstr "" 531 541 532 #: includes/admin/class-emwc-admin-attendees.php:8 86542 #: includes/admin/class-emwc-admin-attendees.php:898 533 543 #: includes/admin/class-emwc-admin-booking.php:564 534 544 #: includes/admin/class-emwc-admin-booking.php:583 545 #: includes/core/class-emwc-ticket-transfer.php:537 535 546 #: includes/woocommerce/class-emwc-attendee-editor.php:736 536 547 #: includes/woocommerce/class-emwc-wc-checkout.php:497 … … 538 549 msgstr "" 539 550 540 #: includes/admin/class-emwc-admin-attendees.php: 890551 #: includes/admin/class-emwc-admin-attendees.php:902 541 552 #: includes/admin/class-emwc-admin-booking.php:568 542 553 #: includes/admin/class-emwc-admin-booking.php:584 554 #: includes/core/class-emwc-ticket-transfer.php:541 543 555 #: includes/woocommerce/class-emwc-attendee-editor.php:737 544 556 #: includes/woocommerce/class-emwc-wc-checkout.php:498 … … 546 558 msgstr "" 547 559 548 #: includes/admin/class-emwc-admin-attendees.php:9 26560 #: includes/admin/class-emwc-admin-attendees.php:938 549 561 msgid "Ticket email" 550 562 msgstr "" 551 563 552 #: includes/admin/class-emwc-admin-attendees.php:9 29564 #: includes/admin/class-emwc-admin-attendees.php:941 553 565 msgid "Email the updated ticket" 554 566 msgstr "" 555 567 556 #: includes/admin/class-emwc-admin-attendees.php:9 30568 #: includes/admin/class-emwc-admin-attendees.php:942 557 569 msgid "Sends this ticket only, to the email above." 558 570 msgstr "" 559 571 560 #: includes/admin/class-emwc-admin-attendees.php:9 32572 #: includes/admin/class-emwc-admin-attendees.php:944 561 573 msgid "A cancelled ticket can't be emailed. Reactivate it first to send it." 562 574 msgstr "" 563 575 564 #: includes/admin/class-emwc-admin-attendees.php:9 34576 #: includes/admin/class-emwc-admin-attendees.php:946 565 577 msgid "This ticket is not valid, so it can't be emailed." 566 578 msgstr "" 567 579 568 #: includes/admin/class-emwc-admin-attendees.php:9 40580 #: includes/admin/class-emwc-admin-attendees.php:952 569 581 msgid "This attendee is checked in. Editing details doesn't change the check-in." 570 582 msgstr "" 571 583 572 #: includes/admin/class-emwc-admin-attendees.php:9 42584 #: includes/admin/class-emwc-admin-attendees.php:954 573 585 msgid "Save details" 574 586 msgstr "" 575 587 576 #: includes/admin/class-emwc-admin-attendees.php:9 83588 #: includes/admin/class-emwc-admin-attendees.php:995 577 589 msgid "Change date or seat" 578 590 msgstr "" 579 591 580 #: includes/admin/class-emwc-admin-attendees.php:9 86592 #: includes/admin/class-emwc-admin-attendees.php:998 581 593 #: includes/woocommerce/class-emwc-attendee-editor.php:194 582 594 msgid "Only a ticket on a processing or completed order can be moved." 583 595 msgstr "" 584 596 585 #: includes/admin/class-emwc-admin-attendees.php: 988597 #: includes/admin/class-emwc-admin-attendees.php:1000 586 598 msgid "This ticket is for a single event with no seating chart, so there is no other date or seat to move it to." 587 599 msgstr "" 588 600 589 #: includes/admin/class-emwc-admin-attendees.php: 995601 #: includes/admin/class-emwc-admin-attendees.php:1007 590 602 #: includes/admin/class-emwc-admin-booking.php:365 591 #: includes/admin/class-emwc-admin.php: 786603 #: includes/admin/class-emwc-admin.php:818 592 604 #: includes/import/class-emwc-ical-import.php:488 593 #: includes/woocommerce/class-emwc-wc-integration.php:1 282594 #: includes/woocommerce/class-emwc-wc-integration.php:16 10595 #: includes/woocommerce/class-emwc-wc-my-account.php:15 3596 #: includes/woocommerce/class-emwc-wc-my-account.php:18 0605 #: includes/woocommerce/class-emwc-wc-integration.php:1376 606 #: includes/woocommerce/class-emwc-wc-integration.php:1671 607 #: includes/woocommerce/class-emwc-wc-my-account.php:154 608 #: includes/woocommerce/class-emwc-wc-my-account.php:184 597 609 #: includes/woocommerce/class-emwc-wc-order.php:179 598 610 #: templates/emails/admin-new-registration.php:71 611 #: templates/emails/admin-ticket-cancelled.php:55 599 612 #: templates/emails/event-reminder.php:47 600 613 #: templates/emails/event-update.php:57 601 614 #: templates/emails/registration-confirmation.php:40 615 #: templates/emails/ticket-cancelled.php:58 602 616 #: templates/emails/ticket-delivery.php:56 603 617 msgid "Date" 604 618 msgstr "" 605 619 606 #: includes/admin/class-emwc-admin-attendees.php: 997620 #: includes/admin/class-emwc-admin-attendees.php:1009 607 621 #: includes/admin/class-emwc-admin-booking.php:368 608 #: includes/woocommerce/class-emwc-recurring-tickets.php: 573609 #: includes/woocommerce/class-emwc-wc-integration.php:1 370622 #: includes/woocommerce/class-emwc-recurring-tickets.php:652 623 #: includes/woocommerce/class-emwc-wc-integration.php:1464 610 624 msgid "Choose a date" 611 625 msgstr "" 612 626 613 627 #. translators: %s: date 614 #: includes/admin/class-emwc-admin-attendees.php:10 04628 #: includes/admin/class-emwc-admin-attendees.php:1016 615 629 #, php-format 616 630 msgid "%s (current date)" … … 618 632 619 633 #. translators: 1: date, 2: places left 620 #: includes/admin/class-emwc-admin-attendees.php:10 07634 #: includes/admin/class-emwc-admin-attendees.php:1019 621 635 #: includes/admin/class-emwc-admin-booking.php:416 622 636 #, php-format … … 624 638 msgstr "" 625 639 626 #: includes/admin/class-emwc-admin-attendees.php:10 13640 #: includes/admin/class-emwc-admin-attendees.php:1025 627 641 msgid "Choose" 628 642 msgstr "" 629 643 630 #: includes/admin/class-emwc-admin-attendees.php:10 26644 #: includes/admin/class-emwc-admin-attendees.php:1038 631 645 msgid "Pick one seat." 632 646 msgstr "" 633 647 634 #: includes/admin/class-emwc-admin-attendees.php:10 30648 #: includes/admin/class-emwc-admin-attendees.php:1042 635 649 msgid "Move even if the date is full" 636 650 msgstr "" 637 651 638 #: includes/admin/class-emwc-admin-attendees.php:10 32652 #: includes/admin/class-emwc-admin-attendees.php:1044 639 653 msgid "Email the attendee their updated ticket" 640 654 msgstr "" 641 655 642 #: includes/admin/class-emwc-admin-attendees.php:10 33656 #: includes/admin/class-emwc-admin-attendees.php:1045 643 657 msgid "The ticket code stays the same. The new seat is taken before the old one is freed." 644 658 msgstr "" 645 659 646 #: includes/admin/class-emwc-admin-attendees.php:10 34660 #: includes/admin/class-emwc-admin-attendees.php:1046 647 661 msgid "Move attendee" 648 662 msgstr "" 649 663 650 #: includes/admin/class-emwc-admin-attendees.php:11 66651 #: includes/admin/class-emwc-admin-attendees.php:121 1664 #: includes/admin/class-emwc-admin-attendees.php:1173 665 #: includes/admin/class-emwc-admin-attendees.php:1218 652 666 #: includes/admin/class-emwc-admin-checkin.php:379 653 667 #: includes/admin/class-emwc-admin-checkin.php:484 … … 659 673 msgstr "" 660 674 661 #: includes/admin/class-emwc-admin-attendees.php:117 2662 #: includes/admin/class-emwc-admin-attendees.php:12 16675 #: includes/admin/class-emwc-admin-attendees.php:1179 676 #: includes/admin/class-emwc-admin-attendees.php:1223 663 677 msgid "Invalid attendee." 664 678 msgstr "" 665 679 666 #: includes/admin/class-emwc-admin-attendees.php:11 86680 #: includes/admin/class-emwc-admin-attendees.php:1193 667 681 msgid "Attendee checked out." 668 682 msgstr "" 669 683 670 #: includes/admin/class-emwc-admin-attendees.php:1 194684 #: includes/admin/class-emwc-admin-attendees.php:1201 671 685 msgid "Attendee checked in." 672 686 msgstr "" 673 687 674 #: includes/admin/class-emwc-admin-attendees.php:12 29688 #: includes/admin/class-emwc-admin-attendees.php:1236 675 689 msgid "Ticket email sent." 676 690 msgstr "" 677 691 678 #: includes/admin/class-emwc-admin-attendees.php:12 79692 #: includes/admin/class-emwc-admin-attendees.php:1286 679 693 msgid "You do not have permission to export attendees." 680 694 msgstr "" 681 695 682 #: includes/admin/class-emwc-admin-attendees.php:12 84696 #: includes/admin/class-emwc-admin-attendees.php:1291 683 697 msgid "The export link has expired. Reload the Attendees screen and try again." 684 698 msgstr "" 685 699 686 #: includes/admin/class-emwc-admin-attendees.php:138 0700 #: includes/admin/class-emwc-admin-attendees.php:1387 687 701 #: includes/admin/class-emwc-admin-settings.php:107 688 #: includes/admin/class-emwc-admin.php:4 52689 #: includes/admin/class-emwc-admin.php:4 53690 #: includes/admin/class-emwc-admin.php:7 22702 #: includes/admin/class-emwc-admin.php:484 703 #: includes/admin/class-emwc-admin.php:485 704 #: includes/admin/class-emwc-admin.php:754 691 705 msgid "Check-in" 692 706 msgstr "" 693 707 694 #: includes/admin/class-emwc-admin-attendees.php:14 13708 #: includes/admin/class-emwc-admin-attendees.php:1420 695 709 msgid "Cancel Tickets" 696 710 msgstr "" 697 711 698 #: includes/admin/class-emwc-admin-attendees.php:14 14712 #: includes/admin/class-emwc-admin-attendees.php:1421 699 713 msgid "Delete" 700 714 msgstr "" 701 715 702 #: includes/admin/class-emwc-admin-attendees.php:14 47716 #: includes/admin/class-emwc-admin-attendees.php:1454 703 717 #: includes/admin/class-emwc-admin-checkin.php:120 704 718 #: includes/admin/class-emwc-admin-list-table.php:451 … … 709 723 710 724 #. translators: %s: event series title 711 #: includes/admin/class-emwc-admin-attendees.php:14 59725 #: includes/admin/class-emwc-admin-attendees.php:1466 712 726 #, php-format 713 727 msgid "%s: all dates" 714 728 msgstr "" 715 729 716 #: includes/admin/class-emwc-admin-attendees.php:147 1730 #: includes/admin/class-emwc-admin-attendees.php:1478 717 731 #: includes/admin/class-emwc-admin-list-table.php:408 718 732 #: includes/waitlist/class-emwc-admin-waitlist.php:234 … … 720 734 msgstr "" 721 735 722 #: includes/admin/class-emwc-admin-attendees.php:147 2736 #: includes/admin/class-emwc-admin-attendees.php:1479 723 737 #: includes/export/class-emwc-attendee-export.php:831 724 #: includes/woocommerce/class-emwc-wc-my-account.php: 381738 #: includes/woocommerce/class-emwc-wc-my-account.php:431 725 739 msgid "Active" 726 740 msgstr "" 727 741 728 #: includes/admin/class-emwc-admin-attendees.php:14 74742 #: includes/admin/class-emwc-admin-attendees.php:1481 729 743 #: includes/admin/class-emwc-admin-list-table.php:143 730 744 #: includes/admin/class-emwc-admin-list-table.php:411 731 #: includes/admin/class-emwc-admin-meta-boxes.php:2 27745 #: includes/admin/class-emwc-admin-meta-boxes.php:236 732 746 #: includes/blocks/event-card/render.php:117 733 747 #: includes/blocks/events-list/render.php:168 734 748 #: includes/export/class-emwc-attendee-export.php:832 735 749 #: includes/woocommerce/class-emwc-attendee-details.php:611 736 #: includes/woocommerce/class-emwc-wc-my-account.php: 385750 #: includes/woocommerce/class-emwc-wc-my-account.php:435 737 751 #: includes/woocommerce/class-emwc-wc-order.php:170 738 752 #: templates/archive-emwc_event.php:65 739 #: templates/single-emwc_event.php:13 4753 #: templates/single-emwc_event.php:138 740 754 msgid "Cancelled" 741 755 msgstr "" 742 756 743 #: includes/admin/class-emwc-admin-attendees.php:14 78757 #: includes/admin/class-emwc-admin-attendees.php:1485 744 758 msgid "Any check-in" 745 759 msgstr "" 746 760 747 #: includes/admin/class-emwc-admin-attendees.php:14 79761 #: includes/admin/class-emwc-admin-attendees.php:1486 748 762 #: includes/woocommerce/class-emwc-attendee-details.php:612 749 763 msgid "Checked in" 750 764 msgstr "" 751 765 752 #: includes/admin/class-emwc-admin-attendees.php:148 0766 #: includes/admin/class-emwc-admin-attendees.php:1487 753 767 msgid "Not checked in" 754 768 msgstr "" 755 769 756 #: includes/admin/class-emwc-admin-attendees.php:14 83770 #: includes/admin/class-emwc-admin-attendees.php:1490 757 771 #: includes/waitlist/class-emwc-admin-waitlist.php:241 758 772 #: assets/js/blocks-editor.js:134 … … 760 774 msgstr "" 761 775 762 #: includes/admin/class-emwc-admin-attendees.php:15 44776 #: includes/admin/class-emwc-admin-attendees.php:1551 763 777 msgid "(No name)" 764 778 msgstr "" 765 779 766 #: includes/admin/class-emwc-admin-attendees.php:155 2767 #: includes/admin/class-emwc-admin-meta-boxes.php:4 75780 #: includes/admin/class-emwc-admin-attendees.php:1559 781 #: includes/admin/class-emwc-admin-meta-boxes.php:484 768 782 msgid "View" 769 783 msgstr "" 770 784 771 #: includes/admin/class-emwc-admin-attendees.php:156 0785 #: includes/admin/class-emwc-admin-attendees.php:1567 772 786 msgid "Are you sure you want to cancel this ticket?" 773 787 msgstr "" 774 788 775 #: includes/admin/class-emwc-admin-attendees.php:156 1789 #: includes/admin/class-emwc-admin-attendees.php:1568 776 790 msgid "Cancel" 777 791 msgstr "" 778 792 779 #: includes/admin/class-emwc-admin-attendees.php:15 67793 #: includes/admin/class-emwc-admin-attendees.php:1574 780 794 msgid "Reactivate" 781 795 msgstr "" 782 796 783 #: includes/admin/class-emwc-admin-attendees.php:16 73784 #: includes/admin/class-emwc-admin.php:6 19797 #: includes/admin/class-emwc-admin-attendees.php:1680 798 #: includes/admin/class-emwc-admin.php:651 785 799 #: includes/core/class-emwc-attendee-fields.php:470 786 800 #: includes/export/class-emwc-attendee-export.php:754 787 801 #: includes/export/class-emwc-csv-export.php:249 788 #: includes/woocommerce/class-emwc-wc-integration.php:8 03789 #: includes/woocommerce/class-emwc-wc-integration.php:8 25790 #: includes/woocommerce/class-emwc-wc-integration.php: 945791 #: includes/woocommerce/class-emwc-wc-integration.php: 963802 #: includes/woocommerce/class-emwc-wc-integration.php:857 803 #: includes/woocommerce/class-emwc-wc-integration.php:879 804 #: includes/woocommerce/class-emwc-wc-integration.php:1020 805 #: includes/woocommerce/class-emwc-wc-integration.php:1038 792 806 msgid "Yes" 793 807 msgstr "" 794 808 795 #: includes/admin/class-emwc-admin-attendees.php:16 76796 #: includes/admin/class-emwc-admin.php:6 20809 #: includes/admin/class-emwc-admin-attendees.php:1683 810 #: includes/admin/class-emwc-admin.php:652 797 811 #: includes/export/class-emwc-attendee-export.php:754 798 812 #: includes/export/class-emwc-csv-export.php:249 799 #: includes/woocommerce/class-emwc-wc-integration.php:8 03800 #: includes/woocommerce/class-emwc-wc-integration.php:8 25801 #: includes/woocommerce/class-emwc-wc-integration.php: 945802 #: includes/woocommerce/class-emwc-wc-integration.php: 963813 #: includes/woocommerce/class-emwc-wc-integration.php:857 814 #: includes/woocommerce/class-emwc-wc-integration.php:879 815 #: includes/woocommerce/class-emwc-wc-integration.php:1020 816 #: includes/woocommerce/class-emwc-wc-integration.php:1038 803 817 msgid "No" 804 818 msgstr "" 805 819 806 #: includes/admin/class-emwc-admin-attendees.php:17 34820 #: includes/admin/class-emwc-admin-attendees.php:1741 807 821 #: includes/admin/class-emwc-admin-checkin.php:86 808 822 msgid "No attendees found." … … 859 873 860 874 #: includes/admin/class-emwc-admin-booking.php:378 861 #: includes/admin/class-emwc-admin-meta-boxes.php:42 0875 #: includes/admin/class-emwc-admin-meta-boxes.php:429 862 876 msgid "Ticket" 863 877 msgstr "" … … 926 940 927 941 #: includes/admin/class-emwc-admin-booking.php:520 942 #: includes/emails/class-emwc-email-admin-ticket-cancelled.php:107 928 943 msgid "Customer" 929 944 msgstr "" … … 974 989 975 990 #: includes/admin/class-emwc-admin-booking.php:582 976 #: includes/admin/class-emwc-admin.php:8 13991 #: includes/admin/class-emwc-admin.php:845 977 992 #: includes/class-emwc-privacy.php:315 978 993 #: includes/pdf/class-emwc-pdf-ticket.php:235 994 #: includes/woocommerce/class-emwc-wc-my-account.php:153 995 #: includes/woocommerce/class-emwc-wc-my-account.php:181 979 996 #: includes/woocommerce/class-emwc-wc-order.php:219 997 #: templates/emails/admin-ticket-cancelled.php:43 998 #: templates/emails/ticket-cancelled.php:62 980 999 #: templates/emails/ticket-delivery.php:109 981 1000 msgid "Attendee" … … 1062 1081 1063 1082 #: includes/admin/class-emwc-admin-booking.php:674 1064 #: includes/admin/class-emwc-admin-meta-boxes.php:2 381083 #: includes/admin/class-emwc-admin-meta-boxes.php:247 1065 1084 #: includes/export/class-emwc-csv-export.php:167 1066 1085 #: includes/import/class-emwc-csv-import.php:106 … … 1197 1216 1198 1217 #: includes/admin/class-emwc-admin-checkin.php:230 1199 #: includes/admin/class-emwc-admin-meta-boxes.php:4 651200 #: includes/woocommerce/class-emwc-wc-my-account.php: 3821218 #: includes/admin/class-emwc-admin-meta-boxes.php:474 1219 #: includes/woocommerce/class-emwc-wc-my-account.php:432 1201 1220 msgid "Pending" 1202 1221 msgstr "" … … 1254 1273 1255 1274 #: includes/admin/class-emwc-admin-list-table.php:71 1256 #: includes/admin/class-emwc-admin-meta-boxes.php:3 281275 #: includes/admin/class-emwc-admin-meta-boxes.php:337 1257 1276 #: includes/export/class-emwc-csv-export.php:163 1258 1277 #: includes/pdf/class-emwc-pdf-ticket.php:248 1259 #: includes/woocommerce/class-emwc-wc-integration.php:16 131278 #: includes/woocommerce/class-emwc-wc-integration.php:1674 1260 1279 #: includes/woocommerce/class-emwc-wc-order.php:198 1261 1280 msgid "Venue" … … 1263 1282 1264 1283 #: includes/admin/class-emwc-admin-list-table.php:74 1265 #: includes/admin/class-emwc-admin-meta-boxes.php:4 631284 #: includes/admin/class-emwc-admin-meta-boxes.php:472 1266 1285 msgid "Published" 1267 1286 msgstr "" … … 1281 1300 #: includes/admin/class-emwc-admin-list-table.php:141 1282 1301 #: includes/admin/class-emwc-admin-list-table.php:409 1283 #: includes/admin/class-emwc-admin-meta-boxes.php:2 251302 #: includes/admin/class-emwc-admin-meta-boxes.php:234 1284 1303 msgid "Scheduled" 1285 1304 msgstr "" … … 1287 1306 #: includes/admin/class-emwc-admin-list-table.php:142 1288 1307 #: includes/admin/class-emwc-admin-list-table.php:410 1289 #: includes/admin/class-emwc-admin-meta-boxes.php:2 261308 #: includes/admin/class-emwc-admin-meta-boxes.php:235 1290 1309 #: includes/woocommerce/class-emwc-wc-order.php:171 1291 #: templates/single-emwc_event.php:13 51310 #: templates/single-emwc_event.php:139 1292 1311 msgid "Postponed" 1293 1312 msgstr "" … … 1295 1314 #: includes/admin/class-emwc-admin-list-table.php:144 1296 1315 #: includes/admin/class-emwc-admin-list-table.php:412 1297 #: includes/admin/class-emwc-admin-meta-boxes.php:2 281316 #: includes/admin/class-emwc-admin-meta-boxes.php:237 1298 1317 #: includes/blocks/events-list/render.php:170 1299 #: includes/woocommerce/class-emwc-wc-integration.php:1 3831300 #: includes/woocommerce/class-emwc-wc-integration.php:1 4441301 #: includes/woocommerce/class-emwc-wc-integration.php: 19951302 #: includes/woocommerce/class-emwc-wc-integration.php:2 0111303 #: includes/woocommerce/class-emwc-wc-integration.php:2 0201304 #: includes/woocommerce/class-emwc-wc-integration.php:2 1341305 #: includes/woocommerce/class-emwc-wc-integration.php:2 7321318 #: includes/woocommerce/class-emwc-wc-integration.php:1477 1319 #: includes/woocommerce/class-emwc-wc-integration.php:1538 1320 #: includes/woocommerce/class-emwc-wc-integration.php:2200 1321 #: includes/woocommerce/class-emwc-wc-integration.php:2216 1322 #: includes/woocommerce/class-emwc-wc-integration.php:2225 1323 #: includes/woocommerce/class-emwc-wc-integration.php:2348 1324 #: includes/woocommerce/class-emwc-wc-integration.php:2946 1306 1325 #: includes/woocommerce/class-emwc-wc-order.php:172 1307 1326 #: templates/archive-emwc_event.php:67 1308 #: templates/single-emwc_event.php:1 361309 #: templates/single-emwc_event.php:53 41310 #: templates/single-emwc_event.php:6 461311 #: templates/single-emwc_event.php:67 51327 #: templates/single-emwc_event.php:140 1328 #: templates/single-emwc_event.php:538 1329 #: templates/single-emwc_event.php:650 1330 #: templates/single-emwc_event.php:679 1312 1331 msgid "Sold Out" 1313 1332 msgstr "" … … 1319 1338 #: includes/admin/class-emwc-admin-list-table.php:159 1320 1339 #: includes/admin/class-emwc-admin-list-table.php:453 1321 #: includes/woocommerce/class-emwc-wc-my-account.php:17 51340 #: includes/woocommerce/class-emwc-wc-my-account.php:176 1322 1341 msgid "Ongoing" 1323 1342 msgstr "" 1324 1343 1325 1344 #: includes/admin/class-emwc-admin-list-table.php:241 1326 #: includes/admin/class-emwc-admin-meta-boxes.php:80 01345 #: includes/admin/class-emwc-admin-meta-boxes.php:809 1327 1346 msgid "City" 1328 1347 msgstr "" 1329 1348 1330 1349 #: includes/admin/class-emwc-admin-list-table.php:242 1331 #: includes/admin/class-emwc-admin-meta-boxes.php:8 151350 #: includes/admin/class-emwc-admin-meta-boxes.php:824 1332 1351 msgid "Country" 1333 1352 msgstr "" … … 1335 1354 #: includes/admin/class-emwc-admin-list-table.php:243 1336 1355 #: includes/admin/class-emwc-admin-list-table.php:310 1337 #: includes/admin/class-emwc-admin.php:4 011356 #: includes/admin/class-emwc-admin.php:433 1338 1357 #: includes/class-emwc-rss-feed.php:110 1339 1358 #: includes/import/tec/class-emwc-tec-import-admin.php:695 … … 1354 1373 1355 1374 #: includes/admin/class-emwc-admin-list-table.php:431 1356 #: includes/admin/class-emwc-admin-meta-boxes.php:3 211375 #: includes/admin/class-emwc-admin-meta-boxes.php:330 1357 1376 msgid "In-Person" 1358 1377 msgstr "" … … 1367 1386 1368 1387 #: includes/admin/class-emwc-admin-list-table.php:452 1369 #: includes/admin/class-emwc-admin.php:7 391370 #: includes/woocommerce/class-emwc-wc-my-account.php:17 31388 #: includes/admin/class-emwc-admin.php:771 1389 #: includes/woocommerce/class-emwc-wc-my-account.php:174 1371 1390 #: templates/archive-emwc_event.php:69 1372 1391 msgid "Upcoming" … … 1374 1393 1375 1394 #: includes/admin/class-emwc-admin-list-table.php:454 1376 #: includes/woocommerce/class-emwc-wc-my-account.php:17 71395 #: includes/woocommerce/class-emwc-wc-my-account.php:178 1377 1396 msgid "Past" 1378 1397 msgstr "" … … 1383 1402 1384 1403 #: includes/admin/class-emwc-admin-list-table.php:598 1385 #: includes/admin/class-emwc-admin.php:3 561404 #: includes/admin/class-emwc-admin.php:388 1386 1405 #: includes/export/class-emwc-csv-export.php:71 1387 1406 #: includes/waitlist/class-emwc-admin-waitlist.php:115 … … 1415 1434 1416 1435 #: includes/admin/class-emwc-admin-meta-boxes.php:68 1436 msgid "Notify ticket holders" 1437 msgstr "" 1438 1439 #: includes/admin/class-emwc-admin-meta-boxes.php:77 1417 1440 msgid "Event Tickets" 1418 1441 msgstr "" 1419 1442 1420 #: includes/admin/class-emwc-admin-meta-boxes.php: 791443 #: includes/admin/class-emwc-admin-meta-boxes.php:88 1421 1444 msgid "Custom Attributes" 1422 1445 msgstr "" 1423 1446 1424 #: includes/admin/class-emwc-admin-meta-boxes.php: 931447 #: includes/admin/class-emwc-admin-meta-boxes.php:102 1425 1448 msgid "Event Speakers" 1426 1449 msgstr "" 1427 1450 1428 #: includes/admin/class-emwc-admin-meta-boxes.php:1 041451 #: includes/admin/class-emwc-admin-meta-boxes.php:113 1429 1452 msgid "Venue Information" 1430 1453 msgstr "" 1431 1454 1432 #: includes/admin/class-emwc-admin-meta-boxes.php:1 141455 #: includes/admin/class-emwc-admin-meta-boxes.php:123 1433 1456 msgid "Organizer Information" 1434 1457 msgstr "" 1435 1458 1436 #: includes/admin/class-emwc-admin-meta-boxes.php:1 791459 #: includes/admin/class-emwc-admin-meta-boxes.php:188 1437 1460 msgid "All day event" 1438 1461 msgstr "" 1439 1462 1440 #: includes/admin/class-emwc-admin-meta-boxes.php:1 831463 #: includes/admin/class-emwc-admin-meta-boxes.php:192 1441 1464 msgid "Featured Event" 1442 1465 msgstr "" 1443 1466 1444 #: includes/admin/class-emwc-admin-meta-boxes.php:1 881467 #: includes/admin/class-emwc-admin-meta-boxes.php:197 1445 1468 msgid "Start Date & Time" 1446 1469 msgstr "" 1447 1470 1448 #: includes/admin/class-emwc-admin-meta-boxes.php:190 1449 #: includes/admin/class-emwc-admin-meta-boxes.php:198 1450 #: includes/admin/class-emwc-admin-meta-boxes.php:245 1451 #: includes/admin/class-emwc-admin-meta-boxes.php:255 1471 #: includes/admin/class-emwc-admin-meta-boxes.php:199 1472 #: includes/admin/class-emwc-admin-meta-boxes.php:207 1473 #: includes/admin/class-emwc-admin-meta-boxes.php:254 1452 1474 #: includes/admin/class-emwc-admin-meta-boxes.php:264 1475 #: includes/admin/class-emwc-admin-meta-boxes.php:273 1453 1476 msgid "YYYY-MM-DD" 1454 1477 msgstr "" 1455 1478 1456 #: includes/admin/class-emwc-admin-meta-boxes.php: 1961479 #: includes/admin/class-emwc-admin-meta-boxes.php:205 1457 1480 msgid "End Date & Time" 1458 1481 msgstr "" 1459 1482 1460 #: includes/admin/class-emwc-admin-meta-boxes.php:2 011483 #: includes/admin/class-emwc-admin-meta-boxes.php:210 1461 1484 msgid "Leave empty for single-moment events." 1462 1485 msgstr "" 1463 1486 1464 #: includes/admin/class-emwc-admin-meta-boxes.php:2 051487 #: includes/admin/class-emwc-admin-meta-boxes.php:214 1465 1488 msgid "Timezone" 1466 1489 msgstr "" 1467 1490 1468 #: includes/admin/class-emwc-admin-meta-boxes.php:2 231491 #: includes/admin/class-emwc-admin-meta-boxes.php:232 1469 1492 #: includes/export/class-emwc-csv-export.php:156 1470 1493 msgid "Event Status" 1471 1494 msgstr "" 1472 1495 1473 #: includes/admin/class-emwc-admin-meta-boxes.php:24 01496 #: includes/admin/class-emwc-admin-meta-boxes.php:249 1474 1497 msgid "Leave empty for unlimited." 1475 1498 msgstr "" 1476 1499 1477 #: includes/admin/class-emwc-admin-meta-boxes.php:2 441500 #: includes/admin/class-emwc-admin-meta-boxes.php:253 1478 1501 msgid "Registration Deadline" 1479 1502 msgstr "" 1480 1503 1481 #: includes/admin/class-emwc-admin-meta-boxes.php:2 491504 #: includes/admin/class-emwc-admin-meta-boxes.php:258 1482 1505 msgid "Ticket Sales Window" 1483 1506 msgstr "" 1484 1507 1485 #: includes/admin/class-emwc-admin-meta-boxes.php:25 01508 #: includes/admin/class-emwc-admin-meta-boxes.php:259 1486 1509 msgid "Controls when tickets go on sale. Auto-synced to linked products." 1487 1510 msgstr "" 1488 1511 1489 #: includes/admin/class-emwc-admin-meta-boxes.php:2 531490 #: includes/woocommerce/class-emwc-wc-integration.php: 19641512 #: includes/admin/class-emwc-admin-meta-boxes.php:262 1513 #: includes/woocommerce/class-emwc-wc-integration.php:2170 1491 1514 msgid "Sales Start" 1492 1515 msgstr "" 1493 1516 1494 #: includes/admin/class-emwc-admin-meta-boxes.php:2 581517 #: includes/admin/class-emwc-admin-meta-boxes.php:267 1495 1518 msgid "Leave empty for immediately." 1496 1519 msgstr "" 1497 1520 1498 #: includes/admin/class-emwc-admin-meta-boxes.php:2 621499 #: includes/woocommerce/class-emwc-wc-integration.php: 19831500 #: includes/woocommerce/class-emwc-wc-integration.php:2 0371521 #: includes/admin/class-emwc-admin-meta-boxes.php:271 1522 #: includes/woocommerce/class-emwc-wc-integration.php:2188 1523 #: includes/woocommerce/class-emwc-wc-integration.php:2247 1501 1524 msgid "Sales End" 1502 1525 msgstr "" 1503 1526 1504 #: includes/admin/class-emwc-admin-meta-boxes.php:2 671527 #: includes/admin/class-emwc-admin-meta-boxes.php:276 1505 1528 msgid "Defaults to registration deadline or event start." 1506 1529 msgstr "" 1507 1530 1508 #: includes/admin/class-emwc-admin-meta-boxes.php:2 711531 #: includes/admin/class-emwc-admin-meta-boxes.php:280 1509 1532 msgid "For recurring events, each date's tickets are on sale until that date starts. These fields apply to tickets linked to a single date." 1510 1533 msgstr "" 1511 1534 1512 #: includes/admin/class-emwc-admin-meta-boxes.php:3 191535 #: includes/admin/class-emwc-admin-meta-boxes.php:328 1513 1536 #: includes/export/class-emwc-csv-export.php:162 1514 1537 #: includes/import/class-emwc-csv-import.php:110 … … 1516 1539 msgstr "" 1517 1540 1518 #: includes/admin/class-emwc-admin-meta-boxes.php:3 221541 #: includes/admin/class-emwc-admin-meta-boxes.php:331 1519 1542 msgid "Virtual (Online)" 1520 1543 msgstr "" 1521 1544 1522 #: includes/admin/class-emwc-admin-meta-boxes.php:3 231545 #: includes/admin/class-emwc-admin-meta-boxes.php:332 1523 1546 msgid "Hybrid (In-Person + Virtual)" 1524 1547 msgstr "" 1525 1548 1526 #: includes/admin/class-emwc-admin-meta-boxes.php:3 291527 #: includes/admin/class-emwc-admin-meta-boxes.php:33 01549 #: includes/admin/class-emwc-admin-meta-boxes.php:338 1550 #: includes/admin/class-emwc-admin-meta-boxes.php:339 1528 1551 msgid "Select a venue..." 1529 1552 msgstr "" 1530 1553 1531 #: includes/admin/class-emwc-admin-meta-boxes.php:3 391554 #: includes/admin/class-emwc-admin-meta-boxes.php:348 1532 1555 msgid "+ Add New Venue" 1533 1556 msgstr "" 1534 1557 1535 #: includes/admin/class-emwc-admin-meta-boxes.php:3 451558 #: includes/admin/class-emwc-admin-meta-boxes.php:354 1536 1559 #: includes/export/class-emwc-csv-export.php:170 1537 1560 #: includes/import/class-emwc-csv-import.php:115 … … 1539 1562 msgstr "" 1540 1563 1541 #: includes/admin/class-emwc-admin-meta-boxes.php:3 461564 #: includes/admin/class-emwc-admin-meta-boxes.php:355 1542 1565 msgid "https://zoom.us/j/..." 1543 1566 msgstr "" 1544 1567 1545 #: includes/admin/class-emwc-admin-meta-boxes.php:3 471568 #: includes/admin/class-emwc-admin-meta-boxes.php:356 1546 1569 msgid "Enter the URL for your virtual event (Zoom, Google Meet, etc.)." 1547 1570 msgstr "" 1548 1571 1549 #: includes/admin/class-emwc-admin-meta-boxes.php:3 511572 #: includes/admin/class-emwc-admin-meta-boxes.php:360 1550 1573 #: includes/export/class-emwc-csv-export.php:165 1551 1574 msgid "Organizer" 1552 1575 msgstr "" 1553 1576 1554 #: includes/admin/class-emwc-admin-meta-boxes.php:3 521555 #: includes/admin/class-emwc-admin-meta-boxes.php:3 531577 #: includes/admin/class-emwc-admin-meta-boxes.php:361 1578 #: includes/admin/class-emwc-admin-meta-boxes.php:362 1556 1579 msgid "Select an organizer..." 1557 1580 msgstr "" 1558 1581 1559 #: includes/admin/class-emwc-admin-meta-boxes.php:3 621582 #: includes/admin/class-emwc-admin-meta-boxes.php:371 1560 1583 msgid "+ Add New Organizer" 1561 1584 msgstr "" 1562 1585 1563 #: includes/admin/class-emwc-admin-meta-boxes.php:4 211564 #: includes/woocommerce/class-emwc-wc-integration.php: 7821565 #: includes/woocommerce/class-emwc-wc-integration.php: 9301586 #: includes/admin/class-emwc-admin-meta-boxes.php:430 1587 #: includes/woocommerce/class-emwc-wc-integration.php:836 1588 #: includes/woocommerce/class-emwc-wc-integration.php:1005 1566 1589 msgid "Type" 1567 1590 msgstr "" 1568 1591 1569 #: includes/admin/class-emwc-admin-meta-boxes.php:4 221570 #: templates/single-emwc_event.php:2 381592 #: includes/admin/class-emwc-admin-meta-boxes.php:431 1593 #: templates/single-emwc_event.php:242 1571 1594 msgid "Price" 1572 1595 msgstr "" 1573 1596 1574 #: includes/admin/class-emwc-admin-meta-boxes.php:4 231597 #: includes/admin/class-emwc-admin-meta-boxes.php:432 1575 1598 msgid "Stock" 1576 1599 msgstr "" 1577 1600 1578 #: includes/admin/class-emwc-admin-meta-boxes.php:4 331601 #: includes/admin/class-emwc-admin-meta-boxes.php:442 1579 1602 msgid "Simple" 1580 1603 msgstr "" 1581 1604 1582 #: includes/admin/class-emwc-admin-meta-boxes.php:4 341605 #: includes/admin/class-emwc-admin-meta-boxes.php:443 1583 1606 msgid "Variable" 1584 1607 msgstr "" 1585 1608 1586 #: includes/admin/class-emwc-admin-meta-boxes.php:4 451609 #: includes/admin/class-emwc-admin-meta-boxes.php:454 1587 1610 msgid "Sold for every date of this series." 1588 1611 msgstr "" 1589 1612 1590 #: includes/admin/class-emwc-admin-meta-boxes.php:4 551613 #: includes/admin/class-emwc-admin-meta-boxes.php:464 1591 1614 msgid "Unlimited" 1592 1615 msgstr "" 1593 1616 1594 #: includes/admin/class-emwc-admin-meta-boxes.php:4 641617 #: includes/admin/class-emwc-admin-meta-boxes.php:473 1595 1618 msgid "Draft" 1596 1619 msgstr "" 1597 1620 1598 #: includes/admin/class-emwc-admin-meta-boxes.php:4 721621 #: includes/admin/class-emwc-admin-meta-boxes.php:481 1599 1622 msgid "Edit" 1600 1623 msgstr "" 1601 1624 1602 #: includes/admin/class-emwc-admin-meta-boxes.php:4 831625 #: includes/admin/class-emwc-admin-meta-boxes.php:492 1603 1626 msgid "No tickets have been created for this event yet." 1604 1627 msgstr "" 1605 1628 1606 #: includes/admin/class-emwc-admin-meta-boxes.php:4 891629 #: includes/admin/class-emwc-admin-meta-boxes.php:498 1607 1630 msgid "+ Add New Ticket" 1608 1631 msgstr "" 1609 1632 1610 #: includes/admin/class-emwc-admin-meta-boxes.php: 4971633 #: includes/admin/class-emwc-admin-meta-boxes.php:506 1611 1634 msgid "Please save the event first before adding tickets." 1612 1635 msgstr "" 1613 1636 1614 #: includes/admin/class-emwc-admin-meta-boxes.php:5 331637 #: includes/admin/class-emwc-admin-meta-boxes.php:542 1615 1638 msgid "This is a recurring event instance." 1616 1639 msgstr "" 1617 1640 1618 #: includes/admin/class-emwc-admin-meta-boxes.php:5 351641 #: includes/admin/class-emwc-admin-meta-boxes.php:544 1619 1642 msgid "Edit the parent event" 1620 1643 msgstr "" 1621 1644 1622 #: includes/admin/class-emwc-admin-meta-boxes.php:5 371645 #: includes/admin/class-emwc-admin-meta-boxes.php:546 1623 1646 msgid "to modify recurrence settings." 1624 1647 msgstr "" 1625 1648 1626 1649 #. translators: %d: number of instances 1627 #: includes/admin/class-emwc-admin-meta-boxes.php:5 511650 #: includes/admin/class-emwc-admin-meta-boxes.php:560 1628 1651 #, php-format 1629 1652 msgid "This event has %d recurring instances." 1630 1653 msgstr "" 1631 1654 1632 #: includes/admin/class-emwc-admin-meta-boxes.php:5 581655 #: includes/admin/class-emwc-admin-meta-boxes.php:567 1633 1656 msgid "Repeat Event" 1634 1657 msgstr "" 1635 1658 1636 #: includes/admin/class-emwc-admin-meta-boxes.php:57 01659 #: includes/admin/class-emwc-admin-meta-boxes.php:579 1637 1660 msgid "Every" 1638 1661 msgstr "" 1639 1662 1640 #: includes/admin/class-emwc-admin-meta-boxes.php:5 721641 #: includes/admin/class-emwc-admin.php:6 111663 #: includes/admin/class-emwc-admin-meta-boxes.php:581 1664 #: includes/admin/class-emwc-admin.php:643 1642 1665 msgid "day(s)" 1643 1666 msgstr "" 1644 1667 1645 #: includes/admin/class-emwc-admin-meta-boxes.php:5 771668 #: includes/admin/class-emwc-admin-meta-boxes.php:586 1646 1669 msgid "On days" 1647 1670 msgstr "" 1648 1671 1649 #: includes/admin/class-emwc-admin-meta-boxes.php: 5911672 #: includes/admin/class-emwc-admin-meta-boxes.php:600 1650 1673 msgid "Repeat on" 1651 1674 msgstr "" 1652 1675 1653 #: includes/admin/class-emwc-admin-meta-boxes.php:6 031676 #: includes/admin/class-emwc-admin-meta-boxes.php:612 1654 1677 msgid "Ends" 1655 1678 msgstr "" 1656 1679 1657 #: includes/admin/class-emwc-admin-meta-boxes.php:6 141680 #: includes/admin/class-emwc-admin-meta-boxes.php:623 1658 1681 #: includes/export/class-emwc-csv-export.php:159 1659 1682 #: includes/import/class-emwc-csv-import.php:68 … … 1661 1684 msgstr "" 1662 1685 1663 #: includes/admin/class-emwc-admin-meta-boxes.php:6 151686 #: includes/admin/class-emwc-admin-meta-boxes.php:624 1664 1687 msgid "Select date" 1665 1688 msgstr "" 1666 1689 1667 #: includes/admin/class-emwc-admin-meta-boxes.php:6 191690 #: includes/admin/class-emwc-admin-meta-boxes.php:628 1668 1691 msgid "Occurrences" 1669 1692 msgstr "" 1670 1693 1671 #: includes/admin/class-emwc-admin-meta-boxes.php:6 241694 #: includes/admin/class-emwc-admin-meta-boxes.php:633 1672 1695 msgid "Summary:" 1673 1696 msgstr "" 1674 1697 1675 #: includes/admin/class-emwc-admin-meta-boxes.php:6 321698 #: includes/admin/class-emwc-admin-meta-boxes.php:641 1676 1699 msgid "Regenerate Instances" 1677 1700 msgstr "" 1678 1701 1679 #: includes/admin/class-emwc-admin-meta-boxes.php:6 341702 #: includes/admin/class-emwc-admin-meta-boxes.php:643 1680 1703 msgid "Updates every date to match the schedule above. Dates keep their tickets, and dates you edited on their own keep those edits." 1681 1704 msgstr "" 1682 1705 1683 #: includes/admin/class-emwc-admin-meta-boxes.php:6 681706 #: includes/admin/class-emwc-admin-meta-boxes.php:677 1684 1707 #: includes/speakers/class-emwc-speaker-post-type.php:45 1685 1708 #: templates/archive-emwc_speaker.php:158 … … 1687 1710 msgstr "" 1688 1711 1689 #: includes/admin/class-emwc-admin-meta-boxes.php:6 861712 #: includes/admin/class-emwc-admin-meta-boxes.php:695 1690 1713 msgid "+ Add New Speaker" 1691 1714 msgstr "" 1692 1715 1693 #: includes/admin/class-emwc-admin-meta-boxes.php:7 171716 #: includes/admin/class-emwc-admin-meta-boxes.php:726 1694 1717 msgid "Section Title" 1695 1718 msgstr "" 1696 1719 1697 #: includes/admin/class-emwc-admin-meta-boxes.php:7 181698 #: templates/single-emwc_event.php:2 691720 #: includes/admin/class-emwc-admin-meta-boxes.php:727 1721 #: templates/single-emwc_event.php:273 1699 1722 msgid "Additional Information" 1700 1723 msgstr "" 1701 1724 1702 #: includes/admin/class-emwc-admin-meta-boxes.php:7 191725 #: includes/admin/class-emwc-admin-meta-boxes.php:728 1703 1726 msgid "Custom heading displayed above attributes on the event page. Leave empty for default." 1704 1727 msgstr "" 1705 1728 1706 #: includes/admin/class-emwc-admin-meta-boxes.php:7 211729 #: includes/admin/class-emwc-admin-meta-boxes.php:730 1707 1730 msgid "Add custom details like dress code, age restriction, parking info, etc." 1708 1731 msgstr "" 1709 1732 1710 #: includes/admin/class-emwc-admin-meta-boxes.php:7 251711 #: includes/woocommerce/class-emwc-wc-integration.php: 7811712 #: includes/woocommerce/class-emwc-wc-integration.php: 9291733 #: includes/admin/class-emwc-admin-meta-boxes.php:734 1734 #: includes/woocommerce/class-emwc-wc-integration.php:835 1735 #: includes/woocommerce/class-emwc-wc-integration.php:1004 1713 1736 msgid "Label" 1714 1737 msgstr "" 1715 1738 1716 #: includes/admin/class-emwc-admin-meta-boxes.php:7 261739 #: includes/admin/class-emwc-admin-meta-boxes.php:735 1717 1740 msgid "Value" 1718 1741 msgstr "" 1719 1742 1720 #: includes/admin/class-emwc-admin-meta-boxes.php:7 341721 #: includes/admin/class-emwc-admin.php:6 381743 #: includes/admin/class-emwc-admin-meta-boxes.php:743 1744 #: includes/admin/class-emwc-admin.php:670 1722 1745 msgid "e.g. Dress Code" 1723 1746 msgstr "" 1724 1747 1725 #: includes/admin/class-emwc-admin-meta-boxes.php:7 371726 #: includes/admin/class-emwc-admin.php:6 391748 #: includes/admin/class-emwc-admin-meta-boxes.php:746 1749 #: includes/admin/class-emwc-admin.php:671 1727 1750 msgid "e.g. Business Casual" 1728 1751 msgstr "" 1729 1752 1730 #: includes/admin/class-emwc-admin-meta-boxes.php:740 1753 #: includes/admin/class-emwc-admin-meta-boxes.php:749 1754 #: includes/admin/class-emwc-admin.php:672 1755 msgid "Remove attribute" 1756 msgstr "" 1757 1758 #: includes/admin/class-emwc-admin-meta-boxes.php:757 1759 msgid "+ Add Attribute" 1760 msgstr "" 1761 1762 #: includes/admin/class-emwc-admin-meta-boxes.php:795 1763 msgid "Address" 1764 msgstr "" 1765 1766 #: includes/admin/class-emwc-admin-meta-boxes.php:798 1767 msgid "Street Address" 1768 msgstr "" 1769 1770 #: includes/admin/class-emwc-admin-meta-boxes.php:803 1771 msgid "Address Line 2" 1772 msgstr "" 1773 1774 #: includes/admin/class-emwc-admin-meta-boxes.php:804 1775 msgid "Suite, unit, building, floor, etc." 1776 msgstr "" 1777 1778 #: includes/admin/class-emwc-admin-meta-boxes.php:813 1779 msgid "State/Province" 1780 msgstr "" 1781 1782 #: includes/admin/class-emwc-admin-meta-boxes.php:820 1783 msgid "Postal/ZIP Code" 1784 msgstr "" 1785 1786 #: includes/admin/class-emwc-admin-meta-boxes.php:826 1731 1787 #: includes/admin/class-emwc-admin.php:640 1732 msgid "Remove attribute"1733 msgstr ""1734 1735 #: includes/admin/class-emwc-admin-meta-boxes.php:7481736 msgid "+ Add Attribute"1737 msgstr ""1738 1739 #: includes/admin/class-emwc-admin-meta-boxes.php:7861740 msgid "Address"1741 msgstr ""1742 1743 #: includes/admin/class-emwc-admin-meta-boxes.php:7891744 msgid "Street Address"1745 msgstr ""1746 1747 #: includes/admin/class-emwc-admin-meta-boxes.php:7941748 msgid "Address Line 2"1749 msgstr ""1750 1751 #: includes/admin/class-emwc-admin-meta-boxes.php:7951752 msgid "Suite, unit, building, floor, etc."1753 msgstr ""1754 1755 #: includes/admin/class-emwc-admin-meta-boxes.php:8041756 msgid "State/Province"1757 msgstr ""1758 1759 #: includes/admin/class-emwc-admin-meta-boxes.php:8111760 msgid "Postal/ZIP Code"1761 msgstr ""1762 1763 #: includes/admin/class-emwc-admin-meta-boxes.php:8171764 #: includes/admin/class-emwc-admin.php:6081765 1788 msgid "Select a country..." 1766 1789 msgstr "" 1767 1790 1768 #: includes/admin/class-emwc-admin-meta-boxes.php:8 371791 #: includes/admin/class-emwc-admin-meta-boxes.php:846 1769 1792 msgid "Contact Details" 1770 1793 msgstr "" 1771 1794 1772 #: includes/admin/class-emwc-admin-meta-boxes.php:85 01773 #: includes/admin/class-emwc-admin-meta-boxes.php: 8971795 #: includes/admin/class-emwc-admin-meta-boxes.php:859 1796 #: includes/admin/class-emwc-admin-meta-boxes.php:906 1774 1797 #: includes/speakers/class-emwc-speaker-post-type.php:208 1775 1798 #: templates/single-emwc_speaker.php:96 … … 1777 1800 msgstr "" 1778 1801 1779 #: includes/admin/class-emwc-admin-meta-boxes.php:8 841802 #: includes/admin/class-emwc-admin-meta-boxes.php:893 1780 1803 msgid "Contact Information" 1781 1804 msgstr "" 1782 1805 1783 #: includes/admin/class-emwc-admin-meta-boxes.php:9 041806 #: includes/admin/class-emwc-admin-meta-boxes.php:913 1784 1807 msgid "Social Media" 1785 1808 msgstr "" 1786 1809 1787 #: includes/admin/class-emwc-admin-meta-boxes.php:9 071810 #: includes/admin/class-emwc-admin-meta-boxes.php:916 1788 1811 #: includes/speakers/class-emwc-speaker-post-type.php:220 1789 1812 msgid "Facebook" 1790 1813 msgstr "" 1791 1814 1792 #: includes/admin/class-emwc-admin-meta-boxes.php:9 121815 #: includes/admin/class-emwc-admin-meta-boxes.php:921 1793 1816 #: includes/speakers/class-emwc-speaker-post-type.php:216 1794 1817 msgid "Twitter/X" 1795 1818 msgstr "" 1796 1819 1797 #: includes/admin/class-emwc-admin-meta-boxes.php:9 171820 #: includes/admin/class-emwc-admin-meta-boxes.php:926 1798 1821 #: includes/speakers/class-emwc-speaker-post-type.php:212 1799 1822 msgid "LinkedIn" … … 1801 1824 1802 1825 #. translators: %d: number of products updated 1803 #: includes/admin/class-emwc-admin-meta-boxes.php:10 521826 #: includes/admin/class-emwc-admin-meta-boxes.php:1066 1804 1827 #, php-format 1805 1828 msgid "Ticket sales dates synced to %d product(s)." … … 1807 1830 1808 1831 #. translators: %s: comma-separated dates 1809 #: includes/admin/class-emwc-admin-meta-boxes.php:11 411832 #: includes/admin/class-emwc-admin-meta-boxes.php:1155 1810 1833 #, php-format 1811 1834 msgid "Repeating is off, but these dates were kept because they have tickets: %s. Cancel or move those tickets first if you want to remove them." … … 1813 1836 1814 1837 #. translators: %s: comma-separated dates 1815 #: includes/admin/class-emwc-admin-meta-boxes.php:11 651838 #: includes/admin/class-emwc-admin-meta-boxes.php:1179 1816 1839 #, php-format 1817 1840 msgid "These dates are not in the schedule anymore but were kept because they have tickets: %s. Cancel or move those tickets first if you want to remove them." … … 1819 1842 1820 1843 #. translators: %s: comma-separated dates 1821 #: includes/admin/class-emwc-admin-meta-boxes.php:11 781844 #: includes/admin/class-emwc-admin-meta-boxes.php:1192 1822 1845 #, php-format 1823 1846 msgid "Each of these is a duplicate date with tickets, so it was kept: %s. Move those tickets to the other copy first if you want to remove it." … … 1825 1848 1826 1849 #. translators: %s: comma-separated dates 1827 #: includes/admin/class-emwc-admin-meta-boxes.php:1 1911850 #: includes/admin/class-emwc-admin-meta-boxes.php:1212 1828 1851 #, php-format 1829 1852 msgid "These dates have tickets and now show your changes (time, venue, or other details): %s. Let those ticket holders know." 1830 1853 msgstr "" 1854 1855 #: includes/admin/class-emwc-admin-meta-boxes.php:1234 1856 msgid "Email ticket holders about date, time or venue changes" 1857 msgstr "" 1858 1859 #: includes/admin/class-emwc-admin-meta-boxes.php:1238 1860 msgid "Message to ticket holders (optional)" 1861 msgstr "" 1862 1863 #: includes/admin/class-emwc-admin-meta-boxes.php:1242 1864 msgid "Sent when you update a published event whose date, time or venue changed. Cancelled tickets are skipped." 1865 msgstr "" 1866 1867 #. translators: %d: number of ticket holders 1868 #: includes/admin/class-emwc-admin-meta-boxes.php:1335 1869 #, php-format 1870 msgid "Update email queued for %d ticket holder." 1871 msgid_plural "Update email queued for %d ticket holders." 1872 msgstr[0] "" 1873 msgstr[1] "" 1831 1874 1832 1875 #: includes/admin/class-emwc-admin-notices.php:56 … … 1851 1894 1852 1895 #: includes/admin/class-emwc-admin-notices.php:76 1853 #: includes/woocommerce/class-emwc-wc-integration.php:2 2601896 #: includes/woocommerce/class-emwc-wc-integration.php:2474 1854 1897 msgid "Dismiss" 1855 1898 msgstr "" … … 1925 1968 msgstr "" 1926 1969 1927 #: includes/admin/class-emwc-admin-settings.php:26 21970 #: includes/admin/class-emwc-admin-settings.php:266 1928 1971 msgid "Events Manager Settings" 1929 1972 msgstr "" 1930 1973 1931 #: includes/admin/class-emwc-admin-settings.php:2 761974 #: includes/admin/class-emwc-admin-settings.php:280 1932 1975 msgid "Your settings have been saved." 1933 1976 msgstr "" 1934 1977 1935 #: includes/admin/class-emwc-admin-settings.php:2 871978 #: includes/admin/class-emwc-admin-settings.php:291 1936 1979 msgid "Save changes" 1937 1980 msgstr "" 1938 1981 1939 #: includes/admin/class-emwc-admin-settings.php:3 381982 #: includes/admin/class-emwc-admin-settings.php:342 1940 1983 msgid "Date & Time Options" 1941 1984 msgstr "" 1942 1985 1943 #: includes/admin/class-emwc-admin-settings.php:34 21986 #: includes/admin/class-emwc-admin-settings.php:346 1944 1987 msgid "Date Format" 1945 1988 msgstr "" 1946 1989 1947 #: includes/admin/class-emwc-admin-settings.php:34 31990 #: includes/admin/class-emwc-admin-settings.php:347 1948 1991 msgid "Set the date format used to display event dates throughout your site. Uses standard PHP date format characters." 1949 1992 msgstr "" … … 1951 1994 #. translators: %s: example date 1952 1995 #. translators: %s: example time 1953 #: includes/admin/class-emwc-admin-settings.php:35 01954 #: includes/admin/class-emwc-admin-settings.php:3 671996 #: includes/admin/class-emwc-admin-settings.php:354 1997 #: includes/admin/class-emwc-admin-settings.php:371 1955 1998 #, php-format 1956 1999 msgid "Preview: %s" 1957 2000 msgstr "" 1958 2001 1959 #: includes/admin/class-emwc-admin-settings.php:3 592002 #: includes/admin/class-emwc-admin-settings.php:363 1960 2003 msgid "Time Format" 1961 2004 msgstr "" 1962 2005 1963 #: includes/admin/class-emwc-admin-settings.php:36 02006 #: includes/admin/class-emwc-admin-settings.php:364 1964 2007 msgid "Set the time format used to display event times. Use \"g:i a\" for 12-hour or \"H:i\" for 24-hour format." 1965 2008 msgstr "" 1966 2009 1967 #: includes/admin/class-emwc-admin-settings.php:37 42010 #: includes/admin/class-emwc-admin-settings.php:378 1968 2011 msgid "Default Timezone" 1969 2012 msgstr "" 1970 2013 1971 #: includes/admin/class-emwc-admin-settings.php:37 52014 #: includes/admin/class-emwc-admin-settings.php:379 1972 2015 msgid "Select the default timezone for new events. This can be overridden on individual events." 1973 2016 msgstr "" 1974 2017 1975 #: includes/admin/class-emwc-admin-settings.php: 3982018 #: includes/admin/class-emwc-admin-settings.php:402 1976 2019 msgid "Pages" 1977 2020 msgstr "" 1978 2021 1979 #: includes/admin/class-emwc-admin-settings.php:40 22022 #: includes/admin/class-emwc-admin-settings.php:406 1980 2023 msgid "Events Archive Page" 1981 2024 msgstr "" 1982 2025 1983 #: includes/admin/class-emwc-admin-settings.php:40 32026 #: includes/admin/class-emwc-admin-settings.php:407 1984 2027 msgid "Select a page to use as the main events archive. The [emwc_events] shortcode will be auto-added." 1985 2028 msgstr "" 1986 2029 1987 #: includes/admin/class-emwc-admin-settings.php:41 22030 #: includes/admin/class-emwc-admin-settings.php:416 1988 2031 msgid "— Use default archive —" 1989 2032 msgstr "" 1990 2033 1991 #: includes/admin/class-emwc-admin-settings.php:4 182034 #: includes/admin/class-emwc-admin-settings.php:422 1992 2035 msgid "Optional. Use a custom page instead of the default event archive." 1993 2036 msgstr "" 1994 2037 1995 2038 #. translators: %s: Permalinks settings URL 1996 #: includes/admin/class-emwc-admin-settings.php:4 272039 #: includes/admin/class-emwc-admin-settings.php:431 1997 2040 #, php-format 1998 2041 msgid "To customize event URL slugs, go to %s." 1999 2042 msgstr "" 2000 2043 2001 #: includes/admin/class-emwc-admin-settings.php:4 282044 #: includes/admin/class-emwc-admin-settings.php:432 2002 2045 msgid "Settings > Permalinks" 2003 2046 msgstr "" 2004 2047 2005 #: includes/admin/class-emwc-admin-settings.php:45 12006 #: includes/admin/class-emwc-admin-settings.php: 8792007 #: includes/admin/class-emwc-admin-settings.php:9 372048 #: includes/admin/class-emwc-admin-settings.php:455 2049 #: includes/admin/class-emwc-admin-settings.php:935 2050 #: includes/admin/class-emwc-admin-settings.php:993 2008 2051 #: assets/js/blocks-editor.js:64 2009 2052 #: assets/js/blocks-editor.js:158 … … 2014 2057 msgstr "" 2015 2058 2016 #: includes/admin/class-emwc-admin-settings.php:45 52059 #: includes/admin/class-emwc-admin-settings.php:459 2017 2060 msgid "Events Per Page" 2018 2061 msgstr "" 2019 2062 2020 #: includes/admin/class-emwc-admin-settings.php:4 562063 #: includes/admin/class-emwc-admin-settings.php:460 2021 2064 msgid "Set how many events to display per page on archive pages, shortcode listings, and grids." 2022 2065 msgstr "" 2023 2066 2024 #: includes/admin/class-emwc-admin-settings.php:46 32067 #: includes/admin/class-emwc-admin-settings.php:467 2025 2068 msgid "Show Past Events" 2026 2069 msgstr "" 2027 2070 2028 #: includes/admin/class-emwc-admin-settings.php:4 682071 #: includes/admin/class-emwc-admin-settings.php:472 2029 2072 msgid "Show past events in archives and calendars" 2030 2073 msgstr "" 2031 2074 2032 #: includes/admin/class-emwc-admin-settings.php:47 02075 #: includes/admin/class-emwc-admin-settings.php:474 2033 2076 msgid "When enabled, past events will be included in archive pages and calendar views." 2034 2077 msgstr "" 2035 2078 2036 #: includes/admin/class-emwc-admin-settings.php:4 762079 #: includes/admin/class-emwc-admin-settings.php:480 2037 2080 msgid "Default Calendar View" 2038 2081 msgstr "" 2039 2082 2040 #: includes/admin/class-emwc-admin-settings.php:4 772083 #: includes/admin/class-emwc-admin-settings.php:481 2041 2084 msgid "Choose the default view when the calendar shortcode is displayed. Users can switch between views if enabled." 2042 2085 msgstr "" 2043 2086 2044 #: includes/admin/class-emwc-admin-settings.php:48 12087 #: includes/admin/class-emwc-admin-settings.php:485 2045 2088 msgid "Month" 2046 2089 msgstr "" 2047 2090 2048 #: includes/admin/class-emwc-admin-settings.php:48 22091 #: includes/admin/class-emwc-admin-settings.php:486 2049 2092 msgid "Week" 2050 2093 msgstr "" 2051 2094 2052 #: includes/admin/class-emwc-admin-settings.php:48 32095 #: includes/admin/class-emwc-admin-settings.php:487 2053 2096 msgid "Day" 2054 2097 msgstr "" 2055 2098 2056 #: includes/admin/class-emwc-admin-settings.php:48 42099 #: includes/admin/class-emwc-admin-settings.php:488 2057 2100 #: assets/js/blocks-editor.js:113 2058 2101 msgid "List" 2059 2102 msgstr "" 2060 2103 2061 #: includes/admin/class-emwc-admin-settings.php:4 892104 #: includes/admin/class-emwc-admin-settings.php:493 2062 2105 msgid "Countdown Timers" 2063 2106 msgstr "" 2064 2107 2065 #: includes/admin/class-emwc-admin-settings.php:49 42108 #: includes/admin/class-emwc-admin-settings.php:498 2066 2109 msgid "Show countdown to event start on single event pages" 2067 2110 msgstr "" 2068 2111 2069 #: includes/admin/class-emwc-admin-settings.php: 4992112 #: includes/admin/class-emwc-admin-settings.php:503 2070 2113 msgid "Show countdown to ticket sales start/end" 2071 2114 msgstr "" 2072 2115 2073 #: includes/admin/class-emwc-admin-settings.php:50 12116 #: includes/admin/class-emwc-admin-settings.php:505 2074 2117 msgid "Enable countdown timers to create urgency for attendees." 2075 2118 msgstr "" 2076 2119 2077 #: includes/admin/class-emwc-admin-settings.php:5 072120 #: includes/admin/class-emwc-admin-settings.php:511 2078 2121 msgid "Single Event Page" 2079 2122 msgstr "" 2080 2123 2081 #: includes/admin/class-emwc-admin-settings.php:51 02124 #: includes/admin/class-emwc-admin-settings.php:514 2082 2125 msgid "Content Display" 2083 2126 msgstr "" 2084 2127 2085 #: includes/admin/class-emwc-admin-settings.php:51 52128 #: includes/admin/class-emwc-admin-settings.php:519 2086 2129 msgid "Show location/map section on event pages" 2087 2130 msgstr "" 2088 2131 2089 #: includes/admin/class-emwc-admin-settings.php:52 02132 #: includes/admin/class-emwc-admin-settings.php:524 2090 2133 msgid "Show seat selection section on event pages" 2091 2134 msgstr "" 2092 2135 2093 #: includes/admin/class-emwc-admin-settings.php:52 52136 #: includes/admin/class-emwc-admin-settings.php:529 2094 2137 msgid "Show speakers section on event pages" 2095 2138 msgstr "" 2096 2139 2097 #: includes/admin/class-emwc-admin-settings.php:53 02140 #: includes/admin/class-emwc-admin-settings.php:534 2098 2141 msgid "Show social share buttons" 2099 2142 msgstr "" 2100 2143 2101 #: includes/admin/class-emwc-admin-settings.php:53 52144 #: includes/admin/class-emwc-admin-settings.php:539 2102 2145 msgid "Show \"Add to Calendar\" buttons" 2103 2146 msgstr "" 2104 2147 2105 #: includes/admin/class-emwc-admin-settings.php:5 372148 #: includes/admin/class-emwc-admin-settings.php:541 2106 2149 msgid "Control which sections appear on single event pages." 2107 2150 msgstr "" 2108 2151 2109 #: includes/admin/class-emwc-admin-settings.php:54 32152 #: includes/admin/class-emwc-admin-settings.php:547 2110 2153 msgid "SEO & Schema" 2111 2154 msgstr "" 2112 2155 2113 #: includes/admin/class-emwc-admin-settings.php:5 462156 #: includes/admin/class-emwc-admin-settings.php:550 2114 2157 msgid "Structured Data" 2115 2158 msgstr "" 2116 2159 2117 #: includes/admin/class-emwc-admin-settings.php:55 12160 #: includes/admin/class-emwc-admin-settings.php:555 2118 2161 msgid "Add Event schema markup (JSON-LD) to event pages" 2119 2162 msgstr "" 2120 2163 2121 #: includes/admin/class-emwc-admin-settings.php:55 32164 #: includes/admin/class-emwc-admin-settings.php:557 2122 2165 msgid "Helps search engines understand your events and display rich snippets in search results." 2123 2166 msgstr "" 2124 2167 2125 #: includes/admin/class-emwc-admin-settings.php:5 762168 #: includes/admin/class-emwc-admin-settings.php:584 2126 2169 msgid "Ticket Options" 2127 2170 msgstr "" 2128 2171 2129 #: includes/admin/class-emwc-admin-settings.php:5 792172 #: includes/admin/class-emwc-admin-settings.php:587 2130 2173 #: includes/waitlist/class-emwc-admin-waitlist.php:34 2131 2174 #: includes/waitlist/class-emwc-admin-waitlist.php:35 … … 2133 2176 msgstr "" 2134 2177 2135 #: includes/admin/class-emwc-admin-settings.php:5 842178 #: includes/admin/class-emwc-admin-settings.php:592 2136 2179 msgid "Enable waitlist by default for new ticket products" 2137 2180 msgstr "" 2138 2181 2139 #: includes/admin/class-emwc-admin-settings.php:5 862182 #: includes/admin/class-emwc-admin-settings.php:594 2140 2183 msgid "Allow customers to join a queue when events sell out. They will be notified when spots become available." 2141 2184 msgstr "" 2142 2185 2143 #: includes/admin/class-emwc-admin-settings.php: 5922186 #: includes/admin/class-emwc-admin-settings.php:600 2144 2187 msgid "Waitlist Offer Expiry" 2145 2188 msgstr "" 2146 2189 2147 #: includes/admin/class-emwc-admin-settings.php: 5932190 #: includes/admin/class-emwc-admin-settings.php:601 2148 2191 msgid "When a spot opens up, how long does the customer have to complete their purchase? After this time, the offer moves to the next person in line." 2149 2192 msgstr "" 2150 2193 2151 #: includes/admin/class-emwc-admin-settings.php: 5972194 #: includes/admin/class-emwc-admin-settings.php:605 2152 2195 msgid "hours (0 = no expiry)" 2153 2196 msgstr "" 2154 2197 2155 #: includes/admin/class-emwc-admin-settings.php:6 062198 #: includes/admin/class-emwc-admin-settings.php:614 2156 2199 msgid "Collect individual attendee details during checkout" 2157 2200 msgstr "" 2158 2201 2159 #: includes/admin/class-emwc-admin-settings.php:6 082202 #: includes/admin/class-emwc-admin-settings.php:616 2160 2203 msgid "When enabled, customers will be asked to enter name and email for each ticket holder. Useful for events that require individual registration or name badges." 2161 2204 msgstr "" 2162 2205 2163 #: includes/admin/class-emwc-admin-settings.php:6 132206 #: includes/admin/class-emwc-admin-settings.php:621 2164 2207 msgid "Shopping Cart" 2165 2208 msgstr "" 2166 2209 2167 #: includes/admin/class-emwc-admin-settings.php:6 182210 #: includes/admin/class-emwc-admin-settings.php:626 2168 2211 msgid "Allow event tickets and other products in the same cart" 2169 2212 msgstr "" 2170 2213 2171 #: includes/admin/class-emwc-admin-settings.php:62 02214 #: includes/admin/class-emwc-admin-settings.php:628 2172 2215 msgid "Customers can buy tickets together with memberships, merchandise or any other product in one order. Orders that also have a product that isn't both virtual and downloadable, like a shipped item or most memberships, stay in Processing until you complete them. Tickets are still sent as soon as the order is paid." 2173 2216 msgstr "" 2174 2217 2175 #: includes/admin/class-emwc-admin-settings.php:6 262218 #: includes/admin/class-emwc-admin-settings.php:634 2176 2219 msgid "Default Min Tickets" 2177 2220 msgstr "" 2178 2221 2179 #: includes/admin/class-emwc-admin-settings.php:6 272222 #: includes/admin/class-emwc-admin-settings.php:635 2180 2223 msgid "The minimum number of tickets a customer must purchase per order. Can be overridden per product." 2181 2224 msgstr "" 2182 2225 2183 #: includes/admin/class-emwc-admin-settings.php:6 352226 #: includes/admin/class-emwc-admin-settings.php:643 2184 2227 msgid "Default Max Tickets" 2185 2228 msgstr "" 2186 2229 2187 #: includes/admin/class-emwc-admin-settings.php:6 362230 #: includes/admin/class-emwc-admin-settings.php:644 2188 2231 msgid "The maximum number of tickets a customer can purchase per order. Prevents bulk buying. Can be overridden per product." 2189 2232 msgstr "" 2190 2233 2191 #: includes/admin/class-emwc-admin-settings.php:6 442234 #: includes/admin/class-emwc-admin-settings.php:652 2192 2235 msgid "Default Persons Per Ticket" 2193 2236 msgstr "" 2194 2237 2195 #: includes/admin/class-emwc-admin-settings.php:6 452238 #: includes/admin/class-emwc-admin-settings.php:653 2196 2239 msgid "Default number of people each ticket admits. Useful for group tickets. Can be overridden per product." 2197 2240 msgstr "" 2198 2241 2199 #: includes/admin/class-emwc-admin-settings.php:6 492242 #: includes/admin/class-emwc-admin-settings.php:657 2200 2243 msgid "persons per ticket" 2201 2244 msgstr "" 2202 2245 2203 #: includes/admin/class-emwc-admin-settings.php:654 2246 #: includes/admin/class-emwc-admin-settings.php:662 2247 msgid "Changes by customers" 2248 msgstr "" 2249 2250 #: includes/admin/class-emwc-admin-settings.php:665 2251 msgid "Cancellations" 2252 msgstr "" 2253 2254 #: includes/admin/class-emwc-admin-settings.php:670 2255 msgid "Let customers cancel tickets from My Account" 2256 msgstr "" 2257 2258 #: includes/admin/class-emwc-admin-settings.php:672 2259 msgid "Each ticket gets a Cancel button under My Account > My Tickets. Cancelling frees the place and tells the waitlist. Refunds are not made automatically." 2260 msgstr "" 2261 2262 #: includes/admin/class-emwc-admin-settings.php:678 2263 msgid "Cancellation deadline" 2264 msgstr "" 2265 2266 #: includes/admin/class-emwc-admin-settings.php:682 2267 #: includes/admin/class-emwc-admin-settings.php:704 2268 msgid "hours before the event starts" 2269 msgstr "" 2270 2271 #: includes/admin/class-emwc-admin-settings.php:683 2272 msgid "Set 0 to allow cancelling until the event starts." 2273 msgstr "" 2274 2275 #: includes/admin/class-emwc-admin-settings.php:687 2276 msgid "Transfers" 2277 msgstr "" 2278 2279 #: includes/admin/class-emwc-admin-settings.php:692 2280 msgid "Let customers transfer tickets to another person" 2281 msgstr "" 2282 2283 #: includes/admin/class-emwc-admin-settings.php:694 2284 msgid "Each ticket gets a Transfer button under My Account > My Tickets. The ticket gets a new code, so the old QR code and PDF stop working, and the new holder receives it by email. The seat stays the same. The buyer still sees and manages the ticket under My Tickets after a transfer." 2285 msgstr "" 2286 2287 #: includes/admin/class-emwc-admin-settings.php:700 2288 msgid "Transfer deadline" 2289 msgstr "" 2290 2291 #: includes/admin/class-emwc-admin-settings.php:705 2292 msgid "Set 0 to allow transfers until the event starts." 2293 msgstr "" 2294 2295 #: includes/admin/class-emwc-admin-settings.php:710 2204 2296 msgid "Waitlist Options" 2205 2297 msgstr "" 2206 2298 2207 #: includes/admin/class-emwc-admin-settings.php: 6572299 #: includes/admin/class-emwc-admin-settings.php:713 2208 2300 msgid "Auto Notifications" 2209 2301 msgstr "" 2210 2302 2211 #: includes/admin/class-emwc-admin-settings.php: 6622303 #: includes/admin/class-emwc-admin-settings.php:718 2212 2304 msgid "Automatically notify next person on waitlist when a spot opens" 2213 2305 msgstr "" 2214 2306 2215 #: includes/admin/class-emwc-admin-settings.php: 6642307 #: includes/admin/class-emwc-admin-settings.php:720 2216 2308 msgid "When someone cancels or a refund happens, the next person on the waitlist will be notified." 2217 2309 msgstr "" 2218 2310 2219 #: includes/admin/class-emwc-admin-settings.php: 6702311 #: includes/admin/class-emwc-admin-settings.php:726 2220 2312 msgid "Ticket Code Format" 2221 2313 msgstr "" 2222 2314 2223 #: includes/admin/class-emwc-admin-settings.php: 6742315 #: includes/admin/class-emwc-admin-settings.php:730 2224 2316 msgid "Ticket Code Prefix" 2225 2317 msgstr "" 2226 2318 2227 #: includes/admin/class-emwc-admin-settings.php: 6752319 #: includes/admin/class-emwc-admin-settings.php:731 2228 2320 msgid "A short prefix added to all ticket codes. Helps identify your tickets." 2229 2321 msgstr "" 2230 2322 2231 2323 #. translators: %s: example ticket code 2232 #: includes/admin/class-emwc-admin-settings.php: 6822324 #: includes/admin/class-emwc-admin-settings.php:738 2233 2325 #, php-format 2234 2326 msgid "Example: %s" 2235 2327 msgstr "" 2236 2328 2237 #: includes/admin/class-emwc-admin-settings.php: 6892329 #: includes/admin/class-emwc-admin-settings.php:745 2238 2330 msgid "Code Length" 2239 2331 msgstr "" 2240 2332 2241 #: includes/admin/class-emwc-admin-settings.php: 6902333 #: includes/admin/class-emwc-admin-settings.php:746 2242 2334 msgid "Number of characters in the unique part of the ticket code (after the prefix). Longer codes are more secure." 2243 2335 msgstr "" 2244 2336 2245 #: includes/admin/class-emwc-admin-settings.php: 6942337 #: includes/admin/class-emwc-admin-settings.php:750 2246 2338 msgid "6 characters (Short)" 2247 2339 msgstr "" 2248 2340 2249 #: includes/admin/class-emwc-admin-settings.php: 6952341 #: includes/admin/class-emwc-admin-settings.php:751 2250 2342 msgid "8 characters (Default)" 2251 2343 msgstr "" 2252 2344 2253 #: includes/admin/class-emwc-admin-settings.php: 6962345 #: includes/admin/class-emwc-admin-settings.php:752 2254 2346 msgid "10 characters (Long)" 2255 2347 msgstr "" 2256 2348 2257 #: includes/admin/class-emwc-admin-settings.php: 6972349 #: includes/admin/class-emwc-admin-settings.php:753 2258 2350 msgid "12 characters (Very Long)" 2259 2351 msgstr "" 2260 2352 2261 #: includes/admin/class-emwc-admin-settings.php:7 192353 #: includes/admin/class-emwc-admin-settings.php:775 2262 2354 msgid "Check-in Options" 2263 2355 msgstr "" 2264 2356 2265 #: includes/admin/class-emwc-admin-settings.php:7 222357 #: includes/admin/class-emwc-admin-settings.php:778 2266 2358 msgid "Sound Feedback" 2267 2359 msgstr "" 2268 2360 2269 #: includes/admin/class-emwc-admin-settings.php:7 272361 #: includes/admin/class-emwc-admin-settings.php:783 2270 2362 msgid "Play sound on successful/failed check-in" 2271 2363 msgstr "" 2272 2364 2273 #: includes/admin/class-emwc-admin-settings.php:7 292365 #: includes/admin/class-emwc-admin-settings.php:785 2274 2366 msgid "Helps staff know immediately if the scan worked with audio feedback." 2275 2367 msgstr "" 2276 2368 2277 #: includes/admin/class-emwc-admin-settings.php:7 342369 #: includes/admin/class-emwc-admin-settings.php:790 2278 2370 msgid "Auto Clear" 2279 2371 msgstr "" 2280 2372 2281 #: includes/admin/class-emwc-admin-settings.php:7 392373 #: includes/admin/class-emwc-admin-settings.php:795 2282 2374 msgid "Automatically clear check-in result" 2283 2375 msgstr "" 2284 2376 2285 #: includes/admin/class-emwc-admin-settings.php:7 412377 #: includes/admin/class-emwc-admin-settings.php:797 2286 2378 msgid "Prepares the scanner for the next ticket without manual intervention." 2287 2379 msgstr "" 2288 2380 2289 #: includes/admin/class-emwc-admin-settings.php: 7472381 #: includes/admin/class-emwc-admin-settings.php:803 2290 2382 msgid "Clear Delay" 2291 2383 msgstr "" 2292 2384 2293 #: includes/admin/class-emwc-admin-settings.php: 7482385 #: includes/admin/class-emwc-admin-settings.php:804 2294 2386 msgid "How many seconds to show the check-in result before clearing." 2295 2387 msgstr "" 2296 2388 2297 #: includes/admin/class-emwc-admin-settings.php: 7522389 #: includes/admin/class-emwc-admin-settings.php:808 2298 2390 msgid "seconds" 2299 2391 msgstr "" 2300 2392 2301 #: includes/admin/class-emwc-admin-settings.php: 7562393 #: includes/admin/class-emwc-admin-settings.php:812 2302 2394 msgid "Multiple Check-ins" 2303 2395 msgstr "" 2304 2396 2305 #: includes/admin/class-emwc-admin-settings.php: 7612397 #: includes/admin/class-emwc-admin-settings.php:817 2306 2398 msgid "Allow checking in the same ticket multiple times (for re-entry events)" 2307 2399 msgstr "" 2308 2400 2309 #: includes/admin/class-emwc-admin-settings.php: 7632401 #: includes/admin/class-emwc-admin-settings.php:819 2310 2402 msgid "Useful for events where attendees can leave and re-enter, like festivals." 2311 2403 msgstr "" 2312 2404 2313 #: includes/admin/class-emwc-admin-settings.php: 7692405 #: includes/admin/class-emwc-admin-settings.php:825 2314 2406 msgid "Access Control" 2315 2407 msgstr "" 2316 2408 2317 #: includes/admin/class-emwc-admin-settings.php: 7722409 #: includes/admin/class-emwc-admin-settings.php:828 2318 2410 msgid "Login Required" 2319 2411 msgstr "" 2320 2412 2321 #: includes/admin/class-emwc-admin-settings.php: 7772413 #: includes/admin/class-emwc-admin-settings.php:833 2322 2414 msgid "Require users to be logged in to access check-in" 2323 2415 msgstr "" 2324 2416 2325 #: includes/admin/class-emwc-admin-settings.php: 7792417 #: includes/admin/class-emwc-admin-settings.php:835 2326 2418 msgid "Recommended for security. When disabled, anyone with the check-in URL can scan tickets." 2327 2419 msgstr "" 2328 2420 2329 #: includes/admin/class-emwc-admin-settings.php: 7852421 #: includes/admin/class-emwc-admin-settings.php:841 2330 2422 msgid "Allowed Roles" 2331 2423 msgstr "" 2332 2424 2333 #: includes/admin/class-emwc-admin-settings.php: 7862425 #: includes/admin/class-emwc-admin-settings.php:842 2334 2426 msgid "Select which user roles can access the check-in functionality." 2335 2427 msgstr "" 2336 2428 2337 #: includes/admin/class-emwc-admin-settings.php:8 182338 #: includes/admin/class-emwc-admin-settings.php:1 2562429 #: includes/admin/class-emwc-admin-settings.php:874 2430 #: includes/admin/class-emwc-admin-settings.php:1312 2339 2431 msgid "Google Maps API" 2340 2432 msgstr "" 2341 2433 2342 #: includes/admin/class-emwc-admin-settings.php:8 222434 #: includes/admin/class-emwc-admin-settings.php:878 2343 2435 #: includes/class-emwc-google-maps.php:71 2344 2436 msgid "Google Maps API Key" 2345 2437 msgstr "" 2346 2438 2347 #: includes/admin/class-emwc-admin-settings.php:8 232439 #: includes/admin/class-emwc-admin-settings.php:879 2348 2440 msgid "Your Google Maps API key is required to display maps. Enable both \"Maps JavaScript API\" and \"Geocoding API\" in Google Cloud Console." 2349 2441 msgstr "" 2350 2442 2351 2443 #. translators: %s: Google Cloud Console URL 2352 #: includes/admin/class-emwc-admin-settings.php:8 312444 #: includes/admin/class-emwc-admin-settings.php:887 2353 2445 #, php-format 2354 2446 msgid "Get your API key from the <a href=\"%s\" target=\"_blank\">Google Cloud Console</a>." 2355 2447 msgstr "" 2356 2448 2357 #: includes/admin/class-emwc-admin-settings.php:8 402449 #: includes/admin/class-emwc-admin-settings.php:896 2358 2450 #: includes/class-emwc-google-maps.php:81 2359 2451 msgid "Default Zoom Level" 2360 2452 msgstr "" 2361 2453 2362 #: includes/admin/class-emwc-admin-settings.php:8 412454 #: includes/admin/class-emwc-admin-settings.php:897 2363 2455 msgid "Set the default zoom level for venue maps. Lower numbers show a wider area, higher numbers show more detail." 2364 2456 msgstr "" 2365 2457 2366 #: includes/admin/class-emwc-admin-settings.php: 8452458 #: includes/admin/class-emwc-admin-settings.php:901 2367 2459 msgid "1 = World, 20 = Building level" 2368 2460 msgstr "" 2369 2461 2370 #: includes/admin/class-emwc-admin-settings.php: 8502462 #: includes/admin/class-emwc-admin-settings.php:906 2371 2463 msgid "Map Height" 2372 2464 msgstr "" 2373 2465 2374 #: includes/admin/class-emwc-admin-settings.php: 8512466 #: includes/admin/class-emwc-admin-settings.php:907 2375 2467 msgid "Set the default height for maps in pixels." 2376 2468 msgstr "" 2377 2469 2378 #: includes/admin/class-emwc-admin-settings.php: 8592470 #: includes/admin/class-emwc-admin-settings.php:915 2379 2471 msgid "pixels (200-600)" 2380 2472 msgstr "" 2381 2473 2382 #: includes/admin/class-emwc-admin-settings.php: 8642474 #: includes/admin/class-emwc-admin-settings.php:920 2383 2475 #: includes/class-emwc-google-maps.php:88 2384 2476 msgid "Map Style" 2385 2477 msgstr "" 2386 2478 2387 #: includes/admin/class-emwc-admin-settings.php: 8652479 #: includes/admin/class-emwc-admin-settings.php:921 2388 2480 msgid "Choose a visual style for your maps to match your site design." 2389 2481 msgstr "" 2390 2482 2391 #: includes/admin/class-emwc-admin-settings.php: 8692483 #: includes/admin/class-emwc-admin-settings.php:925 2392 2484 #: includes/class-emwc-google-maps.php:91 2393 2485 msgid "Standard" 2394 2486 msgstr "" 2395 2487 2396 #: includes/admin/class-emwc-admin-settings.php: 8702488 #: includes/admin/class-emwc-admin-settings.php:926 2397 2489 #: includes/class-emwc-google-maps.php:92 2398 2490 msgid "Silver" 2399 2491 msgstr "" 2400 2492 2401 #: includes/admin/class-emwc-admin-settings.php: 8712493 #: includes/admin/class-emwc-admin-settings.php:927 2402 2494 #: includes/class-emwc-google-maps.php:93 2403 2495 msgid "Retro" 2404 2496 msgstr "" 2405 2497 2406 #: includes/admin/class-emwc-admin-settings.php: 8722498 #: includes/admin/class-emwc-admin-settings.php:928 2407 2499 #: includes/class-emwc-google-maps.php:94 2408 2500 msgid "Dark" 2409 2501 msgstr "" 2410 2502 2411 #: includes/admin/class-emwc-admin-settings.php: 8732503 #: includes/admin/class-emwc-admin-settings.php:929 2412 2504 #: includes/class-emwc-google-maps.php:95 2413 2505 msgid "Night" 2414 2506 msgstr "" 2415 2507 2416 #: includes/admin/class-emwc-admin-settings.php: 8742508 #: includes/admin/class-emwc-admin-settings.php:930 2417 2509 #: includes/class-emwc-google-maps.php:96 2418 2510 msgid "Aubergine" 2419 2511 msgstr "" 2420 2512 2421 #: includes/admin/class-emwc-admin-settings.php: 8842513 #: includes/admin/class-emwc-admin-settings.php:940 2422 2514 msgid "Show map on single event pages" 2423 2515 msgstr "" 2424 2516 2425 #: includes/admin/class-emwc-admin-settings.php: 8892517 #: includes/admin/class-emwc-admin-settings.php:945 2426 2518 msgid "Show \"Get Directions\" link below maps" 2427 2519 msgstr "" 2428 2520 2429 #: includes/admin/class-emwc-admin-settings.php: 8912521 #: includes/admin/class-emwc-admin-settings.php:947 2430 2522 msgid "Control where and how maps appear on your site." 2431 2523 msgstr "" 2432 2524 2433 #: includes/admin/class-emwc-admin-settings.php: 8972525 #: includes/admin/class-emwc-admin-settings.php:953 2434 2526 msgid "Shortcode Usage" 2435 2527 msgstr "" 2436 2528 2437 #: includes/admin/class-emwc-admin-settings.php: 8982529 #: includes/admin/class-emwc-admin-settings.php:954 2438 2530 msgid "Display a venue map anywhere on your site using this shortcode:" 2439 2531 msgstr "" 2440 2532 2441 #: includes/admin/class-emwc-admin-settings.php:9 032533 #: includes/admin/class-emwc-admin-settings.php:959 2442 2534 msgid "Replace \"123\" with the Venue ID. You can find the ID in the venue edit URL (e.g., post=123)." 2443 2535 msgstr "" 2444 2536 2445 #: includes/admin/class-emwc-admin-settings.php:9 152537 #: includes/admin/class-emwc-admin-settings.php:971 2446 2538 #: includes/pdf/class-emwc-pdf-ticket.php:267 2447 2539 msgid "Present this ticket at the event entrance for check-in." 2448 2540 msgstr "" 2449 2541 2450 #: includes/admin/class-emwc-admin-settings.php:9 192542 #: includes/admin/class-emwc-admin-settings.php:975 2451 2543 msgid "Ticket Appearance" 2452 2544 msgstr "" 2453 2545 2454 #: includes/admin/class-emwc-admin-settings.php:9 232546 #: includes/admin/class-emwc-admin-settings.php:979 2455 2547 msgid "Primary Color" 2456 2548 msgstr "" 2457 2549 2458 #: includes/admin/class-emwc-admin-settings.php:9 242550 #: includes/admin/class-emwc-admin-settings.php:980 2459 2551 msgid "The main brand color used in ticket headers and buttons." 2460 2552 msgstr "" 2461 2553 2462 #: includes/admin/class-emwc-admin-settings.php:9 342554 #: includes/admin/class-emwc-admin-settings.php:990 2463 2555 msgid "Ticket Content" 2464 2556 msgstr "" 2465 2557 2466 #: includes/admin/class-emwc-admin-settings.php:9 422558 #: includes/admin/class-emwc-admin-settings.php:998 2467 2559 msgid "Show venue address on tickets" 2468 2560 msgstr "" 2469 2561 2470 #: includes/admin/class-emwc-admin-settings.php: 9472562 #: includes/admin/class-emwc-admin-settings.php:1003 2471 2563 msgid "Show QR code on tickets" 2472 2564 msgstr "" 2473 2565 2474 #: includes/admin/class-emwc-admin-settings.php: 9542566 #: includes/admin/class-emwc-admin-settings.php:1010 2475 2567 msgid "QR Code Images" 2476 2568 msgstr "" 2477 2569 2478 #: includes/admin/class-emwc-admin-settings.php: 9552570 #: includes/admin/class-emwc-admin-settings.php:1011 2479 2571 msgid "Where the QR code images on tickets and emails are made." 2480 2572 msgstr "" 2481 2573 2482 #: includes/admin/class-emwc-admin-settings.php: 9592574 #: includes/admin/class-emwc-admin-settings.php:1015 2483 2575 msgid "Made on this site (recommended)" 2484 2576 msgstr "" 2485 2577 2486 #: includes/admin/class-emwc-admin-settings.php: 9602578 #: includes/admin/class-emwc-admin-settings.php:1016 2487 2579 msgid "QR Server API (api.qrserver.com)" 2488 2580 msgstr "" 2489 2581 2490 #: includes/admin/class-emwc-admin-settings.php: 9652582 #: includes/admin/class-emwc-admin-settings.php:1021 2491 2583 msgid "Made on this site keeps ticket codes on your server and works without an outside service. The QR Server API sends each ticket code to api.qrserver.com." 2492 2584 msgstr "" 2493 2585 2494 #: includes/admin/class-emwc-admin-settings.php: 9672586 #: includes/admin/class-emwc-admin-settings.php:1023 2495 2587 msgid "Your server has no GD image support, so QR codes use the QR Server API. Ask your host to turn on the PHP GD extension to make them on this site." 2496 2588 msgstr "" 2497 2589 2498 #: includes/admin/class-emwc-admin-settings.php: 9752590 #: includes/admin/class-emwc-admin-settings.php:1031 2499 2591 msgid "QR Code Size" 2500 2592 msgstr "" 2501 2593 2502 #: includes/admin/class-emwc-admin-settings.php: 9762594 #: includes/admin/class-emwc-admin-settings.php:1032 2503 2595 msgid "Size of the QR code in pixels. Larger codes are easier to scan." 2504 2596 msgstr "" 2505 2597 2506 #: includes/admin/class-emwc-admin-settings.php: 9802598 #: includes/admin/class-emwc-admin-settings.php:1036 2507 2599 msgid "Small (100px)" 2508 2600 msgstr "" 2509 2601 2510 #: includes/admin/class-emwc-admin-settings.php: 9812602 #: includes/admin/class-emwc-admin-settings.php:1037 2511 2603 msgid "Medium (150px)" 2512 2604 msgstr "" 2513 2605 2514 #: includes/admin/class-emwc-admin-settings.php: 9822606 #: includes/admin/class-emwc-admin-settings.php:1038 2515 2607 msgid "Large (200px)" 2516 2608 msgstr "" 2517 2609 2518 #: includes/admin/class-emwc-admin-settings.php: 9832610 #: includes/admin/class-emwc-admin-settings.php:1039 2519 2611 msgid "Extra Large (250px)" 2520 2612 msgstr "" 2521 2613 2522 #: includes/admin/class-emwc-admin-settings.php: 9892614 #: includes/admin/class-emwc-admin-settings.php:1045 2523 2615 msgid "Footer Text" 2524 2616 msgstr "" 2525 2617 2526 #: includes/admin/class-emwc-admin-settings.php: 9902618 #: includes/admin/class-emwc-admin-settings.php:1046 2527 2619 msgid "Custom text to display at the bottom of tickets." 2528 2620 msgstr "" 2529 2621 2530 #: includes/admin/class-emwc-admin-settings.php: 9992622 #: includes/admin/class-emwc-admin-settings.php:1055 2531 2623 msgid "Tickets are generated as printable HTML pages. Users can use their browser's print function to save as PDF." 2532 2624 msgstr "" 2533 2625 2534 #: includes/admin/class-emwc-admin-settings.php:10 152626 #: includes/admin/class-emwc-admin-settings.php:1071 2535 2627 msgid "Email sender" 2536 2628 msgstr "" 2537 2629 2538 #: includes/admin/class-emwc-admin-settings.php:10 162630 #: includes/admin/class-emwc-admin-settings.php:1072 2539 2631 msgid "Used only for emails Evenzo sends: tickets, registration, reminders, event updates and waitlist notices. WooCommerce's own emails keep their sender. Leave a field empty to use the WooCommerce sender." 2540 2632 msgstr "" 2541 2633 2542 #: includes/admin/class-emwc-admin-settings.php:10 202634 #: includes/admin/class-emwc-admin-settings.php:1076 2543 2635 msgid "\"From\" name" 2544 2636 msgstr "" 2545 2637 2546 #: includes/admin/class-emwc-admin-settings.php:10 212638 #: includes/admin/class-emwc-admin-settings.php:1077 2547 2639 msgid "The name that appears in the \"From\" field of Evenzo emails." 2548 2640 msgstr "" 2549 2641 2550 #: includes/admin/class-emwc-admin-settings.php:10 292642 #: includes/admin/class-emwc-admin-settings.php:1085 2551 2643 msgid "\"From\" address" 2552 2644 msgstr "" 2553 2645 2554 #: includes/admin/class-emwc-admin-settings.php:10 302646 #: includes/admin/class-emwc-admin-settings.php:1086 2555 2647 msgid "The address Evenzo emails are sent from. Replies go to this address." 2556 2648 msgstr "" 2557 2649 2558 #: includes/admin/class-emwc-admin-settings.php:10 382650 #: includes/admin/class-emwc-admin-settings.php:1094 2559 2651 msgid "Email notifications" 2560 2652 msgstr "" 2561 2653 2562 #: includes/admin/class-emwc-admin-settings.php:10 412654 #: includes/admin/class-emwc-admin-settings.php:1097 2563 2655 msgid "Attendee tickets" 2564 2656 msgstr "" 2565 2657 2566 #: includes/admin/class-emwc-admin-settings.php:1 0462658 #: includes/admin/class-emwc-admin-settings.php:1102 2567 2659 msgid "Also email each attendee their own ticket" 2568 2660 msgstr "" 2569 2661 2570 #: includes/admin/class-emwc-admin-settings.php:1 0482662 #: includes/admin/class-emwc-admin-settings.php:1104 2571 2663 msgid "The buyer still gets every ticket. Attendees who share the buyer's email get no extra copy." 2572 2664 msgstr "" 2573 2665 2574 #: includes/admin/class-emwc-admin-settings.php:1 0552666 #: includes/admin/class-emwc-admin-settings.php:1111 2575 2667 msgid "Turn each Evenzo email on or off, edit its subject and text, and set how many days before the event the reminder goes out in WooCommerce > Settings > Emails." 2576 2668 msgstr "" 2577 2669 2578 #: includes/admin/class-emwc-admin-settings.php:1 0592670 #: includes/admin/class-emwc-admin-settings.php:1115 2579 2671 msgid "Manage emails in WooCommerce" 2580 2672 msgstr "" 2581 2673 2582 #: includes/admin/class-emwc-admin-settings.php:1 0822674 #: includes/admin/class-emwc-admin-settings.php:1138 2583 2675 msgid "Feature Toggles" 2584 2676 msgstr "" 2585 2677 2586 #: includes/admin/class-emwc-admin-settings.php:1 0842678 #: includes/admin/class-emwc-admin-settings.php:1140 2587 2679 msgid "Enable or disable optional features based on your needs." 2588 2680 msgstr "" 2589 2681 2590 #: includes/admin/class-emwc-admin-settings.php:1 0882682 #: includes/admin/class-emwc-admin-settings.php:1144 2591 2683 msgid "Seating Charts" 2592 2684 msgstr "" 2593 2685 2594 #: includes/admin/class-emwc-admin-settings.php:1 0932686 #: includes/admin/class-emwc-admin-settings.php:1149 2595 2687 msgid "Enable seating chart management" 2596 2688 msgstr "" 2597 2689 2598 #: includes/admin/class-emwc-admin-settings.php:1 0952690 #: includes/admin/class-emwc-admin-settings.php:1151 2599 2691 msgid "Allows configuring seating charts for venues and lets attendees select specific seats during registration. Seat information will appear on tickets." 2600 2692 msgstr "" 2601 2693 2602 #: includes/admin/class-emwc-admin-settings.php:11 002694 #: includes/admin/class-emwc-admin-settings.php:1156 2603 2695 msgid "Speakers/Presenters" 2604 2696 msgstr "" 2605 2697 2606 #: includes/admin/class-emwc-admin-settings.php:11 052698 #: includes/admin/class-emwc-admin-settings.php:1161 2607 2699 msgid "Enable speaker management" 2608 2700 msgstr "" 2609 2701 2610 #: includes/admin/class-emwc-admin-settings.php:11 072702 #: includes/admin/class-emwc-admin-settings.php:1163 2611 2703 msgid "Allows adding speakers/presenters to events and displaying them on the event page." 2612 2704 msgstr "" 2613 2705 2614 #: includes/admin/class-emwc-admin-settings.php:11 132706 #: includes/admin/class-emwc-admin-settings.php:1169 2615 2707 msgid "API Options" 2616 2708 msgstr "" 2617 2709 2618 #: includes/admin/class-emwc-admin-settings.php:11 162710 #: includes/admin/class-emwc-admin-settings.php:1172 2619 2711 msgid "REST API" 2620 2712 msgstr "" 2621 2713 2622 #: includes/admin/class-emwc-admin-settings.php:11 212714 #: includes/admin/class-emwc-admin-settings.php:1177 2623 2715 msgid "Enable REST API endpoints" 2624 2716 msgstr "" 2625 2717 2626 #: includes/admin/class-emwc-admin-settings.php:11 232718 #: includes/admin/class-emwc-admin-settings.php:1179 2627 2719 msgid "Allows external applications (mobile apps, third-party services) to access event data." 2628 2720 msgstr "" 2629 2721 2630 #: includes/admin/class-emwc-admin-settings.php:11 282722 #: includes/admin/class-emwc-admin-settings.php:1184 2631 2723 msgid "Webhooks" 2632 2724 msgstr "" 2633 2725 2634 #: includes/admin/class-emwc-admin-settings.php:11 332726 #: includes/admin/class-emwc-admin-settings.php:1189 2635 2727 msgid "Enable webhook notifications" 2636 2728 msgstr "" 2637 2729 2638 #: includes/admin/class-emwc-admin-settings.php:11 352730 #: includes/admin/class-emwc-admin-settings.php:1191 2639 2731 msgid "Send notifications to external URLs when events occur (new registration, check-in, etc.)." 2640 2732 msgstr "" 2641 2733 2642 #: includes/admin/class-emwc-admin-settings.php:11 402734 #: includes/admin/class-emwc-admin-settings.php:1196 2643 2735 msgid "Calendar Export" 2644 2736 msgstr "" 2645 2737 2646 #: includes/admin/class-emwc-admin-settings.php:1 1452738 #: includes/admin/class-emwc-admin-settings.php:1201 2647 2739 msgid "Enable iCal/ICS export for events" 2648 2740 msgstr "" 2649 2741 2650 #: includes/admin/class-emwc-admin-settings.php:1 1472742 #: includes/admin/class-emwc-admin-settings.php:1203 2651 2743 msgid "Allow users to add events to their calendar apps (Google Calendar, Apple Calendar, Outlook)." 2652 2744 msgstr "" 2653 2745 2654 #: includes/admin/class-emwc-admin-settings.php:1 1512746 #: includes/admin/class-emwc-admin-settings.php:1207 2655 2747 msgid "Calendar Feed URL:" 2656 2748 msgstr "" 2657 2749 2658 #: includes/admin/class-emwc-admin-settings.php:1 1572750 #: includes/admin/class-emwc-admin-settings.php:1213 2659 2751 msgid "Users can subscribe to this URL in their calendar app to automatically receive updates." 2660 2752 msgstr "" 2661 2753 2662 #: includes/admin/class-emwc-admin-settings.php:1 1662754 #: includes/admin/class-emwc-admin-settings.php:1222 2663 2755 msgid "Data Management" 2664 2756 msgstr "" 2665 2757 2666 #: includes/admin/class-emwc-admin-settings.php:1 1702758 #: includes/admin/class-emwc-admin-settings.php:1226 2667 2759 msgid "Attendee Data Retention" 2668 2760 msgstr "" 2669 2761 2670 #: includes/admin/class-emwc-admin-settings.php:1 1712762 #: includes/admin/class-emwc-admin-settings.php:1227 2671 2763 msgid "Automatically delete attendee data after a specified number of days. Helps with GDPR compliance." 2672 2764 msgstr "" 2673 2765 2674 #: includes/admin/class-emwc-admin-settings.php:1 1752766 #: includes/admin/class-emwc-admin-settings.php:1231 2675 2767 msgid "days after event ends (empty = keep forever)" 2676 2768 msgstr "" 2677 2769 2678 #: includes/admin/class-emwc-admin-settings.php:1 1802770 #: includes/admin/class-emwc-admin-settings.php:1236 2679 2771 msgid "Max Recurring Instances" 2680 2772 msgstr "" 2681 2773 2682 #: includes/admin/class-emwc-admin-settings.php:1 1812774 #: includes/admin/class-emwc-admin-settings.php:1237 2683 2775 msgid "Maximum number of event occurrences to generate for recurring events." 2684 2776 msgstr "" 2685 2777 2686 #: includes/admin/class-emwc-admin-settings.php:1 1852778 #: includes/admin/class-emwc-admin-settings.php:1241 2687 2779 msgid "instances (1-365)" 2688 2780 msgstr "" 2689 2781 2690 #: includes/admin/class-emwc-admin-settings.php:1 1892782 #: includes/admin/class-emwc-admin-settings.php:1245 2691 2783 msgid "Debug Logging" 2692 2784 msgstr "" 2693 2785 2694 #: includes/admin/class-emwc-admin-settings.php:1 1942786 #: includes/admin/class-emwc-admin-settings.php:1250 2695 2787 msgid "Enable debug logging to WooCommerce logs" 2696 2788 msgstr "" 2697 2789 2698 #: includes/admin/class-emwc-admin-settings.php:1 1972790 #: includes/admin/class-emwc-admin-settings.php:1253 2699 2791 msgid "When enabled, detailed debug information will be written to:" 2700 2792 msgstr "" 2701 2793 2702 #: includes/admin/class-emwc-admin-settings.php:1 1982794 #: includes/admin/class-emwc-admin-settings.php:1254 2703 2795 msgid "WooCommerce > Status > Logs" 2704 2796 msgstr "" 2705 2797 2706 #: includes/admin/class-emwc-admin-settings.php:12 012798 #: includes/admin/class-emwc-admin-settings.php:1257 2707 2799 msgid "Logs: event operations, attendee registrations, check-ins, email delivery, webhooks, API requests, and pricing calculations." 2708 2800 msgstr "" 2709 2801 2710 #: includes/admin/class-emwc-admin-settings.php:12 072802 #: includes/admin/class-emwc-admin-settings.php:1263 2711 2803 msgid "Uninstall Behavior" 2712 2804 msgstr "" 2713 2805 2714 #: includes/admin/class-emwc-admin-settings.php:12 122806 #: includes/admin/class-emwc-admin-settings.php:1268 2715 2807 msgid "Delete all plugin data when uninstalling" 2716 2808 msgstr "" 2717 2809 2718 #: includes/admin/class-emwc-admin-settings.php:12 162810 #: includes/admin/class-emwc-admin-settings.php:1272 2719 2811 msgid "Warning: This will permanently delete all events, attendees, tickets, and settings when the plugin is deleted." 2720 2812 msgstr "" 2721 2813 2722 #: includes/admin/class-emwc-admin-settings.php:12 232814 #: includes/admin/class-emwc-admin-settings.php:1279 2723 2815 msgid "System Status" 2724 2816 msgstr "" 2725 2817 2726 #: includes/admin/class-emwc-admin-settings.php:12 272818 #: includes/admin/class-emwc-admin-settings.php:1283 2727 2819 msgid "Plugin Version" 2728 2820 msgstr "" 2729 2821 2730 #: includes/admin/class-emwc-admin-settings.php:12 312822 #: includes/admin/class-emwc-admin-settings.php:1287 2731 2823 msgid "WordPress Version" 2732 2824 msgstr "" 2733 2825 2734 #: includes/admin/class-emwc-admin-settings.php:12 352826 #: includes/admin/class-emwc-admin-settings.php:1291 2735 2827 msgid "WooCommerce Version" 2736 2828 msgstr "" 2737 2829 2738 #: includes/admin/class-emwc-admin-settings.php:12 362830 #: includes/admin/class-emwc-admin-settings.php:1292 2739 2831 msgid "Not Installed" 2740 2832 msgstr "" 2741 2833 2742 #: includes/admin/class-emwc-admin-settings.php:12 392834 #: includes/admin/class-emwc-admin-settings.php:1295 2743 2835 msgid "PHP Version" 2744 2836 msgstr "" 2745 2837 2746 #: includes/admin/class-emwc-admin-settings.php:12 432838 #: includes/admin/class-emwc-admin-settings.php:1299 2747 2839 msgid "Debug Mode" 2748 2840 msgstr "" 2749 2841 2750 #: includes/admin/class-emwc-admin-settings.php:1 2472842 #: includes/admin/class-emwc-admin-settings.php:1303 2751 2843 msgid "Enabled" 2752 2844 msgstr "" 2753 2845 2754 #: includes/admin/class-emwc-admin-settings.php:1 2482846 #: includes/admin/class-emwc-admin-settings.php:1304 2755 2847 msgid "View Logs" 2756 2848 msgstr "" 2757 2849 2758 #: includes/admin/class-emwc-admin-settings.php:1 2512850 #: includes/admin/class-emwc-admin-settings.php:1307 2759 2851 msgid "Disabled" 2760 2852 msgstr "" 2761 2853 2762 #: includes/admin/class-emwc-admin-settings.php:1 2632854 #: includes/admin/class-emwc-admin-settings.php:1319 2763 2855 msgid "Configured" 2764 2856 msgstr "" 2765 2857 2766 #: includes/admin/class-emwc-admin-settings.php:1 2662858 #: includes/admin/class-emwc-admin-settings.php:1322 2767 2859 msgid "Not Configured" 2768 2860 msgstr "" 2769 2861 2770 #: includes/admin/class-emwc-admin-settings.php:1 2672862 #: includes/admin/class-emwc-admin-settings.php:1323 2771 2863 msgid "Configure" 2772 2864 msgstr "" 2773 2865 2774 #: includes/admin/class-emwc-admin.php:7 32866 #: includes/admin/class-emwc-admin.php:74 2775 2867 msgid "Capacity Warning:" 2776 2868 msgstr "" 2777 2869 2778 2870 #. translators: %s: date 2779 #: includes/admin/class-emwc-admin.php:2 242871 #: includes/admin/class-emwc-admin.php:256 2780 2872 #, php-format 2781 2873 msgid "Ticket sales for this event are closed because the Sales End date (%s) has passed. Change Sales End in the Event Settings box and update the event to reopen sales." … … 2783 2875 2784 2876 #. translators: %s: date 2785 #: includes/admin/class-emwc-admin.php:2 322877 #: includes/admin/class-emwc-admin.php:264 2786 2878 #, php-format 2787 2879 msgid "Ticket sales for this event are closed because the registration deadline (%s) has passed. Change the Registration Deadline in the Event Settings box and update the event to reopen sales." 2788 2880 msgstr "" 2789 2881 2790 #: includes/admin/class-emwc-admin.php:2 372882 #: includes/admin/class-emwc-admin.php:269 2791 2883 msgid "Ticket sales for this event are closed because the sales end date on its ticket products has passed. Change it on the Event Ticket tab of each ticket product to reopen sales." 2792 2884 msgstr "" 2793 2885 2794 2886 #. translators: %d: number of events trashed 2795 #: includes/admin/class-emwc-admin.php:3 152887 #: includes/admin/class-emwc-admin.php:347 2796 2888 #, php-format 2797 2889 msgid "Moved %d duplicate events to the trash." … … 2799 2891 2800 2892 #. translators: %d: number of duplicate events found 2801 #: includes/admin/class-emwc-admin.php:3 332893 #: includes/admin/class-emwc-admin.php:365 2802 2894 #, php-format 2803 2895 msgid "Evenzo found %d duplicate events created by a recurring event bug in version 1.0.2 or earlier. They have no tickets." 2804 2896 msgstr "" 2805 2897 2806 #: includes/admin/class-emwc-admin.php:3 412898 #: includes/admin/class-emwc-admin.php:373 2807 2899 msgid "Move them to trash" 2808 2900 msgstr "" 2809 2901 2810 #: includes/admin/class-emwc-admin.php:3 602902 #: includes/admin/class-emwc-admin.php:392 2811 2903 msgid "You do not have permission to do this." 2812 2904 msgstr "" 2813 2905 2814 #: includes/admin/class-emwc-admin.php:4 002906 #: includes/admin/class-emwc-admin.php:432 2815 2907 #: includes/blocks/class-emwc-blocks.php:61 2816 2908 msgid "Events Manager" 2817 2909 msgstr "" 2818 2910 2819 #: includes/admin/class-emwc-admin.php:4 122820 #: includes/admin/class-emwc-admin.php:4 132911 #: includes/admin/class-emwc-admin.php:444 2912 #: includes/admin/class-emwc-admin.php:445 2821 2913 msgid "Overview" 2822 2914 msgstr "" 2823 2915 2824 #: includes/admin/class-emwc-admin.php:4 422825 #: includes/admin/class-emwc-admin.php:4 432916 #: includes/admin/class-emwc-admin.php:474 2917 #: includes/admin/class-emwc-admin.php:475 2826 2918 msgid "Add Booking" 2827 2919 msgstr "" 2828 2920 2829 #: includes/admin/class-emwc-admin.php: 4772921 #: includes/admin/class-emwc-admin.php:509 2830 2922 #: includes/frontend/class-emwc-widgets.php:389 2831 2923 msgid "Event Categories" 2832 2924 msgstr "" 2833 2925 2834 #: includes/admin/class-emwc-admin.php: 4842926 #: includes/admin/class-emwc-admin.php:516 2835 2927 msgid "Speaker Categories" 2836 2928 msgstr "" 2837 2929 2838 #: includes/admin/class-emwc-admin.php:6 022930 #: includes/admin/class-emwc-admin.php:634 2839 2931 msgid "Are you sure you want to delete this?" 2840 2932 msgstr "" 2841 2933 2842 #: includes/admin/class-emwc-admin.php:6 032934 #: includes/admin/class-emwc-admin.php:635 2843 2935 msgid "Saving..." 2844 2936 msgstr "" 2845 2937 2846 #: includes/admin/class-emwc-admin.php:6 042938 #: includes/admin/class-emwc-admin.php:636 2847 2939 msgid "Saved!" 2848 2940 msgstr "" 2849 2941 2850 #: includes/admin/class-emwc-admin.php:6 052942 #: includes/admin/class-emwc-admin.php:637 2851 2943 #: includes/waitlist/class-emwc-waitlist.php:277 2852 2944 msgid "An error occurred. Please try again." 2853 2945 msgstr "" 2854 2946 2855 #: includes/admin/class-emwc-admin.php:6 062947 #: includes/admin/class-emwc-admin.php:638 2856 2948 msgid "Select timezone..." 2857 2949 msgstr "" 2858 2950 2859 #: includes/admin/class-emwc-admin.php:6 072951 #: includes/admin/class-emwc-admin.php:639 2860 2952 msgid "Search speakers..." 2861 2953 msgstr "" 2862 2954 2863 #: includes/admin/class-emwc-admin.php:6 092864 #: includes/woocommerce/class-emwc-wc-integration.php:1 0562955 #: includes/admin/class-emwc-admin.php:641 2956 #: includes/woocommerce/class-emwc-wc-integration.php:1135 2865 2957 msgid "At least one field is required." 2866 2958 msgstr "" 2867 2959 2868 #: includes/admin/class-emwc-admin.php:6 102960 #: includes/admin/class-emwc-admin.php:642 2869 2961 #: includes/api/class-emwc-rest-calendar-controller.php:232 2870 2962 msgid "End date must be after start date." 2871 2963 msgstr "" 2872 2964 2873 #: includes/admin/class-emwc-admin.php:6 122965 #: includes/admin/class-emwc-admin.php:644 2874 2966 msgid "week(s)" 2875 2967 msgstr "" 2876 2968 2877 #: includes/admin/class-emwc-admin.php:6 132969 #: includes/admin/class-emwc-admin.php:645 2878 2970 msgid "month(s)" 2879 2971 msgstr "" 2880 2972 2881 #: includes/admin/class-emwc-admin.php:6 142973 #: includes/admin/class-emwc-admin.php:646 2882 2974 msgid "year(s)" 2883 2975 msgstr "" 2884 2976 2885 #: includes/admin/class-emwc-admin.php:6 152886 #: includes/woocommerce/class-emwc-wc-integration.php:6 062887 #: includes/woocommerce/class-emwc-wc-integration.php: 8722977 #: includes/admin/class-emwc-admin.php:647 2978 #: includes/woocommerce/class-emwc-wc-integration.php:611 2979 #: includes/woocommerce/class-emwc-wc-integration.php:926 2888 2980 msgid "Text" 2889 2981 msgstr "" 2890 2982 2891 #: includes/admin/class-emwc-admin.php:6 182892 #: includes/woocommerce/class-emwc-wc-integration.php:6 092893 #: includes/woocommerce/class-emwc-wc-integration.php: 8752983 #: includes/admin/class-emwc-admin.php:650 2984 #: includes/woocommerce/class-emwc-wc-integration.php:614 2985 #: includes/woocommerce/class-emwc-wc-integration.php:929 2894 2986 msgid "Textarea" 2895 2987 msgstr "" 2896 2988 2897 #: includes/admin/class-emwc-admin.php:7 192989 #: includes/admin/class-emwc-admin.php:751 2898 2990 msgid "Events Overview" 2899 2991 msgstr "" 2900 2992 2901 #: includes/admin/class-emwc-admin.php:7 202993 #: includes/admin/class-emwc-admin.php:752 2902 2994 #: includes/core/class-emwc-post-types.php:65 2903 2995 msgid "Add New Event" 2904 2996 msgstr "" 2905 2997 2906 #: includes/admin/class-emwc-admin.php:7 212998 #: includes/admin/class-emwc-admin.php:753 2907 2999 msgid "Add Venue" 2908 3000 msgstr "" 2909 3001 2910 #: includes/admin/class-emwc-admin.php:7 323002 #: includes/admin/class-emwc-admin.php:764 2911 3003 msgid "Total Events" 2912 3004 msgstr "" 2913 3005 2914 #: includes/admin/class-emwc-admin.php:7 533006 #: includes/admin/class-emwc-admin.php:785 2915 3007 msgid "Tickets Sold" 2916 3008 msgstr "" 2917 3009 2918 #: includes/admin/class-emwc-admin.php:7 603010 #: includes/admin/class-emwc-admin.php:792 2919 3011 msgid "Check-in Rate" 2920 3012 msgstr "" 2921 3013 2922 #: includes/admin/class-emwc-admin.php: 7693014 #: includes/admin/class-emwc-admin.php:801 2923 3015 msgid "Registrations (Last 14 Days)" 2924 3016 msgstr "" 2925 3017 2926 #: includes/admin/class-emwc-admin.php: 7783018 #: includes/admin/class-emwc-admin.php:810 2927 3019 #: includes/frontend/class-emwc-widgets.php:137 2928 3020 msgid "Upcoming Events" 2929 3021 msgstr "" 2930 3022 2931 #: includes/admin/class-emwc-admin.php: 7803023 #: includes/admin/class-emwc-admin.php:812 2932 3024 msgid "No upcoming events scheduled." 2933 3025 msgstr "" 2934 3026 2935 #: includes/admin/class-emwc-admin.php:8 013027 #: includes/admin/class-emwc-admin.php:833 2936 3028 msgid "View All Events →" 2937 3029 msgstr "" 2938 3030 2939 #: includes/admin/class-emwc-admin.php:8 063031 #: includes/admin/class-emwc-admin.php:838 2940 3032 msgid "Recent Registrations" 2941 3033 msgstr "" 2942 3034 2943 #: includes/admin/class-emwc-admin.php:8 083035 #: includes/admin/class-emwc-admin.php:840 2944 3036 msgid "No registrations yet." 2945 3037 msgstr "" 2946 3038 2947 #: includes/admin/class-emwc-admin.php:8 152948 #: templates/single-emwc_event.php:15 02949 #: templates/single-emwc_event.php:1 583039 #: includes/admin/class-emwc-admin.php:847 3040 #: templates/single-emwc_event.php:154 3041 #: templates/single-emwc_event.php:162 2950 3042 msgid "When" 2951 3043 msgstr "" 2952 3044 2953 #: includes/admin/class-emwc-admin.php:8 293045 #: includes/admin/class-emwc-admin.php:861 2954 3046 msgid "View All Attendees →" 2955 3047 msgstr "" 2956 3048 2957 #: includes/admin/class-emwc-admin.php: 8713049 #: includes/admin/class-emwc-admin.php:903 2958 3050 msgid "Registrations" 2959 3051 msgstr "" 2960 3052 2961 #: includes/admin/class-emwc-admin.php:10 083053 #: includes/admin/class-emwc-admin.php:1040 2962 3054 msgid "ago" 2963 3055 msgstr "" … … 3004 3096 msgstr "" 3005 3097 3006 #: includes/api/class-emwc-rest-attendees-controller.php:4 233098 #: includes/api/class-emwc-rest-attendees-controller.php:437 3007 3099 msgid "Filter by event ID." 3008 3100 msgstr "" 3009 3101 3010 #: includes/api/class-emwc-rest-attendees-controller.php:4 283102 #: includes/api/class-emwc-rest-attendees-controller.php:442 3011 3103 msgid "Filter by recurring series: attendees of every date of this series parent." 3012 3104 msgstr "" 3013 3105 3014 #: includes/api/class-emwc-rest-attendees-controller.php:4 333106 #: includes/api/class-emwc-rest-attendees-controller.php:447 3015 3107 msgid "Filter by order ID." 3016 3108 msgstr "" 3017 3109 3018 #: includes/api/class-emwc-rest-attendees-controller.php: 4973110 #: includes/api/class-emwc-rest-attendees-controller.php:511 3019 3111 msgid "Start of the attendee's event or series date, ISO 8601 with offset." 3020 3112 msgstr "" 3021 3113 3022 #: includes/api/class-emwc-rest-attendees-controller.php:5 033114 #: includes/api/class-emwc-rest-attendees-controller.php:517 3023 3115 msgid "Recurring series parent ID, or 0 when the event is not part of a series." 3024 3116 msgstr "" … … 3505 3597 3506 3598 #: includes/blocks/class-emwc-blocks.php:359 3507 #: includes/woocommerce/class-emwc-wc-integration.php:6 293599 #: includes/woocommerce/class-emwc-wc-integration.php:634 3508 3600 msgid "Select an event..." 3509 3601 msgstr "" … … 3526 3618 3527 3619 #: includes/blocks/event-countdown/render.php:103 3528 #: templates/single-emwc_event.php:69 13620 #: templates/single-emwc_event.php:695 3529 3621 msgid "This event has been cancelled." 3530 3622 msgstr "" 3531 3623 3532 3624 #: includes/blocks/event-countdown/render.php:116 3533 #: includes/woocommerce/class-emwc-wc-integration.php:2 0983534 #: includes/woocommerce/class-emwc-wc-integration.php:2 1133535 #: templates/single-emwc_event.php:48 13536 #: templates/single-emwc_event.php:50 53537 #: templates/single-emwc_event.php:5 693538 #: templates/single-emwc_event.php:59 13625 #: includes/woocommerce/class-emwc-wc-integration.php:2312 3626 #: includes/woocommerce/class-emwc-wc-integration.php:2327 3627 #: templates/single-emwc_event.php:485 3628 #: templates/single-emwc_event.php:509 3629 #: templates/single-emwc_event.php:573 3630 #: templates/single-emwc_event.php:595 3539 3631 msgid "Days" 3540 3632 msgstr "" 3541 3633 3542 3634 #: includes/blocks/event-countdown/render.php:123 3543 #: includes/woocommerce/class-emwc-wc-integration.php:2 0993544 #: includes/woocommerce/class-emwc-wc-integration.php:2 1143635 #: includes/woocommerce/class-emwc-wc-integration.php:2313 3636 #: includes/woocommerce/class-emwc-wc-integration.php:2328 3545 3637 msgid "Hours" 3546 3638 msgstr "" … … 3623 3715 3624 3716 #: includes/class-emwc-google-maps.php:435 3625 #: templates/single-emwc_event.php:3 473717 #: templates/single-emwc_event.php:351 3626 3718 msgid "Get Directions" 3627 3719 msgstr "" … … 3638 3730 #: templates/emails/registration-confirmation.php:72 3639 3731 #: templates/emails/ticket-delivery.php:88 3640 #: templates/single-emwc_event.php: 2973732 #: templates/single-emwc_event.php:301 3641 3733 msgid "Location" 3642 3734 msgstr "" … … 3783 3875 msgstr "" 3784 3876 3785 #: includes/class-emwc.php:46 03877 #: includes/class-emwc.php:465 3786 3878 msgid "Cloning is forbidden." 3787 3879 msgstr "" 3788 3880 3789 #: includes/class-emwc.php:47 13881 #: includes/class-emwc.php:476 3790 3882 msgid "Unserializing instances of this class is forbidden." 3791 3883 msgstr "" … … 3794 3886 #: includes/core/class-emwc-attendee-fields.php:331 3795 3887 #: includes/export/class-emwc-attendee-export.php:206 3796 #: includes/woocommerce/class-emwc-wc-integration.php:58 23797 #: includes/woocommerce/class-emwc-wc-integration.php: 8513888 #: includes/woocommerce/class-emwc-wc-integration.php:587 3889 #: includes/woocommerce/class-emwc-wc-integration.php:905 3798 3890 #: assets/js/emwc-block-checkout.js:118 3799 3891 msgid "First Name" … … 3803 3895 #: includes/core/class-emwc-attendee-fields.php:333 3804 3896 #: includes/export/class-emwc-attendee-export.php:207 3805 #: includes/woocommerce/class-emwc-wc-integration.php:5 893806 #: includes/woocommerce/class-emwc-wc-integration.php: 8573897 #: includes/woocommerce/class-emwc-wc-integration.php:594 3898 #: includes/woocommerce/class-emwc-wc-integration.php:911 3807 3899 #: assets/js/emwc-block-checkout.js:119 3808 3900 msgid "Last Name" … … 4392 4484 4393 4485 #: includes/core/class-emwc-qr-code.php:450 4394 #: includes/woocommerce/class-emwc-wc-my-account.php:2 254486 #: includes/woocommerce/class-emwc-wc-my-account.php:243 4395 4487 #: templates/emails/ticket-delivery.php:40 4396 4488 msgid "Ticket QR Code" … … 4398 4490 4399 4491 #: includes/core/class-emwc-qr-code.php:452 4400 #: includes/woocommerce/class-emwc-wc-my-account.php:2 274492 #: includes/woocommerce/class-emwc-wc-my-account.php:245 4401 4493 #: templates/emails/plain/admin-new-registration.php:38 4402 4494 #: templates/emails/plain/registration-confirmation.php:66 … … 4405 4497 4406 4498 #: includes/core/class-emwc-qr-code.php:456 4407 #: includes/woocommerce/class-emwc-wc-my-account.php:2 304499 #: includes/woocommerce/class-emwc-wc-my-account.php:248 4408 4500 #: templates/emails/ticket-delivery.php:49 4409 4501 msgid "Present this QR code at the event for check-in." … … 4547 4639 msgstr "" 4548 4640 4641 #: includes/core/class-emwc-ticket-cancellation.php:70 4642 #: includes/core/class-emwc-ticket-transfer.php:104 4643 msgid "This ticket was not found." 4644 msgstr "" 4645 4646 #: includes/core/class-emwc-ticket-cancellation.php:73 4647 #: includes/core/class-emwc-ticket-cancellation.php:89 4648 msgid "This ticket is already cancelled." 4649 msgstr "" 4650 4651 #: includes/core/class-emwc-ticket-cancellation.php:110 4652 #: includes/core/class-emwc-ticket-cancellation.php:190 4653 #: includes/core/class-emwc-ticket-cancellation.php:210 4654 msgid "This ticket can't be cancelled." 4655 msgstr "" 4656 4657 #: includes/core/class-emwc-ticket-cancellation.php:211 4658 msgid "The cancellation deadline for this ticket has passed." 4659 msgstr "" 4660 4661 #: includes/core/class-emwc-ticket-cancellation.php:319 4662 msgid "Please log in to cancel a ticket." 4663 msgstr "" 4664 4665 #: includes/core/class-emwc-ticket-cancellation.php:321 4666 #: includes/core/class-emwc-ticket-transfer.php:464 4667 msgid "This request expired. Please try again." 4668 msgstr "" 4669 4670 #. translators: %s: event name 4671 #: includes/core/class-emwc-ticket-cancellation.php:343 4672 #, php-format 4673 msgid "Your ticket for %s is cancelled." 4674 msgstr "" 4675 4676 #: includes/core/class-emwc-ticket-cancellation.php:378 4677 msgid "Only a cancelled ticket can be reactivated." 4678 msgstr "" 4679 4680 #: includes/core/class-emwc-ticket-cancellation.php:383 4681 msgid "Not reactivated: the event is full." 4682 msgstr "" 4683 4684 #: includes/core/class-emwc-ticket-cancellation.php:387 4685 msgid "This ticket changed while you were reactivating it. Reload the page and try again." 4686 msgstr "" 4687 4688 #: includes/core/class-emwc-ticket-cancellation.php:651 4689 msgid "the customer" 4690 msgstr "" 4691 4692 #: includes/core/class-emwc-ticket-cancellation.php:654 4693 msgid "an administrator" 4694 msgstr "" 4695 4696 #. translators: 1: ticket code, 2: attendee name, 3: who cancelled it 4697 #: includes/core/class-emwc-ticket-cancellation.php:660 4698 #, php-format 4699 msgid "Ticket %1$s for %2$s cancelled by %3$s." 4700 msgstr "" 4701 4702 #: includes/core/class-emwc-ticket-transfer.php:62 4703 #: includes/core/class-emwc-ticket-transfer.php:81 4704 #: includes/core/class-emwc-ticket-transfer.php:107 4705 #: includes/core/class-emwc-ticket-transfer.php:153 4706 msgid "This ticket can't be transferred." 4707 msgstr "" 4708 4709 #: includes/core/class-emwc-ticket-transfer.php:63 4710 msgid "The transfer deadline for this ticket has passed." 4711 msgstr "" 4712 4713 #: includes/core/class-emwc-ticket-transfer.php:158 4714 msgid "The ticket could not be transferred. Please try again." 4715 msgstr "" 4716 4717 #: includes/core/class-emwc-ticket-transfer.php:190 4718 msgid "This ticket changed while you were transferring it. Reload the page and try again." 4719 msgstr "" 4720 4721 #. translators: 1: old holder name, 2: new holder name, 3: new email, 4: old ticket code, 5: new ticket code 4722 #: includes/core/class-emwc-ticket-transfer.php:205 4723 #, php-format 4724 msgid "Ticket for %1$s transferred to %2$s (%3$s). Old ticket code %4$s no longer works; the new code is %5$s." 4725 msgstr "" 4726 4727 #: includes/core/class-emwc-ticket-transfer.php:213 4728 msgid "The old holder's custom field answers were cleared." 4729 msgstr "" 4730 4731 #: includes/core/class-emwc-ticket-transfer.php:258 4732 msgid "Enter the first and last name of the person getting the ticket." 4733 msgstr "" 4734 4735 #: includes/core/class-emwc-ticket-transfer.php:261 4736 msgid "That name is too long." 4737 msgstr "" 4738 4739 #: includes/core/class-emwc-ticket-transfer.php:264 4740 msgid "Enter a valid email address for the person getting the ticket." 4741 msgstr "" 4742 4743 #: includes/core/class-emwc-ticket-transfer.php:335 4744 msgid "This ticket has been transferred as many times as is allowed." 4745 msgstr "" 4746 4747 #: includes/core/class-emwc-ticket-transfer.php:339 4748 msgid "You've reached the transfer limit for now. Try again later." 4749 msgstr "" 4750 4751 #: includes/core/class-emwc-ticket-transfer.php:462 4752 msgid "Please log in to transfer a ticket." 4753 msgstr "" 4754 4755 #. translators: 1: event name, 2: name of the person getting the ticket 4756 #: includes/core/class-emwc-ticket-transfer.php:496 4757 #, php-format 4758 msgid "Your ticket for %1$s was transferred to %2$s. The old ticket code no longer works." 4759 msgstr "" 4760 4761 #: includes/core/class-emwc-ticket-transfer.php:531 4762 msgid "Transfer" 4763 msgstr "" 4764 4765 #: includes/core/class-emwc-ticket-transfer.php:533 4766 msgid "Transfer this ticket? The current ticket code will stop working." 4767 msgstr "" 4768 4769 #: includes/core/class-emwc-ticket-transfer.php:535 4770 msgid "Who is getting this ticket? They receive it by email." 4771 msgstr "" 4772 4773 #: includes/core/class-emwc-ticket-transfer.php:549 4774 msgid "Transfer ticket" 4775 msgstr "" 4776 4549 4777 #: includes/emails/class-emwc-email-admin-new-registration.php:25 4550 4778 msgid "New Event Registration (Admin)" … … 4564 4792 4565 4793 #: includes/emails/class-emwc-email-admin-new-registration.php:139 4794 #: includes/emails/class-emwc-email-admin-ticket-cancelled.php:157 4566 4795 msgid "Recipient(s)" 4567 4796 msgstr "" 4568 4797 4569 4798 #: includes/emails/class-emwc-email-admin-new-registration.php:141 4799 #: includes/emails/class-emwc-email-admin-ticket-cancelled.php:159 4570 4800 msgid "Enter recipients (comma separated) for this email. Defaults to admin email." 4801 msgstr "" 4802 4803 #: includes/emails/class-emwc-email-admin-ticket-cancelled.php:42 4804 msgid "Ticket cancelled (admin)" 4805 msgstr "" 4806 4807 #: includes/emails/class-emwc-email-admin-ticket-cancelled.php:43 4808 msgid "Sent to the admin when a ticket is cancelled, by the customer or by an administrator." 4809 msgstr "" 4810 4811 #: includes/emails/class-emwc-email-admin-ticket-cancelled.php:44 4812 msgid "[{site_title}] Ticket cancelled: {event_name}" 4813 msgstr "" 4814 4815 #: includes/emails/class-emwc-email-admin-ticket-cancelled.php:45 4816 #: includes/emails/class-emwc-email-ticket-cancelled.php:35 4817 msgid "Ticket cancelled" 4818 msgstr "" 4819 4820 #: includes/emails/class-emwc-email-admin-ticket-cancelled.php:110 4821 msgid "An administrator" 4571 4822 msgstr "" 4572 4823 … … 4641 4892 #: includes/emails/class-emwc-email-registration-confirmation.php:28 4642 4893 msgid "Registration Confirmed!" 4894 msgstr "" 4895 4896 #: includes/emails/class-emwc-email-ticket-cancelled.php:36 4897 msgid "Sent to the buyer when a ticket is cancelled, by the customer or by an administrator." 4898 msgstr "" 4899 4900 #: includes/emails/class-emwc-email-ticket-cancelled.php:37 4901 msgid "Your ticket for {event_name} is cancelled" 4902 msgstr "" 4903 4904 #: includes/emails/class-emwc-email-ticket-cancelled.php:38 4905 msgid "Your ticket is cancelled" 4643 4906 msgstr "" 4644 4907 … … 4666 4929 #: includes/emails/class-emwc-email.php:279 4667 4930 #: includes/pdf/class-emwc-pdf-ticket.php:254 4668 #: includes/woocommerce/class-emwc-wc-integration.php:16 164931 #: includes/woocommerce/class-emwc-wc-integration.php:1677 4669 4932 #: templates/emails/event-reminder.php:80 4670 4933 #: templates/emails/event-update.php:98 … … 4675 4938 #: templates/emails/registration-confirmation.php:86 4676 4939 #: templates/emails/ticket-delivery.php:102 4677 #: templates/single-emwc_event.php:2 164940 #: templates/single-emwc_event.php:220 4678 4941 msgid "Online Event" 4679 4942 msgstr "" … … 4718 4981 4719 4982 #: includes/export/class-emwc-attendee-export.php:212 4720 #: includes/woocommerce/class-emwc-wc-order.php:11 114983 #: includes/woocommerce/class-emwc-wc-order.php:1148 4721 4984 msgid "Event ID" 4722 4985 msgstr "" … … 4727 4990 4728 4991 #: includes/export/class-emwc-attendee-export.php:214 4729 #: includes/woocommerce/class-emwc-wc-order.php:11 384992 #: includes/woocommerce/class-emwc-wc-order.php:1175 4730 4993 msgid "Event Date" 4731 4994 msgstr "" … … 4736 4999 4737 5000 #: includes/export/class-emwc-attendee-export.php:217 4738 #: includes/woocommerce/class-emwc-wc-order.php:11 135001 #: includes/woocommerce/class-emwc-wc-order.php:1150 4739 5002 msgid "Ticket Type" 4740 5003 msgstr "" … … 4790 5053 #: includes/seating/class-emwc-seating.php:1404 4791 5054 #: includes/seating/class-emwc-seating.php:1482 4792 #: includes/woocommerce/class-emwc-wc-order.php:64 24793 #: includes/woocommerce/class-emwc-wc-order.php: 9775055 #: includes/woocommerce/class-emwc-wc-order.php:648 5056 #: includes/woocommerce/class-emwc-wc-order.php:1014 4794 5057 #, php-format 4795 5058 msgid "%1$s - Row %2$s, Seat %3$s" … … 4844 5107 4845 5108 #: includes/export/class-emwc-csv-export.php:161 4846 #: templates/single-emwc_event.php:17 54847 #: templates/single-emwc_event.php:20 55109 #: templates/single-emwc_event.php:179 5110 #: templates/single-emwc_event.php:209 4848 5111 msgid "All Day" 4849 5112 msgstr "" … … 4924 5187 4925 5188 #: includes/frontend/class-emwc-shortcodes.php:301 4926 #: includes/woocommerce/class-emwc-wc-order.php:1 1785189 #: includes/woocommerce/class-emwc-wc-order.php:1215 4927 5190 #: templates/emails/plain/admin-new-registration.php:48 5191 #: templates/emails/plain/admin-ticket-cancelled.php:37 4928 5192 #: templates/emails/plain/event-reminder.php:42 4929 5193 #: templates/emails/plain/event-update.php:55 4930 5194 #: templates/emails/plain/registration-confirmation.php:44 5195 #: templates/emails/plain/ticket-cancelled.php:44 4931 5196 #: templates/emails/plain/ticket-delivery.php:53 4932 5197 msgid "Date:" … … 5863 6128 5864 6129 #: includes/import/tec/class-emwc-tec-importer.php:204 5865 msgid "Kept: the undo backup on this product can not be read"6130 msgid "Kept: the undo backup on this product can't be read" 5866 6131 msgstr "" 5867 6132 … … 5975 6240 5976 6241 #: includes/pdf/class-emwc-pdf-ticket.php:209 5977 #: includes/woocommerce/class-emwc-wc-my-account.php:2 226242 #: includes/woocommerce/class-emwc-wc-my-account.php:240 5978 6243 msgid "Close" 5979 6244 msgstr "" … … 6139 6404 #: includes/seating/class-emwc-seating.php:1828 6140 6405 #: includes/seating/class-emwc-seating.php:2026 6141 #: includes/woocommerce/class-emwc-wc-integration.php:2 0736406 #: includes/woocommerce/class-emwc-wc-integration.php:2287 6142 6407 msgid "Available" 6143 6408 msgstr "" … … 6173 6438 #: includes/seating/class-emwc-seating.php:1878 6174 6439 #: includes/seating/class-emwc-seating.php:1898 6175 #: includes/woocommerce/class-emwc-wc-integration.php:6 156440 #: includes/woocommerce/class-emwc-wc-integration.php:620 6176 6441 msgid "None" 6177 6442 msgstr "" … … 6261 6526 #: includes/speakers/class-emwc-speaker-post-type.php:43 6262 6527 #: templates/archive-emwc_speaker.php:22 6263 #: templates/single-emwc_event.php:39 46528 #: templates/single-emwc_event.php:398 6264 6529 msgid "Speakers" 6265 6530 msgstr "" … … 6465 6730 msgstr "" 6466 6731 6467 #: includes/waitlist/class-emwc-pricing.php: 646732 #: includes/waitlist/class-emwc-pricing.php:76 6468 6733 msgid "Dynamic Pricing" 6469 6734 msgstr "" 6470 6735 6471 #: includes/waitlist/class-emwc-pricing.php: 706736 #: includes/waitlist/class-emwc-pricing.php:82 6472 6737 msgid "Enable Early Bird" 6473 6738 msgstr "" 6474 6739 6475 #: includes/waitlist/class-emwc-pricing.php: 716740 #: includes/waitlist/class-emwc-pricing.php:83 6476 6741 msgid "Offer discounted pricing for early registrations." 6477 6742 msgstr "" 6478 6743 6479 #: includes/waitlist/class-emwc-pricing.php: 786744 #: includes/waitlist/class-emwc-pricing.php:90 6480 6745 msgid "Early Bird Discount (%)" 6481 6746 msgstr "" 6482 6747 6483 #: includes/waitlist/class-emwc-pricing.php: 916748 #: includes/waitlist/class-emwc-pricing.php:103 6484 6749 msgid "Early Bird End Date" 6485 6750 msgstr "" 6486 6751 6487 #: includes/waitlist/class-emwc-pricing.php: 936752 #: includes/waitlist/class-emwc-pricing.php:105 6488 6753 msgid "Early bird pricing ends on this date." 6489 6754 msgstr "" 6490 6755 6491 #: includes/waitlist/class-emwc-pricing.php:1 036756 #: includes/waitlist/class-emwc-pricing.php:115 6492 6757 msgid "Enable Last Minute" 6493 6758 msgstr "" 6494 6759 6495 #: includes/waitlist/class-emwc-pricing.php:1 046760 #: includes/waitlist/class-emwc-pricing.php:116 6496 6761 msgid "Offer discounted pricing close to the event date." 6497 6762 msgstr "" 6498 6763 6499 #: includes/waitlist/class-emwc-pricing.php:1 116764 #: includes/waitlist/class-emwc-pricing.php:123 6500 6765 msgid "Last Minute Discount (%)" 6501 6766 msgstr "" 6502 6767 6503 #: includes/waitlist/class-emwc-pricing.php:1 246768 #: includes/waitlist/class-emwc-pricing.php:136 6504 6769 msgid "Last Minute Start Date" 6505 6770 msgstr "" 6506 6771 6507 #: includes/waitlist/class-emwc-pricing.php:1 266772 #: includes/waitlist/class-emwc-pricing.php:138 6508 6773 msgid "Last minute pricing starts on this date." 6509 6774 msgstr "" 6510 6775 6511 #: includes/waitlist/class-emwc-pricing.php:1 366776 #: includes/waitlist/class-emwc-pricing.php:148 6512 6777 msgid "Quantity Discounts" 6513 6778 msgstr "" 6514 6779 6515 #: includes/waitlist/class-emwc-pricing.php:1 376780 #: includes/waitlist/class-emwc-pricing.php:149 6516 6781 msgid "Offer discounts based on ticket quantity." 6517 6782 msgstr "" 6518 6783 6519 #: includes/waitlist/class-emwc-pricing.php:1 646784 #: includes/waitlist/class-emwc-pricing.php:176 6520 6785 msgid "Quantity Tiers" 6521 6786 msgstr "" 6522 6787 6523 #: includes/waitlist/class-emwc-pricing.php:1 686524 #: includes/woocommerce/class-emwc-wc-integration.php:2 1006525 #: includes/woocommerce/class-emwc-wc-integration.php:2 1156526 #: templates/single-emwc_event.php:48 36527 #: templates/single-emwc_event.php:5 076528 #: templates/single-emwc_event.php:57 16529 #: templates/single-emwc_event.php:59 36788 #: includes/waitlist/class-emwc-pricing.php:180 6789 #: includes/woocommerce/class-emwc-wc-integration.php:2314 6790 #: includes/woocommerce/class-emwc-wc-integration.php:2329 6791 #: templates/single-emwc_event.php:487 6792 #: templates/single-emwc_event.php:511 6793 #: templates/single-emwc_event.php:575 6794 #: templates/single-emwc_event.php:597 6530 6795 msgid "Min" 6531 6796 msgstr "" 6532 6797 6533 #: includes/waitlist/class-emwc-pricing.php:1 706798 #: includes/waitlist/class-emwc-pricing.php:182 6534 6799 msgid "Max" 6535 6800 msgstr "" 6536 6801 6537 #: includes/waitlist/class-emwc-pricing.php:1 866802 #: includes/waitlist/class-emwc-pricing.php:198 6538 6803 msgid "Role-based Pricing" 6539 6804 msgstr "" 6540 6805 6541 #: includes/waitlist/class-emwc-pricing.php:1 876806 #: includes/waitlist/class-emwc-pricing.php:199 6542 6807 msgid "Offer different prices based on user role." 6543 6808 msgstr "" 6544 6809 6545 #: includes/waitlist/class-emwc-pricing.php:2 006810 #: includes/waitlist/class-emwc-pricing.php:212 6546 6811 msgid "Role Discounts" 6547 6812 msgstr "" 6548 6813 6549 #: includes/waitlist/class-emwc-pricing.php:623 6814 #. translators: %s: membership level name 6815 #: includes/waitlist/class-emwc-pricing.php:247 6816 #, php-format 6817 msgid "%s (Paid Memberships Pro)" 6818 msgstr "" 6819 6820 #. translators: %s: membership plan name 6821 #: includes/waitlist/class-emwc-pricing.php:255 6822 #, php-format 6823 msgid "%s (WooCommerce Memberships)" 6824 msgstr "" 6825 6826 #: includes/waitlist/class-emwc-pricing.php:365 6827 msgid "Member prices" 6828 msgstr "" 6829 6830 #: includes/waitlist/class-emwc-pricing.php:366 6831 msgid "Offer a price to logged-in members. A membership bought in the same order counts only after the order is paid. A fixed member price applies to every variation." 6832 msgstr "" 6833 6834 #: includes/waitlist/class-emwc-pricing.php:376 6835 msgid "Member discounts" 6836 msgstr "" 6837 6838 #: includes/waitlist/class-emwc-pricing.php:386 6839 msgid "% off" 6840 msgstr "" 6841 6842 #: includes/waitlist/class-emwc-pricing.php:387 6843 msgid "Fixed price" 6844 msgstr "" 6845 6846 #: includes/waitlist/class-emwc-pricing.php:393 6847 msgid "100% off or a fixed price of 0 makes the ticket free for that membership. When several rules apply, the lowest price wins." 6848 msgstr "" 6849 6850 #: includes/waitlist/class-emwc-pricing.php:915 6550 6851 msgid "Early Bird Price" 6551 6852 msgstr "" 6552 6853 6553 #: includes/waitlist/class-emwc-pricing.php: 6316854 #: includes/waitlist/class-emwc-pricing.php:923 6554 6855 msgid "Last Minute Price" 6555 6856 msgstr "" 6556 6857 6557 #: includes/waitlist/class-emwc-pricing.php: 6376858 #: includes/waitlist/class-emwc-pricing.php:929 6558 6859 msgid "Quantity Discount" 6559 6860 msgstr "" 6560 6861 6561 #: includes/waitlist/class-emwc-pricing.php:647 6862 #: includes/waitlist/class-emwc-pricing.php:939 6863 #: includes/waitlist/class-emwc-pricing.php:951 6562 6864 msgid "Member Price" 6563 6865 msgstr "" 6564 6866 6565 6867 #. translators: %s: discount percentage 6566 #: includes/waitlist/class-emwc-pricing.php: 6856868 #: includes/waitlist/class-emwc-pricing.php:988 6567 6869 #, php-format 6568 6870 msgid "Save %s%%" … … 6688 6990 6689 6991 #. translators: 1: product name, 2: event date 6690 #: includes/waitlist/class-emwc-waitlist.php:91 06992 #: includes/waitlist/class-emwc-waitlist.php:915 6691 6993 #, php-format 6692 6994 msgid "Tickets Now Available - %1$s, %2$s" … … 6694 6996 6695 6997 #. translators: %s: product name 6696 #: includes/waitlist/class-emwc-waitlist.php:9 176998 #: includes/waitlist/class-emwc-waitlist.php:922 6697 6999 #, php-format 6698 7000 msgid "Tickets Now Available - %s" … … 6702 7004 #. translators: %s: attendee first name 6703 7005 #. translators: %s: first name of the person the email goes to 6704 #: includes/waitlist/class-emwc-waitlist.php:924 7006 #. translators: %s: first name of the buyer 7007 #: includes/waitlist/class-emwc-waitlist.php:929 6705 7008 #: templates/emails/event-cancellation.php:25 6706 7009 #: templates/emails/event-reminder.php:24 … … 6710 7013 #: templates/emails/plain/event-update.php:23 6711 7014 #: templates/emails/plain/registration-confirmation.php:23 7015 #: templates/emails/plain/ticket-cancelled.php:27 6712 7016 #: templates/emails/plain/ticket-delivery.php:25 6713 7017 #: templates/emails/registration-confirmation.php:25 7018 #: templates/emails/ticket-cancelled.php:34 6714 7019 #: templates/emails/ticket-delivery.php:27 6715 7020 #, php-format … … 6717 7022 msgstr "" 6718 7023 6719 #: includes/waitlist/class-emwc-waitlist.php:9 257024 #: includes/waitlist/class-emwc-waitlist.php:930 6720 7025 msgid "there" 6721 7026 msgstr "" 6722 7027 6723 7028 #. translators: 1: product name, 2: event date 6724 #: includes/waitlist/class-emwc-waitlist.php:93 17029 #: includes/waitlist/class-emwc-waitlist.php:936 6725 7030 #, php-format 6726 7031 msgid "Great news! Tickets are now available for %1$s on %2$s." … … 6728 7033 6729 7034 #. translators: %s: product name 6730 #: includes/waitlist/class-emwc-waitlist.php:9 387035 #: includes/waitlist/class-emwc-waitlist.php:943 6731 7036 #, php-format 6732 7037 msgid "Great news! Tickets are now available for %s." … … 6734 7039 6735 7040 #. translators: %s: expiration time 6736 #: includes/waitlist/class-emwc-waitlist.php:9 467041 #: includes/waitlist/class-emwc-waitlist.php:951 6737 7042 #, php-format 6738 7043 msgid "This offer expires at %s. Don't miss out!" 6739 7044 msgstr "" 6740 7045 6741 #: includes/waitlist/class-emwc-waitlist.php:95 17046 #: includes/waitlist/class-emwc-waitlist.php:956 6742 7047 msgid "Click here to purchase:" 6743 7048 msgstr "" 6744 7049 6745 #: includes/waitlist/class-emwc-waitlist.php:95 47050 #: includes/waitlist/class-emwc-waitlist.php:959 6746 7051 msgid "Thank you!" 6747 7052 msgstr "" … … 6776 7081 6777 7082 #: includes/woocommerce/class-emwc-attendee-details.php:561 7083 #: templates/emails/plain/admin-ticket-cancelled.php:40 7084 #: templates/emails/plain/ticket-cancelled.php:48 6778 7085 msgid "Ticket code:" 6779 7086 msgstr "" … … 7129 7436 msgstr[1] "" 7130 7437 7131 #: includes/woocommerce/class-emwc-recurring-tickets.php:385 7438 #: includes/woocommerce/class-emwc-guest-claim.php:115 7439 msgid "Want these tickets in an account? Log in or register with the email used for this order to keep them in My Tickets." 7440 msgstr "" 7441 7442 #: includes/woocommerce/class-emwc-guest-claim.php:120 7443 #: includes/woocommerce/class-emwc-guest-claim.php:143 7444 #: includes/woocommerce/class-emwc-guest-claim.php:431 7445 msgid "Save these tickets to your account" 7446 msgstr "" 7447 7448 #: includes/woocommerce/class-emwc-guest-claim.php:142 7449 msgid "Want these tickets in an account?" 7450 msgstr "" 7451 7452 #: includes/woocommerce/class-emwc-guest-claim.php:189 7453 msgid "This link is not valid. Open the link from your ticket email again." 7454 msgstr "" 7455 7456 #: includes/woocommerce/class-emwc-guest-claim.php:192 7457 #: includes/woocommerce/class-emwc-guest-claim.php:372 7458 msgid "Please log in to save your tickets." 7459 msgstr "" 7460 7461 #: includes/woocommerce/class-emwc-guest-claim.php:205 7462 #: includes/woocommerce/class-emwc-guest-claim.php:278 7463 msgid "These tickets already belong to another account." 7464 msgstr "" 7465 7466 #: includes/woocommerce/class-emwc-guest-claim.php:208 7467 msgid "There are no tickets to save on this order." 7468 msgstr "" 7469 7470 #: includes/woocommerce/class-emwc-guest-claim.php:215 7471 msgid "Sign in with the email address used for the order to save these tickets." 7472 msgstr "" 7473 7474 #: includes/woocommerce/class-emwc-guest-claim.php:232 7475 msgid "These tickets can't be saved to an account." 7476 msgstr "" 7477 7478 #: includes/woocommerce/class-emwc-guest-claim.php:268 7479 msgid "These tickets are being saved right now. Try again in a moment." 7480 msgstr "" 7481 7482 #: includes/woocommerce/class-emwc-guest-claim.php:282 7483 msgid "Tickets claimed into a customer account from the order link." 7484 msgstr "" 7485 7486 #: includes/woocommerce/class-emwc-guest-claim.php:374 7487 msgid "This request expired. Open the link from your ticket email again." 7488 msgstr "" 7489 7490 #: includes/woocommerce/class-emwc-guest-claim.php:381 7491 #: includes/woocommerce/class-emwc-guest-claim.php:412 7492 msgid "Your tickets are now in My Tickets." 7493 msgstr "" 7494 7495 #. translators: %s: order number 7496 #: includes/woocommerce/class-emwc-guest-claim.php:425 7497 #, php-format 7498 msgid "Save the tickets from order #%s to your account?" 7499 msgstr "" 7500 7501 #: includes/woocommerce/class-emwc-guest-claim.php:480 7502 msgid "Log in or register to save these tickets to your account." 7503 msgstr "" 7504 7505 #: includes/woocommerce/class-emwc-recurring-tickets.php:437 7132 7506 msgid "Please choose a date." 7133 7507 msgstr "" 7134 7508 7135 #: includes/woocommerce/class-emwc-recurring-tickets.php: 3887509 #: includes/woocommerce/class-emwc-recurring-tickets.php:440 7136 7510 msgid "The chosen date is not available for this ticket." 7137 7511 msgstr "" 7138 7512 7139 #: includes/woocommerce/class-emwc-recurring-tickets.php: 3937513 #: includes/woocommerce/class-emwc-recurring-tickets.php:445 7140 7514 msgid "Ticket sales for the chosen date are closed." 7141 7515 msgstr "" 7142 7516 7143 #: includes/woocommerce/class-emwc-recurring-tickets.php:396 7144 #: includes/woocommerce/class-emwc-wc-integration.php:155 7145 #: includes/woocommerce/class-emwc-wc-integration.php:165 7517 #: includes/woocommerce/class-emwc-recurring-tickets.php:453 7518 msgid "Ticket sales for the chosen date have not started yet." 7519 msgstr "" 7520 7521 #: includes/woocommerce/class-emwc-recurring-tickets.php:456 7522 msgid "Ticket sales for the chosen date have ended." 7523 msgstr "" 7524 7525 #: includes/woocommerce/class-emwc-recurring-tickets.php:460 7526 #: includes/woocommerce/class-emwc-wc-integration.php:157 7527 #: includes/woocommerce/class-emwc-wc-integration.php:167 7146 7528 msgid "The chosen date is sold out." 7147 7529 msgstr "" 7148 7530 7149 #: includes/woocommerce/class-emwc-recurring-tickets.php: 5707531 #: includes/woocommerce/class-emwc-recurring-tickets.php:649 7150 7532 msgid "That date isn't available anymore, so the next available date is shown." 7151 7533 msgstr "" 7152 7534 7153 7535 #. translators: 1: event title, 2: event date 7154 #: includes/woocommerce/class-emwc-recurring-tickets.php: 8687536 #: includes/woocommerce/class-emwc-recurring-tickets.php:958 7155 7537 #, php-format 7156 7538 msgid "%1$s (%2$s)" 7157 7539 msgstr "" 7158 7540 7159 #: includes/woocommerce/class-emwc-recurring-tickets.php: 9507541 #: includes/woocommerce/class-emwc-recurring-tickets.php:1040 7160 7542 msgid "(sold out)" 7161 7543 msgstr "" 7162 7544 7163 #: includes/woocommerce/class-emwc-recurring-tickets.php: 9537545 #: includes/woocommerce/class-emwc-recurring-tickets.php:1043 7164 7546 msgid "(sales closed)" 7547 msgstr "" 7548 7549 #: includes/woocommerce/class-emwc-recurring-tickets.php:1046 7550 msgid "(not on sale yet)" 7165 7551 msgstr "" 7166 7552 … … 7233 7619 7234 7620 #. translators: 1: event date, 2: reason 7235 #: includes/woocommerce/class-emwc-wc-integration.php:17 77621 #: includes/woocommerce/class-emwc-wc-integration.php:179 7236 7622 #, php-format 7237 7623 msgid "Tickets for %1$s can't be bought: %2$s Please remove them from your cart." 7238 7624 msgstr "" 7239 7625 7240 #: includes/woocommerce/class-emwc-wc-integration.php:23 07241 msgid "Event tickets can not be purchased with other products. Please complete your current order first or empty your cart."7626 #: includes/woocommerce/class-emwc-wc-integration.php:232 7627 msgid "Event tickets can't be purchased with other products. Please complete your current order first or empty your cart." 7242 7628 msgstr "" 7243 7629 7244 7630 #. translators: 1: required seats, 2: selected seats 7245 #: includes/woocommerce/class-emwc-wc-integration.php:29 47631 #: includes/woocommerce/class-emwc-wc-integration.php:296 7246 7632 #, php-format 7247 7633 msgid "Please select %1$d seat(s). You have selected %2$d." … … 7249 7635 7250 7636 #. translators: 1: required seats, 2: selected seats 7251 #: includes/woocommerce/class-emwc-wc-integration.php:30 77637 #: includes/woocommerce/class-emwc-wc-integration.php:309 7252 7638 #, php-format 7253 7639 msgid "You have selected too many seats. Please select exactly %1$d seat(s) for your order." … … 7255 7641 7256 7642 #. translators: 1: section name, 2: row letter, 3: seat number 7257 #: includes/woocommerce/class-emwc-wc-integration.php:32 47643 #: includes/woocommerce/class-emwc-wc-integration.php:326 7258 7644 #, php-format 7259 7645 msgid "Seat %1$s - Row %2$s, Seat %3$d is no longer available. Please choose another seat." 7260 7646 msgstr "" 7261 7647 7262 #: includes/woocommerce/class-emwc-wc-integration.php:40 37648 #: includes/woocommerce/class-emwc-wc-integration.php:405 7263 7649 msgid "Sorry, this event is at full capacity. No more tickets are available." 7264 7650 msgstr "" 7265 7651 7266 7652 #. translators: 1: persons to add, 2: remaining capacity 7267 #: includes/woocommerce/class-emwc-wc-integration.php:41 07268 #, php-format 7269 msgid "Can not add %1$d person(s) to your order. Only %2$d spot(s) remaining for this event."7270 msgstr "" 7271 7272 #: includes/woocommerce/class-emwc-wc-integration.php:51 27273 #: includes/woocommerce/class-emwc-wc-integration.php:54 67653 #: includes/woocommerce/class-emwc-wc-integration.php:412 7654 #, php-format 7655 msgid "Can't add %1$d person(s) to your order. Only %2$d spot(s) remaining for this event." 7656 msgstr "" 7657 7658 #: includes/woocommerce/class-emwc-wc-integration.php:514 7659 #: includes/woocommerce/class-emwc-wc-integration.php:548 7274 7660 msgid "Event Ticket" 7275 7661 msgstr "" 7276 7662 7277 #: includes/woocommerce/class-emwc-wc-integration.php:51 37663 #: includes/woocommerce/class-emwc-wc-integration.php:515 7278 7664 msgid "Enable to sell tickets for an event." 7279 7665 msgstr "" 7280 7666 7281 #: includes/woocommerce/class-emwc-wc-integration.php:61 07282 #: includes/woocommerce/class-emwc-wc-integration.php: 8767667 #: includes/woocommerce/class-emwc-wc-integration.php:615 7668 #: includes/woocommerce/class-emwc-wc-integration.php:930 7283 7669 msgid "Dropdown" 7284 7670 msgstr "" 7285 7671 7286 #: includes/woocommerce/class-emwc-wc-integration.php:61 17287 #: includes/woocommerce/class-emwc-wc-integration.php: 8777672 #: includes/woocommerce/class-emwc-wc-integration.php:616 7673 #: includes/woocommerce/class-emwc-wc-integration.php:931 7288 7674 msgid "Checkbox" 7289 7675 msgstr "" 7290 7676 7291 #: includes/woocommerce/class-emwc-wc-integration.php:6 167677 #: includes/woocommerce/class-emwc-wc-integration.php:621 7292 7678 msgid "Billing First Name" 7293 7679 msgstr "" 7294 7680 7295 #: includes/woocommerce/class-emwc-wc-integration.php:6 177681 #: includes/woocommerce/class-emwc-wc-integration.php:622 7296 7682 msgid "Billing Last Name" 7297 7683 msgstr "" 7298 7684 7299 #: includes/woocommerce/class-emwc-wc-integration.php:6 187685 #: includes/woocommerce/class-emwc-wc-integration.php:623 7300 7686 msgid "Billing Email" 7301 7687 msgstr "" 7302 7688 7303 #: includes/woocommerce/class-emwc-wc-integration.php:6 197689 #: includes/woocommerce/class-emwc-wc-integration.php:624 7304 7690 msgid "Billing Phone" 7305 7691 msgstr "" 7306 7692 7307 #: includes/woocommerce/class-emwc-wc-integration.php:62 07693 #: includes/woocommerce/class-emwc-wc-integration.php:625 7308 7694 msgid "Billing Company" 7309 7695 msgstr "" 7310 7696 7311 7697 #. translators: %d: ID of an event that no longer exists 7312 #: includes/woocommerce/class-emwc-wc-integration.php:64 17698 #: includes/woocommerce/class-emwc-wc-integration.php:646 7313 7699 #, php-format 7314 7700 msgid "Event #%d (deleted)" 7315 7701 msgstr "" 7316 7702 7317 #: includes/woocommerce/class-emwc-wc-integration.php:6 467703 #: includes/woocommerce/class-emwc-wc-integration.php:651 7318 7704 msgid "Select the event this ticket is for." 7319 7705 msgstr "" 7320 7706 7321 7707 #. translators: %s: URL to create new event 7322 #: includes/woocommerce/class-emwc-wc-integration.php:6 497708 #: includes/woocommerce/class-emwc-wc-integration.php:654 7323 7709 #, php-format 7324 7710 msgid "No events found. <a href=\"%s\">Create an event first</a>." 7325 7711 msgstr "" 7326 7712 7327 #: includes/woocommerce/class-emwc-wc-integration.php:6 587713 #: includes/woocommerce/class-emwc-wc-integration.php:663 7328 7714 msgid "Minimum per order" 7329 7715 msgstr "" 7330 7716 7331 #: includes/woocommerce/class-emwc-wc-integration.php:66 07717 #: includes/woocommerce/class-emwc-wc-integration.php:665 7332 7718 msgid "Minimum tickets required per order." 7333 7719 msgstr "" 7334 7720 7335 #: includes/woocommerce/class-emwc-wc-integration.php:67 27721 #: includes/woocommerce/class-emwc-wc-integration.php:677 7336 7722 msgid "Maximum per order" 7337 7723 msgstr "" 7338 7724 7339 #: includes/woocommerce/class-emwc-wc-integration.php:67 47725 #: includes/woocommerce/class-emwc-wc-integration.php:679 7340 7726 msgid "Maximum tickets allowed per order. 0 = unlimited." 7341 7727 msgstr "" 7342 7728 7343 #: includes/woocommerce/class-emwc-wc-integration.php:6 867344 #: includes/woocommerce/class-emwc-wc-integration.php: 8907729 #: includes/woocommerce/class-emwc-wc-integration.php:691 7730 #: includes/woocommerce/class-emwc-wc-integration.php:944 7345 7731 msgid "Persons per ticket" 7346 7732 msgstr "" 7347 7733 7348 #: includes/woocommerce/class-emwc-wc-integration.php:6 887734 #: includes/woocommerce/class-emwc-wc-integration.php:693 7349 7735 msgid "How many people one ticket admits. Use for group tickets." 7350 7736 msgstr "" 7351 7737 7352 #: includes/woocommerce/class-emwc-wc-integration.php:705 7353 #: includes/woocommerce/class-emwc-wc-integration.php:896 7738 #: includes/woocommerce/class-emwc-wc-integration.php:710 7739 #: includes/woocommerce/class-emwc-wc-integration.php:951 7740 msgid "Sales window" 7741 msgstr "" 7742 7743 #: includes/woocommerce/class-emwc-wc-integration.php:712 7744 msgid "Fixed dates use the dates below. A relative window opens and closes before the event starts, and a recurring event counts from each date." 7745 msgstr "" 7746 7747 #: includes/woocommerce/class-emwc-wc-integration.php:714 7748 #: includes/woocommerce/class-emwc-wc-integration.php:954 7749 msgid "Fixed dates" 7750 msgstr "" 7751 7752 #: includes/woocommerce/class-emwc-wc-integration.php:715 7753 #: includes/woocommerce/class-emwc-wc-integration.php:955 7754 msgid "Relative to event start" 7755 msgstr "" 7756 7757 #: includes/woocommerce/class-emwc-wc-integration.php:726 7758 #: includes/woocommerce/class-emwc-wc-integration.php:960 7354 7759 msgid "Sales start date" 7355 7760 msgstr "" 7356 7761 7357 #: includes/woocommerce/class-emwc-wc-integration.php:7 077762 #: includes/woocommerce/class-emwc-wc-integration.php:728 7358 7763 msgid "Date when ticket sales begin." 7359 7764 msgstr "" 7360 7765 7361 #: includes/woocommerce/class-emwc-wc-integration.php:7 177362 #: includes/woocommerce/class-emwc-wc-integration.php:9 007766 #: includes/woocommerce/class-emwc-wc-integration.php:738 7767 #: includes/woocommerce/class-emwc-wc-integration.php:964 7363 7768 msgid "Sales start time" 7364 7769 msgstr "" 7365 7770 7366 #: includes/woocommerce/class-emwc-wc-integration.php:7 197771 #: includes/woocommerce/class-emwc-wc-integration.php:740 7367 7772 msgid "Time when sales begin (e.g., 09:00). Leave empty for midnight." 7368 7773 msgstr "" 7369 7774 7370 #: includes/woocommerce/class-emwc-wc-integration.php:7 277371 #: includes/woocommerce/class-emwc-wc-integration.php:9 057775 #: includes/woocommerce/class-emwc-wc-integration.php:748 7776 #: includes/woocommerce/class-emwc-wc-integration.php:969 7372 7777 msgid "Sales end" 7373 7778 msgstr "" 7374 7779 7375 #: includes/woocommerce/class-emwc-wc-integration.php:7 377376 #: includes/woocommerce/class-emwc-wc-integration.php:9 107780 #: includes/woocommerce/class-emwc-wc-integration.php:758 7781 #: includes/woocommerce/class-emwc-wc-integration.php:974 7377 7782 msgid "Sales end date" 7378 7783 msgstr "" 7379 7784 7380 #: includes/woocommerce/class-emwc-wc-integration.php:7 397785 #: includes/woocommerce/class-emwc-wc-integration.php:760 7381 7786 msgid "Date when ticket sales end." 7382 7787 msgstr "" 7383 7788 7384 #: includes/woocommerce/class-emwc-wc-integration.php:7 497385 #: includes/woocommerce/class-emwc-wc-integration.php:9 147789 #: includes/woocommerce/class-emwc-wc-integration.php:770 7790 #: includes/woocommerce/class-emwc-wc-integration.php:978 7386 7791 msgid "Sales end time" 7387 7792 msgstr "" 7388 7793 7389 #: includes/woocommerce/class-emwc-wc-integration.php:7 517794 #: includes/woocommerce/class-emwc-wc-integration.php:772 7390 7795 msgid "Time when sales end (e.g., 23:59). Leave empty for end of day." 7391 7796 msgstr "" 7392 7797 7393 #: includes/woocommerce/class-emwc-wc-integration.php:767 7798 #: includes/woocommerce/class-emwc-wc-integration.php:787 7799 #: includes/woocommerce/class-emwc-wc-integration.php:985 7800 msgid "Open days before" 7801 msgstr "" 7802 7803 #: includes/woocommerce/class-emwc-wc-integration.php:789 7804 #: includes/woocommerce/class-emwc-wc-integration.php:985 7805 msgid "Sales open this many days before the event starts. Leave empty to open now." 7806 msgstr "" 7807 7808 #: includes/woocommerce/class-emwc-wc-integration.php:801 7809 #: includes/woocommerce/class-emwc-wc-integration.php:989 7810 msgid "Close hours before" 7811 msgstr "" 7812 7813 #: includes/woocommerce/class-emwc-wc-integration.php:803 7814 #: includes/woocommerce/class-emwc-wc-integration.php:989 7815 msgid "Sales close this many hours before the event starts. Use 0 to close when it starts." 7816 msgstr "" 7817 7818 #: includes/woocommerce/class-emwc-wc-integration.php:821 7394 7819 msgid "Collect attendee info" 7395 7820 msgstr "" 7396 7821 7397 #: includes/woocommerce/class-emwc-wc-integration.php: 7687822 #: includes/woocommerce/class-emwc-wc-integration.php:822 7398 7823 msgid "Require attendee details for each ticket." 7399 7824 msgstr "" 7400 7825 7401 #: includes/woocommerce/class-emwc-wc-integration.php: 7767826 #: includes/woocommerce/class-emwc-wc-integration.php:830 7402 7827 msgid "Attendee fields" 7403 7828 msgstr "" 7404 7829 7405 #: includes/woocommerce/class-emwc-wc-integration.php: 7837830 #: includes/woocommerce/class-emwc-wc-integration.php:837 7406 7831 msgid "Auto-fill" 7407 7832 msgstr "" 7408 7833 7409 #: includes/woocommerce/class-emwc-wc-integration.php: 7847410 #: includes/woocommerce/class-emwc-wc-integration.php: 9317834 #: includes/woocommerce/class-emwc-wc-integration.php:838 7835 #: includes/woocommerce/class-emwc-wc-integration.php:1006 7411 7836 msgid "Required" 7412 7837 msgstr "" 7413 7838 7414 #: includes/woocommerce/class-emwc-wc-integration.php:797 7415 #: includes/woocommerce/class-emwc-wc-integration.php:819 7839 #: includes/woocommerce/class-emwc-wc-integration.php:851 7840 #: includes/woocommerce/class-emwc-wc-integration.php:873 7841 #: includes/woocommerce/class-emwc-wc-integration.php:1019 7842 #: includes/woocommerce/class-emwc-wc-integration.php:1037 7843 msgid "Small | Medium | Large" 7844 msgstr "" 7845 7846 #: includes/woocommerce/class-emwc-wc-integration.php:851 7847 #: includes/woocommerce/class-emwc-wc-integration.php:873 7848 #: includes/woocommerce/class-emwc-wc-integration.php:1019 7849 #: includes/woocommerce/class-emwc-wc-integration.php:1037 7850 msgid "Dropdown choices, separated by |" 7851 msgstr "" 7852 7853 #: includes/woocommerce/class-emwc-wc-integration.php:862 7854 msgid "+ Add Field" 7855 msgstr "" 7856 7857 #: includes/woocommerce/class-emwc-wc-integration.php:864 7858 msgid "For a Dropdown, type the choices separated by |, for example S | M | L. A Dropdown without choices is asked as a text box." 7859 msgstr "" 7860 7861 #: includes/woocommerce/class-emwc-wc-integration.php:936 7862 msgid "Min per order" 7863 msgstr "" 7864 7865 #: includes/woocommerce/class-emwc-wc-integration.php:936 7866 msgid "Minimum tickets required per order for this variation." 7867 msgstr "" 7868 7869 #: includes/woocommerce/class-emwc-wc-integration.php:937 7870 #: includes/woocommerce/class-emwc-wc-integration.php:941 7871 msgid "Default" 7872 msgstr "" 7873 7874 #: includes/woocommerce/class-emwc-wc-integration.php:940 7875 msgid "Max per order" 7876 msgstr "" 7877 7878 #: includes/woocommerce/class-emwc-wc-integration.php:940 7879 msgid "Maximum tickets allowed per order. Leave empty for unlimited." 7880 msgstr "" 7881 7416 7882 #: includes/woocommerce/class-emwc-wc-integration.php:944 7417 #: includes/woocommerce/class-emwc-wc-integration.php:9627418 msgid "Small | Medium | Large"7419 msgstr ""7420 7421 #: includes/woocommerce/class-emwc-wc-integration.php:7977422 #: includes/woocommerce/class-emwc-wc-integration.php:8197423 #: includes/woocommerce/class-emwc-wc-integration.php:9447424 #: includes/woocommerce/class-emwc-wc-integration.php:9627425 msgid "Dropdown choices, separated by |"7426 msgstr ""7427 7428 #: includes/woocommerce/class-emwc-wc-integration.php:8087429 msgid "+ Add Field"7430 msgstr ""7431 7432 #: includes/woocommerce/class-emwc-wc-integration.php:8107433 msgid "For a Dropdown, type the choices separated by |, for example S | M | L. A Dropdown without choices is asked as a text box."7434 msgstr ""7435 7436 #: includes/woocommerce/class-emwc-wc-integration.php:8827437 msgid "Min per order"7438 msgstr ""7439 7440 #: includes/woocommerce/class-emwc-wc-integration.php:8827441 msgid "Minimum tickets required per order for this variation."7442 msgstr ""7443 7444 #: includes/woocommerce/class-emwc-wc-integration.php:8837445 #: includes/woocommerce/class-emwc-wc-integration.php:8877446 msgid "Default"7447 msgstr ""7448 7449 #: includes/woocommerce/class-emwc-wc-integration.php:8867450 msgid "Max per order"7451 msgstr ""7452 7453 #: includes/woocommerce/class-emwc-wc-integration.php:8867454 msgid "Maximum tickets allowed per order. Leave empty for unlimited."7455 msgstr ""7456 7457 #: includes/woocommerce/class-emwc-wc-integration.php:8907458 7883 msgid "How many people this ticket admits. For group tickets, set higher number." 7459 7884 msgstr "" 7460 7885 7461 #: includes/woocommerce/class-emwc-wc-integration.php:921 7886 #: includes/woocommerce/class-emwc-wc-integration.php:953 7887 msgid "Same as the ticket" 7888 msgstr "" 7889 7890 #: includes/woocommerce/class-emwc-wc-integration.php:996 7462 7891 msgid "Use custom attendee fields for this variation" 7463 7892 msgstr "" 7464 7893 7465 #: includes/woocommerce/class-emwc-wc-integration.php: 9517894 #: includes/woocommerce/class-emwc-wc-integration.php:1026 7466 7895 msgid "+ Add" 7467 7896 msgstr "" 7468 7897 7469 #: includes/woocommerce/class-emwc-wc-integration.php:11 097898 #: includes/woocommerce/class-emwc-wc-integration.php:1188 7470 7899 msgid "Now Available!" 7471 7900 msgstr "" 7472 7901 7473 #: includes/woocommerce/class-emwc-wc-integration.php:1 2907902 #: includes/woocommerce/class-emwc-wc-integration.php:1384 7474 7903 #: includes/woocommerce/class-emwc-wc-order.php:207 7475 #: includes/woocommerce/class-emwc-wc-order.php:11 397904 #: includes/woocommerce/class-emwc-wc-order.php:1176 7476 7905 msgid "Admits" 7477 7906 msgstr "" 7478 7907 7479 7908 #. translators: %d: number of persons admitted 7480 #: includes/woocommerce/class-emwc-wc-integration.php:1 2927909 #: includes/woocommerce/class-emwc-wc-integration.php:1386 7481 7910 #: includes/woocommerce/class-emwc-wc-order.php:209 7482 #: includes/woocommerce/class-emwc-wc-order.php:1 1857911 #: includes/woocommerce/class-emwc-wc-order.php:1222 7483 7912 #, php-format 7484 7913 msgid "%d person" … … 7487 7916 msgstr[1] "" 7488 7917 7489 #: includes/woocommerce/class-emwc-wc-integration.php:13 047490 #: includes/woocommerce/class-emwc-wc-order.php:11 407918 #: includes/woocommerce/class-emwc-wc-integration.php:1398 7919 #: includes/woocommerce/class-emwc-wc-order.php:1177 7491 7920 msgid "Seat(s)" 7492 7921 msgstr "" 7493 7922 7494 #: includes/woocommerce/class-emwc-wc-integration.php:1 3777495 #: includes/woocommerce/class-emwc-wc-integration.php:1 4387923 #: includes/woocommerce/class-emwc-wc-integration.php:1471 7924 #: includes/woocommerce/class-emwc-wc-integration.php:1532 7496 7925 msgid "Coming Soon" 7497 7926 msgstr "" 7498 7927 7499 #: includes/woocommerce/class-emwc-wc-integration.php:1 3817500 #: includes/woocommerce/class-emwc-wc-integration.php:1 4427501 #: includes/woocommerce/class-emwc-wc-integration.php: 19767502 #: includes/woocommerce/class-emwc-wc-integration.php:2 0017503 #: includes/woocommerce/class-emwc-wc-integration.php:2 0317928 #: includes/woocommerce/class-emwc-wc-integration.php:1475 7929 #: includes/woocommerce/class-emwc-wc-integration.php:1536 7930 #: includes/woocommerce/class-emwc-wc-integration.php:2181 7931 #: includes/woocommerce/class-emwc-wc-integration.php:2206 7932 #: includes/woocommerce/class-emwc-wc-integration.php:2241 7504 7933 msgid "Sales Ended" 7505 7934 msgstr "" 7506 7935 7507 #: includes/woocommerce/class-emwc-wc-integration.php:1 3857936 #: includes/woocommerce/class-emwc-wc-integration.php:1479 7508 7937 msgid "Get Tickets" 7509 7938 msgstr "" 7510 7939 7511 #: includes/woocommerce/class-emwc-wc-integration.php:1 4467940 #: includes/woocommerce/class-emwc-wc-integration.php:1540 7512 7941 msgid "Buy Tickets" 7513 7942 msgstr "" 7514 7943 7515 #: includes/woocommerce/class-emwc-wc-integration.php:16 167944 #: includes/woocommerce/class-emwc-wc-integration.php:1677 7516 7945 msgid "Format" 7517 7946 msgstr "" 7518 7947 7519 #: includes/woocommerce/class-emwc-wc-integration.php:16 167948 #: includes/woocommerce/class-emwc-wc-integration.php:1677 7520 7949 msgid "Hybrid Event" 7521 7950 msgstr "" 7522 7951 7523 7952 #. translators: %s: event date 7524 #: includes/woocommerce/class-emwc-wc-integration.php:1 7537953 #: includes/woocommerce/class-emwc-wc-integration.php:1814 7525 7954 #, php-format 7526 7955 msgid "%s is sold out." 7527 7956 msgstr "" 7528 7957 7529 #: includes/woocommerce/class-emwc-wc-integration.php:1 7577958 #: includes/woocommerce/class-emwc-wc-integration.php:1818 7530 7959 msgid "Sold out" 7531 7960 msgstr "" 7532 7961 7533 #: includes/woocommerce/class-emwc-wc-integration.php:2 0507962 #: includes/woocommerce/class-emwc-wc-integration.php:2260 7534 7963 msgid "Event Ended" 7535 7964 msgstr "" 7536 7965 7537 #: includes/woocommerce/class-emwc-wc-integration.php:2 0647966 #: includes/woocommerce/class-emwc-wc-integration.php:2274 7538 7967 msgid "Event Started" 7539 7968 msgstr "" 7540 7969 7541 #: includes/woocommerce/class-emwc-wc-integration.php:2 0897542 #: templates/single-emwc_event.php:47 27543 #: templates/single-emwc_event.php:58 27970 #: includes/woocommerce/class-emwc-wc-integration.php:2303 7971 #: templates/single-emwc_event.php:476 7972 #: templates/single-emwc_event.php:586 7544 7973 msgid "Tickets Coming Soon!" 7545 7974 msgstr "" … … 7547 7976 #. translators: %s: date and time 7548 7977 #. translators: %s: sale start date and time 7549 #: includes/woocommerce/class-emwc-wc-integration.php:2 0937550 #: templates/single-emwc_event.php:4 767551 #: templates/single-emwc_event.php:5 867978 #: includes/woocommerce/class-emwc-wc-integration.php:2307 7979 #: templates/single-emwc_event.php:480 7980 #: templates/single-emwc_event.php:590 7552 7981 #, php-format 7553 7982 msgid "Sales begin on %s" 7554 7983 msgstr "" 7555 7984 7556 #: includes/woocommerce/class-emwc-wc-integration.php:2 1017557 #: includes/woocommerce/class-emwc-wc-integration.php:2 1167558 #: templates/single-emwc_event.php:48 47559 #: templates/single-emwc_event.php:5 087560 #: templates/single-emwc_event.php:57 27561 #: templates/single-emwc_event.php:59 47985 #: includes/woocommerce/class-emwc-wc-integration.php:2315 7986 #: includes/woocommerce/class-emwc-wc-integration.php:2330 7987 #: templates/single-emwc_event.php:488 7988 #: templates/single-emwc_event.php:512 7989 #: templates/single-emwc_event.php:576 7990 #: templates/single-emwc_event.php:598 7562 7991 msgid "Sec" 7563 7992 msgstr "" 7564 7993 7565 #: includes/woocommerce/class-emwc-wc-integration.php:2 1107994 #: includes/woocommerce/class-emwc-wc-integration.php:2324 7566 7995 msgid "Hurry! Sales end in:" 7567 7996 msgstr "" 7568 7997 7569 #: includes/woocommerce/class-emwc-wc-integration.php:2 1267998 #: includes/woocommerce/class-emwc-wc-integration.php:2340 7570 7999 msgid "Ticket sales for this event have closed." 7571 8000 msgstr "" 7572 8001 7573 #: includes/woocommerce/class-emwc-wc-integration.php:2 1368002 #: includes/woocommerce/class-emwc-wc-integration.php:2350 7574 8003 msgid "This event is sold out. Check back later for cancellations." 7575 8004 msgstr "" 7576 8005 7577 #: includes/woocommerce/class-emwc-wc-integration.php:2 2198006 #: includes/woocommerce/class-emwc-wc-integration.php:2433 7578 8007 msgid "This ticket sells every date of a recurring event. Each date's tickets are on sale until that date starts." 7579 8008 msgstr "" 7580 8009 7581 #: includes/woocommerce/class-emwc-wc-integration.php:2 2538010 #: includes/woocommerce/class-emwc-wc-integration.php:2467 7582 8011 msgid "Recurring event tickets now close per date: each date is on sale until it starts. Evenzo removed the Sales End date from these ticket products because it would have closed every date of their recurring event:" 7583 8012 msgstr "" 7584 8013 7585 #: includes/woocommerce/class-emwc-wc-integration.php:2 2598014 #: includes/woocommerce/class-emwc-wc-integration.php:2473 7586 8015 msgid "To hold back sales, use Sales Start on the product. To stop selling a date, cancel that date or set its capacity." 7587 8016 msgstr "" 7588 8017 7589 8018 #. translators: 1: product name, 2: total possible attendees, 3: event capacity 7590 #: includes/woocommerce/class-emwc-wc-integration.php:2 5348019 #: includes/woocommerce/class-emwc-wc-integration.php:2748 7591 8020 #, php-format 7592 8021 msgid "\"%1$s\" variation stock allows %2$d possible attendees, exceeding event capacity of %3$d. Capacity is validated at checkout, but consider adjusting stock." … … 7594 8023 7595 8024 #. translators: %d: number of remaining spots (people capacity) 7596 #: includes/woocommerce/class-emwc-wc-integration.php:2 7228025 #: includes/woocommerce/class-emwc-wc-integration.php:2936 7597 8026 #, php-format 7598 8027 msgid "%d spot remaining" … … 7601 8030 msgstr[1] "" 7602 8031 7603 #: includes/woocommerce/class-emwc-wc-integration.php:2 7798032 #: includes/woocommerce/class-emwc-wc-integration.php:2993 7604 8033 msgid "Event Capacity Warning:" 7605 8034 msgstr "" 7606 8035 7607 #: includes/woocommerce/class-emwc-wc-integration.php: 28118036 #: includes/woocommerce/class-emwc-wc-integration.php:3025 7608 8037 msgid "This ticket is not linked to an event yet, so it will not show on any event. Open the Event Ticket tab below, select an event, then update the product." 7609 8038 msgstr "" 7610 8039 7611 8040 #. translators: 1: stock quantity, 2: event capacity 7612 #: includes/woocommerce/class-emwc-wc-integration.php: 28498041 #: includes/woocommerce/class-emwc-wc-integration.php:3063 7613 8042 #, php-format 7614 8043 msgid "Product stock (%1$d) exceeds event capacity (%2$d). Stock will be limited to event capacity." … … 7616 8045 7617 8046 #. translators: 1: total stock, 2: event capacity 7618 #: includes/woocommerce/class-emwc-wc-integration.php: 28698047 #: includes/woocommerce/class-emwc-wc-integration.php:3083 7619 8048 #, php-format 7620 8049 msgid "Total variation stock (%1$d) exceeds event capacity (%2$d). Please reduce variation stock levels." … … 7637 8066 msgstr "" 7638 8067 7639 #: includes/woocommerce/class-emwc-wc-my-account.php: 1998068 #: includes/woocommerce/class-emwc-wc-my-account.php:204 7640 8069 msgid "QR" 7641 8070 msgstr "" 7642 8071 7643 #: includes/woocommerce/class-emwc-wc-my-account.php:20 38072 #: includes/woocommerce/class-emwc-wc-my-account.php:208 7644 8073 msgid "Print" 7645 8074 msgstr "" 7646 8075 7647 #: includes/woocommerce/class-emwc-wc-my-account.php:2 318076 #: includes/woocommerce/class-emwc-wc-my-account.php:249 7648 8077 msgid "Save QR Code" 7649 8078 msgstr "" 7650 8079 7651 #: includes/woocommerce/class-emwc-wc-my-account.php:359 8080 #: includes/woocommerce/class-emwc-wc-my-account.php:275 8081 msgid "Cancel this ticket? This can't be undone." 8082 msgstr "" 8083 8084 #: includes/woocommerce/class-emwc-wc-my-account.php:278 8085 msgid "Cancel ticket" 8086 msgstr "" 8087 8088 #: includes/woocommerce/class-emwc-wc-my-account.php:406 7652 8089 msgid "TBD" 7653 8090 msgstr "" 7654 8091 7655 #: includes/woocommerce/class-emwc-wc-my-account.php: 3838092 #: includes/woocommerce/class-emwc-wc-my-account.php:433 7656 8093 msgid "Confirmed" 7657 8094 msgstr "" … … 7696 8133 7697 8134 #. translators: 1: ticket number, 2: seat 7698 #: includes/woocommerce/class-emwc-wc-order.php:6 388135 #: includes/woocommerce/class-emwc-wc-order.php:644 7699 8136 #, php-format 7700 8137 msgid "Ticket #%1$d was cancelled: its seat %2$s was booked by another order while this order was unpaid or in the trash. Book another seat for the customer or refund the ticket." … … 7702 8139 7703 8140 #. translators: %s: seats, comma separated 7704 #: includes/woocommerce/class-emwc-wc-order.php: 9898141 #: includes/woocommerce/class-emwc-wc-order.php:1026 7705 8142 #, php-format 7706 8143 msgid "Seat %s was booked or blocked while the order was in the trash, so it is no longer held for this order. Its ticket will be cancelled when the order is paid." … … 7710 8147 7711 8148 #. translators: %s: order status 7712 #: includes/woocommerce/class-emwc-wc-order.php:10 228149 #: includes/woocommerce/class-emwc-wc-order.php:1059 7713 8150 #, php-format 7714 8151 msgid "The order was restored as %s, so its event tickets stay cancelled." … … 7716 8153 7717 8154 #. translators: 1: ticket number, 2: seat 7718 #: includes/woocommerce/class-emwc-wc-order.php:10 478155 #: includes/woocommerce/class-emwc-wc-order.php:1084 7719 8156 #, php-format 7720 8157 msgid "Ticket #%1$d stays cancelled: seat %2$s was blocked while the order was in the trash. Unblock it and reactivate the ticket to give it back." … … 7722 8159 7723 8160 #. translators: 1: ticket number, 2: seat 7724 #: includes/woocommerce/class-emwc-wc-order.php:10 548161 #: includes/woocommerce/class-emwc-wc-order.php:1091 7725 8162 #, php-format 7726 8163 msgid "Ticket #%1$d stays cancelled: its seat %2$s was booked while the order was in the trash." … … 7728 8165 7729 8166 #. translators: 1: event title and date, 2: capacity, 3: tickets now booked 7730 #: includes/woocommerce/class-emwc-wc-order.php:1 0858167 #: includes/woocommerce/class-emwc-wc-order.php:1122 7731 8168 #, php-format 7732 8169 msgid "%1$s is now over capacity: %3$d booked, %2$d capacity." … … 7734 8171 7735 8172 #. translators: %d: tickets restored 7736 #: includes/woocommerce/class-emwc-wc-order.php:1 0968173 #: includes/woocommerce/class-emwc-wc-order.php:1133 7737 8174 #, php-format 7738 8175 msgid "Restored %d event ticket from the trash." … … 7741 8178 msgstr[1] "" 7742 8179 7743 #: includes/woocommerce/class-emwc-wc-order.php:11 128180 #: includes/woocommerce/class-emwc-wc-order.php:1149 7744 8181 msgid "Ticket Codes" 7745 8182 msgstr "" 7746 8183 7747 #: includes/woocommerce/class-emwc-wc-order.php:1 1748184 #: includes/woocommerce/class-emwc-wc-order.php:1211 7748 8185 #: templates/emails/plain/admin-new-registration.php:44 8186 #: templates/emails/plain/admin-ticket-cancelled.php:33 7749 8187 #: templates/emails/plain/event-cancellation.php:46 7750 8188 #: templates/emails/plain/event-reminder.php:38 7751 8189 #: templates/emails/plain/event-update.php:46 7752 8190 #: templates/emails/plain/registration-confirmation.php:35 8191 #: templates/emails/plain/ticket-cancelled.php:40 7753 8192 msgid "Event:" 7754 8193 msgstr "" 7755 8194 7756 #: includes/woocommerce/class-emwc-wc-order.php:1 1838195 #: includes/woocommerce/class-emwc-wc-order.php:1220 7757 8196 msgid "Admits:" 7758 8197 msgstr "" 7759 8198 7760 #: includes/woocommerce/class-emwc-wc-order.php:1 1968199 #: includes/woocommerce/class-emwc-wc-order.php:1233 7761 8200 msgid "Seat(s):" 7762 8201 msgstr "" 7763 8202 7764 #: includes/woocommerce/class-emwc-wc-order.php:12 028203 #: includes/woocommerce/class-emwc-wc-order.php:1239 7765 8204 msgid "Tickets:" 7766 8205 msgstr "" 7767 8206 7768 #: includes/woocommerce/class-emwc-wc-order.php:1 2708207 #: includes/woocommerce/class-emwc-wc-order.php:1307 7769 8208 msgid "YOUR EVENT TICKETS" 7770 8209 msgstr "" 7771 8210 7772 #: includes/woocommerce/class-emwc-wc-order.php:1 2768211 #: includes/woocommerce/class-emwc-wc-order.php:1313 7773 8212 msgid "Your Event Tickets" 7774 8213 msgstr "" 7775 8214 7776 #: includes/woocommerce/class-emwc-wc-order.php:1 2778215 #: includes/woocommerce/class-emwc-wc-order.php:1314 7777 8216 msgid "Present these codes at the event for check-in." 7778 8217 msgstr "" … … 7821 8260 #: templates/emails/admin-new-registration.php:109 7822 8261 msgid "View All Attendees" 8262 msgstr "" 8263 8264 #. translators: %s: event name 8265 #: templates/emails/admin-ticket-cancelled.php:34 8266 #: templates/emails/plain/admin-ticket-cancelled.php:27 8267 #, php-format 8268 msgid "A ticket for %s was cancelled. The place is free again." 8269 msgstr "" 8270 8271 #: templates/emails/admin-ticket-cancelled.php:71 8272 msgid "Cancelled by" 8273 msgstr "" 8274 8275 #: templates/emails/admin-ticket-cancelled.php:77 8276 #: templates/emails/plain/admin-ticket-cancelled.php:46 8277 msgid "Refunds are not made automatically. Refund the order from its page if the customer should get money back." 7823 8278 msgstr "" 7824 8279 … … 7940 8395 7941 8396 #: templates/emails/plain/admin-new-registration.php:58 8397 #: templates/emails/plain/admin-ticket-cancelled.php:42 7942 8398 msgid "Order:" 7943 8399 msgstr "" … … 7957 8413 #: templates/emails/plain/admin-new-registration.php:64 7958 8414 msgid "View All Attendees:" 8415 msgstr "" 8416 8417 #: templates/emails/plain/admin-ticket-cancelled.php:32 8418 #: templates/emails/plain/ticket-cancelled.php:47 8419 #: templates/emails/plain/ticket-delivery.php:79 8420 msgid "Attendee:" 8421 msgstr "" 8422 8423 #: templates/emails/plain/admin-ticket-cancelled.php:44 8424 msgid "Cancelled by:" 7959 8425 msgstr "" 7960 8426 … … 8024 8490 msgstr "" 8025 8491 8026 #: templates/emails/plain/registration-confirmation.php:8 18027 #: templates/emails/registration-confirmation.php:1 138492 #: templates/emails/plain/registration-confirmation.php:86 8493 #: templates/emails/registration-confirmation.php:120 8028 8494 msgid "We look forward to seeing you at the event!" 8495 msgstr "" 8496 8497 #. translators: 1: attendee name, 2: event name 8498 #: templates/emails/plain/ticket-cancelled.php:34 8499 #: templates/emails/ticket-cancelled.php:44 8500 #, php-format 8501 msgid "The ticket for %1$s to %2$s is cancelled. It can no longer be used to enter the event." 8502 msgstr "" 8503 8504 #: templates/emails/plain/ticket-cancelled.php:50 8505 #: templates/emails/ticket-cancelled.php:72 8506 msgid "If you have questions about a refund, please contact the shop." 8029 8507 msgstr "" 8030 8508 … … 8042 8520 msgstr "" 8043 8521 8044 #: templates/emails/plain/ticket-delivery.php:79 8045 msgid "Attendee:" 8046 msgstr "" 8047 8048 #: templates/emails/plain/ticket-delivery.php:92 8522 #: templates/emails/plain/ticket-delivery.php:97 8049 8523 msgid "IMPORTANT" 8050 8524 msgstr "" 8051 8525 8052 #: templates/emails/plain/ticket-delivery.php: 958053 #: templates/emails/ticket-delivery.php:1 388526 #: templates/emails/plain/ticket-delivery.php:100 8527 #: templates/emails/ticket-delivery.php:145 8054 8528 msgid "Save or print this email to present at check-in." 8055 8529 msgstr "" 8056 8530 8057 #: templates/emails/plain/ticket-delivery.php: 968058 #: templates/emails/ticket-delivery.php:1 398531 #: templates/emails/plain/ticket-delivery.php:101 8532 #: templates/emails/ticket-delivery.php:146 8059 8533 msgid "You can also access your ticket from your account on our website." 8060 8534 msgstr "" 8061 8535 8062 #: templates/emails/plain/ticket-delivery.php: 978063 #: templates/emails/ticket-delivery.php:14 08536 #: templates/emails/plain/ticket-delivery.php:102 8537 #: templates/emails/ticket-delivery.php:147 8064 8538 msgid "Arrive at least 15 minutes before the event starts." 8065 8539 msgstr "" 8066 8540 8067 #: templates/emails/plain/ticket-delivery.php:99 8541 #: templates/emails/plain/ticket-delivery.php:104 8542 #: templates/emails/ticket-delivery.php:150 8543 msgid "We look forward to seeing you!" 8544 msgstr "" 8545 8068 8546 #: templates/emails/ticket-delivery.php:143 8069 msgid "We look forward to seeing you!"8070 msgstr ""8071 8072 #: templates/emails/ticket-delivery.php:1368073 8547 msgid "Important:" 8074 8548 msgstr "" 8075 8549 8076 #: templates/single-emwc_event.php:1 078550 #: templates/single-emwc_event.php:111 8077 8551 msgid "Skip to event content" 8078 8552 msgstr "" 8079 8553 8080 #: templates/single-emwc_event.php:15 18554 #: templates/single-emwc_event.php:155 8081 8555 msgid "No dates on sale." 8082 8556 msgstr "" 8083 8557 8084 #: templates/single-emwc_event.php:15 18558 #: templates/single-emwc_event.php:155 8085 8559 msgid "No upcoming dates." 8086 8560 msgstr "" 8087 8561 8088 #: templates/single-emwc_event.php:21 58562 #: templates/single-emwc_event.php:219 8089 8563 msgid "Where" 8090 8564 msgstr "" 8091 8565 8092 #: templates/single-emwc_event.php:2 288566 #: templates/single-emwc_event.php:232 8093 8567 msgid "Hosted by" 8094 8568 msgstr "" 8095 8569 8096 #: templates/single-emwc_event.php:2 398570 #: templates/single-emwc_event.php:243 8097 8571 msgid "Free" 8098 8572 msgstr "" 8099 8573 8100 #: templates/single-emwc_event.php:2 468574 #: templates/single-emwc_event.php:250 8101 8575 #: templates/single-emwc_speaker.php:134 8102 8576 msgid "About" 8103 8577 msgstr "" 8104 8578 8105 #: templates/single-emwc_event.php:25 28579 #: templates/single-emwc_event.php:256 8106 8580 msgid "No description available." 8107 8581 msgstr "" 8108 8582 8109 #: templates/single-emwc_event.php:31 08110 #: templates/single-emwc_event.php:32 28583 #: templates/single-emwc_event.php:314 8584 #: templates/single-emwc_event.php:326 8111 8585 msgid "Admin Notice:" 8112 8586 msgstr "" 8113 8587 8114 #: templates/single-emwc_event.php:31 18588 #: templates/single-emwc_event.php:315 8115 8589 msgid "Map could not be loaded. This may be due to an invalid API key, missing Geocoding API, or an unrecognized address." 8116 8590 msgstr "" 8117 8591 8118 #: templates/single-emwc_event.php:31 28592 #: templates/single-emwc_event.php:316 8119 8593 msgid "Check Settings" 8120 8594 msgstr "" 8121 8595 8122 8596 #. translators: %s: Settings URL 8123 #: templates/single-emwc_event.php:3 268597 #: templates/single-emwc_event.php:330 8124 8598 #, php-format 8125 8599 msgid "Google Maps requires an API key. Configure it in %s to display maps." 8126 8600 msgstr "" 8127 8601 8128 #: templates/single-emwc_event.php:3 278602 #: templates/single-emwc_event.php:331 8129 8603 msgid "Events > Settings > Google Maps" 8130 8604 msgstr "" 8131 8605 8132 8606 #. translators: %d: number of dates in the series 8133 #: templates/single-emwc_event.php:45 38607 #: templates/single-emwc_event.php:457 8134 8608 #, php-format 8135 8609 msgid "One of %d date." … … 8138 8612 msgstr[1] "" 8139 8613 8140 #: templates/single-emwc_event.php:45 58614 #: templates/single-emwc_event.php:459 8141 8615 msgid "See all dates" 8142 8616 msgstr "" 8143 8617 8144 #: templates/single-emwc_event.php:48 28145 #: templates/single-emwc_event.php:5 068146 #: templates/single-emwc_event.php:57 08147 #: templates/single-emwc_event.php:59 28618 #: templates/single-emwc_event.php:486 8619 #: templates/single-emwc_event.php:510 8620 #: templates/single-emwc_event.php:574 8621 #: templates/single-emwc_event.php:596 8148 8622 msgid "Hrs" 8149 8623 msgstr "" 8150 8624 8151 #: templates/single-emwc_event.php:49 28625 #: templates/single-emwc_event.php:496 8152 8626 msgid "Ticket sales have ended." 8153 8627 msgstr "" 8154 8628 8155 #: templates/single-emwc_event.php:50 38156 #: templates/single-emwc_event.php:5 678629 #: templates/single-emwc_event.php:507 8630 #: templates/single-emwc_event.php:571 8157 8631 msgid "Sales end in:" 8158 8632 msgstr "" 8159 8633 8160 #: templates/single-emwc_event.php:5 168634 #: templates/single-emwc_event.php:520 8161 8635 msgid "per person" 8162 8636 msgstr "" 8163 8637 8164 8638 #. translators: %d: number of persons 8165 #: templates/single-emwc_event.php:5 198166 #: templates/single-emwc_event.php:62 38639 #: templates/single-emwc_event.php:523 8640 #: templates/single-emwc_event.php:627 8167 8641 #, php-format 8168 8642 msgid "· %d persons" 8169 8643 msgstr "" 8170 8644 8171 #: templates/single-emwc_event.php:53 18645 #: templates/single-emwc_event.php:535 8172 8646 msgid "Register Now" 8173 8647 msgstr "" 8174 8648 8175 #: templates/single-emwc_event.php:62 08649 #: templates/single-emwc_event.php:624 8176 8650 msgid "· per person" 8177 8651 msgstr "" 8178 8652 8179 #: templates/single-emwc_event.php:63 08180 #: templates/single-emwc_event.php:66 38653 #: templates/single-emwc_event.php:634 8654 #: templates/single-emwc_event.php:667 8181 8655 msgid "Soon" 8182 8656 msgstr "" 8183 8657 8184 #: templates/single-emwc_event.php:64 38185 #: templates/single-emwc_event.php:67 28658 #: templates/single-emwc_event.php:647 8659 #: templates/single-emwc_event.php:676 8186 8660 msgid "Buy" 8187 8661 msgstr "" 8188 8662 8189 #: templates/single-emwc_event.php:69 58663 #: templates/single-emwc_event.php:699 8190 8664 msgid "Tickets coming soon." 8191 8665 msgstr "" 8192 8666 8193 #: templates/single-emwc_event.php:7 078667 #: templates/single-emwc_event.php:711 8194 8668 msgid "Add to Calendar" 8195 8669 msgstr "" 8196 8670 8197 #: templates/single-emwc_event.php:7 098671 #: templates/single-emwc_event.php:713 8198 8672 msgid "Google Calendar" 8199 8673 msgstr "" 8200 8674 8201 #: templates/single-emwc_event.php:71 28675 #: templates/single-emwc_event.php:716 8202 8676 msgid "Outlook" 8203 8677 msgstr "" 8204 8678 8205 #: templates/single-emwc_event.php:71 58679 #: templates/single-emwc_event.php:719 8206 8680 msgid "Yahoo Calendar" 8207 8681 msgstr "" 8208 8682 8209 #: templates/single-emwc_event.php:7 188683 #: templates/single-emwc_event.php:722 8210 8684 msgid "Download iCal (.ics) - Works with Apple Calendar, Thunderbird, and other apps" 8211 8685 msgstr "" 8212 8686 8213 #: templates/single-emwc_event.php:7 278687 #: templates/single-emwc_event.php:731 8214 8688 #: templates/single-emwc_speaker.php:209 8215 8689 msgid "Share" -
evenzo-events-manager/trunk/readme.txt
r3829439 r3831477 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1. 1.77 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 232 232 233 233 Yes, from Events > Add Booking or the Book tickets link on an event in Events > All Events. Each booking is a regular WooCommerce order, paid or complimentary, so tickets, emails, stock and reports work as they do for an online order. Seats and capacity are checked before anything is booked, and booking over capacity needs a checkbox you tick on purpose. 234 235 = Can customers cancel their own tickets? = 236 237 Yes, if you turn it on. Go to Evenzo > Settings > Tickets > Changes by customers and tick "Let customers cancel tickets from My Account". Set the deadline in hours before the event starts (24 by default; 0 means until it starts). Customers see a Cancel ticket button in My Account > My Tickets until the deadline. A cancelled ticket frees its place, puts the product stock back and notifies the waitlist. Evenzo doesn't refund the order. Refund it in WooCommerce, or hook `emwc_pre_cancel_ticket` to do it for you. 238 239 = Can a customer give a ticket to someone else? = 240 241 Yes, if you tick "Let customers transfer tickets to another person" in the same settings box. The customer enters the new holder's name and email in My Tickets. The old ticket code stops working, a new code is made and the new holder gets the ticket email. The buyer still sees the ticket in My Tickets. A ticket can be transferred 3 times, and one customer can make 10 transfers in 24 hours. Both limits can be changed with the `emwc_transfer_limits` filter. 242 243 = A guest bought tickets and made an account later. Can they see the tickets? = 244 245 Yes. The order received page and the ticket email carry a "Save these tickets to your account" link. The guest signs in with the same email address used for the order, confirms, and the tickets appear in My Tickets. If the emails don't match, Evenzo asks them to sign in with the order's email. 246 247 = Can I give members a lower ticket price? = 248 249 Yes, with WooCommerce Memberships or Paid Memberships Pro. Edit the ticket product, tick "Member prices" on the General tab and set a percent off or a fixed price for each plan. A member who holds several plans gets the lowest price. Other customers pay the regular price. 234 250 235 251 = Can customers pick their own seats? = … … 316 332 317 333 == Changelog == 334 335 = 1.2.0 = 336 * New: Customers can cancel a ticket from My Account > My Tickets, up to a deadline you set. It's off until you turn it on under Evenzo > Settings > Tickets > Changes by customers. Cancelling gives the place back to stock and the waitlist. 337 * New: Customers can transfer a ticket to another person from My Tickets. The new holder gets a new ticket code and the ticket email, and the old code stops working. Transfers are off until you turn them on in the same settings box. 338 * New: Transfers are limited to 3 per ticket and 10 per customer in 24 hours. Change them with the `emwc_transfer_limits` filter. Admins aren't limited. 339 * New: The buyer keeps managing a ticket after it is transferred, so a customer who booked for a group can still see it in My Tickets. The old holder's custom field answers are cleared on transfer. 340 * New: Two new default emails, "Ticket cancelled" for the buyer and "Ticket cancelled (admin)" for the shop. The admin email goes out only when a customer cancels. Both are under WooCommerce > Settings > Emails. 341 * New: Cancelling a ticket as an admin now emails the buyer and puts the stock back. Order notes say who cancelled it. 342 * New: The "Notify ticket holders" box on an event is checked by default. Changing the date, time or venue emails each ticket holder once, through Action Scheduler, with an optional message from you. 343 * New: Member prices for tickets, with WooCommerce Memberships or Paid Memberships Pro. Set a percent or fixed price per plan on the ticket. 344 * New: The ticket sales window can be set relative to the event start, for example open 5 days before and close 2 hours before. 345 * New: Guests can save the tickets from a guest order to their account with the link on the order received page and in the ticket email. They must sign in with the email used for the order. 346 * Fix: A ticket whose sales end date was ahead showed "Hurry! Sales end in" on a sold-out event. It now shows "Sold Out". 347 * Fix: My Tickets listed only the tickets with the buyer's own name. It now lists every ticket the buyer bought and shows the attendee in a new column. 348 * Dev: New hooks `emwc_pre_cancel_ticket`, `emwc_customer_can_cancel_ticket`, `emwc_customer_cancel_hours`, `emwc_customer_transfer_hours`, `emwc_my_tickets_ticket_actions`, `emwc_pre_transfer_ticket`, `emwc_ticket_transferred`, `emwc_transfer_limits`, `emwc_can_claim_order`, `emwc_order_claimed`, `emwc_member_ticket_price`, `emwc_user_membership_ids` and `emwc_event_update_recipients`. 349 * Dev: `emwc_ticket_cancelled` now passes a third argument, `$context`, with `by`, `user_id`, `order` and `item`. 318 350 319 351 = 1.1.7 = … … 472 504 == Upgrade Notice == 473 505 506 = 1.2.0 = 507 Customers can cancel and transfer their own tickets, guests can save tickets to an account, and members can get lower ticket prices. New default emails tell buyers about cancelled tickets and event changes. 508 474 509 = 1.1.7 = 475 510 Ticket and admin emails now name each ticket's own attendee instead of the buyer. -
evenzo-events-manager/trunk/templates/emails/plain/registration-confirmation.php
r3829439 r3831477 79 79 } 80 80 81 $emwc_claim_url = ( $order instanceof WC_Order && class_exists( 'EMWC_Guest_Claim' ) ) ? EMWC_Guest_Claim::get_email_link( $order, $email->get_recipient() ) : ''; 82 if ( '' !== $emwc_claim_url ) { 83 EMWC_Guest_Claim::print_email_link( $emwc_claim_url, true ); 84 } 85 81 86 echo esc_html__( 'We look forward to seeing you at the event!', 'evenzo-events-manager' ); 82 87 echo "\n\n"; -
evenzo-events-manager/trunk/templates/emails/plain/ticket-delivery.php
r3829439 r3831477 89 89 } 90 90 91 $emwc_claim_url = ( $order instanceof WC_Order && class_exists( 'EMWC_Guest_Claim' ) ) ? EMWC_Guest_Claim::get_email_link( $order, $email->get_recipient() ) : ''; 92 if ( '' !== $emwc_claim_url ) { 93 EMWC_Guest_Claim::print_email_link( $emwc_claim_url, true ); 94 } 95 91 96 echo "----------------------------------------\n"; 92 97 echo esc_html__( 'IMPORTANT', 'evenzo-events-manager' ) . "\n"; -
evenzo-events-manager/trunk/templates/emails/registration-confirmation.php
r3829439 r3831477 111 111 <?php endif; ?> 112 112 113 <?php 114 $emwc_claim_url = ( $order instanceof WC_Order && class_exists( 'EMWC_Guest_Claim' ) ) ? EMWC_Guest_Claim::get_email_link( $order, $email->get_recipient() ) : ''; 115 if ( '' !== $emwc_claim_url ) { 116 EMWC_Guest_Claim::print_email_link( $emwc_claim_url, false ); 117 } 118 ?> 119 113 120 <p><?php esc_html_e( 'We look forward to seeing you at the event!', 'evenzo-events-manager' ); ?></p> 114 121 -
evenzo-events-manager/trunk/templates/emails/ticket-delivery.php
r3829439 r3831477 134 134 ?> 135 135 136 <?php 137 $emwc_claim_url = ( $order instanceof WC_Order && class_exists( 'EMWC_Guest_Claim' ) ) ? EMWC_Guest_Claim::get_email_link( $order, $email->get_recipient() ) : ''; 138 if ( '' !== $emwc_claim_url ) { 139 EMWC_Guest_Claim::print_email_link( $emwc_claim_url, false ); 140 } 141 ?> 142 136 143 <p><strong><?php esc_html_e( 'Important:', 'evenzo-events-manager' ); ?></strong></p> 137 144 <ul> -
evenzo-events-manager/trunk/templates/single-emwc_event.php
r3716241 r3831477 67 67 : $emwc_event_id; 68 68 } 69 $emwc_date_on_sale = $emwc_date_id && 'available' === EMWC_Recurring_Tickets::get_date_status( $emwc_date_id ); 69 $emwc_date_status = $emwc_date_id ? EMWC_Recurring_Tickets::get_date_status( $emwc_date_id ) : ''; 70 // A ticket sells the date only inside its own sales window. 71 $emwc_on_sale_for = function ( $emwc_ticket ) use ( $emwc_date_id, $emwc_date_status ) { 72 return $emwc_date_id && 'available' === EMWC_Recurring_Tickets::apply_window( $emwc_date_status, $emwc_date_id, $emwc_ticket ); 73 }; 70 74 71 75 // The date the page shows: the chosen date on a series page, else this event. … … 443 447 <?php if ( $emwc_has_tickets && 'cancelled' !== $emwc_event_status ) : ?> 444 448 <?php if ( $emwc_series_id === $emwc_event_id ) : ?> 445 <?php echo wp_kses( EMWC_Recurring_Tickets::render_date_picker( $emwc_series_id, $emwc_date_id, true ), EMWC_Recurring_Tickets::get_date_picker_allowed_html() ); ?>449 <?php echo wp_kses( EMWC_Recurring_Tickets::render_date_picker( $emwc_series_id, $emwc_date_id, true, array_values( $emwc_series_products ) ), EMWC_Recurring_Tickets::get_date_picker_allowed_html() ); ?> 446 450 <?php elseif ( $emwc_series_id ) : ?> 447 451 <p class="emwc-series-note"> … … 521 525 ?> 522 526 </div> 523 <?php if ( $emwc_single_product->is_in_stock() && $emwc_single_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_single_product->get_id() ] ) || $emwc_ date_on_sale) ) : ?>527 <?php if ( $emwc_single_product->is_in_stock() && $emwc_single_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_single_product->get_id() ] ) || $emwc_on_sale_for( $emwc_single_product ) ) ) : ?> 524 528 <form class="emwc-ticket-form" method="post" action="<?php echo esc_url( get_permalink() ); ?>"> 525 529 <input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $emwc_single_product->get_id() ); ?>" /> … … 629 633 <?php if ( 'coming_soon' === $emwc_var_status['status'] ) : ?> 630 634 <span class="button disabled emwc-btn-sm"><?php esc_html_e( 'Soon', 'evenzo-events-manager' ); ?></span> 631 <?php elseif ( $emwc_var_product->is_in_stock() && $emwc_var_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_single_product->get_id() ] ) || $emwc_ date_on_sale) ) : ?>635 <?php elseif ( $emwc_var_product->is_in_stock() && $emwc_var_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_single_product->get_id() ] ) || $emwc_on_sale_for( $emwc_single_product ) ) ) : ?> 632 636 <form class="emwc-ticket-form emwc-ticket-form-inline" method="post" action="<?php echo esc_url( get_permalink() ); ?>"> 633 637 <input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $emwc_single_product->get_id() ); ?>" /> … … 662 666 <?php if ( 'coming_soon' === $emwc_prod_status['status'] ) : ?> 663 667 <span class="button disabled emwc-btn-sm"><?php esc_html_e( 'Soon', 'evenzo-events-manager' ); ?></span> 664 <?php elseif ( $emwc_product->is_in_stock() && $emwc_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_product->get_id() ] ) || $emwc_ date_on_sale) ) : ?>668 <?php elseif ( $emwc_product->is_in_stock() && $emwc_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_product->get_id() ] ) || $emwc_on_sale_for( $emwc_product ) ) ) : ?> 665 669 <form class="emwc-ticket-form emwc-ticket-form-inline" method="post" action="<?php echo esc_url( get_permalink() ); ?>"> 666 670 <input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $emwc_product->get_id() ); ?>" /> -
evenzo-events-manager/trunk/uninstall.php
r3826082 r3831477 117 117 'emwc_collect_attendee_info', 118 118 'emwc_allow_mixed_cart', 119 'emwc_customer_cancel', 120 'emwc_customer_cancel_hours', 121 'emwc_customer_transfer', 122 'emwc_customer_transfer_hours', 119 123 'emwc_min_tickets_default', 120 124 'emwc_max_tickets_default', … … 178 182 } 179 183 180 // Reminder flags (one per event and attendee), booking locks, and the settings of the plugin's WooCommerce emails.181 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching 182 $wpdb->query( 183 $wpdb->prepare( 184 "DELETE FROM {$wpdb->options} WHERE option_name LIKE %s OR option_name LIKE %s OR option_name LIKE %s ",184 // Reminder flags (one per event and attendee), booking locks, queued update email lists, and the settings of the plugin's WooCommerce emails. 185 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching 186 $wpdb->query( 187 $wpdb->prepare( 188 "DELETE FROM {$wpdb->options} WHERE option_name LIKE %s OR option_name LIKE %s OR option_name LIKE %s OR option_name LIKE %s", 185 189 $wpdb->esc_like( '_emwc_reminder_sent_' ) . '%', 186 190 $wpdb->esc_like( 'emwc_booking_lock_' ) . '%', 191 $wpdb->esc_like( 'emwc_update_job_' ) . '%', 187 192 $wpdb->esc_like( 'woocommerce_emwc_' ) . '%' . $wpdb->esc_like( '_settings' ) 188 193 ) … … 218 223 */ 219 224 function emwc_uninstall_cron() { 220 foreach ( array( 'emwc_send_event_reminders', 'emwc_waitlist_expiration_check', 'emwc_release_expired_seats', 'emwc_ deliver_webhook', 'emwc_webhook_retry' ) as $hook ) {225 foreach ( array( 'emwc_send_event_reminders', 'emwc_waitlist_expiration_check', 'emwc_release_expired_seats', 'emwc_cleanup_update_jobs', 'emwc_deliver_webhook', 'emwc_webhook_retry' ) as $hook ) { 221 226 wp_unschedule_hook( $hook ); 222 227 } 228 if ( function_exists( 'as_unschedule_all_actions' ) ) { 229 as_unschedule_all_actions( 'emwc_send_event_update_batch' ); 230 as_unschedule_all_actions( 'emwc_send_ticket_cancelled_batch' ); 231 } 232 wp_unschedule_hook( 'emwc_send_event_update_batch' ); 233 wp_unschedule_hook( 'emwc_send_ticket_cancelled_batch' ); 223 234 } 224 235
Note:
See TracChangeset
for help on using the changeset viewer.