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
2 KiB
PHP
56 lines
2 KiB
PHP
<?php
|
|
|
|
return [
|
|
'code' => 'fr',
|
|
'default' => true,
|
|
'direction' => 'ltr',
|
|
'locale' => 'fr_FR',
|
|
'name' => 'Français',
|
|
'url' => '/',
|
|
'translations' => [
|
|
// Général
|
|
'backToHome' => 'Retour à l\'accueil',
|
|
'backToShop' => 'Retour à la boutique',
|
|
'supportText' => 'Pour nous soutenir, vous pouvez aussi',
|
|
'makeDonation' => 'faire un don',
|
|
|
|
// Shop / Cart
|
|
'addToCart' => 'Ajouter au panier',
|
|
'cart' => 'Panier',
|
|
'cartEmpty' => 'Votre panier est vide',
|
|
'total' => 'Total',
|
|
'checkout' => 'Passer commande',
|
|
'remove' => 'Retirer',
|
|
'inStock' => 'En stock',
|
|
'outOfStock' => 'Rupture de stock',
|
|
'addingToCart' => 'Ajout en cours...',
|
|
'addedToCart' => 'Ajouté ! ✓',
|
|
'errorAddToCart' => 'Erreur - Réessayer',
|
|
'closeCart' => 'Fermer le panier',
|
|
'loading' => 'Chargement...',
|
|
'productNotFound' => 'Produit non trouvé',
|
|
'selectVariant' => 'Choisir',
|
|
'chooseOption' => 'Choisissez une option',
|
|
|
|
// Blueprints - Home
|
|
'home.title' => 'Accueil',
|
|
'home.baseline.label' => 'Baseline',
|
|
'home.products.headline' => 'Produits',
|
|
'home.settings.headline' => 'Paramètres',
|
|
|
|
// Blueprints - Product
|
|
'product.title' => 'Produit',
|
|
'product.description.label' => 'Description',
|
|
'product.details.label' => 'Détails',
|
|
'product.details.item.label' => 'Détail',
|
|
'product.price.label' => 'Prix (€)',
|
|
'product.backgroundColor.label' => 'Couleur de fond',
|
|
'product.stock.label' => 'Stock',
|
|
'product.stock.help' => 'Partagé entre les versions FR et EN',
|
|
'product.snipcartId.label' => 'Identifiant Snipcart',
|
|
'product.sizes.label' => 'Tailles disponibles',
|
|
'product.images.headline' => 'Images du produit',
|
|
'product.meta.headline' => 'Métadonnées',
|
|
'product.tab.content' => 'Contenu',
|
|
]
|
|
];
|