Subj : Help using gettext.js
To   : vela025
From : Digital Man
Date : Sun Oct 13 2024 03:00 pm

 Re: Help using gettext.js
 By: Digital Man to vela025 on Sun Oct 13 2024 02:53 pm

> There's probably a better solution, like just using a custom replacment for
> the yesnobar/noyesbar mods when in this teletextmode.

To elaborate, in your text.bbcmicro.ini (root section, not [JS]):
YesNoQuestion = @exec:bbcyesno@
NoYesQuestion = @exec:bbsnoyes@

(but the "exec" must be uppercase). Then you can create your mods/bbcyesno.js and bbcnoyes.js to do your thing. No change to yesnobar.js or noyesbar.js should be needed.
--
                                           digital man (rob)

Breaking Bad quote #32:
Don't think so hard it's gonna hurt your brain! - Hank Schrader
Norco, CA WX: 80.3�F, 36.0% humidity, 9 mph WSW wind, 0.00 inches rain/24hrs