Release version 1.0.1

- Add Twig template engine integration
- Migrate all templates to Twig format
- Add German (Switzerland, Informal) translation
- Improve template organization and security
- Add Composer dependency management
- Create comprehensive changelog
This commit is contained in:
2025-12-21 04:56:50 +01:00
commit 7273c9cde7
32 changed files with 2987 additions and 0 deletions

223
languages/README.md Normal file
View File

@@ -0,0 +1,223 @@
# WooCommerce Tier and Package Prices - Translations
This directory contains translation files for the WooCommerce Tier and Package Prices plugin.
## Available Languages
- **English (US)** - `en_US` - Default language
- **German (Germany)** - `de_DE` - Deutsch
## File Structure
```
languages/
├── README.md # This file
├── wc-tier-package-prices.pot # Translation template (3.1 KB)
├── wc-tier-package-prices-en_US.po # English source file
├── wc-tier-package-prices-en_US.mo # English compiled file (2.9 KB)
├── wc-tier-package-prices-de_DE.po # German source file
└── wc-tier-package-prices-de_DE.mo # German compiled file (3.0 KB)
```
## File Types
- **`.pot`** - Portable Object Template - Master template file for creating new translations
- **`.po`** - Portable Object - Human-readable translation source file
- **`.mo`** - Machine Object - Compiled binary file used by WordPress
## Adding a New Translation
### Method 1: Using Poedit (Recommended)
1. Download and install [Poedit](https://poedit.net/)
2. Open Poedit and click "Create new translation"
3. Select the `wc-tier-package-prices.pot` file
4. Choose your language
5. Translate all strings
6. Save the file (this creates both `.po` and `.mo` files automatically)
7. Name the files as `wc-tier-package-prices-{locale}.po` and `wc-tier-package-prices-{locale}.mo`
- Example for French: `wc-tier-package-prices-fr_FR.po` and `wc-tier-package-prices-fr_FR.mo`
### Method 2: Using Command Line
1. Copy the POT file to create a new PO file:
```bash
cp wc-tier-package-prices.pot wc-tier-package-prices-fr_FR.po
```
2. Edit the PO file header:
```
"Language: fr_FR\n"
"Language-Team: French\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
```
3. Translate all `msgstr` entries in the PO file
4. Compile the PO file to MO:
```bash
msgfmt -o wc-tier-package-prices-fr_FR.mo wc-tier-package-prices-fr_FR.po
```
## WordPress Locale Codes
Common locale codes for WordPress:
- `en_US` - English (United States)
- `en_GB` - English (United Kingdom)
- `de_DE` - German (Germany)
- `de_CH` - German (Switzerland)
- `fr_FR` - French (France)
- `fr_CH` - French (Switzerland)
- `es_ES` - Spanish (Spain)
- `it_IT` - Italian (Italy)
- `nl_NL` - Dutch (Netherlands)
- `pt_BR` - Portuguese (Brazil)
- `ru_RU` - Russian
- `zh_CN` - Chinese (Simplified)
- `ja` - Japanese
For a complete list, see: https://translate.wordpress.org/
## Translation Statistics
### English (en_US)
- **Total strings**: 30
- **Translated**: 30 (100%)
- **Status**: ✅ Complete
### German (de_DE)
- **Total strings**: 30
- **Translated**: 30 (100%)
- **Status**: ✅ Complete
## Translatable Strings
The plugin contains translations for:
### Admin Interface
- Settings page titles and descriptions
- Product meta box labels
- Field labels and placeholders
- Button text
### Frontend
- Pricing table headers
- Package selection buttons
- Cart notifications
- Discount displays
## Testing Translations
### 1. Install Translation Files
Upload the `.mo` file to one of these locations:
- Plugin directory: `wp-content/plugins/wc-tier-and-package-prices/languages/`
- WordPress languages directory: `wp-content/languages/plugins/`
### 2. Change WordPress Language
1. Go to **Settings > General**
2. Set **Site Language** to your desired language
3. Save changes
### 3. Verify Translation
1. Navigate to **WooCommerce > Tier & Package Prices**
2. Edit a product and check the meta boxes
3. View a product on the frontend
4. Check the cart page
All text should appear in the selected language.
## Updating Existing Translations
When the plugin is updated with new strings:
1. Update the POT template file
2. Open your PO file in Poedit
3. Click **Catalog > Update from POT file**
4. Select the new `wc-tier-package-prices.pot` file
5. Translate any new strings
6. Save (automatically compiles to MO)
## Command Line Compilation
If you prefer command-line tools:
```bash
# Compile a single language
msgfmt -o wc-tier-package-prices-de_DE.mo wc-tier-package-prices-de_DE.po
# Compile all languages at once
for po in *.po; do
msgfmt -o "${po%.po}.mo" "$po"
done
# Verify MO file
msgunfmt wc-tier-package-prices-de_DE.mo | less
```
## Translation Guidelines
### Style Guide
1. **Consistency**: Use consistent terminology throughout
2. **Context**: Consider the context where text appears (admin vs frontend)
3. **Length**: Keep translations similar in length to the original
4. **Formality**: Maintain appropriate level of formality for your language
5. **Technical Terms**: Don't translate technical terms like "WooCommerce"
### German Translation Notes
- Uses formal "Sie" form (not informal "du")
- Currency examples adjusted (€ instead of $)
- Decimal separator uses comma (9,99 instead of 9.99)
- Date format: DD.MM.YYYY
### Best Practices
- ✅ Translate user-facing strings
- ✅ Keep HTML tags intact
- ✅ Preserve placeholders like `%s`, `%d`
- ✅ Maintain the same number of placeholders
- ❌ Don't translate variable names
- ❌ Don't translate code or CSS classes
- ❌ Don't remove or add HTML tags
## Contributing Translations
To contribute a new translation:
1. Create the PO and MO files following the guidelines above
2. Test thoroughly in a WordPress installation
3. Submit via pull request or contact the developer
4. Include:
- Both PO and MO files
- Your name/credits for attribution
- Screenshot showing the translation in use
## Support
For translation-related questions or to request a new language:
- **Plugin URI**: https://src.bundespruefstelle.ch/wc-tier-package-prices
- **Author**: Marco Graetsch
- **Author URI**: https://src.bundespruefstelle.ch/magdev
## Credits
### Translators
- **English (en_US)**: Marco Graetsch
- **German (de_DE)**: Marco Graetsch
### Translation Tools
- [Poedit](https://poedit.net/) - Cross-platform PO editor
- [Loco Translate](https://wordpress.org/plugins/loco-translate/) - WordPress plugin for translations
- [GNU gettext](https://www.gnu.org/software/gettext/) - Command-line tools
## License
Translation files are distributed under the same GPL v2 or later license as the plugin.

Binary file not shown.

View File

@@ -0,0 +1,163 @@
# 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.0.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: 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
msgid "Tier & Package Prices"
msgstr "Staffel- & Paketpreise"
#: includes/class-wc-tpp-admin.php:54
msgid "Enable Tier Pricing"
msgstr "Staffelpreise aktivieren"
#: includes/class-wc-tpp-admin.php:58
msgid "Enable tier pricing for products"
msgstr "Staffelpreise für Produkte aktivieren"
#: includes/class-wc-tpp-admin.php:63
msgid "Enable Package Pricing"
msgstr "Paketpreise aktivieren"
#: includes/class-wc-tpp-admin.php:67
msgid "Enable fixed-price packages for products"
msgstr "Festpreis-Pakete für Produkte aktivieren"
#: includes/class-wc-tpp-admin.php:72
msgid "Display Pricing Table"
msgstr "Preistabelle anzeigen"
#: includes/class-wc-tpp-admin.php:76
msgid "Show tier and package pricing table on product pages"
msgstr "Staffel- und Paketpreis-Tabelle auf Produktseiten anzeigen"
#: includes/class-wc-tpp-admin.php:81
msgid "Display Position"
msgstr "Anzeigeposition"
#: 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
msgid "After Price"
msgstr "Nach dem Preis"
#: 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: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"
#: 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"

Binary file not shown.

View File

@@ -0,0 +1,163 @@
# German (Germany) 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.0.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: German\n"
"Language: de_DE\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 erfordert, dass WooCommerce installiert und aktiviert ist."
#: includes/class-wc-tpp-admin.php:21
#: includes/class-wc-tpp-admin.php:22
msgid "Tier & Package Prices"
msgstr "Staffel- & Paketpreise"
#: includes/class-wc-tpp-admin.php:54
msgid "Enable Tier Pricing"
msgstr "Staffelpreise aktivieren"
#: includes/class-wc-tpp-admin.php:58
msgid "Enable tier pricing for products"
msgstr "Staffelpreise für Produkte aktivieren"
#: includes/class-wc-tpp-admin.php:63
msgid "Enable Package Pricing"
msgstr "Paketpreise aktivieren"
#: includes/class-wc-tpp-admin.php:67
msgid "Enable fixed-price packages for products"
msgstr "Festpreis-Pakete für Produkte aktivieren"
#: includes/class-wc-tpp-admin.php:72
msgid "Display Pricing Table"
msgstr "Preistabelle anzeigen"
#: includes/class-wc-tpp-admin.php:76
msgid "Show tier and package pricing table on product pages"
msgstr "Staffel- und Paketpreis-Tabelle auf Produktseiten anzeigen"
#: includes/class-wc-tpp-admin.php:81
msgid "Display Position"
msgstr "Anzeigeposition"
#: 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
msgid "After Price"
msgstr "Nach dem Preis"
#: 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 Rabatte beim Kauf größerer 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 50€, 25 Stück für 100€."
#: includes/class-wc-tpp-product-meta.php:70
msgid "Add Package"
msgstr "Paket hinzufügen"
#: 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,99"
#: 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 "Sie sparen"
#: includes/class-wc-tpp-frontend.php:110
msgid "Package Deals"
msgstr "Paketangebote"
#: 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"

Binary file not shown.

View File

@@ -0,0 +1,163 @@
# 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.0.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
msgid "Tier & Package Prices"
msgstr "Tier & Package Prices"
#: includes/class-wc-tpp-admin.php:54
msgid "Enable Tier Pricing"
msgstr "Enable Tier Pricing"
#: includes/class-wc-tpp-admin.php:58
msgid "Enable tier pricing for products"
msgstr "Enable tier pricing for products"
#: includes/class-wc-tpp-admin.php:63
msgid "Enable Package Pricing"
msgstr "Enable Package Pricing"
#: includes/class-wc-tpp-admin.php:67
msgid "Enable fixed-price packages for products"
msgstr "Enable fixed-price packages for products"
#: includes/class-wc-tpp-admin.php:72
msgid "Display Pricing Table"
msgstr "Display Pricing Table"
#: includes/class-wc-tpp-admin.php:76
msgid "Show tier and package pricing table on product pages"
msgstr "Show tier and package pricing table on product pages"
#: includes/class-wc-tpp-admin.php:81
msgid "Display Position"
msgstr "Display Position"
#: 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
msgid "After Price"
msgstr "After Price"
#: 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: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"
#: 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"

View File

@@ -0,0 +1,166 @@
# 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.0.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"
"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:41
msgid "WooCommerce Tier and Package Prices requires WooCommerce to be installed and active."
msgstr ""
#: includes/class-wc-tpp-admin.php:21
#: includes/class-wc-tpp-admin.php:22
msgid "Tier & Package Prices"
msgstr ""
#: includes/class-wc-tpp-admin.php:54
msgid "Enable Tier Pricing"
msgstr ""
#: includes/class-wc-tpp-admin.php:58
msgid "Enable tier pricing for products"
msgstr ""
#: includes/class-wc-tpp-admin.php:63
msgid "Enable Package Pricing"
msgstr ""
#: includes/class-wc-tpp-admin.php:67
msgid "Enable fixed-price packages for products"
msgstr ""
#: includes/class-wc-tpp-admin.php:72
msgid "Display Pricing Table"
msgstr ""
#: includes/class-wc-tpp-admin.php:76
msgid "Show tier and package pricing table on product pages"
msgstr ""
#: includes/class-wc-tpp-admin.php:81
msgid "Display Position"
msgstr ""
#: includes/class-wc-tpp-admin.php:85
msgid "Before Add to Cart"
msgstr ""
#: includes/class-wc-tpp-admin.php:86
msgid "After Add to Cart"
msgstr ""
#: includes/class-wc-tpp-admin.php:87
msgid "After Price"
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:90
msgid "Minimum Quantity"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:91
msgid "e.g., 10"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:94
msgid "Price per Unit"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:95
#: includes/class-wc-tpp-product-meta.php:114
msgid "e.g., 9.99"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:97
#: includes/class-wc-tpp-product-meta.php:120
msgid "Remove"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:109
msgid "Quantity"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:113
msgid "Fixed Price"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:117
msgid "Label (Optional)"
msgstr ""
#: includes/class-wc-tpp-product-meta.php:118
msgid "e.g., Starter Pack"
msgstr ""
#: includes/class-wc-tpp-frontend.php:71
msgid "Volume Discounts"
msgstr ""
#: includes/class-wc-tpp-frontend.php:75
msgid "Quantity"
msgstr ""
#: includes/class-wc-tpp-frontend.php:76
msgid "Price per Unit"
msgstr ""
#: includes/class-wc-tpp-frontend.php:77
msgid "You Save"
msgstr ""
#: includes/class-wc-tpp-frontend.php:110
msgid "Package Deals"
msgstr ""
#: includes/class-wc-tpp-frontend.php:123
msgid "pieces"
msgstr ""
#: includes/class-wc-tpp-frontend.php:129
msgid "per unit"
msgstr ""
#: includes/class-wc-tpp-frontend.php:133
msgid "Select Package"
msgstr ""
#: includes/class-wc-tpp-cart.php:63
msgid "Package price"
msgstr ""
#: includes/class-wc-tpp-cart.php:66
msgid "Volume discount"
msgstr ""