[Koha-bugs] [Bug 35392] New: HTML in translatable string

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 23 21:30:40 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35392

            Bug ID: 35392
           Summary: HTML in translatable string
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: ERM
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: caroline.cyr-la-rose at inlibro.com
                CC: jonathan.druart+koha at gmail.com,
                    jonathan.field at ptfs-europe.com,
                    martin.renvoize at ptfs-europe.com,
                    matt.blenkinsop at ptfs-europe.com,
                    pedro.amorim at ptfs-europe.com

This string appears as is in Weblate to be translated, HTML tags and all

<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>

Usually, HTML tags don't appear. I'm not sure what is different for this one.
Probably something to do with JS or Vue?

For reference, the line is

koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFileImport.vue:93

Furthermore, while we are there to correct it, we should also correct the
"click here" link. I understand it is not an accessible way of making links.

All other job queue messages look like this

H1 Title: The job has been enqueued!
Text: It will be processed as soon as possible.
Link: View detail of the enqueued job

See for example
https://git.koha-community.org/Koha-community/Koha/src/branch/master/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt#L78

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list