diff --git a/frontend/i18n/locales/fr.json b/frontend/i18n/locales/fr.json index 22ecdaf..837c850 100644 --- a/frontend/i18n/locales/fr.json +++ b/frontend/i18n/locales/fr.json @@ -53,7 +53,7 @@ }, "catalog": { "categories": "Gestion des catégories", - "products": "Catalogue produit" + "products": "Produits" } }, "dashboard": { @@ -1070,7 +1070,8 @@ }, "tab": { "suppliers": "Fournisseurs", - "clients": "Clients" + "clients": "Clients", + "placeholder": "Cet onglet est en cours de développement" }, "toast": { "error": "Une erreur est survenue. Réessayez.", diff --git a/frontend/modules/catalog/components/ProductPlaceholderTabs.vue b/frontend/modules/catalog/components/ProductPlaceholderTabs.vue index b448da9..29a9461 100644 --- a/frontend/modules/catalog/components/ProductPlaceholderTabs.vue +++ b/frontend/modules/catalog/components/ProductPlaceholderTabs.vue @@ -7,8 +7,8 @@ Affiches sans condition d'etat (a raffiner avec le module Contrat). --> - - + + diff --git a/frontend/modules/catalog/pages/__tests__/productsIndex.spec.ts b/frontend/modules/catalog/pages/__tests__/productsIndex.spec.ts index fed5455..3b14ef0 100644 --- a/frontend/modules/catalog/pages/__tests__/productsIndex.spec.ts +++ b/frontend/modules/catalog/pages/__tests__/productsIndex.spec.ts @@ -50,7 +50,7 @@ globalThis.URL.createObjectURL = vi.fn(() => 'blob:fake') globalThis.URL.revokeObjectURL = vi.fn() // Import APRES les stubs (la page resout les auto-imports au top-level du module). -const ProductsIndex = (await import('../admin/products.vue')).default +const ProductsIndex = (await import('../admin/products/index.vue')).default // ── Stubs de composants ────────────────────────────────────────────────────── const ButtonStub = defineComponent({ diff --git a/frontend/modules/catalog/pages/admin/products.vue b/frontend/modules/catalog/pages/admin/products/index.vue similarity index 100% rename from frontend/modules/catalog/pages/admin/products.vue rename to frontend/modules/catalog/pages/admin/products/index.vue