$quotation_id, 'token' => $token, 'backend_url' => $backend_url, 'nonce' => wp_create_nonce('wpquotepro_acceptance_nonce'), // Taal van de pagina (die van de site) voor datums en bedragen; de // valuta komt per offerte van de backend (Engeland, fase 1). 'locale' => str_replace('_', '-', get_locale()), 'i18n' => [ 'missing_params' => __('No quote details received. Please check the link in your email.', 'gresquote'), 'load_failed' => __('Could not load the quote.', 'gresquote'), 'token_invalid' => __('This link has expired or is not valid.', 'gresquote'), 'not_found' => __('Quote not found.', 'gresquote'), 'no_connection' => __('Cannot reach the website. Please check your internet connection.', 'gresquote'), 'no_lines' => __('No lines on this quote.', 'gresquote'), 'subtotal_excl' => __('Subtotal excl. VAT', 'gresquote'), 'discount' => __('Discount', 'gresquote'), 'surcharge' => __('Surcharge', 'gresquote'), 'vat' => __('VAT', 'gresquote'), 'total_incl' => __('Total incl. VAT', 'gresquote'), 'subtotal_us' => __('Subtotal', 'gresquote'), 'sales_tax' => __('Sales tax', 'gresquote'), 'total_us' => __('Total', 'gresquote'), 'quantity' => __('Quantity', 'gresquote'), 'price' => __('Price', 'gresquote'), 'amount' => __('Amount', 'gresquote'), 'decline_failed' => __('Declining did not work.', 'gresquote'), 'decline_failed_details' => __('Please try again later, or reply to the email with the quote.', 'gresquote'), 'link_expired' => __('This link is no longer valid.', 'gresquote'), 'link_expired_details' => __('Please use the link in the most recent email.', 'gresquote'), 'accept_failed' => __('Acceptance failed.', 'gresquote'), 'bad_request' => __('Invalid request.', 'gresquote'), 'bad_request_details' => __('Please make sure you use the correct link from the email.', 'gresquote'), 'request_new' => __('Please request a new quote.', 'gresquote'), 'already_accepted' => __('This quote has already been accepted.', 'gresquote'), 'already_accepted_details' => __('You do not need to do anything else.', 'gresquote'), 'too_many' => __('Too many requests. Please wait a moment.', 'gresquote'), ], ]); ob_start(); ?>