From ecfac4b43f8162dabd2c084244bbefe7ea8e03e4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 24 Jul 2025 12:23:26 +0200 Subject: [PATCH] Bug 40198: Fix translatability issue for Active and Inactive Signed-off-by: Michaela Signed-off-by: Marcel de Rooy Signed-off-by: Lucas Gass (cherry picked from commit 83bd47f3c96458b7ef4e331ae844114a5fae8224) Signed-off-by: Paul Derscheid (cherry picked from commit f3ca238092c95965d09ffbbbc1fa8857723edbd2) Signed-off-by: Fridolin Somers --- .../vue/components/ERM/UsageStatisticsDataProvidersList.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersList.vue index 5cf6a0eab3..2fcaddf2b6 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersList.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersList.vue @@ -327,8 +327,10 @@ export default { title: __("Status"), data: "active", render: function (data, type, row, meta) { - const status = row.active ? "Active" : "Inactive" - return status + const status = row.active + ? __("Active") + : __("Inactive"); + return status; }, searchable: false, orderable: true,