Bugzilla – Attachment 160512 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: Fix HTML in translatable string
Bug-35392-Fix-HTML-in-translatable-string.patch (text/plain), 3.76 KB, created by
Pedro Amorim
on 2024-01-04 12:01:46 UTC
(
hide
)
Description:
Bug 35392: Fix HTML in translatable string
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-01-04 12:01:46 UTC
Size:
3.76 KB
patch
obsolete
>From 7a2dec917f7dd071631ab89ea3e68e1c91bd9326 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 4 Jan 2024 11:52:31 +0000 >Subject: [PATCH] Bug 35392: Fix HTML in translatable string > >--- > .../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.$__( >- '<li>Job for uploaded file 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.job_id) >+ message += >+ "<li>" + >+ this.$__( >+ "Job for uploaded file has been queued" >+ ) + >+ '. <a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=' + >+ job.job_id + >+ '" target="_blank">' + >+ this.$__("Check job progress") + >+ ".</a></li>" > }) > 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.$__( >- '<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.$__("Check job progress") + >+ ".</a></li>" > }) > this.setMessage(message, true) > }, >-- >2.30.2
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