Skip to content

Commit

Permalink
Bugfix 7511/fix export (#7512)
Browse files Browse the repository at this point in the history
* fix verse span function calls

* update tWords
  • Loading branch information
PhotoNomad0 authored Jul 6, 2023
1 parent 4508628 commit 30831db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/js/helpers/WordAlignmentHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ export const convertAlignmentDataToUSFM = (wordAlignmentDataPath, projectTargetL
if (isExtraVerse) { // double check to make sure it is not in verse span
for (let verse_ in chapterAlignmentJSON) {
if (isVerseSpan(verse_)) {
const { low, hi } = verseHelpers.getVerseRangeFromSpan(verse_);
const { low, hi } = verseHelpers.getVerseSpanRange(verse_);

if ((verseNum >= low) && (verseNum <= hi)) {
isExtraVerse = false;
Expand Down
2 changes: 1 addition & 1 deletion src/js/helpers/gatewayLanguageHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ export function getAlignedTextFromBible(contextId, bible) {
} else if (isVerseSpan(verseRef)) { // if we didn't find verse, check if verse span
verseObjects = [];
// iterate through all verses in span
const { low, hi } = verseHelpers.getVerseRangeFromSpan(verseRef);
const { low, hi } = verseHelpers.getVerseSpanRange(verseRef);

for (let i = low; i <= hi; i++) {
const verseObjects_ = chapterData?.[i]?.verseObjects;
Expand Down
2 changes: 1 addition & 1 deletion src/tC_apps/translationWords
Submodule translationWords updated 0 files

0 comments on commit 30831db

Please sign in to comment.