You've already forked wc-composable-product
Refactor to PSR-4: rename files and switch namespace
- Rename files to PascalCase: Product_Type → ProductType, Cart_Handler → CartHandler, Product_Selector → ProductSelector, Stock_Manager → StockManager, Admin/Product_Data → Admin/ProductData - Switch namespace from WC_Composable_Product to Magdev\WcComposableProduct - Update all cross-references in PHP, CSS, JS, translations, and docs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -90,7 +90,7 @@ msgstr ""
|
||||
msgid "Composable product"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Product_Selector.php, templates/product-selector.twig
|
||||
#: includes/ProductSelector.php, templates/product-selector.twig
|
||||
msgid "Select Your Products"
|
||||
msgstr ""
|
||||
|
||||
@@ -110,115 +110,115 @@ msgstr ""
|
||||
msgid "Add to Cart"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Cart_Handler.php
|
||||
#: includes/CartHandler.php
|
||||
msgid "Please select at least one product."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Cart_Handler.php
|
||||
#: includes/CartHandler.php
|
||||
msgid "You can select a maximum of %d products."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Cart_Handler.php
|
||||
#: includes/CartHandler.php
|
||||
msgid "One or more selected products are not available."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Cart_Handler.php
|
||||
#: includes/CartHandler.php
|
||||
msgid "Selected Products"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Composable Options"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Selection Limit"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Maximum number of items customers can select. Leave empty to use global default."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Pricing Mode"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "How to calculate the price."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Fixed Price"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Enter the fixed price for this composable product."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Use global default"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Selection Criteria"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "How to select available products."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "By Category"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "By Tag"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "By SKU"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Select Categories"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Select product categories to include."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Select Tags"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Select product tags to include."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Product SKUs"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Enter product SKUs separated by commas."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "SKU-1, SKU-2, SKU-3"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Stock_Manager.php
|
||||
#: includes/StockManager.php
|
||||
msgid "\"%s\" is out of stock and cannot be selected."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Stock_Manager.php
|
||||
#: includes/StockManager.php
|
||||
msgid "Only %2$d of \"%1$s\" are available in stock."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Stock_Manager.php
|
||||
#: includes/StockManager.php
|
||||
msgid "Stock reduced for \"%1$s\": -%2$d (remaining: %3$d)"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Stock_Manager.php
|
||||
#: includes/StockManager.php
|
||||
msgid "Stock restored for \"%1$s\": +%2$d (total: %3$d)"
|
||||
msgstr ""
|
||||
|
||||
@@ -242,7 +242,7 @@ msgstr ""
|
||||
msgid "No products available for selection. Please configure the product criteria in the admin panel."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Settings.php, includes/Admin/Product_Data.php
|
||||
#: includes/Admin/Settings.php, includes/Admin/ProductData.php
|
||||
msgid "Include Non-Public Products"
|
||||
msgstr ""
|
||||
|
||||
@@ -250,14 +250,14 @@ msgstr ""
|
||||
msgid "Allow draft and private products to appear in composable product selections. Useful when products should only be sold as part of a composition, not individually."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Allow draft and private products in the selection. Useful when products should only be sold as part of a composition."
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: includes/Admin/Product_Data.php
|
||||
#: includes/Admin/ProductData.php
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user