You've already forked wc-tier-and-package-prices
Added comprehensive package quantity restriction functionality that allows limiting product purchases to predefined package sizes only. Features: - Global setting to enable package quantity restrictions - Per-product override for quantity restrictions - Automatic hiding of quantity input field when restricted - Frontend validation with package selection UI - Server-side cart validation - User-friendly error messages - Complete translations for all supported languages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
238 lines
7.8 KiB
Plaintext
238 lines
7.8 KiB
Plaintext
# English (US) translation for WooCommerce Tier and Package Prices
|
|
# Copyright (C) 2025 Marco Graetsch
|
|
# This file is distributed under the GPL v2 or later.
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: WooCommerce Tier and Package Prices 1.1.0\n"
|
|
"Report-Msgid-Bugs-To: https://src.bundespruefstelle.ch/wc-tier-package-prices\n"
|
|
"POT-Creation-Date: 2025-12-21 00:00+0000\n"
|
|
"PO-Revision-Date: 2025-12-21 00:00+0000\n"
|
|
"Last-Translator: Marco Graetsch\n"
|
|
"Language-Team: English\n"
|
|
"Language: en_US\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
"X-Generator: Poedit 3.0\n"
|
|
"X-Domain: wc-tier-package-prices\n"
|
|
|
|
#: wc-tier-and-package-prices.php:41
|
|
msgid "WooCommerce Tier and Package Prices requires WooCommerce to be installed and active."
|
|
msgstr "WooCommerce Tier and Package Prices requires WooCommerce to be installed and active."
|
|
|
|
#: includes/class-wc-tpp-admin.php:21
|
|
#: includes/class-wc-tpp-admin.php:22
|
|
#: includes/class-wc-tpp-settings.php:28
|
|
msgid "Tier & Package Prices"
|
|
msgstr "Tier & Package Prices"
|
|
|
|
#: includes/class-wc-tpp-settings.php:40
|
|
msgid "General"
|
|
msgstr "General"
|
|
|
|
#: includes/class-wc-tpp-settings.php:58
|
|
msgid "Tier & Package Prices Settings"
|
|
msgstr "Tier & Package Prices Settings"
|
|
|
|
#: includes/class-wc-tpp-settings.php:60
|
|
msgid "Configure tier pricing and package pricing options for your WooCommerce products."
|
|
msgstr "Configure tier pricing and package pricing options for your WooCommerce products."
|
|
|
|
#: includes/class-wc-tpp-admin.php:54
|
|
#: includes/class-wc-tpp-settings.php:65
|
|
msgid "Enable Tier Pricing"
|
|
msgstr "Enable Tier Pricing"
|
|
|
|
#: includes/class-wc-tpp-admin.php:58
|
|
#: includes/class-wc-tpp-settings.php:66
|
|
msgid "Enable tier pricing for products"
|
|
msgstr "Enable tier pricing for products"
|
|
|
|
#: includes/class-wc-tpp-settings.php:70
|
|
msgid "Allow quantity-based pricing tiers. Customers get discounted prices when buying in larger quantities."
|
|
msgstr "Allow quantity-based pricing tiers. Customers get discounted prices when buying in larger quantities."
|
|
|
|
#: includes/class-wc-tpp-admin.php:63
|
|
#: includes/class-wc-tpp-settings.php:74
|
|
msgid "Enable Package Pricing"
|
|
msgstr "Enable Package Pricing"
|
|
|
|
#: includes/class-wc-tpp-admin.php:67
|
|
#: includes/class-wc-tpp-settings.php:75
|
|
msgid "Enable fixed-price packages for products"
|
|
msgstr "Enable fixed-price packages for products"
|
|
|
|
#: includes/class-wc-tpp-settings.php:79
|
|
msgid "Allow fixed-price packages with specific quantities. For example: 10 pieces for $50, 25 pieces for $100."
|
|
msgstr "Allow fixed-price packages with specific quantities. For example: 10 pieces for $50, 25 pieces for $100."
|
|
|
|
#: includes/class-wc-tpp-admin.php:72
|
|
#: includes/class-wc-tpp-settings.php:83
|
|
msgid "Display Pricing Table"
|
|
msgstr "Display Pricing Table"
|
|
|
|
#: includes/class-wc-tpp-admin.php:76
|
|
#: includes/class-wc-tpp-settings.php:84
|
|
msgid "Show tier and package pricing table on product pages"
|
|
msgstr "Show tier and package pricing table on product pages"
|
|
|
|
#: includes/class-wc-tpp-settings.php:88
|
|
msgid "Display the pricing table to customers on product pages."
|
|
msgstr "Display the pricing table to customers on product pages."
|
|
|
|
#: includes/class-wc-tpp-admin.php:81
|
|
#: includes/class-wc-tpp-settings.php:92
|
|
msgid "Display Position"
|
|
msgstr "Display Position"
|
|
|
|
#: includes/class-wc-tpp-settings.php:93
|
|
msgid "Choose where to display the pricing table on product pages."
|
|
msgstr "Choose where to display the pricing table on product pages."
|
|
|
|
#: includes/class-wc-tpp-settings.php:101
|
|
msgid "Before Add to Cart Button"
|
|
msgstr "Before Add to Cart Button"
|
|
|
|
#: includes/class-wc-tpp-settings.php:102
|
|
msgid "After Add to Cart Button"
|
|
msgstr "After Add to Cart Button"
|
|
|
|
#: includes/class-wc-tpp-admin.php:85
|
|
msgid "Before Add to Cart"
|
|
msgstr "Before Add to Cart"
|
|
|
|
#: includes/class-wc-tpp-admin.php:86
|
|
msgid "After Add to Cart"
|
|
msgstr "After Add to Cart"
|
|
|
|
#: includes/class-wc-tpp-admin.php:87
|
|
#: includes/class-wc-tpp-settings.php:103
|
|
msgid "After Price"
|
|
msgstr "After Price"
|
|
|
|
#: includes/class-wc-tpp-settings.php:108
|
|
#: includes/class-wc-tpp-product-meta.php:76
|
|
msgid "Restrict to Package Quantities"
|
|
msgstr "Restrict to Package Quantities"
|
|
|
|
#: includes/class-wc-tpp-settings.php:109
|
|
msgid "Limit quantities to defined package sizes only"
|
|
msgstr "Limit quantities to defined package sizes only"
|
|
|
|
#: includes/class-wc-tpp-settings.php:113
|
|
msgid "When enabled, customers can only purchase products in the exact quantities defined in packages. The quantity input field will be hidden and replaced with package selection buttons."
|
|
msgstr "When enabled, customers can only purchase products in the exact quantities defined in packages. The quantity input field will be hidden and replaced with package selection buttons."
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:23
|
|
msgid "Tier Pricing"
|
|
msgstr "Tier Pricing"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:24
|
|
msgid "Set quantity-based pricing tiers. Customers get discounted prices when buying in larger quantities."
|
|
msgstr "Set quantity-based pricing tiers. Customers get discounted prices when buying in larger quantities."
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:41
|
|
msgid "Add Tier"
|
|
msgstr "Add Tier"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:52
|
|
msgid "Package Pricing"
|
|
msgstr "Package Pricing"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:53
|
|
msgid "Set fixed-price packages with specific quantities. For example: 10 pieces for $50, 25 pieces for $100."
|
|
msgstr "Set fixed-price packages with specific quantities. For example: 10 pieces for $50, 25 pieces for $100."
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:70
|
|
msgid "Add Package"
|
|
msgstr "Add Package"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:77
|
|
msgid "Only allow quantities defined in packages above"
|
|
msgstr "Only allow quantities defined in packages above"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:90
|
|
msgid "Minimum Quantity"
|
|
msgstr "Minimum Quantity"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:91
|
|
msgid "e.g., 10"
|
|
msgstr "e.g., 10"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:95
|
|
#: includes/class-wc-tpp-product-meta.php:114
|
|
msgid "e.g., 9.99"
|
|
msgstr "e.g., 9.99"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:97
|
|
#: includes/class-wc-tpp-product-meta.php:120
|
|
msgid "Remove"
|
|
msgstr "Remove"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:109
|
|
#: includes/class-wc-tpp-frontend.php:75
|
|
msgid "Quantity"
|
|
msgstr "Quantity"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:113
|
|
msgid "Fixed Price"
|
|
msgstr "Fixed Price"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:117
|
|
msgid "Label (Optional)"
|
|
msgstr "Label (Optional)"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:118
|
|
msgid "e.g., Starter Pack"
|
|
msgstr "e.g., Starter Pack"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:71
|
|
msgid "Volume Discounts"
|
|
msgstr "Volume Discounts"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:94
|
|
#: includes/class-wc-tpp-frontend.php:76
|
|
msgid "Price per Unit"
|
|
msgstr "Price per Unit"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:77
|
|
msgid "You Save"
|
|
msgstr "You Save"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:110
|
|
msgid "Package Deals"
|
|
msgstr "Package Deals"
|
|
|
|
#: templates/frontend/package-pricing-display.twig:11
|
|
msgid "Choose a package size below"
|
|
msgstr "Choose a package size below"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:123
|
|
msgid "pieces"
|
|
msgstr "pieces"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:129
|
|
msgid "per unit"
|
|
msgstr "per unit"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:133
|
|
msgid "Select Package"
|
|
msgstr "Select Package"
|
|
|
|
#: includes/class-wc-tpp-cart.php:63
|
|
msgid "Package price"
|
|
msgstr "Package price"
|
|
|
|
#: includes/class-wc-tpp-cart.php:66
|
|
msgid "Volume discount"
|
|
msgstr "Volume discount"
|
|
|
|
#: includes/class-wc-tpp-cart.php:124
|
|
msgid "this product"
|
|
msgstr "this product"
|
|
|
|
#: includes/class-wc-tpp-cart.php:128
|
|
msgid "The quantity %1$d is not available for %2$s. Please choose from the available package sizes: %3$s"
|
|
msgstr "The quantity %1$d is not available for %2$s. Please choose from the available package sizes: %3$s"
|