feat(catalog) : M6 — i18n produits + libellé audit catalog_product (ERP-207) #159

Open
tristan wants to merge 2 commits from feat/erp-207-i18n-audit-label into feat/erp-206-product-edit-placeholder-tabs
4 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -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.",
@@ -7,8 +7,8 @@
Affiches sans condition d'etat (a raffiner avec le module Contrat).
-->
<MalioTabList v-model="activeTab" :tabs="tabs" class="mt-[60px]">
<template #suppliers><ComingSoonPlaceholder /></template>
<template #clients><ComingSoonPlaceholder /></template>
<template #suppliers><ComingSoonPlaceholder :title="t('admin.products.tab.placeholder')" /></template>
<template #clients><ComingSoonPlaceholder :title="t('admin.products.tab.placeholder')" /></template>
</MalioTabList>
</template>
@@ -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({