[sword-devel] OSHB module

Karl Kleinpaste karl at kleinpaste.org
Tue Apr 23 11:12:39 EDT 2024


On 4/23/24 10:47, Troy A. Griffitts wrote:
> It is dependent on whether or not a module has the StrongsPadding=true 
> in its .conf file.  All Strongs-keyed dictionaries should have this 
> entry. 

Well, now, that's an educational moment. Never heard of StrongsPadding 
before. Apparently neither has much of anyone else.

$ pwd
/home/karl/.sword/mods.d
$ ls | wc -l
890
$ grep StrongsPadding= *
bosworthtoller.conf:StrongsPadding=false
eusebian.conf:StrongsPadding=false
mywsc.conf:StrongsPadding=false
zhenglish.conf:StrongsPadding=false

https://wiki.crosswire.org/DevTools:conf_Files#StrongsPadding

    StrongsPadding
    At the heart of our lexicon/dictionary drivers, we have some old
    logic which tries to detect if a key value is a Strong's number, and
    if so, then pad it with leading zeros accordingly. To support this
    logic, the recognition has recently been added for an optional new
    .conf entry for lexicon/dictionary modules:

    StrongsPadding=true|false

How "recent" is this addition? Should other modules (Bibles, 
commentaries) have it, so as to indicate how its Strongs markup should 
be handled?

On its face, this is ambiguous: Is StrongsPadding=true an indication 
that the module /has/ padding already, or that it /needs/ padding to be 
provided?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20240423/734af2c9/attachment.htm>


More information about the sword-devel mailing list