Bugzilla – Attachment 159256 Details for
Bug 35392
HTML in translatable string
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35392: Avoid HTML in translatable content
Bug-35392-Avoid-HTML-in-translatable-content.patch (text/plain), 2.28 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-11-26 16:10:31 UTC
(
hide
)
Description:
Bug 35392: Avoid HTML in translatable content
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-11-26 16:10:31 UTC
Size:
2.28 KB
patch
obsolete
>From 10f22d8919c2cd39859758fa9a28ed80ec042bef Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >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 7ebc4bcecb0..420bdceeab9 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.$__( >- '<li>Job for report type <strong>%s</strong> has been queued, <a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=%s" target="_blank">click here</a> to check its progress.</li>' >- ).format(job.report_type, job.job_id) >+ message += >+ "<li>" + >+ this.$__( >+ "Job for report type <strong>%s</strong> has been queued" >+ ).format(job.report_type) + >+ ', <a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=' + >+ job.job_id + >+ '" target="_blank">' + >+ this.$__("click here") + >+ "</a> " + >+ $this.__("to check its progress.") + >+ "</li>" > }) > this.setMessage(message, true) > }, >-- >2.43.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35392
:
159256
|
159263
|
159264
|
159265
|
159279
|
159280
|
159281
|
159283
|
160450
|
160451
|
160512
|
160513
|
164466
|
164467
|
164473
|
164474
|
164475