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

Closed
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": { "catalog": {
"categories": "Gestion des catégories", "categories": "Gestion des catégories",
"products": "Catalogue produit" "products": "Produits"
} }
}, },
"dashboard": { "dashboard": {
@@ -1070,7 +1070,8 @@
}, },
"tab": { "tab": {
"suppliers": "Fournisseurs", "suppliers": "Fournisseurs",
"clients": "Clients" "clients": "Clients",
"placeholder": "Cet onglet est en cours de développement"
}, },
"toast": { "toast": {
"error": "Une erreur est survenue. Réessayez.", "error": "Une erreur est survenue. Réessayez.",
@@ -7,8 +7,8 @@
Affiches sans condition d'etat (a raffiner avec le module Contrat). Affiches sans condition d'etat (a raffiner avec le module Contrat).
--> -->
<MalioTabList v-model="activeTab" :tabs="tabs" class="mt-[60px]"> <MalioTabList v-model="activeTab" :tabs="tabs" class="mt-[60px]">
<template #suppliers><ComingSoonPlaceholder /></template> <template #suppliers><ComingSoonPlaceholder :title="t('admin.products.tab.placeholder')" /></template>
<template #clients><ComingSoonPlaceholder /></template> <template #clients><ComingSoonPlaceholder :title="t('admin.products.tab.placeholder')" /></template>
</MalioTabList> </MalioTabList>
</template> </template>
@@ -50,7 +50,7 @@ globalThis.URL.createObjectURL = vi.fn(() => 'blob:fake')
globalThis.URL.revokeObjectURL = vi.fn() globalThis.URL.revokeObjectURL = vi.fn()
// Import APRES les stubs (la page resout les auto-imports au top-level du module). // 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 ────────────────────────────────────────────────────── // ── Stubs de composants ──────────────────────────────────────────────────────
const ButtonStub = defineComponent({ const ButtonStub = defineComponent({