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

            Bug ID: 44077
           Summary: Check-in page: do not build translatable messages with
                    HTML and String.replace
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
        Depends on: 42383
  Target Milestone: ---

Several messages of the Vue check-in page (bug 42383) embed HTML in
translatable strings, and fill their placeholders with String.replace("%s",
value), which interprets '$' sequences in the values. The bundle message was
fixed on bug 42383; the other messages built in Main.vue, CheckedInItems.vue
and ConfirmationModal.vue should use a function replacer and keep the markup
out of the strings. Unknown message codes also fall back to the code with
underscores replaced, in English.

Deferred from bug 42383 (QA comment 202, point 18).


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383
[Bug 42383] Migrate check-in page to Vue
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to