All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
- Implement dynamic option rendering from Shopify variant data - Generate circular radio buttons for product variants (sizes, colors, etc.) - Disable add-to-cart button until option is selected - Display "Choisissez une option" text when option required - Update button text and enable on option selection - Add is-selected class to chosen option - Handle disabled state for out-of-stock variants - Restore btn__default button style with icon and text structure - Add chooseOption translation key in FR/EN Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
56 lines
1.9 KiB
PHP
56 lines
1.9 KiB
PHP
<?php
|
|
|
|
return [
|
|
'code' => 'en',
|
|
'default' => false,
|
|
'direction' => 'ltr',
|
|
'locale' => 'en_US',
|
|
'name' => 'English',
|
|
'url' => '/en',
|
|
'translations' => [
|
|
// General
|
|
'backToHome' => 'Back to home',
|
|
'backToShop' => 'Back to shop',
|
|
'supportText' => 'To support us, you can also',
|
|
'makeDonation' => 'make a donation',
|
|
|
|
// Shop / Cart
|
|
'addToCart' => 'Add to cart',
|
|
'cart' => 'Cart',
|
|
'cartEmpty' => 'Your cart is empty',
|
|
'total' => 'Total',
|
|
'checkout' => 'Checkout',
|
|
'remove' => 'Remove',
|
|
'inStock' => 'In stock',
|
|
'outOfStock' => 'Out of stock',
|
|
'addingToCart' => 'Adding...',
|
|
'addedToCart' => 'Added! ✓',
|
|
'errorAddToCart' => 'Error - Try again',
|
|
'closeCart' => 'Close cart',
|
|
'loading' => 'Loading...',
|
|
'productNotFound' => 'Product not found',
|
|
'selectVariant' => 'Select',
|
|
'chooseOption' => 'Choose an option',
|
|
|
|
// Blueprints - Home
|
|
'home.title' => 'Home',
|
|
'home.baseline.label' => 'Baseline',
|
|
'home.products.headline' => 'Products',
|
|
'home.settings.headline' => 'Settings',
|
|
|
|
// Blueprints - Product
|
|
'product.title' => 'Product',
|
|
'product.description.label' => 'Description',
|
|
'product.details.label' => 'Details',
|
|
'product.details.item.label' => 'Detail',
|
|
'product.price.label' => 'Price (€)',
|
|
'product.backgroundColor.label' => 'Background Color',
|
|
'product.stock.label' => 'Stock',
|
|
'product.stock.help' => 'Shared between FR and EN versions',
|
|
'product.snipcartId.label' => 'Snipcart ID',
|
|
'product.sizes.label' => 'Available Sizes',
|
|
'product.images.headline' => 'Product Images',
|
|
'product.meta.headline' => 'Metadata',
|
|
'product.tab.content' => 'Content',
|
|
]
|
|
];
|