open
https://gitlab.synchro.net/main/sbbs/-/issues/1070
It looks like gettext.js has a dependency on console, I assume to get a users language or whatever. This means you cannot run a script that uses gettext from the command line.
I couple of ideas to resolve.
1. if console is not available, just return the string "as is"
2. Allow the sysop to set a default language that gettext will use
3. if console is not available then read the language from the sysop use and use that
I can do a work around shim for gettext within my scripts but it seems like it would be better to solve this within gettext.js itself.
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)