Skip to content

Commit 5ffeff9

Browse files
committed
BibleAnalyzerDatabase: module metadata
Provide system property `bibleanalyzer.desc` and `bibleanalyzer.info` to populate the "desc" and "info" field in module metadata. Fixes #105.
1 parent c04d0a1 commit 5ffeff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

biblemulticonverter-sqlite/src/main/java/biblemulticonverter/sqlite/format/BibleAnalyzerDatabase.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public Visitor<RuntimeException> visitGrammarInformation(char[] strongsPrefixes,
8989
db.createTable("CREATE TABLE wordlist (word, freq)");
9090
db.createIndex("CREATE INDEX wordlistidx ON wordlist (word)");
9191
db.getTable("option").insert(hasStrongs ? 1 : 0, hasRMAC ? 1 : 0, 0, 0);
92-
db.getTable("title").insert(basename, bible.getName(), bible.getName());
92+
db.getTable("title").insert(basename, System.getProperty("bibleanalyzer.desc", bible.getName()), System.getProperty("bibleanalyzer.info", bible.getName()));
9393
bibleTable = db.getTable("bible");
9494
footnoteTable = db.getTable("footnote");
9595
headingTable = db.getTable("heading");

0 commit comments

Comments
 (0)