[Koha-bugs] [Bug 35701] New: Cannot use i18n.inc from MACRO block?

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 4 15:53:35 CET 2024


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

            Bug ID: 35701
           Summary: Cannot use i18n.inc from MACRO block?
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org

Not sure what's going on, but I am experiencing something weird.

Add

        [% SET xxx = t("foo") %]
        console.log("[% xxx %]");

inside a js include

[% MACRO jsinclude BLOCK %]


And you will see "Ms", instead of "foo".

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


More information about the Koha-bugs mailing list