• gettext() fails when running from command line

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Sat Feb 14 20:12:43 2026
    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)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sat Feb 14 22:58:04 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/1070#note_8298

    Fixed
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Sat Feb 14 22:58:07 2026
    close https://gitlab.synchro.net/main/sbbs/-/issues/1070
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Sun Feb 15 00:04:05 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/1070#note_8303

    Works perfect. Thank you.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)