Re: OSHB module

Karl Kleinpaste <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <[email protected]>
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?

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.