From 145b840bf1a8d04672351b405c3444bdc210c7b9 Mon Sep 17 00:00:00 2001 From: nmemmert Date: Tue, 23 Jun 2026 08:05:35 -0400 Subject: [PATCH] Fix Hebrew word lookup not populating English gloss field The NT Strong's gloss file only contains G#### keys, so Hebrew lookups always returned an empty englishGloss. Now falls back to short_definition (kjv_def from the BDBT API) so Hebrew words match Greek behaviour. Co-Authored-By: Claude Sonnet 4.6 --- src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index fc30d2f..a4a96dd 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -2481,7 +2481,7 @@ const App = () => { const extractedPartOfSpeech = extractPartOfSpeech(first.definition || ''); updateChunkWord(chunkId, wordId, { strongNumber: first.topic || normalized, - englishGloss: gloss[strongKey] || '', + englishGloss: gloss[strongKey] || first.short_definition || '', lexeme: first.lexeme || '', transliteration: first.transliteration || '', partOfSpeech: extractedPartOfSpeech || word.partOfSpeech || '',