From 7eefdc8abfc017d7276b128c08cd1bb338342673 Mon Sep 17 00:00:00 2001
From: mateuswetah
Date: Fri, 5 Mar 2021 09:29:45 -0300
Subject: [PATCH] Updates metadata type labels and taxonomies number box #483
---
src/views/reports/components/number-block.vue | 8 ++++++++
src/views/reports/pages/reports-list.vue | 4 ++--
src/views/tainacan-admin-i18n.php | 4 ++++
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/views/reports/components/number-block.vue b/src/views/reports/components/number-block.vue
index 02f97cfa6..d7bf04487 100644
--- a/src/views/reports/components/number-block.vue
+++ b/src/views/reports/components/number-block.vue
@@ -14,6 +14,11 @@
{{ $i18n.get(entityType) }}
+
+ {{ $i18n.get('label_used') + ': ' + summary.totals[entityType].used + ' | ' + $i18n.get('label_not_used') + ': ' + summary.totals[entityType].not_used }}
+
- __( 'Metadata fill distribution', 'tainacan' ),
'label_not_filled' => __( 'Not filled yet', 'tainacan' ),
'label_filled' => __( 'Already filled', 'tainacan' ),
+ /* translators: To be displayed with the number of Taxonomies not used in the colllection */
+ 'label_not_used' => __( 'Not used', 'tainacan' ),
+ /* translators: To be displayed with the number of Taxonomies used in the colllection */
+ 'label_used' => __( 'Used', 'tainacan' ),
// Instructions. More complex sentences to guide user and placeholders
'instruction_delete_selected_collections' => __( 'Delete selected collections', 'tainacan' ),