Files
wc-tier-and-package-prices/languages/wc-tier-package-prices.pot

233 lines
5.7 KiB
Plaintext
Raw Permalink Normal View History

# Copyright (C) 2025 Marco Graetsch
# This file is distributed under the GPL v2 or later.
msgid ""
msgstr ""
Release version 1.1.6 - Critical fix for plugin activation Fixed critical bug that prevented plugin activation in v1.1.3, v1.1.4, and v1.1.5. Root Cause: - WC_TPP_Cart and WC_TPP_Frontend classes were instantiated immediately when their files were loaded (via `new ClassName();` at bottom of files) - This happened BEFORE WooCommerce was fully loaded - Hook registration attempted to access WooCommerce functions before they existed - Result: Fatal error during plugin activation Solution: - Removed immediate instantiation from class-wc-tpp-cart.php (line 251) - Removed immediate instantiation from class-wc-tpp-frontend.php (line 186) - Added init_classes() method to main plugin class - Classes now instantiated via woocommerce_loaded hook - Ensures WooCommerce is fully initialized before any hooks are registered Changes: - includes/class-wc-tpp-cart.php - Removed `new WC_TPP_Cart();` - includes/class-wc-tpp-frontend.php - Removed `new WC_TPP_Frontend();` - wc-tier-and-package-prices.php - Added init_classes() and woocommerce_loaded hook - CHANGELOG.md - Added v1.1.6 section - composer.json - Version 1.1.6 - All translation files updated to 1.1.6 - All .mo files recompiled This fix ensures proper WordPress plugin lifecycle: 1. Plugin file loaded 2. Classes defined (but not instantiated) 3. WooCommerce loads 4. woocommerce_loaded hook fires 5. Classes instantiated with full WooCommerce availability 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-21 19:57:27 +01:00
"Project-Id-Version: WooCommerce Tier and Package Prices 1.1.6\n"
"Report-Msgid-Bugs-To: https://src.bundespruefstelle.ch/wc-tier-package-prices\n"
"POT-Creation-Date: 2025-12-21 00:00+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2025-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"X-Generator: Poedit 3.0\n"
"X-Domain: wc-tier-package-prices\n"
#: wc-tier-and-package-prices.php:44
msgid "WooCommerce Tier and Package Prices requires WooCommerce to be installed and active."
msgstr ""
#: includes/class-wc-tpp-settings.php:28
#: includes/class-wc-tpp-settings.php:58
msgid "Tier & Package Prices"
msgstr ""
#: includes/class-wc-tpp-settings.php:40
msgid "General"
msgstr ""
#: includes/class-wc-tpp-settings.php:58
msgid "Tier & Package Prices Settings"
msgstr ""
#: includes/class-wc-tpp-settings.php:60
msgid "Configure tier pricing and package pricing options for your WooCommerce products."
msgstr ""
#: includes/class-wc-tpp-settings.php:65
msgid "Enable Tier Pricing"
msgstr ""
#: includes/class-wc-tpp-settings.php:66
msgid "Enable tier pricing for products"
msgstr ""
#: includes/class-wc-tpp-settings.php:70
msgid "Allow quantity-based pricing tiers. Customers get discounted prices when buying in larger quantities."
msgstr ""
#: includes/class-wc-tpp-settings.php:74
msgid "Enable Package Pricing"
msgstr ""
#: includes/class-wc-tpp-settings.php:75
msgid "Enable fixed-price packages for products"
msgstr ""
#: 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 ""
#: includes/class-wc-tpp-settings.php:83
msgid "Display Pricing Table"
msgstr ""
#: includes/class-wc-tpp-settings.php:84
msgid "Show tier and package pricing table on product pages"
msgstr ""
#: includes/class-wc-tpp-settings.php:88
msgid "Display the pricing table to customers on product pages."
msgstr ""
#: includes/class-wc-tpp-settings.php:92
msgid "Display Position"
msgstr ""
#: includes/class-wc-tpp-settings.php:93
msgid "Choose where to display the pricing table on product pages."
msgstr ""
#: includes/class-wc-tpp-settings.php:101
msgid "Before Add to Cart Button"
msgstr ""
#: includes/class-wc-tpp-settings.php:102
msgid "After Add to Cart Button"
msgstr ""
#: includes/class-wc-tpp-settings.php:103
msgid "After Price"
msgstr ""
#: includes/class-wc-tpp-settings.php:108
#: includes/class-wc-tpp-product-meta.php:76
msgid "Restrict to Package Quantities"
msgstr ""
#: includes/class-wc-tpp-settings.php:109
msgid "Limit quantities to defined package sizes only"
msgstr ""
#: 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 ""
#: includes/class-wc-tpp-product-meta.php:23
msgid "Tier Pricing"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:24
msgid "Set quantity-based pricing tiers. Customers get discounted prices when buying in larger quantities."
msgstr ""
#: includes/class-wc-tpp-product-meta.php:41
msgid "Add Tier"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:52
msgid "Package Pricing"
msgstr ""
#: 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 ""
#: includes/class-wc-tpp-product-meta.php:70
msgid "Add Package"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:77
msgid "Only allow quantities defined in packages above"
msgstr ""
#: templates/admin/tier-row.twig:9
msgid "Minimum Quantity"
msgstr ""
#: templates/admin/tier-row.twig:13
#: templates/admin/package-row.twig:13
msgid "e.g., 10"
msgstr ""
#: templates/admin/tier-row.twig:16
msgid "Price per Unit"
msgstr ""
#: templates/admin/tier-row.twig:21
msgid "e.g., 9.99"
msgstr ""
#: templates/admin/tier-row.twig:25
#: templates/admin/package-row.twig:30
msgid "Remove"
msgstr ""
#: templates/admin/package-row.twig:9
#: templates/frontend/tier-pricing-table.twig:13
msgid "Quantity"
msgstr ""
#: templates/admin/package-row.twig:20
msgid "Fixed Price"
msgstr ""
#: templates/admin/package-row.twig:18
msgid "e.g., 99.99"
msgstr ""
#: templates/admin/package-row.twig:24
msgid "Label (Optional)"
msgstr ""
#: templates/admin/package-row.twig:29
msgid "e.g., Starter Pack"
msgstr ""
#: templates/frontend/tier-pricing-table.twig:9
msgid "Volume Discounts"
msgstr ""
#: templates/frontend/tier-pricing-table.twig:14
msgid "Price per Unit"
msgstr ""
#: templates/frontend/tier-pricing-table.twig:15
msgid "You Save"
msgstr ""
#: templates/frontend/package-pricing-display.twig:8
msgid "Package Deals"
msgstr ""
#: templates/frontend/package-pricing-display.twig:11
msgid "Choose a package size below"
msgstr ""
#: templates/frontend/package-pricing-display.twig:20
msgid "pieces"
msgstr ""
#: templates/frontend/package-pricing-display.twig:24
msgid "per unit"
msgstr ""
#: templates/frontend/package-pricing-display.twig:28
msgid "Select Package"
msgstr ""
#: includes/class-wc-tpp-cart.php:76
msgid "Package price"
msgstr ""
#: includes/class-wc-tpp-cart.php:79
msgid "Volume discount"
msgstr ""
#: includes/class-wc-tpp-cart.php:124
msgid "this product"
msgstr ""
#: 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 ""
#: includes/class-wc-tpp-frontend.php:173
msgid "View Options"
msgstr ""
#: includes/class-wc-tpp-frontend.php:178
msgid "View options for %s"
msgstr ""