https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42577 --- Comment #3 from David Cook <dcook@prosentient.com.au> --- (In reply to Martin Renvoize (ashimema) from comment #2)
(In reply to David Cook from comment #1)
It looks like Gettext.js originated from https://github.com/Getty/locale-simple/blob/0.019/share/js/gettext/Gettext.j...
Looking at bug 21156 it's not clear to me whether it was this version or a different version used. There is a reference to 0.19 but not sure if that's a typo of 0.019 or something else.
It looks like the author rewrote the codebase using Claude so Gettext.js as a downloadable file doesn't exist anymore.
Interesting use of AI...
Confused.. what codebase, what author, where?
I still think it sounds worthwhile moving our copy of the file to /lib and referencing it in about right?
So Torsten Raudssus (Getty on Github) authored the code that is in the Gettext.js file in the OPAC and Staff Interface. I think this is the version that Koha currently has: https://github.com/Getty/locale-simple/blob/0.019/share/js/gettext/Gettext.j... That author rewrote the whole "locale-simple" code base, which is where Gettext.js came from, using Claude and now the functionality is available via the "locale-simple" package on NPM. Based on the README, it does seem like there's a UMD bundle "locale-simple.umd.js" that we could use in lieu of Gettext.js. I'm assuming there are breaking changes, but that might fit our dev model better at this point. -- You are receiving this mail because: You are watching all bug changes.