Skip to content

Commit

Permalink
change for NET2full with morphology
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Oct 10, 2024
1 parent 5548334 commit b073b2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ var PassageDisplayView = DisplayView.extend({
var bibleVersions = version.toUpperCase() + "," + extraVersions.toUpperCase();
var r = step.util.getTestamentAndPassagesOfTheReferences(reference.split(" "));
var justLoadedTOS = false;
if (((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('THOT') > -1) || (bibleVersions.indexOf('OHB') > -1) || (bibleVersions.indexOf('NASB2020') > -1) || (bibleVersions.indexOf("CUN") > -1) || (bibleVersions.indexOf('_MORPH') > -1)) &&
if (((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('THOT') > -1) || (bibleVersions.indexOf('OHB') > -1) || (bibleVersions.indexOf('NASB2020') > -1) || (bibleVersions.indexOf('NET2FULL') > -1) || (bibleVersions.indexOf("CUN") > -1)) &&
(r[1])) { // r[1] is a boolean for reference OT
justLoadedTOS = step.util.loadTOS();
hasTOS = true;
}
if (((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('KJV') > -1) ||
(bibleVersions.indexOf('SBLG') > -1) || (bibleVersions.indexOf('THGNT') > -1) || (bibleVersions.indexOf('CUN') > -1) || (bibleVersions.indexOf('NASB2020') > -1) || (bibleVersions.indexOf('_MORPH') > -1)) &&
(bibleVersions.indexOf('SBLG') > -1) || (bibleVersions.indexOf('THGNT') > -1) || (bibleVersions.indexOf('CUN') > -1) || (bibleVersions.indexOf('NASB2020') > -1) || (bibleVersions.indexOf('NET2FULL') > -1)) &&
(r[0])) // r[0] is a boolean for references with NT
hasNTMorph = true;
if (this.partRendered) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ var PickBibleView = Backbone.View.extend({
'</div>' + //end dialog
'</div>' +
'</div>'),
suggestedEnglish: ['ESV', 'NIV', 'NASB2020', 'KJVA', 'NETfull', 'HCSB', 'BSB', 'ASV-TH', 'DRC', 'CPDV'],
suggestedEnglish: ['ESV', 'NIV', 'NASB2020', 'KJVA', 'NET2full', 'HCSB', 'BSB', 'ASV-TH', 'DRC', 'CPDV'],
ancientBlackList: ["HebModern"],
ancientOrder: [
[__s.widely_used, ['THOT', 'LXX', 'THGNT', 'Byz', 'TR', 'SBLG']],
Expand Down
2 changes: 1 addition & 1 deletion step-web/src/main/webapp/js/color_code_grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ var cf = {
currentPos += 6;
isOSHM = true;
}
else if ((bibleVersions.indexOf("ESV") > -1) || (bibleVersions.indexOf("NASB2020") > -1) || (bibleVersions.indexOf("CUN") > -1)) // ESV has not "TOS:" in morph code
else if ((bibleVersions.indexOf("ESV") > -1) || (bibleVersions.indexOf("NASB2020") > -1) || (bibleVersions.indexOf("NET2FULL") > -1) || (bibleVersions.indexOf("CUN") > -1)) // ESV has not "TOS:" in morph code
currentPos += 1;
else
continue;
Expand Down

0 comments on commit b073b2a

Please sign in to comment.