From 374eba5bc1eacd66a9d3d38d6038a254e6990a1e 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 --- .../vue/components/ERM/UsageStatisticsDataProvidersList.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 0af9239ea73..84bf57c7671 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 @@ -329,7 +329,9 @@ export default { title: __("Status"), data: "active", render: function (data, type, row, meta) { - const status = row.active ? "Active" : "Inactive"; + const status = row.active + ? __("Active") + : __("Inactive"); return status; }, searchable: false, -- 2.34.1