From fcacfaaafa0db3f7099638181dfe2366d3caa71b Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 4 Jan 2024 11:52:31 +0000 Subject: [PATCH] Bug 35392: Fix HTML in translatable string Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer --- .../ERM/UsageStatisticsDataProvidersFileImport.vue | 13 ++++++++++--- .../ERM/UsageStatisticsDataProvidersList.vue | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFileImport.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFileImport.vue index abcaf414b6..617af051ba 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFileImport.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFileImport.vue @@ -89,9 +89,16 @@ export default { success => { let message = "" success.jobs.forEach((job, i) => { - message += this.$__( - '
  • Job for uploaded file has been queued, click here to check its progress.
  • ' - ).format(job.job_id) + message += + "
  • " + + this.$__( + "Job for uploaded file has been queued" + ) + + '. ' + + this.$__("Check job progress") + + ".
  • " }) this.setMessage(message, true) }, 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..31063e5c3f 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,16 @@ 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.$__("Check job progress") + + ".
  • " }) this.setMessage(message, true) }, -- 2.39.5