Subj : Help using gettext.js
To   : Digital Man
From : vela025
Date : Mon Oct 14 2024 12:37 pm

> 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.

Brilliant thank you, that has worked great. Is it possible to do something
similar with the main prompt in default.js?

"\x01-\x01c\xfe \x01b\x01h" + gettext("Main") + " \x01n\x01c\xfe \x01h" +
time_code +
               " \x01n\x01c[\x01h@GN@\x01n\x01c] @GRP@\x01\\
[\x01h@SN@\x01n\x01c] @SUB@: \x01n",

I can't see an exec for it in text.dat so assuming not quite as simple to
customise?

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net