attributes.php
3 months ago
codes.php
1 month ago
types-replaceable.php
3 months ago
types.php
2 years ago
codes.php
133 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Code translations |
| 4 | * |
| 5 | * @package SureCart |
| 6 | */ |
| 7 | |
| 8 | return array( |
| 9 | 'http_request_failed' => __( 'Could not complete the request. Please try again.', 'surecart' ), |
| 10 | 'auto_fee.start_at.blank' => __( 'The dynamic price must have a start date.', 'surecart' ), |
| 11 | 'coupon.invalid' => __( 'Failed to save coupon.', 'surecart' ), |
| 12 | 'price.dependent_locked' => __( 'The price is already being used in subscriptions or checkout sessions. Please archive the price and create another one.', 'surecart' ), |
| 13 | 'checkout.discount.promotion_code.invalid_code' => __( 'Invalid promotion code.', 'surecart' ), |
| 14 | 'checkout.invalid' => __( 'Failed to update. Please check for errors and try again.', 'surecart' ), |
| 15 | 'checkout.line_items.required' => __( 'Please add at least one product.', 'surecart' ), |
| 16 | 'checkout.line_items.blank' => __( 'No products found. Please add at least one product.', 'surecart' ), |
| 17 | 'checkout.line_items.unpurchasable_prices' => __( 'One of these products is no longer purchaseable.', 'surecart' ), |
| 18 | 'checkout.phone.required' => __( 'Please provide a valid phone number.', 'surecart' ), |
| 19 | 'checkout.shipping_address.missing_tax_info' => __( 'Please fill out your address.', 'surecart' ), |
| 20 | 'checkout.shipping_address.postal_code.invalid_format' => __( 'This postal code does not match the format required for the selected country. Please enter a valid postal code for shipping.', 'surecart' ), |
| 21 | 'checkout.billing_address.postal_code.invalid_format' => __( 'This postal code does not match the format required for the selected country. Please enter a valid postal code for billing.', 'surecart' ), |
| 22 | 'customer.shipping_address.postal_code.invalid_format' => __( 'This postal code does not match the format required for the selected country. Please enter a valid postal code for shipping.', 'surecart' ), |
| 23 | 'customer.billing_address.postal_code.invalid_format' => __( 'This postal code does not match the format required for the selected country. Please enter a valid postal code for billing.', 'surecart' ), |
| 24 | 'checkout.customer.blank' => __( 'Please select a customer.', 'surecart' ), |
| 25 | 'checkout.line_items.not_purchasable' => __( 'Some items in your cart have reached their purchase limit. Please update your order to continue.', 'surecart' ), |
| 26 | 'download.current_release' => __( 'This download cannot be removed or archived when it is set as the current release.', 'surecart' ), |
| 27 | 'refund.amount.greater_than_refundable_amount' => __( 'The refund amount is greater than the refundable amount.', 'surecart' ), |
| 28 | 'subscription.payment_method.not_reusable' => __( 'This payment method cannot be used for subscriptions.', 'surecart' ), |
| 29 | 'payment_method.chargeable.fingerprint.blank' => __( 'The payment method is not valid (chargeable fingerprint blank). Please double-check it and try again.', 'surecart' ), |
| 30 | 'subscription.product.one_time' => __( 'You cannot add a one-time product to a subscription.', 'surecart' ), |
| 31 | 'price.blank' => __( 'The price cannot be blank.', 'surecart' ), |
| 32 | 'price.scratch_amount.greater_than' => __( 'The compare at price must be greater than the price.', 'surecart' ), |
| 33 | 'price.currency.taken' => __( 'A price with this currency and recurring interval already exists. Please create a new product to create this price.', 'surecart' ), |
| 34 | 'promotion.code.taken' => __( 'This promotion code already exists. Please archive the old code or use a different code.', 'surecart' ), |
| 35 | 'payment_intent.processor.blank' => __( 'There are no processors to make the payment. Please contact us for assistance.', 'surecart' ), |
| 36 | 'product.restrict_dependent_destroy.has_many' => __( 'This product has prices that are currently being used. Please archive the product instead if it is not already archived.', 'surecart' ), |
| 37 | 'product.image.invalid_media_type' => __( 'The product image must be an image.', 'surecart' ), |
| 38 | 'checkout.tax_identifier.invalid_tax_identifier' => __( 'Please enter a valid tax number.', 'surecart' ), |
| 39 | 'checkout.line_items.old_price_versions' => __( 'The prices in this checkout session have changed. Please recheck it before submitting again.', 'surecart' ), |
| 40 | 'checkout.discount.coupon.blank' => __( 'This coupon code is invalid.', 'surecart' ), |
| 41 | 'discount.not_redeemable' => __( 'This discount is not redeemable.', 'surecart' ), |
| 42 | 'customer_notification_protocol.abandoned_checkout_enabled.invalid_address' => __( 'You cannot enable abandoned checkouts until you have updated your business contact address. Please add an address to your store settings.', 'surecart' ), |
| 43 | 'abandoned_checkout_protocol.enabled.invalid_brand_address' => __( 'Notification Settings cannot be enabled until you set an address in your store settings.', 'surecart' ), |
| 44 | 'checkout.shipping_address.postal_code.invalid' => __( 'Your postal code is not valid.', 'surecart' ), |
| 45 | 'checkout.shipping_address.inaccurate' => __( 'Please enter additional shipping address information.', 'surecart' ), |
| 46 | 'checkout.discount.coupon.expired' => __( 'This coupon has expired.', 'surecart' ), |
| 47 | 'checkout.discount.coupon.currency_mismatch' => __( 'This discount code does not apply to this currency.', 'surecart' ), |
| 48 | 'checkout.discount.coupon.invalid' => __( 'This is not a valid coupon code', 'surecart' ), |
| 49 | 'customer.shipping_address.active_subscriptions_exist' => __( 'This address cannot be removed if customer has active subscriptions.', 'surecart' ), |
| 50 | 'order_protocol.number_prefix.invalid' => __( 'Please double-check your prefix does not contain any spaces, underscores, dashes or special characters.', 'surecart' ), |
| 51 | 'order_protocol.number_prefix.too_long' => __( 'This prefix is too long. Please enter a shorter prefix.', 'surecart' ), |
| 52 | 'order_protocol.number_prefix.too_short' => __( 'This prefix is too short. Please enter a longer prefix.', 'surecart' ), |
| 53 | 'checkout.line_items.bump.invalid_quantity' => __( 'You can only apply this offer once.', 'surecart' ), |
| 54 | 'checkout.line_items.price.product_not_purchasable' => __( 'This product is no longer purchaseable.', 'surecart' ), |
| 55 | 'price_version.restrict_dependent_destroy.has_many' => __( 'This price is currently being used in subscriptions or checkout sessions. Please archive the price and create another one.', 'surecart' ), |
| 56 | 'price.ad_hoc_max_amount.less_than' => __( 'The maximum price must be smaller.', 'surecart' ), |
| 57 | 'price.ad_hoc_min_amount.less_than' => __( 'The minimum price must be smaller.', 'surecart' ), |
| 58 | 'price.ad_hoc_max_amount.greater_than_or_equal_to' => __( 'The maximum price must be greater than the minimum price.', 'surecart' ), |
| 59 | 'tax_registration.tax_zone_id.taken' => __( 'You are already collecting tax for this zone.', 'surecart' ), |
| 60 | 'tax_protocol.eu_micro_exemption_enabled.address_outside_eu' => __( 'You cannot enable EU Micro Exemption if your address is outside of the EU.', 'surecart' ), |
| 61 | 'tax_protocol.tax_enabled.invalid_address' => __( 'You cannot enable taxes unless a valid tax address is provided', 'surecart' ), |
| 62 | 'media.restrict_dependent_destroy.has_one' => __( 'You cannot delete this media item because it is currently being used.', 'surecart' ), |
| 63 | 'media.content_type.unsupported' => __( 'This file type is not supported.', 'surecart' ), |
| 64 | 'product_media.product.limit_reached' => __( 'Your storage limit has been reached. Please remove some media items before adding more.', 'surecart' ), |
| 65 | 'verification_code.email.blocked_duplicate' => __( 'A code was just sent to you, please wait a minute before resending.', 'surecart' ), |
| 66 | 'variant_option.name.taken' => __( 'This option name is already taken. Please use a different name.', 'surecart' ), |
| 67 | 'product.variant_options.product.limit_reached' => __( 'You have reached the maximum number of options for this product.', 'surecart' ), |
| 68 | 'product_collection.name.taken' => __( 'This name is already taken. Please choose another name.', 'surecart' ), |
| 69 | 'product_collection.name.blank' => __( 'The name cannot be blank.', 'surecart' ), |
| 70 | 'product_collection.slug.taken' => __( 'This URL part is already taken. Please choose another URL part.', 'surecart' ), |
| 71 | 'checkout.selected_shipping_choice.blank' => __( "We don't currently ship to your address.", 'surecart' ), |
| 72 | 'shipping_method.name.taken' => __( 'The shipping method name is already in use .', 'surecart' ), |
| 73 | 'shipping_profile.name.blank' => __( 'The shipping profile name cannot be blank.', 'surecart' ), |
| 74 | 'shipping_profile.name.too_long' => __( 'The shipping profile name is too long. Please enter a shorter name.', 'surecart' ), |
| 75 | 'shipping_zone.name.blank' => __( 'The shipping zone name cannot be blank.', 'surecart' ), |
| 76 | 'shipping_zone.name.taken' => __( 'The shipping zone name is already in use.', 'surecart' ), |
| 77 | 'shipping_zone.name.too_long' => __( 'The shipping zone name is too long. Please enter a shorter name.', 'surecart' ), |
| 78 | 'shipping_zone.countries.taken' => __( 'The selected countries are already used in another shipping zone.', 'surecart' ), |
| 79 | 'shipping_zone.countries.inclusion' => __( 'The selected countries are not valid.', 'surecart' ), |
| 80 | 'shipping_methodname.blank' => __( 'The shipping method name cannot be blank.', 'surecart' ), |
| 81 | 'shipping_method.name.too_long' => __( 'The shipping method name is too long. Please enter a shorter name.', 'surecart' ), |
| 82 | 'shipping_method.description.too_long' => __( 'The shipping method description is too long. Please enter a shorter description.', 'surecart' ), |
| 83 | 'shipping_rate.rate_type.blank' => __( 'The shipping rate type cannot be blank.', 'surecart' ), |
| 84 | 'shipping_rate.rate_type.inclusion' => __( 'The shipping rate type is not valid.', 'surecart' ), |
| 85 | 'shipping_rate.weight_unit.blank' => __( 'The shipping weight unit cannot be blank.', 'surecart' ), |
| 86 | 'shipping_rate.weight_unit.inclusion' => __( 'The shipping weight unit is not valid.', 'surecart' ), |
| 87 | 'shipping_rate.shipping_method.blank' => __( 'The shipping method cannot be blank.', 'surecart' ), |
| 88 | 'shipping_rate.max_weight.greater_than_or_equal_to' => __( 'The maximum weight must be greater than or equal to the minimum weight.', 'surecart' ), |
| 89 | 'shipping_rate.max_weight.not_a_number' => __( 'The maximum weight must be a number.', 'surecart' ), |
| 90 | 'shipping_rate.min_weight.greater_than_or_equal_to' => __( 'The minimum weight must be greater than or equal to zero.', 'surecart' ), |
| 91 | 'shipping_rate.min_weight.not_a_number' => __( 'The minimum weight must be a number.', 'surecart' ), |
| 92 | 'shipping_rate.max_amount.greater_than_or_equal_to' => __( 'The maximum amount must be greater than or equal to the minimum amount.', 'surecart' ), |
| 93 | 'shipping_rate.max_amount.not_a_number' => __( 'The maximum amount must be a number.', 'surecart' ), |
| 94 | 'shipping_rate.min_amount.greater_than_or_equal_to' => __( 'The minimum amount must be greater than or equal to zero.', 'surecart' ), |
| 95 | 'shipping_rate.min_amount.not_a_number' => __( 'The minimum amount must be a number.', 'surecart' ), |
| 96 | 'subscription.discount.coupon.not_applicable' => __( 'This coupon is not applicable to this subscription.', 'surecart' ), |
| 97 | 'period.end_at.greater_than_or_equal_to' => __( 'The renewal date should be greater than or equal to the subscription end date.', 'surecart' ), |
| 98 | 'customer.shipping_address.blank' => __( 'Please fill out your address.', 'surecart' ), |
| 99 | 'payment_method.invalid' => __( 'This payment method is not valid or reusable.', 'surecart' ), |
| 100 | 'customer.default_payment_method.invalid' => __( 'This payment method is not valid or reusable.', 'surecart' ), |
| 101 | 'payment_method.not_detachable' => __( 'This payment method cannot be deleted because there are no other valid or reusable saved payment methods available.', 'surecart' ), |
| 102 | 'payout.end_date.no_applicable_referrals' => __( 'There are no applicable referrals for this payout.', 'surecart' ), |
| 103 | 'line_item.price.exceeds_purchase_limit' => __( 'You have exceeded the purchase limit for this product.', 'surecart' ), |
| 104 | 'line_item.ad_hoc_amount.outside_range' => __( 'This amount is outside the allowed amount.', 'surecart' ), |
| 105 | 'checkout.price.exceeds_purchase_limit' => __( 'You have exceeded the purchase limit for this product.', 'surecart' ), |
| 106 | 'checkout.product.out_of_stock' => __( 'This product is out of stock.', 'surecart' ), |
| 107 | 'checkout.price.unpurchasable' => __( 'This product is no longer available for purchase.', 'surecart' ), |
| 108 | 'order.line_items.price.blank' => __( 'This product is no longer available for purchase.', 'surecart' ), |
| 109 | 'checkout.line_items.price.currency_mismatch' => __( "The currency of this product's price is different from the store currency.", 'surecart' ), |
| 110 | 'line_item.price.currency_mismatch' => __( "The currency of this product's price is different from the store currency.", 'surecart' ), |
| 111 | 'return_request.return_items.quantity.over_returned' => __( 'The quantity returned is greater than the quantity fulfilled.', 'surecart' ), |
| 112 | 'customer.email.taken' => __( 'This email is already in use.', 'surecart' ), |
| 113 | 'line_item.upsell.already_applied' => __( 'This upsell has already been applied.', 'surecart' ), |
| 114 | 'line_item.upsell.expired' => __( 'This upsell has expired.', 'surecart' ), |
| 115 | 'line_item.update_not_allowed' => __( 'This product cannot be updated as it is locked and not allowed to be changed.', 'surecart' ), |
| 116 | 'upsell_funnel.enabled.initial_upsell_blank' => __( 'Please select an initial upsell offer.', 'surecart' ), |
| 117 | 'affiliation_request.name.blank' => __( 'The affiliate request\'s name cannot be blank.', 'surecart' ), |
| 118 | 'affiliation_request.email.blank' => __( 'The affiliate request\'s email cannot be blank.', 'surecart' ), |
| 119 | 'affiliation_request.bio.blank' => __( 'The affiliate request\'s bio cannot be blank.', 'surecart' ), |
| 120 | 'affiliation_request.email.taken' => __( 'The affiliate request\'s email is already in use.', 'surecart' ), |
| 121 | 'affiliation_product.product_id.taken' => __( 'Affiliate commission already exists for this product. Please choose a different product.', 'surecart' ), |
| 122 | 'payout_group.end_date.no_applicable_affiliations' => __( 'No affiliates have earned more than the minimum commission amount within the selected date range.', 'surecart' ), |
| 123 | 'invoice.missing_automatic_collection_payment_method' => __( 'Please add a valid payment method to enable automatic collection.', 'surecart' ), |
| 124 | 'checkout.invoice.draft' => __( 'This invoice is in draft status and cannot be paid yet. Please contact support or wait for it to be finalized.', 'surecart' ), |
| 125 | 'invoice.due_date.greater_than_or_equal_to' => __( 'The due date must be greater than or equal to the issue date.', 'surecart' ), |
| 126 | 'invoice.memo.too_long' => __( 'The memo is too long. Please enter a shorter memo. Maximum allowed length is 1000 characters.', 'surecart' ), |
| 127 | 'invoice.footer.too_long' => __( 'The footer is too long. Please enter a shorter footer. Maximum allowed length is 1000 characters.', 'surecart' ), |
| 128 | 'swap.swap_price.circular_with_existing_swap' => __( 'This price swap would create a loop. Please select a different swap option.', 'surecart' ), |
| 129 | 'review.product.blank' => __( 'Please select a product to review.', 'surecart' ), |
| 130 | 'review.customer.blank' => __( 'You must be logged in as a customer to submit a review.', 'surecart' ), |
| 131 | 'review.invalid' => __( 'The review form data is invalid. Please check for errors and try again.', 'surecart' ), |
| 132 | ); |
| 133 |