From 2d69bbb4f1415911d96e6a4bb7e1a6c4b0c3f524 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Sun, 26 Nov 2023 13:09:05 -0300 Subject: [PATCH] Bug 35392: Avoid HTML in translatable content --- .../ERM/UsageStatisticsDataProvidersList.vue | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 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 7ebc4bcecb..420bdceeab 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 @@ -245,9 +245,18 @@ export default { success => { let message = "" success.jobs.forEach((job, i) => { - message += this.$__( - '
  • Job for report type %s has been queued, click here to check its progress.
  • ' - ).format(job.report_type, job.job_id) + message += + "
  • " + + this.$__( + "Job for report type %s has been queued" + ).format(job.report_type) + + ', ' + + this.$__("click here") + + " " + + $this.__("to check its progress.") + + "
  • " }) this.setMessage(message, true) }, -- 2.30.2