diff --git a/src/components/ProductCard.vue b/src/components/ProductCard.vue index 0e949f7f86e..76a72baf536 100644 --- a/src/components/ProductCard.vue +++ b/src/components/ProductCard.vue @@ -26,7 +26,7 @@ {{ $t('ProductCard.CategoryTotal', { count: (product && product.categories_tags) ? product.categories_tags.length : 0 }) }} - + {{ $t('ProductCard.LabelTotal', { count: (product && product.labels_tags) ? product.labels_tags.length : 0 }) }} @@ -53,6 +53,12 @@ v-model="productCategoriesDialog" @close="productCategoriesDialog = false" > + diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 2e615c7f8ad..053d71362aa 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -202,6 +202,10 @@ "LoadMore": "Load more", "ProductNotFound": "Product not found in Open Food Facts... Don't hesitate to add it :)" }, + "ProductLabels": { + "Title": "Labels", + "Empty": "No labels have been added to this product yet." + }, "ProductList": { "HideProductsWithPrices": "Hide products with prices", "LoadMore": "Load more",