You've already forked wc-tier-and-package-prices
Added comprehensive WooCommerce Blocks support for quantity restrictions and improved "View Options" button styling to match standard WooCommerce Add to Cart buttons. Features: - WooCommerce Blocks cart/mini-cart quantity restriction support - Store API integration for block-based carts - Improved "View Options" button styling with WooCommerce standards - Enhanced hover effects and transitions Technical Changes: - Added woocommerce_store_api_product_quantity_editable filter - Added block_quantity_editable() method in WC_TPP_Cart class - Enhanced CSS for .wc-block-components-quantity-selector targeting - Updated button styling: padding (0.618em × 1em), font-weight (700) - Added transition effects for smooth hover states Fixed: - WooCommerce blocks cart quantity selector now properly hidden - WooCommerce blocks mini-cart quantity selector visibility - "View Options" button now matches Add to Cart button appearance Updated Files: - includes/class-wc-tpp-cart.php (WooCommerce Blocks support) - assets/css/frontend.css (enhanced button styling) - wc-tier-and-package-prices.php (version 1.1.4) - composer.json (version 1.1.4) - CHANGELOG.md (v1.1.4 section) - All translation files (.pot, .po, .mo) updated to version 1.1.4 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
246 lines
8.1 KiB
Plaintext
246 lines
8.1 KiB
Plaintext
# German (Switzerland, Informal) 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.4\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: German (Switzerland)\n"
|
|
"Language: de_CH_informal\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 Staffel- und Paketpreise benötigt eine installierte und aktive WooCommerce-Installation."
|
|
|
|
#: 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 "Staffel- & Paketpreise"
|
|
|
|
#: includes/class-wc-tpp-settings.php:40
|
|
msgid "General"
|
|
msgstr "Allgemein"
|
|
|
|
#: includes/class-wc-tpp-settings.php:58
|
|
msgid "Tier & Package Prices Settings"
|
|
msgstr "Staffel- & Paketpreise Einstellungen"
|
|
|
|
#: includes/class-wc-tpp-settings.php:60
|
|
msgid "Configure tier pricing and package pricing options for your WooCommerce products."
|
|
msgstr "Konfiguriere Staffelpreise und Paketpreise für deine WooCommerce-Produkte."
|
|
|
|
#: includes/class-wc-tpp-admin.php:54
|
|
#: includes/class-wc-tpp-settings.php:65
|
|
msgid "Enable Tier Pricing"
|
|
msgstr "Staffelpreise aktivieren"
|
|
|
|
#: includes/class-wc-tpp-admin.php:58
|
|
#: includes/class-wc-tpp-settings.php:66
|
|
msgid "Enable tier pricing for products"
|
|
msgstr "Staffelpreise für Produkte aktivieren"
|
|
|
|
#: includes/class-wc-tpp-settings.php:70
|
|
msgid "Allow quantity-based pricing tiers. Customers get discounted prices when buying in larger quantities."
|
|
msgstr "Ermöglicht mengenbasierte Preisstaffeln. Kunden erhalten reduzierte Preise beim Kauf grösserer Mengen."
|
|
|
|
#: includes/class-wc-tpp-admin.php:63
|
|
#: includes/class-wc-tpp-settings.php:74
|
|
msgid "Enable Package Pricing"
|
|
msgstr "Paketpreise aktivieren"
|
|
|
|
#: includes/class-wc-tpp-admin.php:67
|
|
#: includes/class-wc-tpp-settings.php:75
|
|
msgid "Enable fixed-price packages for products"
|
|
msgstr "Festpreis-Pakete für Produkte aktivieren"
|
|
|
|
#: 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 "Ermöglicht Festpreis-Pakete mit bestimmten Mengen. Zum Beispiel: 10 Stück für CHF 50.-, 25 Stück für CHF 100.-."
|
|
|
|
#: includes/class-wc-tpp-admin.php:72
|
|
#: includes/class-wc-tpp-settings.php:83
|
|
msgid "Display Pricing Table"
|
|
msgstr "Preistabelle anzeigen"
|
|
|
|
#: 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 "Staffel- und Paketpreis-Tabelle auf Produktseiten anzeigen"
|
|
|
|
#: includes/class-wc-tpp-settings.php:88
|
|
msgid "Display the pricing table to customers on product pages."
|
|
msgstr "Zeigt die Preistabelle den Kunden auf Produktseiten an."
|
|
|
|
#: includes/class-wc-tpp-admin.php:81
|
|
#: includes/class-wc-tpp-settings.php:92
|
|
msgid "Display Position"
|
|
msgstr "Anzeigeposition"
|
|
|
|
#: includes/class-wc-tpp-settings.php:93
|
|
msgid "Choose where to display the pricing table on product pages."
|
|
msgstr "Wähle, wo die Preistabelle auf Produktseiten angezeigt werden soll."
|
|
|
|
#: includes/class-wc-tpp-settings.php:101
|
|
msgid "Before Add to Cart Button"
|
|
msgstr "Vor \"In den Warenkorb\"-Button"
|
|
|
|
#: includes/class-wc-tpp-settings.php:102
|
|
msgid "After Add to Cart Button"
|
|
msgstr "Nach \"In den Warenkorb\"-Button"
|
|
|
|
#: includes/class-wc-tpp-admin.php:85
|
|
msgid "Before Add to Cart"
|
|
msgstr "Vor \"In den Warenkorb\""
|
|
|
|
#: includes/class-wc-tpp-admin.php:86
|
|
msgid "After Add to Cart"
|
|
msgstr "Nach \"In den Warenkorb\""
|
|
|
|
#: includes/class-wc-tpp-admin.php:87
|
|
#: includes/class-wc-tpp-settings.php:103
|
|
msgid "After Price"
|
|
msgstr "Nach dem Preis"
|
|
|
|
#: includes/class-wc-tpp-settings.php:108
|
|
#: includes/class-wc-tpp-product-meta.php:76
|
|
msgid "Restrict to Package Quantities"
|
|
msgstr "Auf Paketmengen beschränken"
|
|
|
|
#: includes/class-wc-tpp-settings.php:109
|
|
msgid "Limit quantities to defined package sizes only"
|
|
msgstr "Mengen nur auf definierte Paketgrössen beschränken"
|
|
|
|
#: 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 "Wenn aktiviert, kannst du Produkte nur in den genau definierten Paketmengen kaufen. Das Mengeneingabefeld wird ausgeblendet und durch Paketauswahl-Buttons ersetzt."
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:23
|
|
msgid "Tier Pricing"
|
|
msgstr "Staffelpreise"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:24
|
|
msgid "Set quantity-based pricing tiers. Customers get discounted prices when buying in larger quantities."
|
|
msgstr "Mengenbasierte Preisstaffeln festlegen. Kunden erhalten günstigere Preise beim Kauf grösserer Mengen."
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:41
|
|
msgid "Add Tier"
|
|
msgstr "Staffel hinzufügen"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:52
|
|
msgid "Package Pricing"
|
|
msgstr "Paketpreise"
|
|
|
|
#: 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 "Festpreis-Pakete mit bestimmten Mengen festlegen. Zum Beispiel: 10 Stück für CHF 50.-, 25 Stück für CHF 100.-."
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:70
|
|
msgid "Add Package"
|
|
msgstr "Paket hinzufügen"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:77
|
|
msgid "Only allow quantities defined in packages above"
|
|
msgstr "Nur oben definierte Paketmengen zulassen"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:90
|
|
msgid "Minimum Quantity"
|
|
msgstr "Mindestmenge"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:91
|
|
msgid "e.g., 10"
|
|
msgstr "z.B. 10"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:95
|
|
#: includes/class-wc-tpp-product-meta.php:114
|
|
msgid "e.g., 9.99"
|
|
msgstr "z.B. 9.90"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:97
|
|
#: includes/class-wc-tpp-product-meta.php:120
|
|
msgid "Remove"
|
|
msgstr "Entfernen"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:109
|
|
#: includes/class-wc-tpp-frontend.php:75
|
|
msgid "Quantity"
|
|
msgstr "Menge"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:113
|
|
msgid "Fixed Price"
|
|
msgstr "Festpreis"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:117
|
|
msgid "Label (Optional)"
|
|
msgstr "Bezeichnung (Optional)"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:118
|
|
msgid "e.g., Starter Pack"
|
|
msgstr "z.B. Starter-Paket"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:71
|
|
msgid "Volume Discounts"
|
|
msgstr "Mengenrabatte"
|
|
|
|
#: includes/class-wc-tpp-product-meta.php:94
|
|
#: includes/class-wc-tpp-frontend.php:76
|
|
msgid "Price per Unit"
|
|
msgstr "Preis pro Einheit"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:77
|
|
msgid "You Save"
|
|
msgstr "Du sparst"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:110
|
|
msgid "Package Deals"
|
|
msgstr "Paketangebote"
|
|
|
|
#: templates/frontend/package-pricing-display.twig:11
|
|
msgid "Choose a package size below"
|
|
msgstr "Wähle unten eine Paketgrösse"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:123
|
|
msgid "pieces"
|
|
msgstr "Stück"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:129
|
|
msgid "per unit"
|
|
msgstr "pro Einheit"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:133
|
|
msgid "Select Package"
|
|
msgstr "Paket auswählen"
|
|
|
|
#: includes/class-wc-tpp-cart.php:63
|
|
msgid "Package price"
|
|
msgstr "Paketpreis"
|
|
|
|
#: includes/class-wc-tpp-cart.php:66
|
|
msgid "Volume discount"
|
|
msgstr "Mengenrabatt"
|
|
|
|
#: includes/class-wc-tpp-cart.php:124
|
|
msgid "this product"
|
|
msgstr "dieses Produkt"
|
|
|
|
#: 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 "Die Menge %1$d ist für %2$s nicht verfügbar. Bitte wähle aus den verfügbaren Paketgrössen: %3$s"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:173
|
|
msgid "View Options"
|
|
msgstr "Optionen ansehen"
|
|
|
|
#: includes/class-wc-tpp-frontend.php:178
|
|
msgid "View options for %s"
|
|
msgstr "Optionen für %s ansehen"
|