[sword-devel] Semantic problem: real module names vs. Abbreviation=XYZ

DM Smith dmsmith at crosswire.org
Wed Sep 2 08:21:09 MST 2015


> On Sep 2, 2015, at 11:14 AM, Karl Kleinpaste <karl at kleinpaste.org> wrote:
> 
> On 09/02/2015 10:51 AM, David Haslam wrote:
>> those whose real module names include a lowercase
>> language code prefix are listed below all the modules that have a
>> capitalized [ModName].
> An unintentional side effect that I intend to try to fix, caused by the modules arriving in the list in ModName order (straight from the Sword API), with the Abbreviation then substituted.  I need to find a way to re-sort before generating the list, but given the sequence of events, it's a bit of a problem.
> 
> One catastrophe at a time.

Yes, one at a time! JSword has the same problem as I’ve been trying to weave in Abbreviation. There are lots of places that look odd now.

Right now, I’m trying to figure out whether we need to replace Set, which doesn’t allow for collisions, with List. Or what the the true internal module ID is for the key.

The displaying of that set is also a problem as we sometimes display a sorted list of Module names, other places Description.

— DM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20150902/cc46daaf/attachment.html>


More information about the sword-devel mailing list