Plugin Directory

Changeset 3388933


Ignore:
Timestamp:
11/03/2025 02:30:06 PM (6 weeks ago)
Author:
jetmonsters
Message:

Version: 1.3.2

Location:
motopress-booking-calendar-lite/trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • motopress-booking-calendar-lite/trunk/assets-dev/scripts/src/shortcode/booking-calendar-shortcode.ts

    r3365637 r3388933  
    3636    private button_next: HTMLElement|null;
    3737    private button_submit: HTMLElement|null;
     38    private preloader: HTMLElement|null;
    3839
    3940    /**
     
    7374        this.button_next = this.step_cart.get_block_cart()?.querySelector( '.button-next' ) || null;
    7475        this.button_submit = this.step_checkout.get_block_submit()?.querySelector( '.button-submit' ) || null;
     76        this.preloader = this.step_checkout.get_block_submit()?.querySelector( '.mpbc-preloader' ) || null;
    7577
    7678        this.add_event_listeners();
     
    182184        this.button_submit!.setAttribute( 'disabled', 'disabled' );
    183185        this.step_checkout.disable_fields();
     186        this.preloader?.classList.remove( 'mpbc-hide' );
    184187
    185188        try {
     
    189192                this.button_submit!.removeAttribute( 'disabled' );
    190193                this.step_checkout.enable_fields();
     194                this.preloader?.classList.add( 'mpbc-hide' );
    191195
    192196                return;
     
    243247            this.button_submit!.removeAttribute( 'disabled' );
    244248            this.step_checkout.enable_fields();
     249            this.preloader?.classList.add( 'mpbc-hide' );
    245250        }
    246251    }
  • motopress-booking-calendar-lite/trunk/assets-dev/styles/src/variables.scss

    r3382618 r3388933  
    1 $version: "1.3.1";
     1$version: "1.3.2";
  • motopress-booking-calendar-lite/trunk/assets/admin/edit-booking.css

    r3382618 r3388933  
    5757  width: 20px;
    5858  height: 20px;
    59   background: no-repeat center url("../images/preloader-20px.gif?ver=1.3.1");
     59  background: no-repeat center url("../images/preloader-20px.gif?ver=1.3.2");
    6060}
    6161
  • motopress-booking-calendar-lite/trunk/assets/public/public.css

    r3382618 r3388933  
    800800  width: 20px;
    801801  height: 20px;
    802   background: no-repeat center url("../images/preloader-20px.gif?ver=1.3.1");
     802  background: no-repeat center url("../images/preloader-20px.gif?ver=1.3.2");
    803803}
    804804
  • motopress-booking-calendar-lite/trunk/assets/public/public.js

    r3377625 r3388933  
    37223722        }
    37233723        update_price(price) {
     3724            // https://docs.stripe.com/js/elements_object/update
    37243725            this.elements.update({ amount: price });
    37253726        }
     
    37643765        html_payments_element;
    37653766        html_preloader = null;
    3766         is_mounted = false;
    37673767        payments = null;
    37683768        constructor(billing_fields, cart) {
     
    38323832        reset() {
    38333833            if (this.payments !== null) {
    3834                 this.payments.update_price(this.cart.get_price());
     3834                if (this.cart.get_price() > 0) {
     3835                    this.payments.update_price(this.convert_to_smallest_unit(this.cart.get_price()));
     3836                }
     3837                else {
     3838                    this.payments.destroy();
     3839                    this.payments = null;
     3840                }
     3841            }
     3842            else if (this.is_enabled()) {
     3843                this.display_payments();
    38353844            }
    38363845        }
     
    38413850            // https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#additional-options
    38423851            {
    3843                 amount: this.convert_to_smallest_unit(this.cart.get_price(), this.cart.get_currency()),
     3852                amount: this.convert_to_smallest_unit(this.cart.get_price()),
    38443853                currency: this.cart.get_currency().toLowerCase(),
    38453854                locale: this.settings.checkout_locale,
     
    38493858            if (this.payments !== null) {
    38503859                this.payments.destroy();
    3851                 this.is_mounted = false;
    38523860            }
    38533861            this.payments = new Dynamic_Payments(stripe_api, elements);
    38543862        }
    38553863        display_payments() {
    3856             if (!this.is_mounted) {
     3864            if (this.payments === null) {
    38573865                this.create_payments();
    38583866                this.payments.mount(this.html_payments_element);
    3859                 this.is_mounted = true;
    38603867            }
    38613868        }
     
    38683875         */
    38693876        convert_to_smallest_unit(amount, currency) {
     3877            if (!currency) {
     3878                currency = this.cart.get_currency();
     3879            }
    38703880            // See all currencies (presented as links):
    38713881            //     https://stripe.com/docs/currencies#presentment-currencies
     
    49864996        button_next;
    49874997        button_submit;
     4998        preloader;
    49884999        /**
    49895000         * @throws Error If there is no cart or checkout block.
     
    50145025            this.button_next = this.step_cart.get_block_cart()?.querySelector('.button-next') || null;
    50155026            this.button_submit = this.step_checkout.get_block_submit()?.querySelector('.button-submit') || null;
     5027            this.preloader = this.step_checkout.get_block_submit()?.querySelector('.mpbc-preloader') || null;
    50165028            this.add_event_listeners();
    50175029            this.load();
     
    50995111            this.button_submit.setAttribute('disabled', 'disabled');
    51005112            this.step_checkout.disable_fields();
     5113            this.preloader?.classList.remove('mpbc-hide');
    51015114            try {
    51025115                const is_valid_data = await this.step_checkout.check_validity();
     
    51045117                    this.button_submit.removeAttribute('disabled');
    51055118                    this.step_checkout.enable_fields();
     5119                    this.preloader?.classList.add('mpbc-hide');
    51065120                    return;
    51075121                }
     
    51425156                this.button_submit.removeAttribute('disabled');
    51435157                this.step_checkout.enable_fields();
     5158                this.preloader?.classList.add('mpbc-hide');
    51445159            }
    51455160        }
  • motopress-booking-calendar-lite/trunk/languages/motopress-booking-calendar.pot

    r3382618 r3388933  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Booking Calendar 1.3.1\n"
     5"Project-Id-Version: Booking Calendar 1.3.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/motopress-booking-calendar\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-10-15T13:45:49+00:00\n"
     12"POT-Creation-Date: 2025-11-03T13:25:47+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.12.0\n"
    1515"X-Domain: motopress-booking-calendar\n"
    1616
     
    5353#: src/admin/metabox/payment-details-metabox.php:45
    5454#: src/admin/page/settings-page.php:411
    55 #: src/bundles.php:193
     55#: src/bundles.php:188
    5656#: src/field/country-select-field.php:17
    5757#: src/field/page-select-field.php:40
     
    6262#: lite/src/payment-gateway/stripe-gateway.php:21
    6363#: src/admin/page/upgrade-to-premium-page.php:68
    64 #: src/payment-gateway/stripe-gateway.php:73
     64#: src/payment-gateway/stripe-gateway.php:72
    6565msgid "Stripe"
    6666msgstr ""
     
    6868#. Translators: %s: Upgrade to Premium page URL.
    6969#: lite/src/payment-gateway/stripe-gateway.php:46
     70#, php-format
    7071msgid "<a href=\"%s\">Upgrade to Premium</a> version to enable this payment gateway for online bookings."
    7172msgstr ""
     
    9394#. Translators: %s: Name for one object of this post type. Examples: "Booking", "Payment".
    9495#: src/admin/metabox/basic-submit-metabox.php:27
     96#, php-format
    9597msgid "Create %s"
    9698msgstr ""
     
    98100#. Translators: %s: Name for one object of this post type. Examples: "Booking", "Payment".
    99101#: src/admin/metabox/basic-submit-metabox.php:30
     102#, php-format
    100103msgid "Update %s"
    101104msgstr ""
     
    278281#. Translators: 1: Link to the list of bookings. 2: Settings link.
    279282#: src/admin/metabox/notification-test-metabox.php:40
     283#, php-format
    280284msgid "To be able to send a test notification, make sure you have at least one <a href=\"%1$s\">confirmed booking</a> and an administrator contact set in the <a href=\"%2$s\">Settings</a>."
    281285msgstr ""
     
    321325#: src/admin/page/manage-bookings-page.php:65
    322326#: src/admin/page/manage-payments-page.php:55
     327#, php-format
    323328msgid "Expires %s"
    324329msgstr ""
     
    510515#. Translators: 1-2: Link tag (<a>...</a>). 3-4: Strong tag (<strong>...</strong).
    511516#: src/admin/page/upgrade-to-premium-page.php:31
     517#, php-format
    512518msgid "Want to see and test the PRO features first-hand on the backend? %3$s %1$s Start a free trial %2$s with the PRO plugin version. %4$s"
    513519msgstr ""
     
    571577msgstr ""
    572578
    573 #: src/bundles.php:120
     579#: src/bundles.php:115
    574580#: assets/property-form/index.js:4
    575581msgid "Before"
    576582msgstr ""
    577583
    578 #: src/bundles.php:121
     584#: src/bundles.php:116
    579585#: assets/property-form/index.js:4
    580586msgid "After"
    581587msgstr ""
    582588
    583 #: src/bundles.php:122
     589#: src/bundles.php:117
    584590#: assets/property-form/index.js:4
    585591msgid "Before with space"
    586592msgstr ""
    587593
    588 #: src/bundles.php:123
     594#: src/bundles.php:118
    589595#: assets/property-form/index.js:4
    590596msgid "After with space"
    591597msgstr ""
    592598
    593 #: src/bundles.php:196
     599#: src/bundles.php:191
    594600msgid "New booking (admin)"
    595601msgstr ""
    596602
     603#: src/bundles.php:193
     604msgid "{site_title} - New Booking #{booking_id}"
     605msgstr ""
     606
     607#: src/bundles.php:194
     608msgid "New Booking #{booking_id}"
     609msgstr ""
     610
    597611#: src/bundles.php:198
    598 msgid "{site_title} - New Booking #{booking_id}"
    599 msgstr ""
    600 
    601 #: src/bundles.php:199
    602 msgid "New Booking #{booking_id}"
    603 msgstr ""
    604 
    605 #: src/bundles.php:203
    606612msgid "New booking (customer)"
    607613msgstr ""
    608614
     615#: src/bundles.php:200
     616#: src/bundles.php:208
     617#: src/bundles.php:216
     618msgid "{site_title} - Booking #{booking_id}"
     619msgstr ""
     620
     621#: src/bundles.php:201
     622msgid "Booking #{booking_id}"
     623msgstr ""
     624
    609625#: src/bundles.php:205
     626msgid "Cancelled booking (admin)"
     627msgstr ""
     628
     629#: src/bundles.php:209
     630#: src/bundles.php:217
     631msgid "Booking #{booking_id} cancelled"
     632msgstr ""
     633
    610634#: src/bundles.php:213
     635msgid "Cancelled booking (customer)"
     636msgstr ""
     637
    611638#: src/bundles.php:221
    612 msgid "{site_title} - Booking #{booking_id}"
    613 msgstr ""
    614 
    615 #: src/bundles.php:206
    616 msgid "Booking #{booking_id}"
    617 msgstr ""
    618 
    619 #: src/bundles.php:210
    620 msgid "Cancelled booking (admin)"
    621 msgstr ""
    622 
    623 #: src/bundles.php:214
    624 #: src/bundles.php:222
    625 msgid "Booking #{booking_id} cancelled"
    626 msgstr ""
    627 
    628 #: src/bundles.php:218
    629 msgid "Cancelled booking (customer)"
    630 msgstr ""
    631 
    632 #: src/bundles.php:226
    633639msgid "Payment received (admin)"
    634640msgstr ""
    635641
     642#: src/bundles.php:224
     643msgid "{site_title} - New Payment #{payment_id}"
     644msgstr ""
     645
     646#: src/bundles.php:225
     647#: src/bundles.php:233
     648msgid "Payment #{payment_id} completed"
     649msgstr ""
     650
    636651#: src/bundles.php:229
    637 msgid "{site_title} - New Payment #{payment_id}"
    638 msgstr ""
    639 
    640 #: src/bundles.php:230
    641 #: src/bundles.php:238
    642 msgid "Payment #{payment_id} completed"
    643 msgstr ""
    644 
    645 #: src/bundles.php:234
    646652msgid "Payment received (customer)"
    647653msgstr ""
    648654
    649 #: src/bundles.php:237
     655#: src/bundles.php:232
    650656msgid "{site_title} - Payment #{payment_id} receipt"
    651657msgstr ""
     
    658664#. Translators: %d: Post ID.
    659665#: src/data/abstract-entity.php:280
     666#, php-format
    660667msgid "Post #%d not found."
    661668msgstr ""
     
    663670#. Translators: %d: Booking ID.
    664671#: src/data/booking.php:463
     672#, php-format
    665673msgid "Booking #%d not found."
    666674msgstr ""
     
    668676#. Translators: %d: Form ID.
    669677#: src/data/form.php:127
     678#, php-format
    670679msgid "Form #%d not found."
    671680msgstr ""
     
    673682#. Translators: %d: Notification ID.
    674683#: src/data/notification.php:262
     684#, php-format
    675685msgid "Notification #%d not found."
    676686msgstr ""
     
    678688#. Translators: %d: Payment ID.
    679689#: src/data/payment.php:363
     690#, php-format
    680691msgid "Payment #%d not found."
    681692msgstr ""
     
    683694#. Translators: %d: Calendar ID.
    684695#: src/data/property.php:172
     696#, php-format
    685697msgid "Calendar #%d not found."
    686698msgstr ""
     
    703715#. Translators: %d: Reservation ID.
    704716#: src/data/reservation.php:262
     717#, php-format
    705718msgid "Reservation #%d not found."
    706719msgstr ""
     
    708721#. Translators: %d: Unit ID.
    709722#: src/data/unit.php:80
     723#, php-format
    710724msgid "Unit #%d not found."
    711725msgstr ""
     
    713727#. Translators: %d: Variation ID.
    714728#: src/data/variation.php:160
     729#, php-format
    715730msgid "Variation #%d not found."
    716731msgstr ""
     
    718733#. Translators: %s: Notification title.
    719734#: src/email/emails-dispatcher.php:141
     735#, php-format
    720736msgid "Notification \"%s\" will not be sent: there is no email address to send the notification to."
    721737msgstr ""
     
    723739#. Translators: %s: Notification title.
    724740#: src/email/emails-dispatcher.php:188
     741#, php-format
    725742msgid "Notification \"%s\" was sent."
    726743msgstr ""
     
    728745#. Translators: %1: Notification title. %2: The cause of the error.
    729746#: src/email/emails-dispatcher.php:195
     747#, php-format
    730748msgid "Notification \"%1$s\" sending failed. %2$s"
    731749msgstr ""
     
    733751#. Translators: %s: Notification title.
    734752#: src/email/emails-dispatcher.php:203
     753#, php-format
    735754msgid "Notification \"%s\" sending failed."
    736755msgstr ""
     
    898917#. Translators: %s: License expiration date in "d.m.Y" format.
    899918#: src/field/license-field.php:145
     919#, php-format
    900920msgid "Valid until %s"
    901921msgstr ""
     
    923943#. Translators: %s: Comma-separated field names.
    924944#: src/helper/booking-helper.php:342
     945#, php-format
    925946msgid "Missing required fields: %s"
    926947msgstr ""
     
    937958#. Translators: %s: Reservation price per time slot.
    938959#: src/helper/form-helper.php:178
     960#, php-format
    939961msgid "%s (multiplied by the booking duration)"
    940962msgstr ""
    941963
    942964#: src/helper/payment-helper.php:36
    943 #: assets/public/public.js:4754
     965#: assets/public/public.js:4764
    944966msgid "Payment method not selected."
    945967msgstr ""
     
    958980msgstr ""
    959981
    960 #: src/helper/price-helper.php:157
     982#: src/helper/price-helper.php:164
    961983#: assets/public/public.js:2828
    962984msgctxt "Zero price"
     
    9911013#. Translators: %s: Payment gateway title.
    9921014#: src/payment-gateway/abstract-gateway.php:116
     1015#, php-format
    9931016msgid "Enable \"%s\""
    9941017msgstr ""
     
    10281051#. Translators: %s: Error message.
    10291052#: src/payment-gateway/abstract-webhook-listener.php:79
     1053#, php-format
    10301054msgid "Webhook processing error. %s"
    10311055msgstr ""
     
    10451069#. Translators: %s: Payment gateway title.
    10461070#: src/payment-gateway/payment-gateways.php:161
     1071#, php-format
    10471072msgid "Payment gateway \"%s\" not found."
    10481073msgstr ""
     
    10571082
    10581083#. Translators: 1: Currency code, like "EUR". 2: Payment amount.
    1059 #: src/payment-gateway/stripe-gateway.php:97
     1084#: src/payment-gateway/stripe-gateway.php:96
     1085#, php-format
    10601086msgid "The minimum amount in %1$s is %2$s."
    10611087msgstr ""
    10621088
    1063 #: src/payment-gateway/stripe-gateway.php:152
     1089#: src/payment-gateway/stripe-gateway.php:151
    10641090msgid "Payment intent ID is not set."
    10651091msgstr ""
    10661092
    10671093#. Translators: %s: Payment intent ID.
    1068 #: src/payment-gateway/stripe-gateway.php:159
     1094#: src/payment-gateway/stripe-gateway.php:158
     1095#, php-format
    10691096msgid "Payment for payment intent %s succeeded."
    10701097msgstr ""
    10711098
    10721099#. Translators: %s: Payment intent ID.
    1073 #: src/payment-gateway/stripe-gateway.php:165
     1100#: src/payment-gateway/stripe-gateway.php:164
     1101#, php-format
    10741102msgid "Payment for payment intent %s is processing."
    10751103msgstr ""
    10761104
     1105#: src/payment-gateway/stripe-gateway.php:175
     1106msgid "Credit card (Stripe)"
     1107msgstr ""
     1108
    10771109#: src/payment-gateway/stripe-gateway.php:176
    1078 msgid "Credit card (Stripe)"
    1079 msgstr ""
    1080 
    1081 #: src/payment-gateway/stripe-gateway.php:177
    10821110msgid "Pay with your credit card via Stripe. Use the card number 4242424242424242 with CVC 123, a valid expiration date and random 5-digit ZIP-code to test a payment."
    10831111msgstr ""
    10841112
    10851113#. Translators: %s: Key prefix.
    1086 #: src/payment-gateway/stripe-gateway.php:181
     1114#: src/payment-gateway/stripe-gateway.php:180
     1115#, php-format
    10871116msgid "Standard key must start with %s."
    10881117msgstr ""
    10891118
    10901119#. Translators: %s: Key prefix.
    1091 #: src/payment-gateway/stripe-gateway.php:184
     1120#: src/payment-gateway/stripe-gateway.php:183
     1121#, php-format
    10921122msgid "Restricted key must start with %s."
    10931123msgstr ""
    10941124
    1095 #: src/payment-gateway/stripe-gateway.php:187
     1125#: src/payment-gateway/stripe-gateway.php:186
    10961126msgid "Optional. You can provide your Stripe Webhook Secret Key to enhance the security of incoming webhooks. The key can be found in your Stripe account under the webhook settings as the \"Signing secret\"."
    10971127msgstr ""
    10981128
    10991129#. Translators: %s: API version.
    1100 #: src/payment-gateway/stripe-gateway.php:190
     1130#: src/payment-gateway/stripe-gateway.php:189
     1131#, php-format
    11011132msgid "API version: %s"
    11021133msgstr ""
    11031134
    11041135#. Translators: %s: Webhooks destination URL.
    1105 #: src/payment-gateway/stripe-gateway.php:193
     1136#: src/payment-gateway/stripe-gateway.php:192
     1137#, php-format
    11061138msgid "Webhooks destination URL: %s"
    11071139msgstr ""
    11081140
    11091141#. Translators: %s: list of supported event types separated by commas.
    1110 #: src/payment-gateway/stripe-gateway.php:196
     1142#: src/payment-gateway/stripe-gateway.php:195
     1143#, php-format
    11111144msgid "Supported event types: %s"
    11121145msgstr ""
    11131146
    1114 #: src/payment-gateway/stripe-gateway.php:198
     1147#: src/payment-gateway/stripe-gateway.php:197
    11151148msgid "<a href=\"https://docs.stripe.com/webhooks#configure-webhook-settings\" target=\"_blank\">Setting up webhook endpoints</a>"
    11161149msgstr ""
    11171150
    1118 #: src/payment-gateway/stripe-gateway.php:202
     1151#: src/payment-gateway/stripe-gateway.php:201
    11191152msgid "<a href=\"https://dashboard.stripe.com/apikeys\" target=\"_blank\">Locate API keys in the Dashboard</a>"
    11201153msgstr ""
    11211154
    1122 #: src/payment-gateway/stripe-gateway.php:204
     1155#: src/payment-gateway/stripe-gateway.php:203
    11231156msgid "Public Key"
    11241157msgstr ""
    11251158
    1126 #: src/payment-gateway/stripe-gateway.php:212
     1159#: src/payment-gateway/stripe-gateway.php:211
    11271160msgid "Secret Key"
    11281161msgstr ""
    11291162
    1130 #: src/payment-gateway/stripe-gateway.php:218
     1163#: src/payment-gateway/stripe-gateway.php:217
    11311164msgid "<a href=\"https://dashboard.stripe.com/settings/payment_methods\" target=\"_blank\">Setting up the payment method configuration ID</a>"
    11321165msgstr ""
    11331166
    1134 #: src/payment-gateway/stripe-gateway.php:220
     1167#: src/payment-gateway/stripe-gateway.php:219
    11351168msgid "Payment Methods Configuration ID"
    11361169msgstr ""
    11371170
    1138 #: src/payment-gateway/stripe-gateway.php:228
     1171#: src/payment-gateway/stripe-gateway.php:227
    11391172msgid "Webhook Secret Key"
    11401173msgstr ""
    11411174
    1142 #: src/payment-gateway/stripe-gateway.php:234
     1175#: src/payment-gateway/stripe-gateway.php:233
    11431176msgid "Display Checkout in the user's preferred language, if available."
    11441177msgstr ""
    11451178
    1146 #: src/payment-gateway/stripe-gateway.php:236
     1179#: src/payment-gateway/stripe-gateway.php:235
    11471180msgid "Checkout Locale"
    11481181msgstr ""
    11491182
    11501183#. Translators: %d: Booking ID.
    1151 #: src/payment-gateway/stripe-gateway.php:260
     1184#: src/payment-gateway/stripe-gateway.php:259
     1185#, php-format
    11521186msgctxt "Product name for payment gateway"
    11531187msgid "Booking #%d"
    11541188msgstr ""
    11551189
    1156 #: src/payment-gateway/stripe-gateway.php:274
     1190#: src/payment-gateway/stripe-gateway.php:276
    11571191#: assets/blocks/booking-calendar/index.js:1
    11581192msgid "Auto"
     
    11611195#. Translators: %s: Stripe payment intent ID.
    11621196#: src/payment-gateway/stripe/stripe-webhook-listener.php:74
     1197#, php-format
    11631198msgid "Webhook received. Payment intent %s was canceled by customer."
    11641199msgstr ""
     
    11661201#. Translators: %s: Stripe payment intent ID.
    11671202#: src/payment-gateway/stripe/stripe-webhook-listener.php:87
     1203#, php-format
    11681204msgid "Webhook received. Payment intent %s failed and couldn't be processed."
    11691205msgstr ""
     
    11711207#. Translators: %s: Stripe payment intent ID.
    11721208#: src/payment-gateway/stripe/stripe-webhook-listener.php:100
     1209#, php-format
    11731210msgid "Webhook received. Payment intent %s is waiting for customer confirmation."
    11741211msgstr ""
     
    11761213#. Translators: %s: Stripe payment intent ID.
    11771214#: src/payment-gateway/stripe/stripe-webhook-listener.php:127
     1215#, php-format
    11781216msgid "Webhook received. Payment intent %s succeeded."
    11791217msgstr ""
     
    13321370#: src/post-type/statuses/booking-statuses.php:81
    13331371#: src/post-type/statuses/payment-statuses.php:91
     1372#, php-format
    13341373msgid "Abandoned <span class=\"count\">(%d)</span>"
    13351374msgid_plural "Abandoned <span class=\"count\">(%d)</span>"
     
    13441383#. Translators: %d: Posts count.
    13451384#: src/post-type/statuses/booking-statuses.php:88
     1385#, php-format
    13461386msgid "Cancelled <span class=\"count\">(%d)</span>"
    13471387msgid_plural "Cancelled <span class=\"count\">(%d)</span>"
     
    13561396#. Translators: %d: Posts count.
    13571397#: src/post-type/statuses/booking-statuses.php:95
     1398#, php-format
    13581399msgid "Confirmed <span class=\"count\">(%d)</span>"
    13591400msgid_plural "Confirmed <span class=\"count\">(%d)</span>"
     
    13701411#: src/post-type/statuses/booking-statuses.php:102
    13711412#: src/post-type/statuses/payment-statuses.php:112
     1413#, php-format
    13721414msgid "Failed <span class=\"count\">(%d)</span>"
    13731415msgid_plural "Failed <span class=\"count\">(%d)</span>"
     
    13841426#: src/post-type/statuses/booking-statuses.php:109
    13851427#: src/post-type/statuses/payment-statuses.php:126
     1428#, php-format
    13861429msgid "Pending <span class=\"count\">(%d)</span>"
    13871430msgid_plural "Pending <span class=\"count\">(%d)</span>"
     
    13921435#: src/post-type/statuses/booking-statuses.php:152
    13931436#: src/post-type/statuses/payment-statuses.php:164
     1437#, php-format
    13941438msgid "Status changed from %1$s to %2$s."
    13951439msgstr ""
     
    14021446#. Translators: %d: Posts count.
    14031447#: src/post-type/statuses/payment-statuses.php:98
     1448#, php-format
    14041449msgid "Canceled <span class=\"count\">(%d)</span>"
    14051450msgid_plural "Canceled <span class=\"count\">(%d)</span>"
     
    14141459#. Translators: %d: Posts count.
    14151460#: src/post-type/statuses/payment-statuses.php:105
     1461#, php-format
    14161462msgid "Completed <span class=\"count\">(%d)</span>"
    14171463msgid_plural "Completed <span class=\"count\">(%d)</span>"
     
    14261472#. Translators: %d: Posts count.
    14271473#: src/post-type/statuses/payment-statuses.php:119
     1474#, php-format
    14281475msgid "On Hold <span class=\"count\">(%d)</span>"
    14291476msgid_plural "On Hold <span class=\"count\">(%d)</span>"
     
    14381485#. Translators: %d: Posts count.
    14391486#: src/post-type/statuses/payment-statuses.php:133
     1487#, php-format
    14401488msgid "Refunded <span class=\"count\">(%d)</span>"
    14411489msgid_plural "Refunded <span class=\"count\">(%d)</span>"
     
    17151763#. Translators: %s: Number of reservations in cart (HTML).
    17161764#: templates/shortcode/booking-calendar-shortcode.php:37
     1765#, php-format
    17171766msgid "Your reservation %s"
    17181767msgstr ""
     
    17261775msgstr ""
    17271776
    1728 #: templates/shortcode/booking-calendar-shortcode.php:112
     1777#: templates/shortcode/booking-calendar-shortcode.php:111
    17291778msgid "Sorry, it seems that there are no available payment methods."
    17301779msgstr ""
    17311780
    1732 #: templates/shortcode/booking-calendar-shortcode.php:120
     1781#: templates/shortcode/booking-calendar-shortcode.php:119
    17331782#: templates/shortcode/booking-details-shortcode.php:80
    17341783msgid "Total Price"
    17351784msgstr ""
    17361785
    1737 #: templates/shortcode/booking-calendar-shortcode.php:124
     1786#: templates/shortcode/booking-calendar-shortcode.php:123
    17381787msgid "Book Now"
    17391788msgstr ""
     
    17411790#. Translators: 1: Calendar title. 2: Variation title. 3: Booked items count. 4: Price.
    17421791#: templates/shortcode/booking-details-shortcode.php:46
     1792#, php-format
    17431793msgid "%1$s - %2$s &times; %3$s for %4$s"
    17441794msgstr ""
     
    19962046#. translators: %s - service or product label
    19972047#: assets/property-calendar/index.js:4
     2048#, js-format
    19982049msgid "Calendar for \"%s\""
    19992050msgstr ""
     
    20132064#. translators: %s is a Date
    20142065#: assets/property-calendar/index.js:7
     2066#, js-format
    20152067msgid "Add timeslot for \"%s\""
    20162068msgstr ""
     
    20662118#. translators: %s is a Date
    20672119#: assets/property-calendar/index.js:10
     2120#, js-format
    20682121msgid "Edit timeslot \"%1$s - %2$s\""
    20692122msgstr ""
     
    20862139#: assets/property-calendar/index.js:13
    20872140#: assets/property-calendar/index.js:22
     2141#, js-format
    20882142msgid "This and following timeslots at the same time from %1$s to %2$s."
    20892143msgstr ""
     
    20922146#: assets/property-calendar/index.js:16
    20932147#: assets/property-calendar/index.js:25
     2148#, js-format
    20942149msgid "All timeslots at the same time from %1$s to %2$s."
    20952150msgstr ""
     
    20972152#. translators: %s is a Date
    20982153#: assets/property-calendar/index.js:19
     2154#, js-format
    20992155msgid "Delete timeslot \"%1$s - %2$s\""
    21002156msgstr ""
     
    21662222#: assets/property-calendar/index.js:28
    21672223#: assets/property-calendar/index.js:37
     2224#, js-format
    21682225msgid "Bulk edit \"%s\""
    21692226msgstr ""
     
    22132270#. translators: %1$s - start time, %2$s - end time, %3$s - optional details (label, multi-day)
    22142271#: assets/property-calendar/index.js:31
     2272#, js-format
    22152273msgid "Availability (%1$s - %2$s)%3$s"
    22162274msgstr ""
     
    22232281#. translators: %1$s - start time, %2$s - end time, %3$s - optional details (label, multi-day)
    22242282#: assets/property-calendar/index.js:34
     2283#, js-format
    22252284msgid "Price (%1$s - %2$s)%3$s"
    22262285msgstr ""
     
    22322291#. translators: %s - variation title
    22332292#: assets/property-calendar/index.js:40
     2293#, js-format
    22342294msgid "Delete Variation: %s"
    22352295msgstr ""
     
    22602320#: assets/property-calendar/index.js:46
    22612321#: assets/property-calendar/index.js:49
     2322#, js-format
    22622323msgid "%1$s - %2$s"
    22632324msgstr ""
     
    23382399#: assets/property-form-blocks/radio/index.js:4
    23392400#: assets/property-form-blocks/select-option/index.js:4
     2401#, js-format
    23402402msgid "Flat (%1$s)"
    23412403msgstr ""
     
    25022564#: assets/property-form/index.js:4
    25032565#: assets/property-form/index.js:7
     2566#, js-format
    25042567msgid "Default - %1$s"
    25052568msgstr ""
     
    25362599#: assets/public/public.js:3390
    25372600#: assets/public/public.js:3449
    2538 #: assets/public/public.js:4934
     2601#: assets/public/public.js:4944
     2602#, js-format
    25392603msgctxt "Prices start from"
    25402604msgid "from %s"
     
    25542618msgstr ""
    25552619
    2556 #: assets/public/public.js:5085
     2620#: assets/public/public.js:5095
    25572621msgid "Your cart is empty."
    25582622msgstr ""
  • motopress-booking-calendar-lite/trunk/motopress-booking-calendar-lite.php

    r3382618 r3388933  
    55 * Plugin URI: https://motopress.com/products/booking-calendar/
    66 * Description: WordPress booking calendar plugin for daily, nightly, and hourly rentals.
    7  * Version: 1.3.1
     7 * Version: 1.3.2
    88 * Requires at least: 6.0
    99 * Requires PHP: 7.4
     
    3030
    3131if ( ! defined( 'MPBC\VERSION' ) ) {
    32     define('MPBC\VERSION', '1.3.1');
     32    define('MPBC\VERSION', '1.3.2');
    3333
    3434    require 'src/autoloader.php';
  • motopress-booking-calendar-lite/trunk/readme.txt

    r3382618 r3388933  
    66Tested up to: 6.8
    77Requires PHP: 7.4
    8 Stable tag: 1.3.1
     8Stable tag: 1.3.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    163163== Changelog ==
    164164
     165= 1.3.2, Nov 3 2025 =
     166* Bug fix: fixed an issue with fractional prices in Stripe.
     167
    165168= 1.3.1, Oct 22 2025 =
    166169* Minor bugfixes and improvements.
  • motopress-booking-calendar-lite/trunk/src/data/repository/trait-reserved-slots-repository.php

    r3365637 r3388933  
    6464                        . " AND reserved_slots.time_slot_id IN ($time_slot_ids_placeholder)" // phpcs:ignore -- array placeholder
    6565                        . " AND reserved_slots.unit_id IN ($unit_ids_placeholder)"           // phpcs:ignore -- array placeholder
    66                         . " AND bookings.post_status IN ($statuses_placeholder)",            // phpcs:ignore -- array placeholders
     66                        . " AND bookings.post_status IN ($statuses_placeholder)",            // phpcs:ignore -- array placeholder
    6767                array_merge( $time_slot_ids, $unit_ids, $blocking_statuses )
    6868            ),
  • motopress-booking-calendar-lite/trunk/src/data/repository/trait-unit-availability-repository.php

    r3377625 r3388933  
    9797                "SELECT * FROM $this->unit_availability"
    9898                    . " WHERE time_slot_id IN ($time_slot_ids_placeholder)" // phpcs:ignore -- array placeholder
    99                     . " AND unit_id IN ($unit_ids_placeholders)",           // phpcs:ignore -- array placeholders
     99                    . " AND unit_id IN ($unit_ids_placeholders)",           // phpcs:ignore -- array placeholder
    100100                array_merge( $time_slot_ids, $unit_ids )
    101101            ),
  • motopress-booking-calendar-lite/trunk/src/helper/price-helper.php

    r3365637 r3388933  
    1313
    1414class Price_Helper {
    15     public static function adjust_entity_price( Interface_Price_Adjustable_Entity $entity, array $custom_fields ): float {
     15    public static function adjust_entity_price(
     16        Interface_Price_Adjustable_Entity $entity,
     17        array $custom_fields
     18    ): float {
    1619        $price = $entity->get_price();
    1720
Note: See TracChangeset for help on using the changeset viewer.